fix: update ai-sdk-provider-gemini-cli to 0.0.4 for improved authentication (#932)

- Fixed authentication compatibility issues with Google auth
- Added support for 'api-key' auth type alongside 'gemini-api-key'
- Resolved "Unsupported authType: undefined" runtime errors
- Updated @google/gemini-cli-core dependency to 0.1.9
- Improved documentation and removed invalid auth references
- Maintained backward compatibility while enhancing type validation
This commit is contained in:
Ben Vargas
2025-07-07 10:39:04 -06:00
committed by Ralph Khreish
parent 5b9416f673
commit 3334e409ae
3 changed files with 315 additions and 177 deletions

View File

@@ -79,7 +79,7 @@
},
"optionalDependencies": {
"@anthropic-ai/claude-code": "^1.0.25",
"ai-sdk-provider-gemini-cli": "^0.0.3"
"ai-sdk-provider-gemini-cli": "^0.0.4"
},
"engines": {
"node": ">=18.0.0"