@2kw/ai 8.1.0-dev.7 → 8.1.1
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.
|
@@ -73,7 +73,15 @@ export declare const agentSchema: {
|
|
|
73
73
|
};
|
|
74
74
|
readonly options: {
|
|
75
75
|
readonly type: "object";
|
|
76
|
-
readonly description: "
|
|
76
|
+
readonly description: "Model and run options. Sending options replaces the whole object: a key left out is removed. reasoning.effort and maxToolRounds take effect on every run.";
|
|
77
|
+
readonly properties: {
|
|
78
|
+
readonly maxToolRounds: {
|
|
79
|
+
readonly type: readonly ["integer", "null"];
|
|
80
|
+
readonly minimum: 1;
|
|
81
|
+
readonly maximum: 100;
|
|
82
|
+
readonly description: "Maximum rounds of tool calls one request may take, 1 to 100; the platform default applies when absent. Also bounded by the deployment's run limit.";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
77
85
|
};
|
|
78
86
|
readonly skills: {
|
|
79
87
|
readonly type: "array";
|
|
@@ -84,7 +84,18 @@ export const agentSchema = {
|
|
|
84
84
|
instructions: { type: "string", maxLength: 20000 },
|
|
85
85
|
tools: { type: "array", items: { $ref: "#/$defs/tool" } },
|
|
86
86
|
hitlPolicy: { $ref: "#/$defs/hitlPolicy" },
|
|
87
|
-
options: {
|
|
87
|
+
options: {
|
|
88
|
+
type: "object",
|
|
89
|
+
description: "Model and run options. Sending options replaces the whole object: a key left out is removed. reasoning.effort and maxToolRounds take effect on every run.",
|
|
90
|
+
properties: {
|
|
91
|
+
maxToolRounds: {
|
|
92
|
+
type: ["integer", "null"],
|
|
93
|
+
minimum: 1,
|
|
94
|
+
maximum: 100,
|
|
95
|
+
description: "Maximum rounds of tool calls one request may take, 1 to 100; the platform default applies when absent. Also bounded by the deployment's run limit.",
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
88
99
|
skills: {
|
|
89
100
|
type: "array",
|
|
90
101
|
maxItems: 20,
|
package/dist/lib/agent-run.js
CHANGED
|
@@ -189,6 +189,9 @@ const DECODED_ITEM_TYPES = new Set([
|
|
|
189
189
|
"backbone:tool_image",
|
|
190
190
|
// A table or chart a finished ShowTable or ShowChart call showed (#1419): it never holds a run either.
|
|
191
191
|
"backbone:ui",
|
|
192
|
+
// A canvas a finished CanvasWrite or CanvasEdit call saved, and a member's selection (#1698): neither holds a run.
|
|
193
|
+
"backbone:canvas",
|
|
194
|
+
"backbone:canvas_selection",
|
|
192
195
|
"mcp_approval_request",
|
|
193
196
|
"mcp_call",
|
|
194
197
|
"mcp_list_tools",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.1",
|
|
4
4
|
"description": "CLI for 2kw.ai — schema-driven document extraction, an OpenAI-compatible EU LLM gateway, transcription, prompts, datasets, and experiments from your terminal or agentic workflows. Ships as 2kw, backbone, and bb.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|