Skip to content

Support full harness child command overrides#260

Merged
edwin-zvs merged 1 commit into
mainfrom
harness-command-override
May 28, 2026
Merged

Support full harness child command overrides#260
edwin-zvs merged 1 commit into
mainfrom
harness-command-override

Conversation

@edwin-zvs

@edwin-zvs edwin-zvs commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add AGENTD_*_CMD full command overrides for built-in harness child CLIs
  • Preserve existing AGENTD_*_BIN behavior as the fallback
  • Apply command prefixes to codex, claude, antigravity, and shell adapters in interactive and headless modes
  • Document config examples and add command splitting tests

Examples

[adapters.codex]
env = { AGENTD_CODEX_CMD = "exec codex" }

Supported vars:

  • AGENTD_CODEX_CMD
  • AGENTD_CLAUDE_CMD
  • AGENTD_ANTIGRAVITY_CMD
  • AGENTD_SHELL_CMD

Tests

  • cargo test -p agentd-protocol parse_command_words
  • cargo check -p agentd-adapter-codex -p agentd-adapter-claude -p agentd-adapter-antigravity -p agentd-adapter-shell
  • cargo build

@edwin-zvs
edwin-zvs merged commit d89a30c into main May 28, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the harness-command-override branch May 28, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant