@google/gemini-cli-a2a-server 0.27.0-preview.6 → 0.27.0-preview.7

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.
@@ -326593,7 +326593,7 @@ var __filename = fileURLToPath5(import.meta.url);
326593
326593
  var __dirname3 = path20.dirname(__filename);
326594
326594
  async function getVersion() {
326595
326595
  const pkgJson = await getPackageJson(__dirname3);
326596
- return "0.27.0-preview.6";
326596
+ return "0.27.0-preview.7";
326597
326597
  }
326598
326598
 
326599
326599
  // packages/core/dist/src/code_assist/experiments/client_metadata.js
@@ -330009,8 +330009,8 @@ var Float64Vector = import_vector.default.Float64Vector;
330009
330009
  var PointerVector = import_vector.default.PointerVector;
330010
330010
 
330011
330011
  // packages/core/dist/src/generated/git-commit.js
330012
- var GIT_COMMIT_INFO = "88b0b0fe8";
330013
- var CLI_VERSION = "0.27.0-preview.6";
330012
+ var GIT_COMMIT_INFO = "7fe17b5da";
330013
+ var CLI_VERSION = "0.27.0-preview.7";
330014
330014
 
330015
330015
  // packages/core/dist/src/ide/detect-ide.js
330016
330016
  var IDE_DEFINITIONS = {
@@ -371961,8 +371961,9 @@ function delay2(ms, signal) {
371961
371961
 
371962
371962
  // packages/core/dist/src/utils/retry.js
371963
371963
  init_debugLogger();
371964
+ var DEFAULT_MAX_ATTEMPTS = 3;
371964
371965
  var DEFAULT_RETRY_OPTIONS = {
371965
- maxAttempts: 3,
371966
+ maxAttempts: DEFAULT_MAX_ATTEMPTS,
371966
371967
  initialDelayMs: 5e3,
371967
371968
  maxDelayMs: 3e4,
371968
371969
  // 30 seconds
@@ -372169,7 +372170,7 @@ function logRetryAttempt(attempt, error2, errorStatus) {
372169
372170
  }
372170
372171
 
372171
372172
  // packages/core/dist/src/core/baseLlmClient.js
372172
- var DEFAULT_MAX_ATTEMPTS = 5;
372173
+ var DEFAULT_MAX_ATTEMPTS2 = 5;
372173
372174
  var BaseLlmClient = class {
372174
372175
  contentGenerator;
372175
372176
  config;
@@ -372287,7 +372288,7 @@ var BaseLlmClient = class {
372287
372288
  };
372288
372289
  return await retryWithBackoff(apiCall, {
372289
372290
  shouldRetryOnContent,
372290
- maxAttempts: availabilityMaxAttempts ?? maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
372291
+ maxAttempts: availabilityMaxAttempts ?? maxAttempts ?? DEFAULT_MAX_ATTEMPTS2,
372291
372292
  getAvailabilityContext,
372292
372293
  onPersistent429: this.config.isInteractive() ? (authType, error2) => handleFallback(this.config, currentModel, authType, error2) : void 0,
372293
372294
  authType: this.authType ?? this.config.getContentGeneratorConfig()?.authType
@@ -383152,7 +383153,7 @@ var GeminiChat = class {
383152
383153
  onRetry: (attempt, error2, delayMs) => {
383153
383154
  coreEvents.emitRetryAttempt({
383154
383155
  attempt,
383155
- maxAttempts: availabilityMaxAttempts ?? 10,
383156
+ maxAttempts: availabilityMaxAttempts ?? DEFAULT_MAX_ATTEMPTS,
383156
383157
  delayMs,
383157
383158
  error: error2 instanceof Error ? error2.message : String(error2),
383158
383159
  model: lastModelToUse