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:
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`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user