Skip to content

feat: model selection for droid, agy, cursor and trae - #114

Merged
zzxwill merged 1 commit into
masterfrom
claude/issue-model-droid-agy-cursor-trae
Sep 25, 2026
Merged

zzxwill merged 1 commit into
masterfrom
claude/issue-model-droid-agy-cursor-trae

Conversation

@zzxwill

@zzxwill zzxwill commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Closes #103
Closes #104
Closes #108
Closes #111

What changes

Follow-up to #113: the four agents whose model flags couldn't be verified then now take the configured model. After this, every built-in agent except amp supports jury agents model / "model" / --model <agent>=<model>.

Agent How Verified against
droid --model after exec (review and -s resume) droid 0.226.2
agy --model (review and --conversation resume) agy 1.2.10
cursor --model (review and judge) cursor-agent 2026.09.23
trae --model after exec (review and judge) traecli 0.207.1

Each definition replaces its modelNote with modelArgs and a {{modelArgs}} slot in every command variant, so the schema's every-variant rule holds and runs without a model are unchanged.

Also fixes the agy install hint: @google/antigravity-cli doesn't exist on npm (404); the official installer is curl -fsSL https://antigravity.google/cli/install.sh | bash (from the Antigravity getting-started page). README's built-in agents table is updated to match.

Validation

  • Installed each CLI from its official source (Factory and Cursor install scripts, Antigravity's install.sh, and traecli from its release manifest with the sha256 checked) and read each --help.
  • Ran every generated review/judge/resume command with a model against the real binary. Each CLI rejects an unknown flag at parse time (unknown option / unexpected argument / flags provided but not defined), but with --model in the generated position it proceeds to authentication — and droid validates the model id itself ("Invalid model: some-model"), confirming it reads the flag.
  • test/models.test.js now asserts the flag position for all four across their command variants, and that amp alone still refuses.
  • npm test: all pass except loop.test.js "--judge selects one judge…", which fails identically on master in the dev container (a real claude CLI on PATH) and passes in CI. npm run test:package passes.

Limitations

  • amp (Model setting: amp #109) is unchanged: it has no per-run model flag (--mode also changes the prompt and tools), pending a product decision.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YWwuLax3VBtTJuujgK748c


Generated by Claude Code

Each takes the configured model as --model, now verified against the CLI
itself: droid 0.226.2 (exec -m/--model), agy 1.2.10 (--model),
cursor-agent 2026.09.23 (--model) and traecli 0.207.1 (exec -m/--model).
Every generated review, judge and resume command was run against the real
binary: each rejects an unknown flag at parse time but accepts --model in
the generated position and proceeds to authentication (droid validates the
model id itself). Their modelNote entries are replaced by modelArgs and a
{{modelArgs}} slot in every command variant.

Every built-in agent except amp can now take a model; amp has no per-run
model flag.

Also corrects the agy install hint: @google/antigravity-cli does not exist
on npm; the official installer is https://antigravity.google/cli/install.sh.

Closes #103
Closes #104
Closes #108
Closes #111

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YWwuLax3VBtTJuujgK748c
@zzxwill
zzxwill marked this pull request as ready for review September 25, 2026 02:29
@zzxwill
zzxwill merged commit dbcc682 into master Sep 25, 2026
8 checks passed
@zzxwill
zzxwill deleted the claude/issue-model-droid-agy-cursor-trae branch September 25, 2026 02:29
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.

Model setting: trae Model setting: cursor Model setting: agy Model setting: droid

2 participants