@avallon-labs/sdk 66.0.0 → 66.2.0-staging.1385

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.
package/dist/index.d.ts CHANGED
@@ -5311,6 +5311,7 @@ interface Worker {
5311
5311
  permissions: WorkerPermission[];
5312
5312
  model: string;
5313
5313
  fast_mode: boolean;
5314
+ max_concurrent_runs: number | null;
5314
5315
  }
5315
5316
 
5316
5317
  /**
@@ -9627,6 +9628,7 @@ interface WorkerVersionDetail {
9627
9628
  permissions: WorkerPermission[];
9628
9629
  model: string;
9629
9630
  fast_mode: boolean;
9631
+ max_concurrent_runs: number | null;
9630
9632
  tool_ids: string[];
9631
9633
  secret_ids: string[];
9632
9634
  /**
@@ -16258,6 +16260,8 @@ type UpdateWorkerBody = {
16258
16260
  model?: string;
16259
16261
  /** Toggle fast mode for the worker. Omit to leave unchanged. */
16260
16262
  fast_mode?: boolean;
16263
+ /** Most runs of this worker allowed in flight at once, per environment. Omit to leave unchanged; pass null to remove the limit. */
16264
+ max_concurrent_runs?: number | null;
16261
16265
  schema?: UpdateWorkerBodySchema;
16262
16266
  /** Replace the worker's attached tool set. Omit to leave unchanged; pass [] to clear. */
16263
16267
  tools?: string[];
@@ -22033,7 +22037,7 @@ declare const getCreateWorkerRunUrl: () => string;
22033
22037
  *
22034
22038
  * Provide a `scope` object with at least one key to define which artifacts the worker should process (e.g. `{ "claim_id": "abc-123" }`). The run stays `pending` until those artifacts are ready.
22035
22039
  *
22036
- * Pass `null` to run the worker without any artifacts — the run is queued immediately. An empty object is rejected.
22040
+ * Pass `null` to run the worker without any artifacts — the run is queued immediately. An empty object, or a scope that matches no artifacts, is rejected.
22037
22041
  * @summary Create worker run
22038
22042
  */
22039
22043
  declare const createWorkerRun: (createWorkerRunBody?: CreateWorkerRunBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateWorkerRunEnvelope>;