Add --mode api|token support to anthropic-auth

This commit is contained in:
William Valentin
2026-02-15 20:20:39 -08:00
parent 42c526bce9
commit 4b8007c90d
3 changed files with 92 additions and 3 deletions
+12
View File
@@ -135,6 +135,18 @@
"test_status": "pnpm test:run src/frontends/tui/minimal.login.test.ts src/frontends/tui/minimal.test.ts + pnpm typecheck passing"
},
"anthropic-auth-mode-flag": {
"status": "completed",
"date": "2026-02-16",
"updated": "2026-02-16",
"summary": "Added `--mode api|token` to `anthropic-auth` for parity with explicit mode-based auth commands, while keeping `--token` backward compatible. Includes conflict validation for `--token --mode api`.",
"files_modified": [
"src/cli/anthropic-auth.ts",
"src/cli/anthropic-auth.test.ts"
],
"test_status": "pnpm test:run src/cli/anthropic-auth.test.ts src/cli/index.test.ts + pnpm typecheck passing"
},
"deployment-port-env-override": {
"status": "completed",
"date": "2026-02-16",