@soat/cli 0.13.7 → 0.13.8
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 +134 -2
- 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.8";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -673,7 +673,118 @@ var routes = {
|
|
|
673
673
|
"update-agent": {
|
|
674
674
|
serviceClass: "Agents",
|
|
675
675
|
operationId: "updateAgent",
|
|
676
|
-
description: "Updates an existing agent.",
|
|
676
|
+
description: "Updates an existing agent. Identical to PATCH — both perform partial updates.",
|
|
677
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/agents",
|
|
678
|
+
pathParams: ["agent_id"],
|
|
679
|
+
queryParams: [],
|
|
680
|
+
flags: [{
|
|
681
|
+
"name": "agent_id",
|
|
682
|
+
"description": "",
|
|
683
|
+
"required": true,
|
|
684
|
+
"type": "string",
|
|
685
|
+
"in": "path"
|
|
686
|
+
}, {
|
|
687
|
+
"name": "ai_provider_id",
|
|
688
|
+
"description": "",
|
|
689
|
+
"required": false,
|
|
690
|
+
"type": "string",
|
|
691
|
+
"in": "body"
|
|
692
|
+
}, {
|
|
693
|
+
"name": "name",
|
|
694
|
+
"description": "",
|
|
695
|
+
"required": false,
|
|
696
|
+
"type": "string",
|
|
697
|
+
"in": "body"
|
|
698
|
+
}, {
|
|
699
|
+
"name": "instructions",
|
|
700
|
+
"description": "",
|
|
701
|
+
"required": false,
|
|
702
|
+
"type": "string",
|
|
703
|
+
"in": "body"
|
|
704
|
+
}, {
|
|
705
|
+
"name": "model",
|
|
706
|
+
"description": "",
|
|
707
|
+
"required": false,
|
|
708
|
+
"type": "string",
|
|
709
|
+
"in": "body"
|
|
710
|
+
}, {
|
|
711
|
+
"name": "tool_ids",
|
|
712
|
+
"description": "",
|
|
713
|
+
"required": false,
|
|
714
|
+
"type": "array",
|
|
715
|
+
"in": "body"
|
|
716
|
+
}, {
|
|
717
|
+
"name": "max_steps",
|
|
718
|
+
"description": "",
|
|
719
|
+
"required": false,
|
|
720
|
+
"type": "integer",
|
|
721
|
+
"in": "body"
|
|
722
|
+
}, {
|
|
723
|
+
"name": "tool_choice",
|
|
724
|
+
"description": "Tool choice strategy. Accepts a string (`\"auto\"`, `\"required\"`) or an object (`{ \"type\": \"tool\", \"name\": \"my_tool\" }`).",
|
|
725
|
+
"required": false,
|
|
726
|
+
"type": "string",
|
|
727
|
+
"in": "body"
|
|
728
|
+
}, {
|
|
729
|
+
"name": "stop_conditions",
|
|
730
|
+
"description": "",
|
|
731
|
+
"required": false,
|
|
732
|
+
"type": "array",
|
|
733
|
+
"in": "body"
|
|
734
|
+
}, {
|
|
735
|
+
"name": "active_tool_ids",
|
|
736
|
+
"description": "",
|
|
737
|
+
"required": false,
|
|
738
|
+
"type": "array",
|
|
739
|
+
"in": "body"
|
|
740
|
+
}, {
|
|
741
|
+
"name": "step_rules",
|
|
742
|
+
"description": "",
|
|
743
|
+
"required": false,
|
|
744
|
+
"type": "array",
|
|
745
|
+
"in": "body"
|
|
746
|
+
}, {
|
|
747
|
+
"name": "boundary_policy",
|
|
748
|
+
"description": "",
|
|
749
|
+
"required": false,
|
|
750
|
+
"type": "object",
|
|
751
|
+
"in": "body"
|
|
752
|
+
}, {
|
|
753
|
+
"name": "temperature",
|
|
754
|
+
"description": "",
|
|
755
|
+
"required": false,
|
|
756
|
+
"type": "number",
|
|
757
|
+
"in": "body"
|
|
758
|
+
}, {
|
|
759
|
+
"name": "knowledge_config",
|
|
760
|
+
"description": "",
|
|
761
|
+
"required": false,
|
|
762
|
+
"type": "object",
|
|
763
|
+
"in": "body"
|
|
764
|
+
}, {
|
|
765
|
+
"name": "reasoning",
|
|
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
|
+
"required": false,
|
|
768
|
+
"type": "object",
|
|
769
|
+
"in": "body"
|
|
770
|
+
}, {
|
|
771
|
+
"name": "max_context_messages",
|
|
772
|
+
"description": "Maximum number of recent messages included in the context window. Null means no limit.",
|
|
773
|
+
"required": false,
|
|
774
|
+
"type": "integer",
|
|
775
|
+
"in": "body"
|
|
776
|
+
}, {
|
|
777
|
+
"name": "single_session_per_actor",
|
|
778
|
+
"description": "When true, only one open session per actor_id is allowed for this agent.",
|
|
779
|
+
"required": false,
|
|
780
|
+
"type": "boolean",
|
|
781
|
+
"in": "body"
|
|
782
|
+
}]
|
|
783
|
+
},
|
|
784
|
+
"patch-agent": {
|
|
785
|
+
serviceClass: "Agents",
|
|
786
|
+
operationId: "patchAgent",
|
|
787
|
+
description: "Partially updates an existing agent. Identical to PUT — both perform partial updates.",
|
|
677
788
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/agents",
|
|
678
789
|
pathParams: ["agent_id"],
|
|
679
790
|
queryParams: [],
|
|
@@ -3181,6 +3292,27 @@ var routes = {
|
|
|
3181
3292
|
"in": "path"
|
|
3182
3293
|
}]
|
|
3183
3294
|
},
|
|
3295
|
+
"update-project": {
|
|
3296
|
+
serviceClass: "Projects",
|
|
3297
|
+
operationId: "updateProject",
|
|
3298
|
+
description: "Updates a project's name. Requires admin role.",
|
|
3299
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/projects",
|
|
3300
|
+
pathParams: ["project_id"],
|
|
3301
|
+
queryParams: [],
|
|
3302
|
+
flags: [{
|
|
3303
|
+
"name": "project_id",
|
|
3304
|
+
"description": "Project public ID (proj_ prefix)",
|
|
3305
|
+
"required": true,
|
|
3306
|
+
"type": "string",
|
|
3307
|
+
"in": "path"
|
|
3308
|
+
}, {
|
|
3309
|
+
"name": "name",
|
|
3310
|
+
"description": "",
|
|
3311
|
+
"required": true,
|
|
3312
|
+
"type": "string",
|
|
3313
|
+
"in": "body"
|
|
3314
|
+
}]
|
|
3315
|
+
},
|
|
3184
3316
|
"delete-project": {
|
|
3185
3317
|
serviceClass: "Projects",
|
|
3186
3318
|
operationId: "deleteProject",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.8",
|
|
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.8"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.15",
|