@grec0/memory-bank-mcp 0.1.32 → 0.1.34

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.
@@ -1,2 +1,2 @@
1
1
  // Version of the MCP Kanban server
2
- export const VERSION = "0.1.31";
2
+ export const VERSION = "0.1.33";
package/dist/index.js CHANGED
@@ -501,18 +501,22 @@ server.tool(trackProgressToolDefinition.name, trackProgressToolDefinition.descri
501
501
  // Tool: Manage Agents
502
502
  server.tool(manageAgentsToolDefinition.name, manageAgentsToolDefinition.description, {
503
503
  projectId: z.string().describe("Identificador único del proyecto (OBLIGATORIO)"),
504
- action: z.enum(["register", "update_status", "claim_resource", "release_resource", "get_board"]).describe("Acción a realizar"),
504
+ action: z.enum(["register", "update_status", "claim_resource", "release_resource", "get_board", "complete_task", "claim_task"]).describe("Acción a realizar"),
505
505
  agentId: z.string().optional().describe("Identificador del agente (ej: 'dev-agent-1'). Requerido para escrituras."),
506
506
  sessionId: z.string().optional().describe("UUID de sesión del agente para tracking de contexto."),
507
507
  status: z.string().optional().describe("Estado del agente (para update_status)."),
508
508
  focus: z.string().optional().describe("Tarea o fichero en el que se enfoca (para update_status)."),
509
509
  resource: z.string().optional().describe("Identificador del recurso a bloquear (ej: 'src/auth/')."),
510
+ taskId: z.string().optional().describe("ID de la tarea para complete_task o claim_task (ej: 'EXT-123456', 'TASK-789012')."),
510
511
  workspacePath: z.string().optional().describe("RUTA ABSOLUTA al directorio raíz del workspace. IMPORTANTE para registro correcto del proyecto."),
511
512
  }, async (args) => {
512
513
  const workspaceRoot = process.cwd();
513
514
  if ((args.action === 'register' || args.action === 'update_status') && !args.agentId) {
514
515
  throw new Error(`agentId is required for action ${args.action}`);
515
516
  }
517
+ if ((args.action === 'complete_task' || args.action === 'claim_task') && !args.taskId) {
518
+ throw new Error(`taskId is required for action ${args.action}`);
519
+ }
516
520
  // Use workspacePath from args if provided, otherwise fall back to workspaceRoot
517
521
  const effectiveWorkspace = args.workspacePath || workspaceRoot;
518
522
  const result = await manageAgentsTool({
@@ -523,6 +527,7 @@ server.tool(manageAgentsToolDefinition.name, manageAgentsToolDefinition.descript
523
527
  status: args.status,
524
528
  focus: args.focus,
525
529
  resource: args.resource,
530
+ taskId: args.taskId,
526
531
  workspacePath: effectiveWorkspace
527
532
  });
528
533
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grec0/memory-bank-mcp",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "description": "MCP server for semantic code indexing with Memory Bank - AI-powered codebase understanding",
5
5
  "license": "MIT",
6
6
  "author": "@grec0",