fix(anthropic): remove setup-token onboarding path

This commit is contained in:
Peter Steinberger
2026-04-04 15:45:57 +09:00
parent 15bee338e9
commit 1b4bb5be19
15 changed files with 175 additions and 307 deletions

View File

@@ -295,7 +295,7 @@ export function registerModelsCli(program: Command) {
auth
.command("add")
.description("Interactive auth helper (setup-token or paste token)")
.description("Interactive auth helper (provider auth or paste token)")
.action(async () => {
await runModelsCommand(async () => {
await modelsAuthAddCommand({}, defaultRuntime);
@@ -324,7 +324,7 @@ export function registerModelsCli(program: Command) {
auth
.command("setup-token")
.description("Run a provider CLI to create/sync a token (TTY required)")
.option("--provider <name>", "Provider id (default: anthropic)")
.option("--provider <name>", "Provider id")
.option("--yes", "Skip confirmation", false)
.action(async (opts) => {
await runModelsCommand(async () => {