dsh-agy 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.
@@ -1,5 +1,5 @@
1
- import { _ as setResolvedAgyVersion, a as AGY_PLATFORM_ENUM, b as QUOTA_WINDOWS, d as antigravityUserAgent, g as resolveAgyClientCredentials, l as OAUTH_TOKEN_URL, p as currentAgyVersion, t as AGY_CLIENT_ID, v as AgyAuthError, x as isProxyRouted, y as AgyPoolBlockedError } from "./constants-BpyRirvk.mjs";
2
- import { a as probeFetch, l as redactCredentials, o as proxiedFetch, r as isProxyUnreachableError, t as accountFetch } from "./proxy-DfaL73mL.mjs";
1
+ import { _ as setResolvedAgyVersion, a as AGY_PLATFORM_ENUM, b as QUOTA_WINDOWS, d as antigravityUserAgent, g as resolveAgyClientCredentials, l as OAUTH_TOKEN_URL, p as currentAgyVersion, t as AGY_CLIENT_ID, v as AgyAuthError, x as isProxyRouted, y as AgyPoolBlockedError } from "./constants-CmA9wXNe.mjs";
2
+ import { a as probeFetch, l as redactCredentials, o as proxiedFetch, r as isProxyUnreachableError, t as accountFetch } from "./proxy-BbuQX5U9.mjs";
3
3
  import { i as generateAntigravityRequestId, r as deriveAntigravitySessionId } from "./identity-Ci8EGc1F.mjs";
4
4
  import { i as parseRefreshParts, n as calculateTokenExpiry, r as formatRefreshParts, t as accessTokenExpired } from "./auth-DPPVFwio.mjs";
5
5
  import { createCipheriv, createDecipheriv, createHash, randomBytes, randomUUID } from "node:crypto";
@@ -2107,7 +2107,7 @@ var AgySessionManager = class AgySessionManager {
2107
2107
  try {
2108
2108
  const auth = await this.accessTokenFor(account);
2109
2109
  if (!auth) return [];
2110
- const { fetchQuotaSummary } = await import("./quota-summary-adID82I2.mjs");
2110
+ const { fetchQuotaSummary } = await import("./quota-summary-DEA3P3Zh.mjs");
2111
2111
  const routed = accountFetch({ proxyUrl: account.proxy });
2112
2112
  const bounded = (input, init) => {
2113
2113
  const timeout = AbortSignal.timeout(AgySessionManager.QUOTA_FETCH_TIMEOUT_MS);
@@ -2245,7 +2245,7 @@ var AgySessionManager = class AgySessionManager {
2245
2245
  try {
2246
2246
  const auth = await this.accessTokenFor(account);
2247
2247
  if (!auth) return null;
2248
- const { fetchAvailableModels } = await import("./models-Qn0-sh6X.mjs").then((n) => n.r);
2248
+ const { fetchAvailableModels } = await import("./models-B6bD7zPi.mjs").then((n) => n.r);
2249
2249
  const routed = accountFetch({ proxyUrl: account.proxy });
2250
2250
  const bounded = (input, init) => {
2251
2251
  const timeout = AbortSignal.timeout(AgySessionManager.QUOTA_FETCH_TIMEOUT_MS);
@@ -2427,7 +2427,7 @@ var AgySessionManager = class AgySessionManager {
2427
2427
  }
2428
2428
  const key = this.accountKey(picked.account);
2429
2429
  if (!picked.account.projectId && !this.projectRetryFailed.has(key)) try {
2430
- const { loadCodeAssist } = await import("./exchange-LzEyxve1.mjs").then((n) => n.n);
2430
+ const { loadCodeAssist } = await import("./exchange-C-tndv7j.mjs").then((n) => n.n);
2431
2431
  const { projectId } = await loadCodeAssist(auth.access, { proxyUrl: picked.account.proxy });
2432
2432
  if (projectId) {
2433
2433
  await this.store.mutate((s) => {
@@ -2591,7 +2591,7 @@ var AgySessionManager = class AgySessionManager {
2591
2591
  try {
2592
2592
  const account = session.account.email ?? session.account.id;
2593
2593
  const { toAgyRequestBody } = await import("./translate-YhGDUuVa.mjs").then((n) => n.n);
2594
- const { fetchAgyFirstOk } = await import("./constants-BpyRirvk.mjs").then((n) => n.f);
2594
+ const { fetchAgyFirstOk } = await import("./constants-CmA9wXNe.mjs").then((n) => n.f);
2595
2595
  const { parseAgySse } = await import("./parse-Bs4rPkHA.mjs").then((n) => n.n);
2596
2596
  const requestId = generateAntigravityRequestId();
2597
2597
  const body = toAgyRequestBody({
@@ -3033,4 +3033,4 @@ var JsonAccountStore = class {
3033
3033
  //#endregion
3034
3034
  export { isSessionAccumulationOverflow as S, resolveDshHome as _, generateFingerprint as a, classifyHttpError as b, resolveAntigravityVersionBounded as c, migrateToAgyDir as d, MASTER_KEY_REF as f, persistMasterKey as g, loadMasterKey as h, isAgyDisabled as i, clearExpiredState as l, deriveKey as m, maskProxyUrl as n, recordFingerprintVersion as o, createAesGcmCodec as p, AgySessionManager as r, resolveAntigravityVersion as s, JsonAccountStore as t, pickProbeProxyUrl as u, resolveMasterKeyCodec as v, describeFetchError as x, classifyFetchError as y };
3035
3035
 
3036
- //# sourceMappingURL=accounts-BjdDqUq1.mjs.map
3036
+ //# sourceMappingURL=accounts-D605JE2i.mjs.map