@anthonyhaussman/opencode-agy-auth 1.1.9 → 1.1.10-alpha.0
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/dist/index.js +2 -13
- package/dist/index.js.map +1 -1
- package/dist/src/sdk/agy-cli-version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -268,7 +268,7 @@ function createAgyActivityRequestId() {
|
|
|
268
268
|
import os from "os";
|
|
269
269
|
|
|
270
270
|
// src/sdk/agy-cli-version.ts
|
|
271
|
-
var AGY_CLI_VERSION = "1.1.
|
|
271
|
+
var AGY_CLI_VERSION = "1.1.10";
|
|
272
272
|
|
|
273
273
|
// src/sdk/user-agent.ts
|
|
274
274
|
var cachedUserAgent = null;
|
|
@@ -17149,18 +17149,7 @@ function parseRetryDelayValue2(value) {
|
|
|
17149
17149
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
17150
17150
|
|
|
17151
17151
|
// src/sdk/request/shared.ts
|
|
17152
|
-
var REQUEST_MODEL_FALLBACKS = {
|
|
17153
|
-
"gemini-2.5-flash-image": "gemini-2.5-flash",
|
|
17154
|
-
"gemini-3.1-pro-high": "gemini-pro-agent",
|
|
17155
|
-
// Safety net: the gemini-3.5-flash-low/medium/high tier ids no longer
|
|
17156
|
-
// exist server-side. If any stale URL still contains them, remap to the
|
|
17157
|
-
// current live ids. Primary fix is TIER_MAPPING in plugin.ts.
|
|
17158
|
-
// medium -> gemini-3.5-flash-low (enum M20, display "Gemini 3.5 Flash (Medium)")
|
|
17159
|
-
// high -> gemini-3-flash-agent (enum M84, display "Gemini 3.5 Flash (High)")
|
|
17160
|
-
// low -> gemini-3.5-flash-extra-low (enum M187, display "Gemini 3.5 Flash (Low)")
|
|
17161
|
-
"gemini-3.5-flash-medium": "gemini-3.5-flash-low",
|
|
17162
|
-
"gemini-3.5-flash-high": "gemini-3-flash-agent"
|
|
17163
|
-
};
|
|
17152
|
+
var REQUEST_MODEL_FALLBACKS = {};
|
|
17164
17153
|
var GENERATIVE_LANGUAGE_HOST = new URL(AGY_GENERATIVE_LANGUAGE_ENDPOINT).host;
|
|
17165
17154
|
var CODE_ASSIST_HOST_SUFFIX = "cloudcode-pa.googleapis.com";
|
|
17166
17155
|
var MODEL_ACTION_PATTERN = /\/models\/[^:]+:\w+/;
|