@soat/cli 0.61.0 → 0.62.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 +43 -1
- 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.62.0";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -7718,6 +7718,48 @@ var routes = {
|
|
|
7718
7718
|
"in": "query"
|
|
7719
7719
|
}]
|
|
7720
7720
|
},
|
|
7721
|
+
"pause-project": {
|
|
7722
|
+
serviceClass: "Projects",
|
|
7723
|
+
operationId: "pauseProject",
|
|
7724
|
+
description: "Stops everything the project runs, with one call. From the moment it answers, nothing new starts in the project: agent, session and conversation generations, tool-output continuations, chat completions, direct tool calls, orchestration runs, eval runs and trigger firings are refused with `409 PROJECT_PAUSED`, and so is resuming a single run or task the pause holds. What is already in motion is parked rather than discarded: every live orchestration run is paused the way pause-orchestration-run pauses it (a running one parks at its next checkpoint), every open task's automation is paused, schedule triggers stop firing, and queued eval items wait unclaimed. A generation or node already in flight finishes. Reads and configuration writes keep working. Idempotent: pausing a paused project answers it unchanged and keeps the first `reason`. Emits `projects.paused`.",
|
|
7725
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/projects",
|
|
7726
|
+
httpMethod: "post",
|
|
7727
|
+
pathParams: ["project_id"],
|
|
7728
|
+
queryParams: [],
|
|
7729
|
+
headerParams: [],
|
|
7730
|
+
cookieParams: [],
|
|
7731
|
+
flags: [{
|
|
7732
|
+
"name": "project_id",
|
|
7733
|
+
"description": "Project public ID (proj_ prefix)",
|
|
7734
|
+
"required": true,
|
|
7735
|
+
"type": "string",
|
|
7736
|
+
"in": "path"
|
|
7737
|
+
}, {
|
|
7738
|
+
"name": "reason",
|
|
7739
|
+
"description": "Why the project is paused. Stored as `pause_reason` and carried onto every run and task the pause parks.",
|
|
7740
|
+
"required": false,
|
|
7741
|
+
"type": "string",
|
|
7742
|
+
"in": "body"
|
|
7743
|
+
}]
|
|
7744
|
+
},
|
|
7745
|
+
"resume-project": {
|
|
7746
|
+
serviceClass: "Projects",
|
|
7747
|
+
operationId: "resumeProject",
|
|
7748
|
+
description: "Lifts the project's pause and hands back exactly what it held: the runs and tasks the pause parked are resumed (a run the way resume-orchestration-run resumes it, in the background; a task's suppressed dispatch runs as the caller), and schedule triggers fire again from their next occurrence after now — an occurrence that fell due while paused is not fired late. A run or task an operator paused before the project was paused keeps its own pause. Eval runs continue from the item they stopped at. Emits `projects.resumed`.",
|
|
7749
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/projects",
|
|
7750
|
+
httpMethod: "post",
|
|
7751
|
+
pathParams: ["project_id"],
|
|
7752
|
+
queryParams: [],
|
|
7753
|
+
headerParams: [],
|
|
7754
|
+
cookieParams: [],
|
|
7755
|
+
flags: [{
|
|
7756
|
+
"name": "project_id",
|
|
7757
|
+
"description": "Project public ID (proj_ prefix)",
|
|
7758
|
+
"required": true,
|
|
7759
|
+
"type": "string",
|
|
7760
|
+
"in": "path"
|
|
7761
|
+
}]
|
|
7762
|
+
},
|
|
7721
7763
|
"get-project-prices": {
|
|
7722
7764
|
serviceClass: "Projects",
|
|
7723
7765
|
operationId: "getProjectPrices",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.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.62.0",
|
|
26
26
|
"@ttoss/logger": "^0.8.20",
|
|
27
27
|
"commander": "^15.0.0",
|
|
28
28
|
"js-yaml": "^5.4.2"
|