@dudamel/mcp-agents 2026.1008.1 → 2026.1015.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
@@ -58,22 +58,22 @@ var DudamelApiClient = class {
58
58
  const url = this.buildUrl(path, params);
59
59
  return this.request(url, { method: "GET" });
60
60
  }
61
- async post(path, body) {
62
- const url = this.buildUrl(path);
61
+ async post(path, body, params) {
62
+ const url = this.buildUrl(path, params);
63
63
  return this.request(url, {
64
64
  method: "POST",
65
65
  body: body !== void 0 ? JSON.stringify(body) : void 0
66
66
  });
67
67
  }
68
- async put(path, body) {
69
- const url = this.buildUrl(path);
68
+ async put(path, body, params) {
69
+ const url = this.buildUrl(path, params);
70
70
  return this.request(url, {
71
71
  method: "PUT",
72
72
  body: body !== void 0 ? JSON.stringify(body) : void 0
73
73
  });
74
74
  }
75
- async delete(path) {
76
- const url = this.buildUrl(path);
75
+ async delete(path, params) {
76
+ const url = this.buildUrl(path, params);
77
77
  return this.request(url, { method: "DELETE" });
78
78
  }
79
79
  buildUrl(path, params) {
@@ -921,7 +921,7 @@ function registerAgentMcpTools(server, client, ctx) {
921
921
  function createServer(config) {
922
922
  return createSurfaceServer({
923
923
  name: "dudamel-agents",
924
- instructions: `Dudamel Agents MCP \u2014 manage agents, skills, and their skill/MCP assignments (plus agent-to-agent messaging). Running as role=${config.role}, readOnly=${config.readOnly ?? false}.`,
924
+ instructions: `Dudamel Agents MCP \u2014 manage agents, skills, and their skill/MCP/sub-agent assignments. Running as role=${config.role}, readOnly=${config.readOnly ?? false}.`,
925
925
  registrars: [registerAgentTools, registerSkillTools, registerAgentMcpTools],
926
926
  config
927
927
  });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Disk I/O for skill bundles (Plan 53).
2
+ * Disk I/O for skill bundles.
3
3
  *
4
4
  * This MCP server runs as a stdio child of the agent, on the same filesystem, so it can
5
5
  * read and write the skill directory itself instead of making the model retype every file
@@ -63,22 +63,22 @@ var DudamelApiClient = class {
63
63
  const url = this.buildUrl(path, params);
64
64
  return this.request(url, { method: "GET" });
65
65
  }
66
- async post(path, body) {
67
- const url = this.buildUrl(path);
66
+ async post(path, body, params) {
67
+ const url = this.buildUrl(path, params);
68
68
  return this.request(url, {
69
69
  method: "POST",
70
70
  body: body !== void 0 ? JSON.stringify(body) : void 0
71
71
  });
72
72
  }
73
- async put(path, body) {
74
- const url = this.buildUrl(path);
73
+ async put(path, body, params) {
74
+ const url = this.buildUrl(path, params);
75
75
  return this.request(url, {
76
76
  method: "PUT",
77
77
  body: body !== void 0 ? JSON.stringify(body) : void 0
78
78
  });
79
79
  }
80
- async delete(path) {
81
- const url = this.buildUrl(path);
80
+ async delete(path, params) {
81
+ const url = this.buildUrl(path, params);
82
82
  return this.request(url, { method: "DELETE" });
83
83
  }
84
84
  buildUrl(path, params) {
@@ -182,7 +182,7 @@ function resolveStdioContext() {
182
182
  apiUrl: process.env["DUDAMEL_API_URL"] ?? "http://localhost:3000",
183
183
  apiKey: process.env["DUDAMEL_API_KEY"],
184
184
  envRole: process.env["DUDAMEL_USER_ROLE"],
185
- // read/write access is per agent-assignment (Plan 52); the spawner injects the mode.
185
+ // read/write access is per agent-assignment; the spawner injects the mode.
186
186
  readOnly: process.env["DUDAMEL_MCP_MODE"] === "readonly",
187
187
  agentName: process.env["DUDAMEL_AGENT_NAME"]
188
188
  };
@@ -964,7 +964,7 @@ function registerAgentMcpTools(server2, client, ctx2) {
964
964
  function createServer(config) {
965
965
  return createSurfaceServer({
966
966
  name: "dudamel-agents",
967
- instructions: `Dudamel Agents MCP \u2014 manage agents, skills, and their skill/MCP assignments (plus agent-to-agent messaging). Running as role=${config.role}, readOnly=${config.readOnly ?? false}.`,
967
+ instructions: `Dudamel Agents MCP \u2014 manage agents, skills, and their skill/MCP/sub-agent assignments. Running as role=${config.role}, readOnly=${config.readOnly ?? false}.`,
968
968
  registrars: [registerAgentTools, registerSkillTools, registerAgentMcpTools],
969
969
  config
970
970
  });
@@ -3,7 +3,7 @@ import type { DudamelApiClient } from '@dudamel/mcp-common';
3
3
  import type { ToolContext } from '@dudamel/mcp-common';
4
4
  /**
5
5
  * Agent↔MCP assignment tools. Split out of the old `mcp-servers` tool group into
6
- * the `agents` surface (Plan 52 Parte C): assigning which MCP servers an agent may
6
+ * the `agents` surface: assigning which MCP servers an agent may
7
7
  * use is agent management, not MCP-server administration.
8
8
  */
9
9
  export declare function registerAgentMcpTools(server: McpServer, client: DudamelApiClient, ctx: ToolContext): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudamel/mcp-agents",
3
- "version": "2026.1008.1",
3
+ "version": "2026.1015.1",
4
4
  "description": "Dudamel agents MCP — stdio client for Dudamel's agents management surface over its REST API.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "esbuild": "^0.25.0",
35
- "@dudamel/contracts": "0.1.0",
36
35
  "@dudamel/mcp-common": "0.1.0",
37
- "@dudamel/mcp-tool-contract": "0.1.0"
36
+ "@dudamel/mcp-tool-contract": "0.1.0",
37
+ "@dudamel/contracts": "0.1.0"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "esbuild src/stdio-server.ts src/index.ts --bundle --platform=node --target=node22 --format=esm --outdir=dist --external:@modelcontextprotocol/sdk --external:zod && tsc --emitDeclarationOnly",