Plugin Manifest
状态
插件发现和加载以 dojoagents/plugins/registry.py 为准。
支持文件
插件目录可以包含:
plugin.yaml.claude-plugin/plugin.jsonplugin.jsonhooks.jsonhooks/hooks.json__init__.py
Manifest 字段
| 字段 | 说明 |
|---|---|
name |
插件名 |
version |
版本,默认 0.1.0 |
description |
描述 |
provides_tools |
工具列表 |
provides_hooks |
hook 列表 |
Hook
有效 hook 名称包括:
on_session_startpre_llm_callpre_api_requestpost_api_requestpre_tool_callpost_tool_calltransform_tool_resulttransform_llm_outputpost_llm_callon_session_end
Claude hook 会通过兼容映射转换。