@soat/cli 0.54.0 → 0.55.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.mjs +32 -8
- 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.
|
|
16
|
+
var version = "0.55.0";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -664,7 +664,7 @@ var routes = {
|
|
|
664
664
|
"in": "body"
|
|
665
665
|
}, {
|
|
666
666
|
"name": "tags",
|
|
667
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
667
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.",
|
|
668
668
|
"required": false,
|
|
669
669
|
"type": "object",
|
|
670
670
|
"in": "body"
|
|
@@ -2402,6 +2402,12 @@ var routes = {
|
|
|
2402
2402
|
"required": false,
|
|
2403
2403
|
"type": "string",
|
|
2404
2404
|
"in": "body"
|
|
2405
|
+
}, {
|
|
2406
|
+
"name": "retrieval",
|
|
2407
|
+
"description": "Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`.",
|
|
2408
|
+
"required": false,
|
|
2409
|
+
"type": "string",
|
|
2410
|
+
"in": "body"
|
|
2405
2411
|
}]
|
|
2406
2412
|
},
|
|
2407
2413
|
"get-conversation": {
|
|
@@ -2446,6 +2452,12 @@ var routes = {
|
|
|
2446
2452
|
"required": false,
|
|
2447
2453
|
"type": "string",
|
|
2448
2454
|
"in": "body"
|
|
2455
|
+
}, {
|
|
2456
|
+
"name": "retrieval",
|
|
2457
|
+
"description": "Whether this conversation's turns are embedded for vector retrieval. Turns are stored and chunked either way, so `none` leaves them readable and reachable by full-text search without paying for an embedding. `null` (the default) inherits the project's `default_conversation_retrieval`. Switching it on embeds the turns already in the conversation, so the whole conversation becomes retrievable rather than only what is said next.",
|
|
2458
|
+
"required": false,
|
|
2459
|
+
"type": "string",
|
|
2460
|
+
"in": "body"
|
|
2449
2461
|
}]
|
|
2450
2462
|
},
|
|
2451
2463
|
"delete-conversation": {
|
|
@@ -2716,7 +2728,7 @@ var routes = {
|
|
|
2716
2728
|
"in": "body"
|
|
2717
2729
|
}, {
|
|
2718
2730
|
"name": "path",
|
|
2719
|
-
"description": "Logical path within the project (e.g. /reports/q1.txt). Defaults to
|
|
2731
|
+
"description": "Logical path within the project (e.g. /reports/q1.txt). Defaults to `/<filename>`, or to `/<document_id>.txt` when neither is given — a document with no path is reachable only by its id, since a prefix filter never matches null.",
|
|
2720
2732
|
"required": false,
|
|
2721
2733
|
"type": "string",
|
|
2722
2734
|
"in": "body"
|
|
@@ -2740,7 +2752,7 @@ var routes = {
|
|
|
2740
2752
|
"in": "body"
|
|
2741
2753
|
}, {
|
|
2742
2754
|
"name": "tags",
|
|
2743
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
2755
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.",
|
|
2744
2756
|
"required": false,
|
|
2745
2757
|
"type": "object",
|
|
2746
2758
|
"in": "body"
|
|
@@ -2798,7 +2810,7 @@ var routes = {
|
|
|
2798
2810
|
"in": "body"
|
|
2799
2811
|
}, {
|
|
2800
2812
|
"name": "tags",
|
|
2801
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
2813
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.",
|
|
2802
2814
|
"required": false,
|
|
2803
2815
|
"type": "object",
|
|
2804
2816
|
"in": "body"
|
|
@@ -2878,7 +2890,7 @@ var routes = {
|
|
|
2878
2890
|
"in": "body"
|
|
2879
2891
|
}, {
|
|
2880
2892
|
"name": "tags",
|
|
2881
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
2893
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.",
|
|
2882
2894
|
"required": false,
|
|
2883
2895
|
"type": "object",
|
|
2884
2896
|
"in": "body"
|
|
@@ -3751,13 +3763,19 @@ var routes = {
|
|
|
3751
3763
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/files",
|
|
3752
3764
|
httpMethod: "get",
|
|
3753
3765
|
pathParams: [],
|
|
3754
|
-
queryParams: ["project_id", "tags", "limit", "offset"],
|
|
3766
|
+
queryParams: ["project_id", "path_prefix", "tags", "limit", "offset"],
|
|
3755
3767
|
flags: [{
|
|
3756
3768
|
"name": "project_id",
|
|
3757
3769
|
"description": "Filter files by project ID",
|
|
3758
3770
|
"required": false,
|
|
3759
3771
|
"type": "string",
|
|
3760
3772
|
"in": "query"
|
|
3773
|
+
}, {
|
|
3774
|
+
"name": "path_prefix",
|
|
3775
|
+
"description": "Only files under this directory. The prefix is a path boundary, not a substring: `/reports` returns `/reports/q1.txt` and never `/reports-archive/q1.txt`, and `/` selects the whole project. A leading slash is optional and a trailing one is ignored, so `reports`, `/reports` and `/reports/` are the same filter. `%` and `_` are literal characters, not wildcards. Naming a directory under `/.system/` is what includes platform-written files, which a list without this parameter leaves out.",
|
|
3776
|
+
"required": false,
|
|
3777
|
+
"type": "string",
|
|
3778
|
+
"in": "query"
|
|
3761
3779
|
}, {
|
|
3762
3780
|
"name": "tags",
|
|
3763
3781
|
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
@@ -6646,6 +6664,12 @@ var routes = {
|
|
|
6646
6664
|
"required": false,
|
|
6647
6665
|
"type": "boolean",
|
|
6648
6666
|
"in": "body"
|
|
6667
|
+
}, {
|
|
6668
|
+
"name": "default_conversation_retrieval",
|
|
6669
|
+
"description": "What a conversation that names no `retrieval` of its own does. `none` by default: a turn is embedded because someone asked for the conversation to be retrievable, never merely because it was said. Turns are stored and chunked on both settings.",
|
|
6670
|
+
"required": false,
|
|
6671
|
+
"type": "string",
|
|
6672
|
+
"in": "body"
|
|
6649
6673
|
}, {
|
|
6650
6674
|
"name": "trace_content_retention_days",
|
|
6651
6675
|
"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.",
|
|
@@ -7324,7 +7348,7 @@ var routes = {
|
|
|
7324
7348
|
"in": "body"
|
|
7325
7349
|
}, {
|
|
7326
7350
|
"name": "tags",
|
|
7327
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.",
|
|
7351
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `soat:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.",
|
|
7328
7352
|
"required": false,
|
|
7329
7353
|
"type": "object",
|
|
7330
7354
|
"in": "body"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.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.
|
|
25
|
+
"@soat/sdk": "0.55.0",
|
|
26
26
|
"@ttoss/logger": "^0.8.20",
|
|
27
27
|
"commander": "^15.0.0",
|
|
28
28
|
"js-yaml": "^5.4.2"
|