@dougbots/avenor-mcp 0.8.3 → 0.9.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.js +12 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -14,6 +14,15 @@ const spawnInputShape = {
|
|
|
14
14
|
label: z.string().optional().describe("Human-readable label for this run"),
|
|
15
15
|
timeout: z.string().optional().describe("Timeout duration (e.g. 5m, 1h)"),
|
|
16
16
|
model: z.string().optional().describe("Model override"),
|
|
17
|
+
thinking: z.enum([
|
|
18
|
+
"off",
|
|
19
|
+
"minimal",
|
|
20
|
+
"low",
|
|
21
|
+
"medium",
|
|
22
|
+
"high",
|
|
23
|
+
"xhigh",
|
|
24
|
+
"max"
|
|
25
|
+
]).optional().describe("Thinking level; omission uses the backend default and unsupported backends reject explicit values"),
|
|
17
26
|
backend: z.string().optional().describe("Backend override"),
|
|
18
27
|
server_url: z.string().optional().describe("Backend server URL"),
|
|
19
28
|
supervisor_id: z.string().optional().describe("Supervisor ID for multi-supervisor mode")
|
|
@@ -60,9 +69,9 @@ const server = new McpServer({
|
|
|
60
69
|
version: "0.1.0"
|
|
61
70
|
});
|
|
62
71
|
server.registerTool("avenor_spawn", {
|
|
63
|
-
description: "Spawn a new agent run",
|
|
72
|
+
description: "Spawn a new agent run with an optional canonical thinking level; unsupported backends reject explicit values",
|
|
64
73
|
inputSchema: spawnInputShape
|
|
65
|
-
}, async ({ repo_dir, agent, prompt, prompt_file, label, timeout, model, backend, server_url, supervisor_id }) => {
|
|
74
|
+
}, async ({ repo_dir, agent, prompt, prompt_file, label, timeout, model, thinking, backend, server_url, supervisor_id }) => {
|
|
66
75
|
return spawnTool({
|
|
67
76
|
agent,
|
|
68
77
|
dir: repo_dir,
|
|
@@ -71,6 +80,7 @@ server.registerTool("avenor_spawn", {
|
|
|
71
80
|
label,
|
|
72
81
|
timeout,
|
|
73
82
|
model,
|
|
83
|
+
thinking,
|
|
74
84
|
backend,
|
|
75
85
|
serverUrl: server_url,
|
|
76
86
|
supervisorId: supervisor_id
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dougbots/avenor-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dev": "tsdown --watch"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@dougbots/avenor-core": "^0.
|
|
33
|
+
"@dougbots/avenor-core": "^0.9.0",
|
|
34
34
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
35
35
|
"hono": "^4.12.19",
|
|
36
36
|
"zod": "^4.4.3"
|