@aexhq/sdk 0.41.4 → 0.41.5

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.
@@ -129,6 +129,7 @@ const DEFAULT_TRANSIENT_GET_RETRY = {
129
129
  };
130
130
  const TRANSIENT_READ_CODES = new Set([
131
131
  "ConnectionRefused",
132
+ "FailedToOpenSocket",
132
133
  "ECONNRESET",
133
134
  "ECONNREFUSED",
134
135
  "ETIMEDOUT",
@@ -187,7 +188,7 @@ function transientReadErrorCode(err) {
187
188
  if (code && TRANSIENT_READ_CODES.has(code))
188
189
  return code;
189
190
  const text = err instanceof Error ? `${err.name}: ${err.message}` : String(err);
190
- if (/fetch failed|socket hang up|other side closed|terminated|network.*reset/i.test(text))
191
+ if (/FailedToOpenSocket|fetch failed|socket hang up|other side closed|terminated|network.*reset|unable to connect/i.test(text))
191
192
  return "fetch";
192
193
  return undefined;
193
194
  }
package/dist/cli.mjs CHANGED
@@ -2262,6 +2262,7 @@ var DEFAULT_TRANSIENT_GET_RETRY = {
2262
2262
  };
2263
2263
  var TRANSIENT_READ_CODES = /* @__PURE__ */ new Set([
2264
2264
  "ConnectionRefused",
2265
+ "FailedToOpenSocket",
2265
2266
  "ECONNRESET",
2266
2267
  "ECONNREFUSED",
2267
2268
  "ETIMEDOUT",
@@ -2319,7 +2320,7 @@ function transientReadErrorCode(err2) {
2319
2320
  if (code && TRANSIENT_READ_CODES.has(code))
2320
2321
  return code;
2321
2322
  const text = err2 instanceof Error ? `${err2.name}: ${err2.message}` : String(err2);
2322
- if (/fetch failed|socket hang up|other side closed|terminated|network.*reset/i.test(text))
2323
+ if (/FailedToOpenSocket|fetch failed|socket hang up|other side closed|terminated|network.*reset|unable to connect/i.test(text))
2323
2324
  return "fetch";
2324
2325
  return void 0;
2325
2326
  }
@@ -1 +1 @@
1
- b436c6ab7ee01ed56ae277b64a36888c551ac9c7608c166c165876015f10a2aa cli.mjs
1
+ 4e757178bfe41df635aed38aa9fe18034b19bdeff785065a643e41e03ef67e83 cli.mjs
package/dist/version.d.ts CHANGED
@@ -6,4 +6,4 @@
6
6
  *
7
7
  * Used by the (future) User-Agent header on outbound SDK requests.
8
8
  */
9
- export declare const SDK_VERSION = "0.41.4";
9
+ export declare const SDK_VERSION = "0.41.5";
package/dist/version.js CHANGED
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * Used by the (future) User-Agent header on outbound SDK requests.
8
8
  */
9
- export const SDK_VERSION = "0.41.4";
9
+ export const SDK_VERSION = "0.41.5";
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aexhq/sdk",
3
- "version": "0.41.4",
3
+ "version": "0.41.5",
4
4
  "description": "TypeScript SDK for running autonomous agent sessions across providers (Anthropic, OpenAI, DeepSeek, Gemini, Mistral) behind one interface.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {