Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/agent-team/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions external_plugins/agent-team/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"mcpServers": {
"team-daemon": {
"type": "stdio",
"command": "node",
"args": [
"${ZCODE_PLUGIN_ROOT}/runtime/team-daemon.mjs"
],
"cwd": "${ZCODE_PROJECT_DIR}",
"env": {
"TEAM_PLUGIN_DATA": "${ZCODE_PLUGIN_DATA}",
"TEAM_PROJECT_DIR": "${ZCODE_PROJECT_DIR}",
"TEAM_PLUGIN_ROOT": "${ZCODE_PLUGIN_ROOT}",
"TEAM_MAX_MEMBERS": "${user_config.maxMembers}",
"TEAM_MAX_TASKS": "${user_config.maxTasks}",
"TEAM_MAX_MESSAGE_BYTES": "${user_config.maxMessageBytes}",
"TEAM_DISPOSAL_TIMEOUT_MS": "${user_config.disposalTimeoutMs}",
"TEAM_INTERRUPT": "${user_config.interrupt}",
"TEAM_LEAD_MODE": "${user_config.leadMode}"
},
"timeoutMs": 3600000
}
}
}
70 changes: 70 additions & 0 deletions external_plugins/agent-team/.zcode-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"name": "agent-team",
"version": "0.5.5-rc.1",
"description": "智能体团队:在会话中创建并协调多个 teammate 子会话、共享任务板与成员消息。",
"description_i18n": {
"en": "Agent Teams: spawn and coordinate teammate sessions with a shared task board and member messaging.",
"zh-CN": "智能体团队:在会话中创建并协调多个 teammate 子会话、共享任务板与成员消息。"
},
"author": {
"name": "Vincent Zuo",
"url": "https://github.com/Vincent-chk"
},
"license": "MIT",
"userConfig": {
"maxMembers": {
"title": "最大成员数",
"description": "团队内 teammate 数量上限(不含 Lead;含 failed)。",
"type": "number",
"default": 8
},
"maxTasks": {
"title": "最大任务数",
"description": "任务板任务数量上限。",
"type": "number",
"default": 256
},
"maxMessageBytes": {
"title": "单条消息字节上限",
"description": "成员间单条消息的最大字节数。",
"type": "number",
"default": 65536
},
"disposalTimeoutMs": {
"title": "处置超时(毫秒)",
"description": "团队处置(teammate 结算与回收)的超时时间。",
"type": "number",
"default": 5000
},
"interrupt": {
"title": "启用 interrupt_agent 工具",
"description": "关闭后团队成员只拿到 8 个工具(interrupt_agent 不注册);域 API 仍可用。",
"type": "boolean",
"default": true
},
"leadMode": {
"title": "Lead 模式",
"description": "off:完全关闭智能体团队(不注入团队上下文、不注册团队工具);auto(默认):按需委派——建队前默认单 agent 直接处理,建队后按委派价值判断是否走团队流程;always:始终主动编排(自主拆活/组队/分派/独立验收)。旧值 orchestrator/collaborator 将按 auto 处理。取值:off、auto 或 always。",
"type": "string",
"default": "auto"
}
},
"skills": "skills",
"commands": "commands",
"hooks": "hooks/hooks.json",
"ui": {
"surfaces": [
{
"id": "agent-team-panel",
"title": {
"zh-CN": "智能体团队",
"en": "Agent Team"
},
"icon": "users",
"server": "team-daemon",
"resourceUri": "ui://agent-team/team-panel.html",
"availability": "session"
}
]
}
}
210 changes: 210 additions & 0 deletions external_plugins/agent-team/CHANGELOG.md

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions external_plugins/agent-team/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 agent-team-poc

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading