mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 06:04:15 +00:00
feat(coding-agent): add Google Cloud Code Assist OAuth flow
- Add OAuth handler with PKCE flow and local callback server - Automatic project discovery via loadCodeAssist/onboardUser endpoints - Store credentials with projectId for API calls - Encode token+projectId as JSON for provider to decode - Register as 'google-cloud-code-assist' OAuth provider
This commit is contained in:
parent
36e17933d5
commit
b6fe07b618
6 changed files with 389 additions and 10 deletions
9
plan.md
9
plan.md
|
|
@ -40,6 +40,15 @@ All models support: text, image, pdf input; text output; cost is $0 (uses Google
|
|||
|
||||
## Implementation Steps
|
||||
|
||||
### Phase 1: AI Provider (COMPLETED)
|
||||
|
||||
Steps 1-8 completed. The provider is implemented in:
|
||||
- `packages/ai/src/providers/google-cloud-code-assist.ts`
|
||||
- `packages/ai/src/providers/google-shared.ts`
|
||||
- Models added to `packages/ai/scripts/generate-models.ts`
|
||||
|
||||
---
|
||||
|
||||
### Step 1: Update types.ts
|
||||
File: `packages/ai/src/types.ts`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue