You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* fix(google-gemini-cli-auth): fix Gemini CLI OAuth failures on Windows Two issues prevented Gemini CLI OAuth from working on Windows: 1. resolveGeminiCliDirs: the first candidate `dirname(dirname(resolvedPath))` can resolve to an unrelated ancestor directory (e.g. the nvm root `C:\Users\<user>\AppData\Local\nvm`) when gemini is installed via nvm. The subsequent `findFile` recursive search (depth 10) then picks up an `oauth2.js` from a completely different package (e.g. `discord-api-types/payloads/v10/oauth2.js`), which naturally does not contain Google OAuth credentials, causing silent extraction failure. Fix: validate candidate directories before including them — only keep candidates that contain a `package.json` or a `node_modules/@google/ gemini-cli-core` subdirectory. 2. resolvePlatform: returns "WINDOWS" on win32, but Google's loadCodeAssist API rejects it as an invalid Platform enum value (400 INVALID_ARGUMENT), just like it rejects "LINUX". Fix: use "PLATFORM_UNSPECIFIED" for all non-macOS platforms. * test(google-gemini-cli-auth): keep oauth regressions portable * chore(changelog): add google gemini cli auth fix note --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org> |
8 months ago | |
|---|---|---|
| .. | ||
| src | 8 months ago | |
| api.test.ts | 8 months ago | |
| api.ts | 8 months ago | |
| cli-backend.ts | 8 months ago | |
| gemini-cli-provider.ts | 8 months ago | |
| google-shared.test-helpers.ts | 8 months ago | |
| google-shared.test.ts | 8 months ago | |
| image-generation-provider.test.ts | 8 months ago | |
| image-generation-provider.ts | 8 months ago | |
| index.test.ts | 8 months ago | |
| index.ts | 8 months ago | |
| media-understanding-provider.ts | 8 months ago | |
| media-understanding-provider.video.test.ts | 8 months ago | |
| model-id.test.ts | 8 months ago | |
| model-id.ts | 8 months ago | |
| oauth-token-shared.test.ts | 8 months ago | |
| oauth-token-shared.ts | 8 months ago | |
| oauth.credentials.ts | 8 months ago | |
| oauth.flow.ts | 8 months ago | |
| oauth.http.ts | 8 months ago | |
| oauth.project.ts | 8 months ago | |
| oauth.runtime.ts | 8 months ago | |
| oauth.shared.ts | 8 months ago | |
| oauth.test.ts | 8 months ago | |
| oauth.token.ts | 8 months ago | |
| oauth.ts | 8 months ago | |
| openclaw.plugin.json | 8 months ago | |
| package.json | 8 months ago | |
| provider-models.test.ts | 8 months ago | |
| provider-models.ts | 8 months ago | |
| runtime-api.ts | 8 months ago | |
| test-api.ts | 8 months ago | |
| web-search-provider.test.ts | 8 months ago | |
| web-search-provider.ts | 8 months ago | |