coding-agent-adapters 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ const login = adapter.detectLogin(output);
|
|
|
68
68
|
| Adapter | Auth Types | Source Files |
|
|
69
69
|
|---------|-----------|-------------|
|
|
70
70
|
| Claude | API key, OAuth browser | CLI runtime |
|
|
71
|
-
| Gemini | Google OAuth, API key entry, auth in-progress | `AuthDialog.tsx`, `ApiAuthDialog.tsx`, `AuthInProgress.tsx` |
|
|
71
|
+
| Gemini | Google OAuth, API key entry, auth in-progress (ignores "Both keys set" success messages) | `AuthDialog.tsx`, `ApiAuthDialog.tsx`, `AuthInProgress.tsx` |
|
|
72
72
|
| Codex | Device code flow, onboarding auth menu | `auth.rs`, `headless_chatgpt_login.rs` |
|
|
73
73
|
| Aider | API key missing/invalid, OpenRouter OAuth | `onboarding.py`, `models.py` |
|
|
74
74
|
|
package/dist/index.cjs
CHANGED
|
@@ -924,7 +924,7 @@ var GeminiAdapter = class extends BaseCodingAdapter {
|
|
|
924
924
|
}
|
|
925
925
|
detectLogin(output) {
|
|
926
926
|
const stripped = this.stripAnsi(output);
|
|
927
|
-
if (stripped.includes("API key not found") ||
|
|
927
|
+
if (stripped.includes("API key not found") || /set (?:GOOGLE_API_KEY|GEMINI_API_KEY)/i.test(stripped) || stripped.includes("authentication required") || stripped.includes("Invalid API key") || stripped.includes("API key is not valid")) {
|
|
928
928
|
return {
|
|
929
929
|
required: true,
|
|
930
930
|
type: "api_key",
|