@soat/cli 0.18.6 → 0.19.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 +33 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import { load } from "js-yaml";
13
13
  import * as os from "node:os";
14
14
 
15
15
  //#region package.json
16
- var version = "0.18.6";
16
+ var version = "0.19.0";
17
17
 
18
18
  //#endregion
19
19
  //#region src/cli-wrappers/wrappers/formations.ts
@@ -788,6 +788,12 @@ var routes = {
788
788
  "required": false,
789
789
  "type": "boolean",
790
790
  "in": "body"
791
+ }, {
792
+ "name": "trace_content_mode",
793
+ "description": "Zero-retention opt-in for this agent. `null` inherits the project's setting; `none` means trace and generation content is never written. Setting `full` under a project whose own mode is `none` is refused with 400 — the project is a floor an agent may only tighten.",
794
+ "required": false,
795
+ "type": "string",
796
+ "in": "body"
791
797
  }, {
792
798
  "name": "version_label",
793
799
  "description": "Optional tag for the config version this write archives (e.g. `initial`). Annotates the version only — it is not stored on the agent and is not part of the config, so labelling a change is never itself a change.",
@@ -946,6 +952,12 @@ var routes = {
946
952
  "required": false,
947
953
  "type": "boolean",
948
954
  "in": "body"
955
+ }, {
956
+ "name": "trace_content_mode",
957
+ "description": "Zero-retention opt-in for this agent. `null` inherits the project's setting; `none` means trace and generation content is never written. Setting `full` under a project whose own mode is `none` is refused with 400.",
958
+ "required": false,
959
+ "type": "string",
960
+ "in": "body"
949
961
  }, {
950
962
  "name": "version_label",
951
963
  "description": "Optional tag for the config version this write archives (e.g. `pre-tone-change`). Annotates the version only — it is not stored on the agent and is not part of the config, so labelling a change is never itself a change. Ignored when the write changes nothing, since no version is created.",
@@ -1088,6 +1100,12 @@ var routes = {
1088
1100
  "required": false,
1089
1101
  "type": "boolean",
1090
1102
  "in": "body"
1103
+ }, {
1104
+ "name": "trace_content_mode",
1105
+ "description": "Zero-retention opt-in for this agent. `null` inherits the project's setting; `none` means trace and generation content is never written. Setting `full` under a project whose own mode is `none` is refused with 400.",
1106
+ "required": false,
1107
+ "type": "string",
1108
+ "in": "body"
1091
1109
  }, {
1092
1110
  "name": "version_label",
1093
1111
  "description": "Optional tag for the config version this write archives (e.g. `pre-tone-change`). Annotates the version only — it is not stored on the agent and is not part of the config, so labelling a change is never itself a change. Ignored when the write changes nothing, since no version is created.",
@@ -4268,7 +4286,7 @@ var routes = {
4268
4286
  "in": "body"
4269
4287
  }, {
4270
4288
  "name": "chunk_strategy",
4271
- "description": "",
4289
+ "description": "Send `null` to clear the rule's override and fall back to the per-request default.",
4272
4290
  "required": false,
4273
4291
  "type": "string",
4274
4292
  "in": "body"
@@ -5311,7 +5329,7 @@ var routes = {
5311
5329
  "update-project": {
5312
5330
  serviceClass: "Projects",
5313
5331
  operationId: "updateProject",
5314
- description: "Updates a project's name, its attached guardrails (`guardrail_ids` — the project-scope baseline governing every tool call by every agent in the project), its orchestration concurrency limit (`max_concurrent_runs`), its inherited model route (`default_model_route_id`), and/or its read-auditing opt-in (`audit_reads_enabled`). At least one field is required. Requires admin role. Detaching a guardrail (removing an id) additionally requires guardrails:DetachGuardrail.",
5332
+ description: "Updates a project's name, its attached guardrails (`guardrail_ids` — the project-scope baseline governing every tool call by every agent in the project), its orchestration concurrency limit (`max_concurrent_runs`), its inherited model route (`default_model_route_id`), its read-auditing opt-in (`audit_reads_enabled`), its trace-content retention window (`trace_content_retention_days`), and/or its zero-retention setting (`trace_content_mode`). At least one field is required. Requires admin role. Detaching a guardrail (removing an id) additionally requires guardrails:DetachGuardrail.",
5315
5333
  moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/projects",
5316
5334
  httpMethod: "patch",
5317
5335
  pathParams: ["project_id"],
@@ -5352,6 +5370,18 @@ var routes = {
5352
5370
  "required": false,
5353
5371
  "type": "boolean",
5354
5372
  "in": "body"
5373
+ }, {
5374
+ "name": "trace_content_retention_days",
5375
+ "description": "How long trace and generation content is kept before the daily retention sweep content-purges it. `null` (the default) disables retention; otherwise an integer >= 1. The sweep uses the same purge path as `DELETE /traces/{trace_id}/content`, so the row survives as an auditable skeleton with `content_redacted_at` set.",
5376
+ "required": false,
5377
+ "type": "integer",
5378
+ "in": "body"
5379
+ }, {
5380
+ "name": "trace_content_mode",
5381
+ "description": "Whether trace and generation content is persisted at all. `full` (the default) stores it; `none` is zero-retention — content is never written, for every agent in the project. An agent may tighten this to `none` on its own but cannot loosen a `none` project back to `full`.",
5382
+ "required": false,
5383
+ "type": "string",
5384
+ "in": "body"
5355
5385
  }]
5356
5386
  },
5357
5387
  "delete-project": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/cli",
3
- "version": "0.18.6",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@inquirer/input": "^5.1.2",
@@ -8,7 +8,7 @@
8
8
  "@ttoss/logger": "^0.8.19",
9
9
  "commander": "^15.0.0",
10
10
  "js-yaml": "^5.2.1",
11
- "@soat/sdk": "0.18.6"
11
+ "@soat/sdk": "0.19.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@ttoss/config": "^1.37.17",