@mandujs/mcp 0.9.14 → 0.9.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandujs/mcp",
3
- "version": "0.9.14",
3
+ "version": "0.9.16",
4
4
  "description": "Mandu MCP Server - Agent-native interface for Mandu framework operations",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -32,7 +32,7 @@
32
32
  "access": "public"
33
33
  },
34
34
  "dependencies": {
35
- "@mandujs/core": "^0.9.14",
35
+ "@mandujs/core": "^0.9.16",
36
36
  "@modelcontextprotocol/sdk": "^1.25.3"
37
37
  },
38
38
  "engines": {
package/src/server.ts CHANGED
@@ -221,10 +221,13 @@ export class ManduMcpServer {
221
221
  logger: "mandu-watch",
222
222
  data: {
223
223
  type: "watch_warning",
224
+ severity: warning.level || "warn",
224
225
  ruleId: warning.ruleId,
225
226
  file: warning.file,
226
227
  message: warning.message,
227
228
  event: warning.event,
229
+ agentAction: warning.agentAction || null,
230
+ agentCommand: warning.agentCommand || null,
228
231
  },
229
232
  }).catch(() => {});
230
233
  });
@@ -262,11 +262,14 @@ export function brainTools(projectRoot: string, server?: Server, monitor?: Activ
262
262
  logger: "mandu-watch",
263
263
  data: {
264
264
  type: "watch_warning",
265
+ severity: warning.level || "warn",
265
266
  ruleId: warning.ruleId,
266
267
  file: warning.file,
267
268
  message: warning.message,
268
269
  event: warning.event,
269
270
  timestamp: warning.timestamp.toISOString(),
271
+ agentAction: warning.agentAction || null,
272
+ agentCommand: warning.agentCommand || null,
270
273
  },
271
274
  }).catch(() => {});
272
275