dsh-agy 0.2.5 → 0.2.6
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/lib/{accounts-Blqno5Te.mjs → accounts-CjOuS29o.mjs} +5 -5
- package/lib/{accounts-Blqno5Te.mjs.map → accounts-CjOuS29o.mjs.map} +1 -1
- package/lib/cli/index.mjs +4 -4
- package/lib/{exchange-C6y05v4v.mjs → exchange-DNrUFqeJ.mjs} +2 -2
- package/lib/{exchange-C6y05v4v.mjs.map → exchange-DNrUFqeJ.mjs.map} +1 -1
- package/lib/{import-Dmeiu2Xb.mjs → import-CL05Tqhk.mjs} +3 -3
- package/lib/{import-Dmeiu2Xb.mjs.map → import-CL05Tqhk.mjs.map} +1 -1
- package/lib/index.mjs +2 -2
- package/lib/{models-3VFg0nRK.mjs → models-BTMqI4Md.mjs} +2 -2
- package/lib/{models-3VFg0nRK.mjs.map → models-BTMqI4Md.mjs.map} +1 -1
- package/lib/{parse-D8bV2yqa.mjs → parse-Bs4rPkHA.mjs} +4 -2
- package/lib/parse-Bs4rPkHA.mjs.map +1 -0
- package/lib/{plugin-common-CP6Czgh9.mjs → plugin-common-DWSiyQG-.mjs} +11 -5
- package/lib/plugin-common-DWSiyQG-.mjs.map +1 -0
- package/lib/{translate-Zf1mdBri.mjs → translate-CfeRpHDe.mjs} +2 -2
- package/lib/{translate-Zf1mdBri.mjs.map → translate-CfeRpHDe.mjs.map} +1 -1
- package/lib/web/plugin.mjs +6 -6
- package/package.json +1 -1
- package/lib/parse-D8bV2yqa.mjs.map +0 -1
- package/lib/plugin-common-CP6Czgh9.mjs.map +0 -1
|
@@ -1081,7 +1081,7 @@ var AgySessionManager = class AgySessionManager {
|
|
|
1081
1081
|
try {
|
|
1082
1082
|
const auth = await this.accessTokenFor(account);
|
|
1083
1083
|
if (!auth) return null;
|
|
1084
|
-
const { fetchAvailableModels } = await import("./models-
|
|
1084
|
+
const { fetchAvailableModels } = await import("./models-BTMqI4Md.mjs").then((n) => n.r);
|
|
1085
1085
|
const quotas = ingestFamilyQuotas(await fetchAvailableModels(auth.access, account.projectId, (input, init) => {
|
|
1086
1086
|
const timeout = AbortSignal.timeout(AgySessionManager.QUOTA_FETCH_TIMEOUT_MS);
|
|
1087
1087
|
const signal = init?.signal ? AbortSignal.any([init.signal, timeout]) : timeout;
|
|
@@ -1232,7 +1232,7 @@ var AgySessionManager = class AgySessionManager {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
const key = this.accountKey(picked.account);
|
|
1234
1234
|
if (!picked.account.projectId && !this.projectRetryFailed.has(key)) try {
|
|
1235
|
-
const { loadCodeAssist } = await import("./exchange-
|
|
1235
|
+
const { loadCodeAssist } = await import("./exchange-DNrUFqeJ.mjs").then((n) => n.n);
|
|
1236
1236
|
const { projectId } = await loadCodeAssist(auth.access);
|
|
1237
1237
|
if (projectId) {
|
|
1238
1238
|
await this.store.mutate((s) => {
|
|
@@ -1327,9 +1327,9 @@ var AgySessionManager = class AgySessionManager {
|
|
|
1327
1327
|
ok: false,
|
|
1328
1328
|
error: "No agy account configured — run `dsh-agy login` first."
|
|
1329
1329
|
};
|
|
1330
|
-
const { toAgyRequestBody } = await import("./translate-
|
|
1330
|
+
const { toAgyRequestBody } = await import("./translate-CfeRpHDe.mjs").then((n) => n.n);
|
|
1331
1331
|
const { fetchAgyFirstOk } = await Promise.resolve().then(() => constants_exports);
|
|
1332
|
-
const { parseAgySse } = await import("./parse-
|
|
1332
|
+
const { parseAgySse } = await import("./parse-Bs4rPkHA.mjs").then((n) => n.n);
|
|
1333
1333
|
const body = toAgyRequestBody({
|
|
1334
1334
|
provider: "agy",
|
|
1335
1335
|
model,
|
|
@@ -1821,4 +1821,4 @@ var JsonAccountStore = class {
|
|
|
1821
1821
|
//#endregion
|
|
1822
1822
|
export { AgyPoolBlockedError as A, OAUTH_TOKEN_URL as C, getAgyBootstrapUserAgent as D, getAgyBootstrapClientMetadata as E, resolveAgyClientCredentials as O, OAUTH_AUTHORIZE_URL as S, fetchAgyFirstOk as T, deriveAntigravitySessionId as _, deriveKey as a, AGY_ENDPOINT_FALLBACKS as b, resolveDshHome as c, isAgyDisabled as d, generateFingerprint as f, resolveAntigravityVersionBounded as g, resolveAntigravityVersion as h, createAesGcmCodec as i, AgyAuthError as k, resolveMasterKeyCodec as l, calculateTokenExpiry as m, maskProxyUrl as n, loadMasterKey as o, recordFingerprintVersion as p, MASTER_KEY_REF as r, persistMasterKey as s, JsonAccountStore as t, AgySessionManager as u, generateAntigravityRequestId as v, OAUTH_USERINFO_URL as w, AGY_SCOPES as x, AGY_DEFAULT_REDIRECT_URI as y };
|
|
1823
1823
|
|
|
1824
|
-
//# sourceMappingURL=accounts-
|
|
1824
|
+
//# sourceMappingURL=accounts-CjOuS29o.mjs.map
|