Skip to content

fix(delegate): correct ACP docs — Claude Code CLI has no --acp flag#19058

Closed
liuhao1024 wants to merge 3 commits into
NousResearch:mainfrom
liuhao1024:fix/delegate-tool-acp-docs
Closed

fix(delegate): correct ACP docs — Claude Code CLI has no --acp flag#19058
liuhao1024 wants to merge 3 commits into
NousResearch:mainfrom
liuhao1024:fix/delegate-tool-acp-docs

Conversation

@liuhao1024
Copy link
Copy Markdown
Contributor

Problem

tools/delegate_tool.py schema descriptions claim delegate_task(acp_command="claude") spawns Claude Code via claude --acp --stdio. Claude Code CLI (v2.1.126+) does not support --acp or --stdio flags — the ACP subprocess transport is specifically built for GitHub Copilot CLI (copilot --acp --stdio) in agent/copilot_acp_client.py.

Changes

  • Per-task acp_command example: 'claude''copilot'
  • Top-level acp_command description: Remove "Claude Code (claude --acp --stdio)" reference; clarify requirement for ACP-compatible CLI (currently Copilot only)
  • acp_args description: Remove misleading claude-opus-4-6 model example

1 file changed, +6/-5.

Verification

# Confirm no remaining misleading references
grep -rn "claude.*acp\|Claude Code.*acp" tools/delegate_tool.py
# (no output — clean)

Fixes #19055

liuhao1024 and others added 3 commits April 24, 2026 22:14
…INSTALL_TIMEOUT

Increase the default npm install timeout for WhatsApp bridge from 60s
to 300s (5 minutes) to accommodate slower systems like Unraid NAS.
Make it configurable via WHATSAPP_NPM_INSTALL_TIMEOUT environment variable
for users who need even longer timeouts.

Closes NousResearch#14980
- Add 'path', 'old_string', 'new_string', and 'patch' to required list
- Update description to clarify mode-specific parameter requirements
- This addresses issue where LLMs would omit these parameters because
  they were not marked as required in the schema, even though they
  are required depending on the mode

Fixes NousResearch#15524
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 NousResearch#19055
@alt-glitch alt-glitch added type/docs Documentation improvements P3 Low — cosmetic, nice to have comp/tools Tool registry, model_tools, toolsets tool/delegate Subagent delegation labels May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tools Tool registry, model_tools, toolsets P3 Low — cosmetic, nice to have tool/delegate Subagent delegation type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: delegate_tool.py docs claim 'claude --acp --stdio' works — Claude Code CLI has no --acp flag

2 participants