Add re-auth y/N confirmation across auth provider commands

This commit is contained in:
William Valentin
2026-02-15 20:00:11 -08:00
parent 22930cbe2e
commit e0f2d27247
7 changed files with 354 additions and 8 deletions
+16
View File
@@ -81,6 +81,22 @@
"test_status": "pnpm test:run src/cli/zai-auth.test.ts + pnpm typecheck passing"
},
"auth-commands-reauthenticate-confirmation": {
"status": "completed",
"date": "2026-02-16",
"updated": "2026-02-16",
"summary": "Extended re-auth confirmation dialog (`Re-authenticate and replace it? (y/N)`) to other auth providers/commands: openai-key, openai-auth, and anthropic-auth (API key + --token). Added tests for cancel and proceed flows across all commands.",
"files_modified": [
"src/cli/openai-key.ts",
"src/cli/openai-auth.ts",
"src/cli/anthropic-auth.ts",
"src/cli/openai-key.test.ts",
"src/cli/openai-auth.test.ts",
"src/cli/anthropic-auth.test.ts"
],
"test_status": "pnpm test:run src/cli/openai-key.test.ts src/cli/anthropic-auth.test.ts src/cli/openai-auth.test.ts src/cli/zai-auth.test.ts + pnpm typecheck passing"
},
"deployment-port-env-override": {
"status": "completed",
"date": "2026-02-16",