Add API vs Coding Plan mode selection for Z.AI auth

This commit is contained in:
William Valentin
2026-02-15 20:06:35 -08:00
parent 6a31ee2885
commit 99ad53a1ee
4 changed files with 84 additions and 4 deletions
+13
View File
@@ -110,6 +110,19 @@
"test_status": "pnpm test:run src/cli/suppressNodeWarnings.test.ts src/cli/index.test.ts + pnpm typecheck + pnpm build passing"
},
"zai-auth-mode-selection-api-vs-plan": {
"status": "completed",
"date": "2026-02-16",
"updated": "2026-02-16",
"summary": "Added explicit Z.AI mode selection (API vs Coding Plan) to both `zai-auth` CLI and TUI `/login zai` flow. CLI now supports `--mode api|plan` for non-interactive use and prompts when omitted. Post-auth guidance now shows the mode-specific endpoint directly.",
"files_modified": [
"src/cli/zai-auth.ts",
"src/cli/zai-auth.test.ts",
"src/frontends/tui/minimal.ts"
],
"test_status": "pnpm test:run src/cli/zai-auth.test.ts src/frontends/tui/minimal.test.ts + pnpm typecheck passing"
},
"deployment-port-env-override": {
"status": "completed",
"date": "2026-02-16",