@naturali/cli 0.220.2 → 0.221.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.
Files changed (2) hide show
  1. package/dist/index.mjs +7 -7
  2. 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.2";
20
+ var version = "0.221.0";
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 be `http` or `pipeline` 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`.
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({
@@ -3817,7 +3817,7 @@ var McpServers = class {
3817
3817
  /**
3818
3818
  * Get an MCP server
3819
3819
  *
3820
- * The server, with the keys of its context; values are never returned.
3820
+ * The server, with the keys of its context (values are never returned) and the items it cannot serve now.
3821
3821
  */
3822
3822
  static getMcpServer(options) {
3823
3823
  return (options.client ?? client).get({
@@ -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 be `http` or `pipeline` 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`.",
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": "An http or pipeline tool that answers",
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": "An http or pipeline tool that answers",
12785
+ "description": "A tool that answers, run with no action",
12786
12786
  "required": false,
12787
12787
  "type": "string",
12788
12788
  "in": "body"
@@ -17074,7 +17074,7 @@ const routes = {
17074
17074
  "get-mcp-server": {
17075
17075
  serviceClass: "McpServers",
17076
17076
  operationId: "getMcpServer",
17077
- description: "The server, with the keys of its context; values are never returned.",
17077
+ description: "The server, with the keys of its context (values are never returned) and the items it cannot serve now.",
17078
17078
  moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
17079
17079
  httpMethod: "get",
17080
17080
  pathParams: ["project_id", "mcp_server_id"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/cli",
3
- "version": "0.220.2",
3
+ "version": "0.221.0",
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.2",
34
+ "@naturali/sdk": "0.221.0",
35
35
  "@ttoss/openapi-codegen": "^0.10.0",
36
36
  "@types/node": "^26.5.1",
37
37
  "tsdown": "^0.23.0",