@naturali/cli 0.63.0 → 0.65.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 -35
- 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.65.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) {
|
|
@@ -3054,13 +3054,6 @@ const routes = {
|
|
|
3054
3054
|
"required": false,
|
|
3055
3055
|
"type": "string",
|
|
3056
3056
|
"in": "body"
|
|
3057
|
-
},
|
|
3058
|
-
{
|
|
3059
|
-
"name": "memory",
|
|
3060
|
-
"description": "Give the actor its own memory container, so an agent remembers it across sessions. Applied on creation only — a call that returns an existing actor leaves its memory as it was.\n",
|
|
3061
|
-
"required": false,
|
|
3062
|
-
"type": "boolean",
|
|
3063
|
-
"in": "body"
|
|
3064
3057
|
}
|
|
3065
3058
|
]
|
|
3066
3059
|
},
|
|
@@ -3495,7 +3488,7 @@ const routes = {
|
|
|
3495
3488
|
"update-agent": {
|
|
3496
3489
|
serviceClass: "Agents",
|
|
3497
3490
|
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)
|
|
3491
|
+
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
3492
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/agents",
|
|
3500
3493
|
httpMethod: "patch",
|
|
3501
3494
|
pathParams: ["project_id", "agent_id"],
|
|
@@ -3598,13 +3591,6 @@ const routes = {
|
|
|
3598
3591
|
"required": false,
|
|
3599
3592
|
"type": "string",
|
|
3600
3593
|
"in": "body"
|
|
3601
|
-
},
|
|
3602
|
-
{
|
|
3603
|
-
"name": "status",
|
|
3604
|
-
"description": "",
|
|
3605
|
-
"required": false,
|
|
3606
|
-
"type": "string",
|
|
3607
|
-
"in": "body"
|
|
3608
3594
|
}
|
|
3609
3595
|
]
|
|
3610
3596
|
},
|
|
@@ -6522,7 +6508,7 @@ const routes = {
|
|
|
6522
6508
|
"update-provider": {
|
|
6523
6509
|
serviceClass: "Providers",
|
|
6524
6510
|
operationId: "updateProvider",
|
|
6525
|
-
description: "Change the model, name or base URL, rotate the credentials (api_key)
|
|
6511
|
+
description: "Change the model, name or base URL, or rotate the credentials (api_key). At least one field is required.",
|
|
6526
6512
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/providers",
|
|
6527
6513
|
httpMethod: "patch",
|
|
6528
6514
|
pathParams: ["project_id", "provider_id"],
|
|
@@ -6569,13 +6555,6 @@ const routes = {
|
|
|
6569
6555
|
"required": false,
|
|
6570
6556
|
"type": "string",
|
|
6571
6557
|
"in": "body"
|
|
6572
|
-
},
|
|
6573
|
-
{
|
|
6574
|
-
"name": "status",
|
|
6575
|
-
"description": "",
|
|
6576
|
-
"required": false,
|
|
6577
|
-
"type": "string",
|
|
6578
|
-
"in": "body"
|
|
6579
6558
|
}
|
|
6580
6559
|
]
|
|
6581
6560
|
},
|
|
@@ -7301,7 +7280,7 @@ const routes = {
|
|
|
7301
7280
|
"update-tool": {
|
|
7302
7281
|
serviceClass: "Tools",
|
|
7303
7282
|
operationId: "updateTool",
|
|
7304
|
-
description: "Change the name, description, parameters, type-specific config (incl. rotating auth headers)
|
|
7283
|
+
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
7284
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/tools",
|
|
7306
7285
|
httpMethod: "patch",
|
|
7307
7286
|
pathParams: ["project_id", "tool_id"],
|
|
@@ -7390,13 +7369,6 @@ const routes = {
|
|
|
7390
7369
|
"required": false,
|
|
7391
7370
|
"type": "array",
|
|
7392
7371
|
"in": "body"
|
|
7393
|
-
},
|
|
7394
|
-
{
|
|
7395
|
-
"name": "status",
|
|
7396
|
-
"description": "",
|
|
7397
|
-
"required": false,
|
|
7398
|
-
"type": "string",
|
|
7399
|
-
"in": "body"
|
|
7400
7372
|
}
|
|
7401
7373
|
]
|
|
7402
7374
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.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.65.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"generate": "tsx scripts/generate.ts",
|