@dudamel/mcp-integrations 2026.924.1 → 2026.929.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.
package/dist/index.js CHANGED
@@ -137,13 +137,7 @@ function createSurfaceServer(opts) {
137
137
  const ctx = {
138
138
  role: config.role,
139
139
  readOnly: config.readOnly ?? false,
140
- agentName: config.agentName,
141
- callChain: config.callChain,
142
- turnId: config.turnId,
143
- rootTurnId: config.rootTurnId,
144
- conversationId: config.conversationId,
145
- requesterUserId: config.requesterUserId,
146
- responseTarget: config.responseTarget
140
+ agentName: config.agentName
147
141
  };
148
142
  const host = withReadOnlyFilter(server, ctx.readOnly);
149
143
  for (const register of opts.registrars)
@@ -168,13 +168,7 @@ function createSurfaceServer(opts) {
168
168
  const ctx2 = {
169
169
  role: config.role,
170
170
  readOnly: config.readOnly ?? false,
171
- agentName: config.agentName,
172
- callChain: config.callChain,
173
- turnId: config.turnId,
174
- rootTurnId: config.rootTurnId,
175
- conversationId: config.conversationId,
176
- requesterUserId: config.requesterUserId,
177
- responseTarget: config.responseTarget
171
+ agentName: config.agentName
178
172
  };
179
173
  const host = withReadOnlyFilter(server2, ctx2.readOnly);
180
174
  for (const register of opts.registrars)
@@ -184,28 +178,13 @@ function createSurfaceServer(opts) {
184
178
 
185
179
  // ../common/dist/stdio.js
186
180
  function resolveStdioContext() {
187
- let responseTarget;
188
- const rawTarget = process.env["DUDAMEL_RESPONSE_TARGET"];
189
- if (rawTarget) {
190
- try {
191
- responseTarget = JSON.parse(rawTarget);
192
- } catch {
193
- process.stderr.write("Warning: DUDAMEL_RESPONSE_TARGET is not valid JSON \u2014 ignoring.\n");
194
- }
195
- }
196
181
  return {
197
182
  apiUrl: process.env["DUDAMEL_API_URL"] ?? "http://localhost:3000",
198
183
  apiKey: process.env["DUDAMEL_API_KEY"],
199
184
  envRole: process.env["DUDAMEL_USER_ROLE"],
200
185
  // read/write access is per agent-assignment (Plan 52); the spawner injects the mode.
201
186
  readOnly: process.env["DUDAMEL_MCP_MODE"] === "readonly",
202
- agentName: process.env["DUDAMEL_AGENT_NAME"],
203
- callChain: (process.env["DUDAMEL_CALL_CHAIN"] ?? "").split(",").map((s) => s.trim()).filter(Boolean),
204
- turnId: process.env["DUDAMEL_TURN_ID"],
205
- rootTurnId: process.env["DUDAMEL_ROOT_TURN_ID"],
206
- conversationId: process.env["DUDAMEL_CONVERSATION_ID"],
207
- requesterUserId: process.env["DUDAMEL_REQUESTER_USER_ID"],
208
- responseTarget
187
+ agentName: process.env["DUDAMEL_AGENT_NAME"]
209
188
  };
210
189
  }
211
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudamel/mcp-integrations",
3
- "version": "2026.924.1",
3
+ "version": "2026.929.1",
4
4
  "description": "Dudamel integrations MCP — stdio client for Dudamel's integrations management surface over its REST API.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
@@ -33,8 +33,8 @@
33
33
  "devDependencies": {
34
34
  "esbuild": "^0.25.0",
35
35
  "@dudamel/mcp-common": "0.1.0",
36
- "@dudamel/mcp-tool-contract": "0.1.0",
37
- "@dudamel/contracts": "0.1.0"
36
+ "@dudamel/contracts": "0.1.0",
37
+ "@dudamel/mcp-tool-contract": "0.1.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "esbuild src/stdio-server.ts src/index.ts --bundle --platform=node --target=node20 --format=esm --outdir=dist --external:@modelcontextprotocol/sdk --external:zod && tsc --emitDeclarationOnly",