@naturali/cli 0.220.2 → 0.220.3
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 +5 -5
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region package.json
|
|
20
|
-
var version = "0.220.
|
|
20
|
+
var version = "0.220.3";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -2234,7 +2234,7 @@ var Deciders = class {
|
|
|
2234
2234
|
/**
|
|
2235
2235
|
* Create a decider
|
|
2236
2236
|
*
|
|
2237
|
-
* Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must
|
|
2237
|
+
* Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must run server-side with no `action` (not `client` or `mcp`) and must not pin `input` or `questions` in its `preset_parameters`, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
|
|
2238
2238
|
*/
|
|
2239
2239
|
static createDecider(options) {
|
|
2240
2240
|
return (options.client ?? client).post({
|
|
@@ -12340,7 +12340,7 @@ const routes = {
|
|
|
12340
12340
|
"create-decider": {
|
|
12341
12341
|
serviceClass: "Deciders",
|
|
12342
12342
|
operationId: "createDecider",
|
|
12343
|
-
description: "Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must
|
|
12343
|
+
description: "Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must run server-side with no `action` (not `client` or `mcp`) and must not pin `input` or `questions` in its `preset_parameters`, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.",
|
|
12344
12344
|
moduleDocsUrl: "https://naturali.ai/docs/modules/deciders",
|
|
12345
12345
|
httpMethod: "post",
|
|
12346
12346
|
pathParams: ["project_id"],
|
|
@@ -12378,7 +12378,7 @@ const routes = {
|
|
|
12378
12378
|
},
|
|
12379
12379
|
{
|
|
12380
12380
|
"name": "tool_id",
|
|
12381
|
-
"description": "
|
|
12381
|
+
"description": "A tool that answers, run with no action",
|
|
12382
12382
|
"required": false,
|
|
12383
12383
|
"type": "string",
|
|
12384
12384
|
"in": "body"
|
|
@@ -12782,7 +12782,7 @@ const routes = {
|
|
|
12782
12782
|
},
|
|
12783
12783
|
{
|
|
12784
12784
|
"name": "tool_id",
|
|
12785
|
-
"description": "
|
|
12785
|
+
"description": "A tool that answers, run with no action",
|
|
12786
12786
|
"required": false,
|
|
12787
12787
|
"type": "string",
|
|
12788
12788
|
"in": "body"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.220.
|
|
3
|
+
"version": "0.220.3",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"yaml": "^2.9.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@naturali/sdk": "0.220.
|
|
34
|
+
"@naturali/sdk": "0.220.3",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.10.0",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|