Repository navigation
feat: model selection for droid, agy, cursor and trae - #114
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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>.--modelafterexec(review and-sresume)--model(review and--conversationresume)--model(review and judge)--modelafterexec(review and judge)Each definition replaces its
modelNotewithmodelArgsand 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
agyinstall hint:@google/antigravity-clidoesn't exist on npm (404); the official installer iscurl -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
install.sh, and traecli from its release manifest with thesha256checked) and read each--help.unknown option/unexpected argument/flags provided but not defined), but with--modelin 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.jsnow asserts the flag position for all four across their command variants, and that amp alone still refuses.npm test: all pass exceptloop.test.js"--judge selects one judge…", which fails identically onmasterin the dev container (a realclaudeCLI on PATH) and passes in CI.npm run test:packagepasses.Limitations
--modealso changes the prompt and tools), pending a product decision.🤖 Generated with Claude Code
https://claude.ai/code/session_01YWwuLax3VBtTJuujgK748c
Generated by Claude Code