@labelbox/recursion-sdk 0.0.155 → 0.0.157

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.
@@ -10607,7 +10607,7 @@ export type ManagedAgentsSession = {
10607
10607
  */
10608
10608
  status?: 'active' | 'awaiting_human' | 'completed' | 'failed' | 'cancelled';
10609
10609
  /**
10610
- * Why the loop is not running. Set whenever execution_state is idle or completed.
10610
+ * Why the loop is not running. Set whenever execution_state is idle or completed. sleeping means the agent chose to wait and the session resumes on the next message or at wake_at; awaiting_subagents means a coordinator is waiting on delegated work.
10611
10611
  */
10612
10612
  stop_reason?: string;
10613
10613
  /**
@@ -10626,6 +10626,10 @@ export type ManagedAgentsSession = {
10626
10626
  * Vaults (UUIDs) the session may draw credentials from. Combine with credential_refs to narrow the grant to specific credentials.
10627
10627
  */
10628
10628
  vault_ids?: Array<string>;
10629
+ /**
10630
+ * RFC 3339 timestamp at which a sleeping session wakes itself if nobody messages it first. Absent unless the agent scheduled a timed wait.
10631
+ */
10632
+ wake_at?: unknown;
10629
10633
  };
10630
10634
  /**
10631
10635
  * Response body of POST /v1/sessions, returned with HTTP 202 and a Location header. The 202 is load-bearing: the session is accepted, not started, so no status, sandbox, or event exists yet and nothing here reports success of the run. Poll status_path, or stream events, to observe provisioning and execution.
@@ -11251,7 +11255,7 @@ export type ManagedAgentsTreeResult = {
11251
11255
  */
11252
11256
  sessions?: unknown;
11253
11257
  /**
11254
- * Thread registry rows for the tree's context-isolated execution streams. Empty for imported RL trees, which have no thread registry.
11258
+ * Thread registry rows for the tree's context-isolated execution streams. Imported RL children appear when their import supplied thread names; older imports without names use session-derived fallback rows.
11255
11259
  */
11256
11260
  threads?: unknown;
11257
11261
  };
@@ -50985,7 +50985,7 @@ export const SDK_REFERENCE = {
50985
50985
  name: 'stop_reason',
50986
50986
  required: false,
50987
50987
  type: 'string',
50988
- description: 'Why the loop is not running. Set whenever execution_state is idle or completed.',
50988
+ description: 'Why the loop is not running. Set whenever execution_state is idle or completed. sleeping means the agent chose to wait and the session resumes on the next message or at wake_at; awaiting_subagents means a coordinator is waiting on delegated work.',
50989
50989
  },
50990
50990
  {
50991
50991
  name: 'tenant_id',
@@ -51012,6 +51012,13 @@ export const SDK_REFERENCE = {
51012
51012
  type: 'string[]',
51013
51013
  description: 'Vaults (UUIDs) the session may draw credentials from. Combine with credential_refs to narrow the grant to specific credentials.',
51014
51014
  },
51015
+ {
51016
+ name: 'wake_at',
51017
+ required: false,
51018
+ type: 'unknown',
51019
+ description: 'RFC 3339 timestamp at which a sleeping session wakes itself if nobody messages it first. Absent unless the agent scheduled a timed wait.',
51020
+ format: 'date-time',
51021
+ },
51015
51022
  ],
51016
51023
  },
51017
51024
  },
@@ -51621,7 +51628,7 @@ export const SDK_REFERENCE = {
51621
51628
  name: 'threads',
51622
51629
  required: false,
51623
51630
  type: 'unknown',
51624
- description: "Thread registry rows for the tree's context-isolated execution streams. Empty for imported RL trees, which have no thread registry.",
51631
+ description: "Thread registry rows for the tree's context-isolated execution streams. Imported RL children appear when their import supplied thread names; older imports without names use session-derived fallback rows.",
51625
51632
  },
51626
51633
  ],
51627
51634
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@labelbox/recursion-sdk",
3
- "version": "0.0.155",
3
+ "version": "0.0.157",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",