@soat/sdk 0.29.5 → 0.30.0

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.cjs CHANGED
@@ -2321,7 +2321,9 @@ var Generations = class {
2321
2321
  /**
2322
2322
  * List generations
2323
2323
  *
2324
- * Returns generations the caller can access, optionally filtered by agent, trace, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
2324
+ * Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
2325
+ *
2326
+ * Filtering by `orchestration_run_id` is the supported way to get from an orchestration run to the generations its agent nodes produced: a node execution record carries no generation id, so the pointer lives here, alongside the run's other attribution columns.
2325
2327
  *
2326
2328
  */
2327
2329
  static listGenerations(options) {
@@ -2363,7 +2365,7 @@ var Generations = class {
2363
2365
  *
2364
2366
  * Clears the generation's content — `metadata`, `error`, `extraction`, and the internal recovery state of a paused run — and stamps `content_redacted_at`.
2365
2367
  *
2366
- * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
2368
+ * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `node_attempt`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
2367
2369
  *
2368
2370
  * This does **not** delete the parent trace's steps object, which holds this generation's content alongside its siblings'. To erase the run's content completely, purge the trace (`DELETE /api/v1/traces/{trace_id}/content`), which cascades here.
2369
2371
  *
package/dist/index.d.cts CHANGED
@@ -3356,6 +3356,11 @@ type Generation = {
3356
3356
  *
3357
3357
  */
3358
3358
  node_id?: string | null;
3359
+ /**
3360
+ * The node's 1-based retry attempt, completing the run + node + attempt replay identity. A retried node produces one generation per attempt; this is what tells them apart. Null for a generation no orchestration node dispatched.
3361
+ *
3362
+ */
3363
+ node_attempt?: number | null;
3359
3364
  /**
3360
3365
  * Agent config version that served this generation, resolved by the served-version resolver (see [agent versions](/docs/modules/agents#versions-and-releases)).
3361
3366
  *
@@ -11423,6 +11428,16 @@ type ListGenerationsData = {
11423
11428
  *
11424
11429
  */
11425
11430
  initiator_generation_id?: string;
11431
+ /**
11432
+ * Filter by the orchestration run that dispatched the generation. This is how a run is traced back to what its agent nodes did — a node execution record stores no generation id.
11433
+ *
11434
+ */
11435
+ orchestration_run_id?: string;
11436
+ /**
11437
+ * Filter by the orchestration node that dispatched the generation. Combine with `orchestration_run_id` to narrow to one node of one run; a retried node returns one generation per `node_attempt`.
11438
+ *
11439
+ */
11440
+ node_id?: string;
11426
11441
  /**
11427
11442
  * Filter by lifecycle status
11428
11443
  */
@@ -17776,7 +17791,9 @@ declare class Generations {
17776
17791
  /**
17777
17792
  * List generations
17778
17793
  *
17779
- * Returns generations the caller can access, optionally filtered by agent, trace, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
17794
+ * Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
17795
+ *
17796
+ * Filtering by `orchestration_run_id` is the supported way to get from an orchestration run to the generations its agent nodes produced: a node execution record carries no generation id, so the pointer lives here, alongside the run's other attribution columns.
17780
17797
  *
17781
17798
  */
17782
17799
  static listGenerations<ThrowOnError extends boolean = false>(options?: Options<ListGenerationsData, ThrowOnError>): RequestResult<ListGenerationsResponses, ListGenerationsErrors, ThrowOnError>;
@@ -17799,7 +17816,7 @@ declare class Generations {
17799
17816
  *
17800
17817
  * Clears the generation's content — `metadata`, `error`, `extraction`, and the internal recovery state of a paused run — and stamps `content_redacted_at`.
17801
17818
  *
17802
- * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
17819
+ * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `node_attempt`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
17803
17820
  *
17804
17821
  * This does **not** delete the parent trace's steps object, which holds this generation's content alongside its siblings'. To erase the run's content completely, purge the trace (`DELETE /api/v1/traces/{trace_id}/content`), which cascades here.
17805
17822
  *
package/dist/index.d.mts CHANGED
@@ -3356,6 +3356,11 @@ type Generation = {
3356
3356
  *
3357
3357
  */
3358
3358
  node_id?: string | null;
3359
+ /**
3360
+ * The node's 1-based retry attempt, completing the run + node + attempt replay identity. A retried node produces one generation per attempt; this is what tells them apart. Null for a generation no orchestration node dispatched.
3361
+ *
3362
+ */
3363
+ node_attempt?: number | null;
3359
3364
  /**
3360
3365
  * Agent config version that served this generation, resolved by the served-version resolver (see [agent versions](/docs/modules/agents#versions-and-releases)).
3361
3366
  *
@@ -11423,6 +11428,16 @@ type ListGenerationsData = {
11423
11428
  *
11424
11429
  */
11425
11430
  initiator_generation_id?: string;
11431
+ /**
11432
+ * Filter by the orchestration run that dispatched the generation. This is how a run is traced back to what its agent nodes did — a node execution record stores no generation id.
11433
+ *
11434
+ */
11435
+ orchestration_run_id?: string;
11436
+ /**
11437
+ * Filter by the orchestration node that dispatched the generation. Combine with `orchestration_run_id` to narrow to one node of one run; a retried node returns one generation per `node_attempt`.
11438
+ *
11439
+ */
11440
+ node_id?: string;
11426
11441
  /**
11427
11442
  * Filter by lifecycle status
11428
11443
  */
@@ -17776,7 +17791,9 @@ declare class Generations {
17776
17791
  /**
17777
17792
  * List generations
17778
17793
  *
17779
- * Returns generations the caller can access, optionally filtered by agent, trace, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
17794
+ * Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
17795
+ *
17796
+ * Filtering by `orchestration_run_id` is the supported way to get from an orchestration run to the generations its agent nodes produced: a node execution record carries no generation id, so the pointer lives here, alongside the run's other attribution columns.
17780
17797
  *
17781
17798
  */
17782
17799
  static listGenerations<ThrowOnError extends boolean = false>(options?: Options<ListGenerationsData, ThrowOnError>): RequestResult<ListGenerationsResponses, ListGenerationsErrors, ThrowOnError>;
@@ -17799,7 +17816,7 @@ declare class Generations {
17799
17816
  *
17800
17817
  * Clears the generation's content — `metadata`, `error`, `extraction`, and the internal recovery state of a paused run — and stamps `content_redacted_at`.
17801
17818
  *
17802
- * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
17819
+ * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `node_attempt`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
17803
17820
  *
17804
17821
  * This does **not** delete the parent trace's steps object, which holds this generation's content alongside its siblings'. To erase the run's content completely, purge the trace (`DELETE /api/v1/traces/{trace_id}/content`), which cascades here.
17805
17822
  *
package/dist/index.mjs CHANGED
@@ -2320,7 +2320,9 @@ var Generations = class {
2320
2320
  /**
2321
2321
  * List generations
2322
2322
  *
2323
- * Returns generations the caller can access, optionally filtered by agent, trace, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
2323
+ * Returns generations the caller can access, optionally filtered by agent, trace, orchestration run, node, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
2324
+ *
2325
+ * Filtering by `orchestration_run_id` is the supported way to get from an orchestration run to the generations its agent nodes produced: a node execution record carries no generation id, so the pointer lives here, alongside the run's other attribution columns.
2324
2326
  *
2325
2327
  */
2326
2328
  static listGenerations(options) {
@@ -2362,7 +2364,7 @@ var Generations = class {
2362
2364
  *
2363
2365
  * Clears the generation's content — `metadata`, `error`, `extraction`, and the internal recovery state of a paused run — and stamps `content_redacted_at`.
2364
2366
  *
2365
- * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
2367
+ * The usage and audit skeleton is preserved: ids, timestamps, status, stop reason, and the attribution fields (`action_id`, `trigger_id`, `orchestration_run_id`, `node_id`, `node_attempt`, `agent_version`, `routing`) the billing ledger reads. A purged generation reads back as that skeleton, not a 404.
2366
2368
  *
2367
2369
  * This does **not** delete the parent trace's steps object, which holds this generation's content alongside its siblings'. To erase the run's content completely, purge the trace (`DELETE /api/v1/traces/{trace_id}/content`), which cascades here.
2368
2370
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.29.5",
3
+ "version": "0.30.0",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",