Repository navigation
feat(agent-manager): 新增智能体管理与多智能体并行调度插件 - #176
Open
sworddemon85-create wants to merge 3 commits into
Open
sworddemon85-create wants to merge 3 commits into
sworddemon85-create wants to merge 3 commits into
Conversation
- skills: agent-registry(定义盘点/创建/校验)、agent-team(并行派发与汇总) - commands: /agent-list /agent-show /agent-new /agent-check /agent-team - agents: doc-writer、test-runner、issue-triage 三个内置模板 - hooks: SessionStart 自动盘点本地智能体(只读、始终以 0 退出) - 中英双语 README,MIT 许可,无网络依赖、无 MCP、无遥测
sworddemon85-create
requested review from
jacksonliuyn and
panda920
as code owners
November 5, 2026 16:11
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin type (required) / 插件类型(必填)
Affected plugin name(s) / 涉及的插件名称:
agent-managerWhat / 改动内容
新增社区插件 agent-manager(智能体管家),解决两个用户问题:
agent-registry+ 命令/agent-list/agent-show/agent-new/agent-check),校验只报告问题、绝不擅自改文件。agent-team把任务拆解为独立子任务、按各智能体 description 选人、同一条消息内并行派发、汇总合并报告;另附三个开箱即用的模板智能体doc-writer/test-runner/issue-triage,以及 SessionStart 钩子在新会话自动注入本地智能体清单。用户可见行为与测试方式 / User-visible behavior & how to test:
/agent-list:输出本地智能体清单表格(用户级 + 工作区级),并与运行时可用 agent types 对账;~/.zcode/agents/doc-writer.md生成符合规范的定义;/agent-check:逐文件输出 通过/警告/失败 +文件:行号证据,只报告不修改;/agent-team 审查某目录代码并总结问题:并行派发只读审查智能体并返回合并报告;版本与注册 / Version & registration:
plugin.json与根marketplace.json条目均为0.1.3;新目录external_plugins/agent-manager/;category: developer-tools。依赖 / 副作用 / Dependencies & side effects:
~/.zcode/agents/与<workspace>/.zcode/agents/下的 Markdown 定义文件;盘点与校验均为只读;scripts/inventory.sh(Windows 需 PATH 中有 bash,Git Bash 即可);调度通过 ZCode 的 Agent 工具派发子智能体;issue-triage智能体仅在用户要求核实外部资料时可能使用 WebFetch;第三方材料 / Third-party materials:无;插件以 MIT 许可发布(目录内附 LICENSE)。
Self-check / 自查清单
external_plugins/agent-manager// 插件名唯一且 kebab-case,位于external_plugins/agent-manager/categoryis set (developer-tools) / 分类已填写versionbumped in BOTHplugin.jsonandmarketplace.json(均为 0.1.3) / 两处版本号一致README.md(EN) andREADME_CN.md(中文) both updated and equivalent / 双语 README 齐备且语义一致description_i18nhas bothenandzh-CN/ 双语描述齐备python3 scripts/validate.pyandpython3 scripts/build_dist.pypass locally / 本地校验与构建均通过validate.py与build_dist.py。已做人工结构校验:两份 JSON 可解析、两处版本一致(0.1.3)、双语 README 齐备、机器专属路径 grep 复核为零。请以 CI 校验结果为准;如有需调整之处我会及时跟进。更新记录 / Update log
issue-triage/doc-writer智能体做了评审前自查,据此修复并升版 0.1.3:plugin.json补description_i18n(validate.py 门禁项);钩子命令变量改为官方约定的${ZCODE_PLUGIN_ROOT};副作用披露补充「内置智能体会写项目文档/执行测试命令」;安装指引改为官方市场优先;遵循制品不可变原则以新版本号 0.1.3 发布,不复用 0.1.2。