singularity-forge/packages
Mikael Hugo ed47951960 feat(pi-ai): delegate google-gemini-cli auth + project to cli-core
Replace ~700 LOC of hand-rolled OAuth and onboarding with cli-core's own
getOauthClient + setupUser. The provider now reads ~/.gemini/oauth_creds.json
itself (via cli-core), refreshes tokens, and discovers the Code Assist
project + tier server-side — exactly like the real gemini CLI does.

- provider/google-gemini-cli.ts: drop apiKey={token,projectId} JSON
  plumbing; getCodeAssistServer() uses cli-core for everything
- delete utils/oauth/google-gemini-cli.ts (457 LOC: hand-rolled login,
  PKCE, callback server, discoverProject, onboardUser, tier handling)
- delete utils/oauth/google-oauth-utils.ts (201 LOC: only consumed by
  the deleted gemini-cli helper)
- oauth/index.ts: remove gemini-cli from BUILT_IN_OAUTH_PROVIDERS
  registry; google-gemini-cli is no longer SF-managed
- auth-storage.ts: update 3 error messages to direct users to the real
  gemini CLI for authentication instead of the removed /login command

Login UX: users authenticate with the real gemini CLI; we just consume
~/.gemini/oauth_creds.json. Whole-provider disable goes through manual
settings.json edit (per-model toggle still works in interactive UI).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 01:47:48 +02:00
..
daemon feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
mcp-server feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
native sf snapshot: pre-dispatch, uncommitted changes after 46m inactivity 2026-04-30 21:07:36 +02:00
pi-agent-core feat: stabilize autonomous workflow system 2026-05-01 20:18:50 +02:00
pi-ai feat(pi-ai): delegate google-gemini-cli auth + project to cli-core 2026-05-02 01:47:48 +02:00
pi-coding-agent feat(pi-ai): delegate google-gemini-cli auth + project to cli-core 2026-05-02 01:47:48 +02:00
pi-tui release: v2.75.0 2026-04-17 17:26:59 +00:00
rpc-client feat: structured notification event model with metadata-first classification 2026-05-01 23:07:57 +02:00