axexec 1.1.2 → 1.1.4

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.
@@ -39,6 +39,14 @@ function getCredentialEnvironment(credentials) {
39
39
  if (credentials.type === "api-key" && apiKey) {
40
40
  environment["GEMINI_API_KEY"] = apiKey;
41
41
  }
42
+ else if (credentials.type === "oauth-credentials") {
43
+ // Set GOOGLE_GENAI_USE_GCA to enable oauth-personal auth type.
44
+ // This tells Gemini to check for cached OAuth credentials (oauth_creds.json).
45
+ // DO NOT set GOOGLE_CLOUD_ACCESS_TOKEN - that bypasses the file and
46
+ // prevents token refresh. Credentials are written to oauth_creds.json
47
+ // by installGeminiCredentials().
48
+ environment["GOOGLE_GENAI_USE_GCA"] = "true";
49
+ }
42
50
  break;
43
51
  }
44
52
  case "opencode": {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "axexec",
3
3
  "author": "Łukasz Jerciński",
4
4
  "license": "MIT",
5
- "version": "1.1.2",
5
+ "version": "1.1.4",
6
6
  "description": "Unified CLI runner for AI coding agents with normalized event streaming",
7
7
  "repository": {
8
8
  "type": "git",