@2kw/ai 8.1.0-dev.12 → 8.1.0-dev.19

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: "Stored with the version; not read by the run engine.";
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: { type: "object", description: "Stored with the version; not read by the run engine." },
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2kw/ai",
3
- "version": "8.1.0-dev.12",
3
+ "version": "8.1.0-dev.19",
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",