@google/gemini-cli-a2a-server 0.12.0-preview.7 → 0.12.0-preview.9

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.
@@ -288986,8 +288986,8 @@ var Float64Vector = import_vector.default.Float64Vector;
288986
288986
  var PointerVector = import_vector.default.PointerVector;
288987
288987
 
288988
288988
  // packages/core/dist/src/generated/git-commit.js
288989
- var GIT_COMMIT_INFO = "9fbea50e";
288990
- var CLI_VERSION = "0.12.0-preview.7";
288989
+ var GIT_COMMIT_INFO = "a893c8c7";
288990
+ var CLI_VERSION = "0.12.0-preview.9";
288991
288991
 
288992
288992
  // packages/core/dist/src/ide/detect-ide.js
288993
288993
  var IDE_DEFINITIONS = {
@@ -291715,7 +291715,7 @@ async function createContentGenerator(config2, gcConfig, sessionId2) {
291715
291715
  if (gcConfig.fakeResponses) {
291716
291716
  return FakeContentGenerator.fromFile(gcConfig.fakeResponses);
291717
291717
  }
291718
- const version3 = "0.12.0-preview.7";
291718
+ const version3 = "0.12.0-preview.9";
291719
291719
  const userAgent = `GeminiCLI/${version3} (${process.platform}; ${process.arch})`;
291720
291720
  const baseHeaders = {
291721
291721
  "User-Agent": userAgent
@@ -325538,8 +325538,7 @@ function classifyGoogleError(error) {
325538
325538
  for (const violation of quotaFailure.violations) {
325539
325539
  const quotaId = violation.quotaId ?? "";
325540
325540
  if (quotaId.includes("PerDay") || quotaId.includes("Daily")) {
325541
- return new TerminalQuotaError(`${googleApiError.message}
325542
- Expected quota reset within 24h.`, googleApiError);
325541
+ return new TerminalQuotaError(`You have exhausted your daily quota on this model.`, googleApiError);
325543
325542
  }
325544
325543
  }
325545
325544
  }
@@ -325568,8 +325567,7 @@ Expected quota reset within 24h.`, googleApiError);
325568
325567
  }
325569
325568
  const quotaLimit = errorInfo.metadata?.["quota_limit"] ?? "";
325570
325569
  if (quotaLimit.includes("PerDay") || quotaLimit.includes("Daily")) {
325571
- return new TerminalQuotaError(`${googleApiError.message}
325572
- Expected quota reset within 24h.`, googleApiError);
325570
+ return new TerminalQuotaError(`You have exhausted your daily quota on this model.`, googleApiError);
325573
325571
  }
325574
325572
  }
325575
325573
  if (retryInfo?.retryDelay) {
@@ -340893,7 +340891,10 @@ var LoopDetectionService = class {
340893
340891
  * @returns true if a loop is detected, false otherwise
340894
340892
  */
340895
340893
  addAndCheck(event) {
340896
- if (this.loopDetected || this.disabledForSession) {
340894
+ if (this.disabledForSession) {
340895
+ return false;
340896
+ }
340897
+ if (this.loopDetected) {
340897
340898
  return this.loopDetected;
340898
340899
  }
340899
340900
  switch (event.type) {