@2kw/ai-mcp-server 8.1.0-dev.6 → 8.1.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/lib/agent-run.js +3 -0
- package/dist/tools/agents.js +12 -3
- package/package.json +1 -1
package/dist/lib/agent-run.js
CHANGED
|
@@ -110,6 +110,9 @@ const DECODED_ITEM_TYPES = new Set([
|
|
|
110
110
|
"backbone:tool_image",
|
|
111
111
|
// A table or chart a finished ShowTable or ShowChart call showed (#1419): it never holds a run either.
|
|
112
112
|
"backbone:ui",
|
|
113
|
+
// A canvas a finished CanvasWrite or CanvasEdit call saved, and a member's selection (#1698): neither holds a run.
|
|
114
|
+
"backbone:canvas",
|
|
115
|
+
"backbone:canvas_selection",
|
|
113
116
|
"mcp_approval_request",
|
|
114
117
|
"mcp_call",
|
|
115
118
|
"mcp_list_tools",
|
package/dist/tools/agents.js
CHANGED
|
@@ -127,7 +127,10 @@ export function register(server, client) {
|
|
|
127
127
|
models: modelsSchema.optional(),
|
|
128
128
|
description: z.string().optional().describe("Agent description"),
|
|
129
129
|
instructions: z.string().optional().describe("System instructions for the agent"),
|
|
130
|
-
options: z
|
|
130
|
+
options: z
|
|
131
|
+
.unknown()
|
|
132
|
+
.optional()
|
|
133
|
+
.describe("Model and run options (JSON object). Keys the run reads: reasoning.effort, maxToolRounds (1-100: the most rounds of tool calls one request may take; absent = platform default). Sending options replaces the whole object: keys left out are removed."),
|
|
131
134
|
tools: z.unknown().optional().describe("Tool configuration (JSON object)"),
|
|
132
135
|
skills: z.unknown().optional().describe("Skill configuration (JSON object)"),
|
|
133
136
|
hitlPolicy: z.unknown().optional().describe("Human-in-the-loop approval policy (JSON object)"),
|
|
@@ -171,7 +174,10 @@ export function register(server, client) {
|
|
|
171
174
|
models: modelsSchema.optional(),
|
|
172
175
|
description: z.string().optional().describe("Agent description"),
|
|
173
176
|
instructions: z.string().optional().describe("System instructions for the agent"),
|
|
174
|
-
options: z
|
|
177
|
+
options: z
|
|
178
|
+
.unknown()
|
|
179
|
+
.optional()
|
|
180
|
+
.describe("Model and run options (JSON object). Keys the run reads: reasoning.effort, maxToolRounds (1-100: the most rounds of tool calls one request may take; absent = platform default). Sending options replaces the whole object: keys left out are removed."),
|
|
175
181
|
tools: z.unknown().optional().describe("Tool configuration (JSON object)"),
|
|
176
182
|
skills: z.unknown().optional().describe("Skill configuration (JSON object)"),
|
|
177
183
|
hitlPolicy: z.unknown().optional().describe("Human-in-the-loop approval policy (JSON object)"),
|
|
@@ -269,7 +275,10 @@ export function register(server, client) {
|
|
|
269
275
|
models: modelsSchema.optional(),
|
|
270
276
|
changeDescription: z.string().optional().describe("Description of what changed in this version"),
|
|
271
277
|
instructions: z.string().optional().describe("System instructions for the agent"),
|
|
272
|
-
options: z
|
|
278
|
+
options: z
|
|
279
|
+
.unknown()
|
|
280
|
+
.optional()
|
|
281
|
+
.describe("Model and run options (JSON object). Keys the run reads: reasoning.effort, maxToolRounds (1-100: the most rounds of tool calls one request may take; absent = platform default). Sending options replaces the whole object: keys left out are removed."),
|
|
273
282
|
tools: z.unknown().optional().describe("Tool configuration (JSON object)"),
|
|
274
283
|
skills: z.unknown().optional().describe("Skill configuration (JSON object)"),
|
|
275
284
|
hitlPolicy: z.unknown().optional().describe("Human-in-the-loop approval policy (JSON object)"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai-mcp-server",
|
|
3
|
-
"version": "8.1.0
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "MCP server for 2kw.ai — EU-hosted AI platform: OpenAI-compatible LLM gateway, schema-driven document extraction, transcription, agents with a knowledge base, and cost observability. 199 tools for Claude Code, Cursor, and Windsurf.",
|
|
5
5
|
"mcpName": "ai.2kw/mcp-server",
|
|
6
6
|
"keywords": [
|