@soat/cli 0.13.6 → 0.13.7
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 +60 -6
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import yaml from "js-yaml";
|
|
|
11
11
|
import * as os from "node:os";
|
|
12
12
|
|
|
13
13
|
//#region package.json
|
|
14
|
-
var version = "0.13.
|
|
14
|
+
var version = "0.13.7";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -637,7 +637,7 @@ var routes = {
|
|
|
637
637
|
"in": "body"
|
|
638
638
|
}, {
|
|
639
639
|
"name": "reasoning",
|
|
640
|
-
"description": "Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode:
|
|
640
|
+
"description": "Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: pipeline` runs an ordered list of reasoning steps after the base draft. reflect and debate are expressed as pipelines — see the Agents module docs.",
|
|
641
641
|
"required": false,
|
|
642
642
|
"type": "object",
|
|
643
643
|
"in": "body"
|
|
@@ -763,7 +763,7 @@ var routes = {
|
|
|
763
763
|
"in": "body"
|
|
764
764
|
}, {
|
|
765
765
|
"name": "reasoning",
|
|
766
|
-
"description": "Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode:
|
|
766
|
+
"description": "Deep-thinking configuration. `effort` forwards provider-native reasoning; `mode: pipeline` runs an ordered list of reasoning steps after the base draft. reflect and debate are expressed as pipelines — see the Agents module docs.",
|
|
767
767
|
"required": false,
|
|
768
768
|
"type": "object",
|
|
769
769
|
"in": "body"
|
|
@@ -1780,6 +1780,60 @@ var routes = {
|
|
|
1780
1780
|
"in": "path"
|
|
1781
1781
|
}]
|
|
1782
1782
|
},
|
|
1783
|
+
"get-document-status": {
|
|
1784
|
+
serviceClass: "Documents",
|
|
1785
|
+
operationId: "getDocumentStatus",
|
|
1786
|
+
description: "Returns a lightweight ingestion status payload for polling — `status`, `chunk_count`, `total_pages`, and (when failed) `error`. Unlike `GET /documents/{document_id}`, it never returns the assembled chunk content, so it is cheap to poll on large documents. A document whose ingestion has stalled (no progress past the configured timeout) is transitioned to `failed` with `error=INGESTION_TIMEOUT` on read.",
|
|
1787
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/documents",
|
|
1788
|
+
pathParams: ["document_id"],
|
|
1789
|
+
queryParams: [],
|
|
1790
|
+
flags: [{
|
|
1791
|
+
"name": "document_id",
|
|
1792
|
+
"description": "Document ID",
|
|
1793
|
+
"required": true,
|
|
1794
|
+
"type": "string",
|
|
1795
|
+
"in": "path"
|
|
1796
|
+
}]
|
|
1797
|
+
},
|
|
1798
|
+
"reingest-document": {
|
|
1799
|
+
serviceClass: "Documents",
|
|
1800
|
+
operationId: "reingestDocument",
|
|
1801
|
+
description: "Re-runs ingestion for an existing document against its already-stored source file. Existing chunks are discarded and the document is reset to `status=pending` before re-processing. Use this to recover a document stuck in `processing`/`failed` or to re-chunk with a different strategy without re-uploading the file. Async by default (`202`); pass `?async=false` to run synchronously (`201`).",
|
|
1802
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/documents",
|
|
1803
|
+
pathParams: ["document_id"],
|
|
1804
|
+
queryParams: ["async"],
|
|
1805
|
+
flags: [{
|
|
1806
|
+
"name": "document_id",
|
|
1807
|
+
"description": "Document ID",
|
|
1808
|
+
"required": true,
|
|
1809
|
+
"type": "string",
|
|
1810
|
+
"in": "path"
|
|
1811
|
+
}, {
|
|
1812
|
+
"name": "async",
|
|
1813
|
+
"description": "When omitted or `true` (default), processing runs in the background and `202 Accepted` is returned immediately with `status=pending`. Pass `false` to run synchronously and receive `201 Created` with `status=ready`.",
|
|
1814
|
+
"required": false,
|
|
1815
|
+
"type": "boolean",
|
|
1816
|
+
"in": "query"
|
|
1817
|
+
}, {
|
|
1818
|
+
"name": "chunk_strategy",
|
|
1819
|
+
"description": "How to split the source into chunks. Defaults to `page`.",
|
|
1820
|
+
"required": false,
|
|
1821
|
+
"type": "string",
|
|
1822
|
+
"in": "body"
|
|
1823
|
+
}, {
|
|
1824
|
+
"name": "chunk_size",
|
|
1825
|
+
"description": "Window size in characters when `chunk_strategy=size`. Defaults to 1000.",
|
|
1826
|
+
"required": false,
|
|
1827
|
+
"type": "integer",
|
|
1828
|
+
"in": "body"
|
|
1829
|
+
}, {
|
|
1830
|
+
"name": "chunk_overlap",
|
|
1831
|
+
"description": "Overlap in characters between consecutive windows when `chunk_strategy=size`. Defaults to 200.",
|
|
1832
|
+
"required": false,
|
|
1833
|
+
"type": "integer",
|
|
1834
|
+
"in": "body"
|
|
1835
|
+
}]
|
|
1836
|
+
},
|
|
1783
1837
|
"get-document-tags": {
|
|
1784
1838
|
serviceClass: "Documents",
|
|
1785
1839
|
operationId: "getDocumentTags",
|
|
@@ -1975,7 +2029,7 @@ var routes = {
|
|
|
1975
2029
|
"create-presigned-url": {
|
|
1976
2030
|
serviceClass: "Files",
|
|
1977
2031
|
operationId: "createPresignedUrl",
|
|
1978
|
-
description: "Creates a short-lived, single-use presigned upload URL — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits. When the server is configured with `
|
|
2032
|
+
description: "Creates a short-lived, single-use presigned upload URL — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned `upload_url` via `POST /api/v1/files/upload/{token}`, bypassing MCP payload size limits. When the server is configured with `SOAT_BASE_URL`, `upload_url` is a fully-qualified absolute URL so MCP agents and other clients can POST to it without knowing the server base URL in advance.",
|
|
1979
2033
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/files",
|
|
1980
2034
|
pathParams: [],
|
|
1981
2035
|
queryParams: [],
|
|
@@ -2383,7 +2437,7 @@ var routes = {
|
|
|
2383
2437
|
"in": "query"
|
|
2384
2438
|
}, {
|
|
2385
2439
|
"name": "initiator_generation_id",
|
|
2386
|
-
"description": "Filter by the public ID of the parent generation. Returns all generations triggered by that generation —
|
|
2440
|
+
"description": "Filter by the public ID of the parent generation. Returns all generations triggered by that generation — reasoning pipeline steps and perspective turns, and sub-agent invocations. Null-initiated (top-level) generations are not returned.\n",
|
|
2387
2441
|
"required": false,
|
|
2388
2442
|
"type": "string",
|
|
2389
2443
|
"in": "query"
|
|
@@ -3835,7 +3889,7 @@ var routes = {
|
|
|
3835
3889
|
"in": "path"
|
|
3836
3890
|
}, {
|
|
3837
3891
|
"name": "include",
|
|
3838
|
-
"description": "Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including
|
|
3892
|
+
"description": "Comma-separated list of related resources to embed on each node. Supported value: `generations` — attaches all generations that belong to each trace node (including reasoning pipeline children linked via `initiator_generation_id`).\n",
|
|
3839
3893
|
"required": false,
|
|
3840
3894
|
"type": "string",
|
|
3841
3895
|
"in": "query"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@inquirer/input": "^5.1.2",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ttoss/logger": "^0.8.16",
|
|
9
9
|
"commander": "^15.0.0",
|
|
10
10
|
"js-yaml": "^4.2.0",
|
|
11
|
-
"@soat/sdk": "0.13.
|
|
11
|
+
"@soat/sdk": "0.13.7"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.15",
|