@aexhq/sdk 0.40.15 → 0.40.16

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.
@@ -9,10 +9,10 @@ export interface AssetUploadResponse {
9
9
  }
10
10
  /** Minimal fetch shape for direct-to-storage PUT requests. */
11
11
  export type AssetFetch = (input: string, init?: RequestInit) => Promise<AssetUploadResponse>;
12
- export declare const DIRECT_UPLOAD_MAX_ATTEMPTS = 3;
12
+ export declare const DIRECT_UPLOAD_MAX_ATTEMPTS = 5;
13
13
  export declare const DIRECT_UPLOAD_INITIAL_DELAY_MS = 500;
14
14
  export declare const DIRECT_UPLOAD_MAX_DELAY_MS = 5000;
15
- export declare const DIRECT_UPLOAD_MAX_ELAPSED_MS = 30000;
15
+ export declare const DIRECT_UPLOAD_MAX_ELAPSED_MS = 60000;
16
16
  export type AssetUploadSleep = (ms: number, signal?: AbortSignal) => Promise<void>;
17
17
  export interface AssetUploadRetryOptions {
18
18
  readonly maxAttempts?: number;
@@ -1,9 +1,9 @@
1
1
  import { extractErrorCode, redactUrl } from "./sdk-errors.js";
2
2
  import { abortableSleep, computeRetryDelayMs, parseRetryAfterMs } from "./retry-core.js";
3
- export const DIRECT_UPLOAD_MAX_ATTEMPTS = 3;
3
+ export const DIRECT_UPLOAD_MAX_ATTEMPTS = 5;
4
4
  export const DIRECT_UPLOAD_INITIAL_DELAY_MS = 500;
5
5
  export const DIRECT_UPLOAD_MAX_DELAY_MS = 5_000;
6
- export const DIRECT_UPLOAD_MAX_ELAPSED_MS = 30_000;
6
+ export const DIRECT_UPLOAD_MAX_ELAPSED_MS = 60_000;
7
7
  export async function putDirectUploadWithRetry(fetchImpl, uploadUrl, init, options = {}) {
8
8
  const config = resolveAssetUploadRetryConfig(options);
9
9
  const sleep = options.sleep ?? abortableSleep;
package/dist/cli.mjs CHANGED
@@ -4797,10 +4797,10 @@ function makeAbortError() {
4797
4797
  }
4798
4798
 
4799
4799
  // ../contracts/dist/asset-upload-helper.js
4800
- var DIRECT_UPLOAD_MAX_ATTEMPTS = 3;
4800
+ var DIRECT_UPLOAD_MAX_ATTEMPTS = 5;
4801
4801
  var DIRECT_UPLOAD_INITIAL_DELAY_MS = 500;
4802
4802
  var DIRECT_UPLOAD_MAX_DELAY_MS = 5e3;
4803
- var DIRECT_UPLOAD_MAX_ELAPSED_MS = 3e4;
4803
+ var DIRECT_UPLOAD_MAX_ELAPSED_MS = 6e4;
4804
4804
  async function putDirectUploadWithRetry(fetchImpl, uploadUrl, init, options = {}) {
4805
4805
  const config = resolveAssetUploadRetryConfig(options);
4806
4806
  const sleep5 = options.sleep ?? abortableSleep;
@@ -1 +1 @@
1
- 3a1bd5828048c0c5f9c59b3676b2e91e30a45a080c566f95d3f9de2590f28f9c cli.mjs
1
+ 6a03ce618806a3cbd18663d4a1187106b1c6fecd4256e5f78d043b7480967505 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.40.15";
9
+ export declare const SDK_VERSION = "0.40.16";
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.40.15";
9
+ export const SDK_VERSION = "0.40.16";
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aexhq/sdk",
3
- "version": "0.40.15",
3
+ "version": "0.40.16",
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": {