@google/gemini-cli-a2a-server 0.39.0-preview.0 → 0.40.0-nightly.20260415.g06e7621b2

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.
@@ -208992,8 +208992,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
208992
208992
  var init_git_commit = __esm({
208993
208993
  "packages/core/dist/src/generated/git-commit.js"() {
208994
208994
  "use strict";
208995
- GIT_COMMIT_INFO = "5b1f7375a";
208996
- CLI_VERSION = "0.39.0-preview.0";
208995
+ GIT_COMMIT_INFO = "06e7621b2";
208996
+ CLI_VERSION = "0.40.0-nightly.20260415.g06e7621b2";
208997
208997
  }
208998
208998
  });
208999
208999
 
@@ -325082,6 +325082,9 @@ var init_delay = __esm({
325082
325082
  });
325083
325083
 
325084
325084
  // packages/core/dist/src/utils/retry.js
325085
+ function isRetryableSslErrorCode(code) {
325086
+ return RETRYABLE_NETWORK_CODES.includes(code) || RETRYABLE_SSL_ERROR_PATTERN.test(code);
325087
+ }
325085
325088
  function getNetworkErrorCode(error2) {
325086
325089
  const getCode = (obj) => {
325087
325090
  if (typeof obj !== "object" || obj === null) {
@@ -325115,7 +325118,7 @@ function getRetryErrorType(error2) {
325115
325118
  return "INVALID_CONTENT";
325116
325119
  }
325117
325120
  const errorCode = getNetworkErrorCode(error2);
325118
- if (errorCode && RETRYABLE_NETWORK_CODES.includes(errorCode)) {
325121
+ if (errorCode && isRetryableSslErrorCode(errorCode)) {
325119
325122
  return errorCode;
325120
325123
  }
325121
325124
  if (error2 instanceof Error) {
@@ -325142,7 +325145,7 @@ function getRetryErrorType(error2) {
325142
325145
  }
325143
325146
  function isRetryableError(error2, retryFetchErrors) {
325144
325147
  const errorCode = getNetworkErrorCode(error2);
325145
- if (errorCode && RETRYABLE_NETWORK_CODES.includes(errorCode)) {
325148
+ if (errorCode && isRetryableSslErrorCode(errorCode)) {
325146
325149
  return true;
325147
325150
  }
325148
325151
  if (retryFetchErrors && error2 instanceof Error) {
@@ -325325,7 +325328,7 @@ function logRetryAttempt(attempt, error2, errorStatus) {
325325
325328
  debugLogger.warn(message, error2);
325326
325329
  }
325327
325330
  }
325328
- var DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_OPTIONS, RETRYABLE_NETWORK_CODES, FETCH_FAILED_MESSAGE, INCOMPLETE_JSON_MESSAGE;
325331
+ var DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_OPTIONS, RETRYABLE_NETWORK_CODES, RETRYABLE_SSL_ERROR_PATTERN, FETCH_FAILED_MESSAGE, INCOMPLETE_JSON_MESSAGE;
325329
325332
  var init_retry = __esm({
325330
325333
  "packages/core/dist/src/utils/retry.js"() {
325331
325334
  "use strict";
@@ -325349,14 +325352,11 @@ var init_retry = __esm({
325349
325352
  "ENOTFOUND",
325350
325353
  "EAI_AGAIN",
325351
325354
  "ECONNREFUSED",
325352
- // SSL/TLS transient errors
325353
- "ERR_SSL_SSLV3_ALERT_BAD_RECORD_MAC",
325354
325355
  "ERR_SSL_WRONG_VERSION_NUMBER",
325355
- "ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC",
325356
- "ERR_SSL_BAD_RECORD_MAC",
325357
325356
  "EPROTO"
325358
325357
  // Generic protocol error (often SSL-related)
325359
325358
  ];
325359
+ RETRYABLE_SSL_ERROR_PATTERN = /^ERR_SSL_.*BAD_RECORD_MAC/i;
325360
325360
  FETCH_FAILED_MESSAGE = "fetch failed";
325361
325361
  INCOMPLETE_JSON_MESSAGE = "incomplete json segment";
325362
325362
  }
@@ -332339,7 +332339,7 @@ function getVersion() {
332339
332339
  }
332340
332340
  versionPromise = (async () => {
332341
332341
  const pkgJson = await getPackageJson(__dirname4);
332342
- return "0.39.0-preview.0";
332342
+ return "0.40.0-nightly.20260415.g06e7621b2";
332343
332343
  })();
332344
332344
  return versionPromise;
332345
332345
  }