diff --git a/docs/plans/state.json b/docs/plans/state.json index d1d9652..2854a3d 100644 --- a/docs/plans/state.json +++ b/docs/plans/state.json @@ -13,10 +13,34 @@ }, "credential-system-v2-api-and-oauth": { "file": "2026-02-15-credential-system-v2-api-and-oauth-checklist.md", - "status": "planned", + "status": "completed", "date": "2026-02-15", "updated": "2026-02-15", - "summary": "Executable PR-sized checklist to implement per-tier auth_mode with both API-key and OAuth/token credential sources, adding OpenAI API-key storage, Anthropic auth-token storage, CLI/TUI login UX, model factory enforcement, and doctor reporting." + "summary": "Implemented per-tier auth_mode (auto/api_key/oauth) with deterministic credential resolution (config/env/store), added OpenAI API-key storage and Anthropic auth-token storage to auth.json, extended CLI + TUI login UX, enforced auth_mode in the model factory, and improved doctor output to show credential availability without leaking secrets.", + "files_created": [ + "src/cli/openai-key.ts" + ], + "files_modified": [ + "src/config/schema.ts", + "src/config/schema.test.ts", + "README.md", + "config/default.yaml", + "src/auth/openai.ts", + "src/auth/openai.test.ts", + "src/auth/anthropic.ts", + "src/auth/anthropic.test.ts", + "src/auth/index.ts", + "src/cli/anthropic-auth.ts", + "src/cli/index.ts", + "src/cli/index.test.ts", + "src/frontends/tui/minimal.ts", + "src/frontends/tui/commands.ts", + "src/daemon/models.ts", + "src/daemon/clientFactory.test.ts", + "src/cli/doctor.ts", + "src/cli/doctor.test.ts" + ], + "test_status": "pnpm typecheck + pnpm test:run (targeted suites + full passing locally)" }, "vercel-ai-gateway-provider": { "file": "2026-02-15-vercel-ai-gateway-provider-checklist.md",