@soat/cli 0.53.0 → 0.54.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.
Files changed (2) hide show
  1. package/dist/index.mjs +27 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import * as os from "node:os";
13
13
  import { createHmac, timingSafeEqual } from "node:crypto";
14
14
 
15
15
  //#region package.json
16
- var version = "0.53.0";
16
+ var version = "0.54.0";
17
17
 
18
18
  //#endregion
19
19
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -437,11 +437,11 @@ var routes = {
437
437
  "list-activity": {
438
438
  serviceClass: "Activity",
439
439
  operationId: "listActivity",
440
- description: "Returns activity entries for a project, newest first, filterable by kind and severity. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.",
440
+ description: "Returns activity entries for a project, newest first, filterable by kind, severity, agent, generation and orchestration run — every filter composable with the rest. Paginated with an opaque cursor rather than offset/limit — pass the previous page's `next_cursor` to fetch the next one; a `null` `next_cursor` means there is no more data.",
441
441
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/activity",
442
442
  httpMethod: "get",
443
443
  pathParams: [],
444
- queryParams: ["project_id", "kind", "severity", "cursor", "limit"],
444
+ queryParams: ["project_id", "kind", "severity", "agent_id", "generation_id", "orchestration_run_id", "cursor", "limit"],
445
445
  flags: [{
446
446
  "name": "project_id",
447
447
  "description": "Project ID (required if not using project key auth)",
@@ -460,6 +460,24 @@ var routes = {
460
460
  "required": false,
461
461
  "type": "string",
462
462
  "in": "query"
463
+ }, {
464
+ "name": "agent_id",
465
+ "description": "Filter to entries produced by one agent. Composable with every other filter — entries carry one agent, one generation and one run, so naming two narrows to the rows where both hold.",
466
+ "required": false,
467
+ "type": "string",
468
+ "in": "query"
469
+ }, {
470
+ "name": "generation_id",
471
+ "description": "Filter to entries produced during one agent generation. This is what turns `tool_resolution_failed` from alertable into usable: the warning for a suspect turn is one query rather than a scan of the project's feed.",
472
+ "required": false,
473
+ "type": "string",
474
+ "in": "query"
475
+ }, {
476
+ "name": "orchestration_run_id",
477
+ "description": "Filter to entries produced during one orchestration run.",
478
+ "required": false,
479
+ "type": "string",
480
+ "in": "query"
463
481
  }, {
464
482
  "name": "cursor",
465
483
  "description": "Opaque cursor from a previous page's `next_cursor`",
@@ -6284,6 +6302,12 @@ var routes = {
6284
6302
  "required": false,
6285
6303
  "type": "object",
6286
6304
  "in": "body"
6305
+ }, {
6306
+ "name": "idempotency_key",
6307
+ "description": "Deduplication key, unique within the project, that makes a retry of an ambiguous failure safe. The first request under a key starts the run and answers `201`; any later request carrying the same key answers `200` with that same run, whatever state it has reached — including a retry that arrives while the original is still running.\n\nThe key is claimed by the run record and stays claimed for as long as the record exists, so it never silently expires and lets a second run through.\n\n`orchestration_id`, `input`, `tool_context` and `metadata` are the request the key names: reusing a key with any of them changed is `409 IDEMPOTENCY_KEY_REUSED` rather than a replay of a run that does something else. `wait` is not part of that comparison — it says how the caller waits, not what the run is — so a retry may flip it.",
6308
+ "required": false,
6309
+ "type": "string",
6310
+ "in": "body"
6287
6311
  }, {
6288
6312
  "name": "wait",
6289
6313
  "description": "When true, block until the run reaches a terminal (succeeded/failed) or awaiting_input state and return the settled run. When false (default), return immediately with status \"queued\" and execute the run in the background.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.53.0",
3
+ "version": "0.54.0",
4
4
  "description": "CLI for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@inquirer/input": "^5.1.6",
24
24
  "@inquirer/password": "^5.2.2",
25
- "@soat/sdk": "0.53.0",
25
+ "@soat/sdk": "0.54.0",
26
26
  "@ttoss/logger": "^0.8.20",
27
27
  "commander": "^15.0.0",
28
28
  "js-yaml": "^5.4.2"