mcp-state-machine-test-framework 1.0.4 → 1.0.5
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/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -368,7 +368,9 @@ server.tool("upsert_node", "Añadir o actualizar un nodo en el mapa de estados",
|
|
|
368
368
|
return { content: [{ type: "text", text: `Nodo '${nodeName}' actualizado. Diagrama visual regenerado en maps/${mapName.replace('.json', '.md')}` }] };
|
|
369
369
|
});
|
|
370
370
|
|
|
371
|
-
server.tool("inspect_framework", "Inspeccionar integridad y listar entidades del framework", {
|
|
371
|
+
server.tool("inspect_framework", "Inspeccionar integridad y listar entidades del framework", {
|
|
372
|
+
filter: z.optional(z.string())
|
|
373
|
+
}, async () => {
|
|
372
374
|
const entities = { maps: [], test_cases: [], suites: [], health: [] };
|
|
373
375
|
const getFiles = async (dir) => {
|
|
374
376
|
try { return (await fs.readdir(path.join(__dirname, dir))).filter(f => f.endsWith('.json')); }
|