mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-08 03:01:47 +00:00
fix(delegate): correct ACP docs — Claude Code CLI has no --acp flag
The delegate_task tool schema descriptions referenced 'claude --acp --stdio'
as an example, but Claude Code CLI does not support --acp or --stdio flags.
The ACP subprocess transport (agent/copilot_acp_client.py) is specifically
built for GitHub Copilot CLI ('copilot --acp --stdio').
Changes:
- Per-task acp_command example: 'claude' → 'copilot'
- Top-level acp_command description: remove 'Claude Code' reference,
clarify requirement for ACP-compatible CLI (currently Copilot only)
- acp_args description: remove misleading claude-opus-4-6 example
Fixes #19055
This commit is contained in:
parent
042eb930e2
commit
69692039e9
1 changed files with 6 additions and 5 deletions
|
|
@ -2479,7 +2479,7 @@ DELEGATE_TASK_SCHEMA = {
|
|||
},
|
||||
"acp_command": {
|
||||
"type": "string",
|
||||
"description": "Per-task ACP command override (e.g. 'claude'). Overrides the top-level acp_command for this task only.",
|
||||
"description": "Per-task ACP command override (e.g. 'copilot'). Overrides the top-level acp_command for this task only.",
|
||||
},
|
||||
"acp_args": {
|
||||
"type": "array",
|
||||
|
|
@ -2519,10 +2519,11 @@ DELEGATE_TASK_SCHEMA = {
|
|||
"acp_command": {
|
||||
"type": "string",
|
||||
"description": (
|
||||
"Override ACP command for child agents (e.g. 'claude', 'copilot'). "
|
||||
"Override ACP command for child agents (e.g. 'copilot'). "
|
||||
"When set, children use ACP subprocess transport instead of inheriting "
|
||||
"the parent's transport. Enables spawning Claude Code (claude --acp --stdio) "
|
||||
"or other ACP-capable agents from any parent, including Discord/Telegram/CLI."
|
||||
"the parent's transport. Requires an ACP-compatible CLI "
|
||||
"(currently GitHub Copilot CLI via 'copilot --acp --stdio'). "
|
||||
"See agent/copilot_acp_client.py for the implementation."
|
||||
),
|
||||
},
|
||||
"acp_args": {
|
||||
|
|
@ -2530,7 +2531,7 @@ DELEGATE_TASK_SCHEMA = {
|
|||
"items": {"type": "string"},
|
||||
"description": (
|
||||
"Arguments for the ACP command (default: ['--acp', '--stdio']). "
|
||||
"Only used when acp_command is set. Example: ['--acp', '--stdio', '--model', 'claude-opus-4-6']"
|
||||
"Only used when acp_command is set."
|
||||
),
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue