@dudamel/mcp-knowledge 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) {
@@ -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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudamel/mcp-knowledge",
3
- "version": "2026.1008.1",
3
+ "version": "2026.1015.1",
4
4
  "description": "Dudamel knowledge MCP — stdio client for Dudamel's knowledge management surface over its REST API.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
@@ -32,8 +32,8 @@
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",
36
+ "@dudamel/contracts": "0.1.0",
37
37
  "@dudamel/mcp-tool-contract": "0.1.0"
38
38
  },
39
39
  "scripts": {