@naturali/cli 0.63.0 → 0.64.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 +7 -28
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region package.json
|
|
17
|
-
var version = "0.
|
|
17
|
+
var version = "0.64.0";
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
20
20
|
const jsonBodySerializer = { bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value) };
|
|
@@ -1010,7 +1010,7 @@ var Agents = class {
|
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Update an agent
|
|
1012
1012
|
*
|
|
1013
|
-
* Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), the structured-output schema (output_schema)
|
|
1013
|
+
* Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), or the structured-output schema (output_schema). At least one field is required.
|
|
1014
1014
|
*
|
|
1015
1015
|
*/
|
|
1016
1016
|
static updateAgent(options) {
|
|
@@ -1926,7 +1926,7 @@ var Providers = class {
|
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Update a provider
|
|
1928
1928
|
*
|
|
1929
|
-
* Change the model, name or base URL, rotate the credentials (api_key)
|
|
1929
|
+
* Change the model, name or base URL, or rotate the credentials (api_key). At least one field is required.
|
|
1930
1930
|
*
|
|
1931
1931
|
*/
|
|
1932
1932
|
static updateProvider(options) {
|
|
@@ -2172,7 +2172,7 @@ var Tools = class {
|
|
|
2172
2172
|
/**
|
|
2173
2173
|
* Update a tool
|
|
2174
2174
|
*
|
|
2175
|
-
* Change the name, description, parameters, type-specific config (incl. rotating auth headers)
|
|
2175
|
+
* Change the name, description, parameters, or type-specific config (incl. rotating auth headers). The tool `type` is immutable. At least one field is required.
|
|
2176
2176
|
*
|
|
2177
2177
|
*/
|
|
2178
2178
|
static updateTool(options) {
|
|
@@ -3495,7 +3495,7 @@ const routes = {
|
|
|
3495
3495
|
"update-agent": {
|
|
3496
3496
|
serviceClass: "Agents",
|
|
3497
3497
|
operationId: "updateAgent",
|
|
3498
|
-
description: "Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), the structured-output schema (output_schema)
|
|
3498
|
+
description: "Change the bound provider, name, model, instructions, sampling/step config, attached tools (tool_bindings/tool_choice/step_rules), or the structured-output schema (output_schema). At least one field is required.",
|
|
3499
3499
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/agents",
|
|
3500
3500
|
httpMethod: "patch",
|
|
3501
3501
|
pathParams: ["project_id", "agent_id"],
|
|
@@ -3598,13 +3598,6 @@ const routes = {
|
|
|
3598
3598
|
"required": false,
|
|
3599
3599
|
"type": "string",
|
|
3600
3600
|
"in": "body"
|
|
3601
|
-
},
|
|
3602
|
-
{
|
|
3603
|
-
"name": "status",
|
|
3604
|
-
"description": "",
|
|
3605
|
-
"required": false,
|
|
3606
|
-
"type": "string",
|
|
3607
|
-
"in": "body"
|
|
3608
3601
|
}
|
|
3609
3602
|
]
|
|
3610
3603
|
},
|
|
@@ -6522,7 +6515,7 @@ const routes = {
|
|
|
6522
6515
|
"update-provider": {
|
|
6523
6516
|
serviceClass: "Providers",
|
|
6524
6517
|
operationId: "updateProvider",
|
|
6525
|
-
description: "Change the model, name or base URL, rotate the credentials (api_key)
|
|
6518
|
+
description: "Change the model, name or base URL, or rotate the credentials (api_key). At least one field is required.",
|
|
6526
6519
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/providers",
|
|
6527
6520
|
httpMethod: "patch",
|
|
6528
6521
|
pathParams: ["project_id", "provider_id"],
|
|
@@ -6569,13 +6562,6 @@ const routes = {
|
|
|
6569
6562
|
"required": false,
|
|
6570
6563
|
"type": "string",
|
|
6571
6564
|
"in": "body"
|
|
6572
|
-
},
|
|
6573
|
-
{
|
|
6574
|
-
"name": "status",
|
|
6575
|
-
"description": "",
|
|
6576
|
-
"required": false,
|
|
6577
|
-
"type": "string",
|
|
6578
|
-
"in": "body"
|
|
6579
6565
|
}
|
|
6580
6566
|
]
|
|
6581
6567
|
},
|
|
@@ -7301,7 +7287,7 @@ const routes = {
|
|
|
7301
7287
|
"update-tool": {
|
|
7302
7288
|
serviceClass: "Tools",
|
|
7303
7289
|
operationId: "updateTool",
|
|
7304
|
-
description: "Change the name, description, parameters, type-specific config (incl. rotating auth headers)
|
|
7290
|
+
description: "Change the name, description, parameters, or type-specific config (incl. rotating auth headers). The tool `type` is immutable. At least one field is required.",
|
|
7305
7291
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/tools",
|
|
7306
7292
|
httpMethod: "patch",
|
|
7307
7293
|
pathParams: ["project_id", "tool_id"],
|
|
@@ -7390,13 +7376,6 @@ const routes = {
|
|
|
7390
7376
|
"required": false,
|
|
7391
7377
|
"type": "array",
|
|
7392
7378
|
"in": "body"
|
|
7393
|
-
},
|
|
7394
|
-
{
|
|
7395
|
-
"name": "status",
|
|
7396
|
-
"description": "",
|
|
7397
|
-
"required": false,
|
|
7398
|
-
"type": "string",
|
|
7399
|
-
"in": "body"
|
|
7400
7379
|
}
|
|
7401
7380
|
]
|
|
7402
7381
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.0",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tsx": "^4.23.1",
|
|
31
31
|
"typescript": "~6.0.3",
|
|
32
32
|
"vitest": "^4.1.10",
|
|
33
|
-
"@naturali/sdk": "0.
|
|
33
|
+
"@naturali/sdk": "0.64.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"generate": "tsx scripts/generate.ts",
|