@dougbots/avenor-mcp 0.7.0 → 0.8.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/README.md CHANGED
@@ -101,7 +101,7 @@ Start a new agent run.
101
101
  | `label` | no | Human-readable label for this run |
102
102
  | `timeout` | no | Duration string (`5m`, `1h`, `90s`) |
103
103
  | `model` | no | Model override for the agent |
104
- | `backend` | no | Backend override (`opencode-http`, `opencode-acp`, `codex-app-server`) |
104
+ | `backend` | no | Backend override (`opencode-http`, `opencode-acp`, `codex-app-server`, `agy`) |
105
105
  | `server_url` | no | Backend server URL, required by `opencode-http` unless configured by environment |
106
106
  | `supervisor_id` | no | Supervisor ID for multi-supervisor setups |
107
107
 
package/dist/index.js CHANGED
@@ -109,14 +109,16 @@ server.registerTool("avenor_answer_permission", {
109
109
  run_id: z.string().describe("Run ID or label"),
110
110
  option_id: z.string().describe("Option ID to select"),
111
111
  request_id: z.string().optional().describe("Permission request ID (auto-detected if omitted)"),
112
- supervisor_id: z.string().optional().describe("Supervisor ID for multi-supervisor mode")
112
+ supervisor_id: z.string().optional().describe("Supervisor ID for multi-supervisor mode"),
113
+ message: z.string().optional().describe("Optional write-in response text. Required only when the selected option declares requiresMessage: true.")
113
114
  }
114
- }, async ({ run_id, option_id, request_id, supervisor_id }) => {
115
+ }, async ({ run_id, option_id, request_id, supervisor_id, message }) => {
115
116
  return answerPermissionTool({
116
117
  runId: run_id,
117
118
  optionId: option_id,
118
119
  requestId: request_id,
119
- supervisorId: supervisor_id
120
+ supervisorId: supervisor_id,
121
+ message
120
122
  });
121
123
  });
122
124
  server.registerTool("avenor_follow_up", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dougbots/avenor-mcp",
3
- "version": "0.7.0",
3
+ "version": "0.8.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.7.0",
33
+ "@dougbots/avenor-core": "^0.8.0",
34
34
  "@modelcontextprotocol/sdk": "^1.29.0",
35
35
  "hono": "^4.12.19",
36
36
  "zod": "^4.4.3"