Repository navigation
feat/provider command names - #75
Merged
Merged
Conversation
`--provider claude-code` is a name only this project uses; the CLI people already have installed is `claude`. These tests state the naming the launcher should have — the id is the command — and keep the former names resolving from the flag, `AI_PROVIDER` and a saved default, so nobody's config has to be rewritten.
The id is what `--provider` takes, what is saved as the default and what is passed on as `AI_PROVIDER`, so it should be the name the user already knows the CLI by: `claude` and `agy`, not `claude-code` and `antigravity`. The former names move to a per-provider `aliases` list and are still accepted everywhere a provider can be named, so saved defaults and older scripts keep working.
The launcher passes the provider it chose straight through as `AI_PROVIDER`, and it now names them after their commands, so `claude` and `agy` have to reach the same adapters as `claude-code` and `antigravity` or local mode stops booting.
`claude` and `agy` resolve to the adapters registered as `claude-code` and `antigravity`, so the name the launcher hands over is the name the API understands. Aliasing rather than renaming the adapters leaves every existing `.env` working, and the no-key message now names the CLIs the way users meet them.
The quickstart, the local-mode guide and the env example all taught the old names; they now teach the command names, and say once that the former ones are still accepted rather than repeating it at every mention.
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.
Description
Changes
Testing
Screenshots (if applicable)
Checklist
Additional Notes