- Check for paths with leading slash (/joylo-admin)
- Add fallback regex matching for different path formats
- Fixes 'unknown' role detection for /srv/joylo-apps/joylo-admin
- Now correctly identifies admin-dev, api-dev, web-dev
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove setupSubscription() call from constructor
- Call setupSubscription() on first handle() invocation
- Prevents 'NATS not connected' error during initialization
- Subscription happens after NATS client is connected
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Fixes TypeScript type incompatibility with ZodDefault
- limit is now optional number instead of defaulted
- Handle default value in code instead of schema
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Use super() constructor with options and schema
- Implement protected handle() method instead of execute()
- Define proper TypeScript types with z.infer
- Fixes compilation errors with ToolHandler interface
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace plain object inputSchema with Zod schemas
- Fixes TypeScript compilation error
- Use z.enum() for role validation
- Use z.record(z.any()) for optional data object
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add SendMessageTool for sending messages to other devs
- Add ReceiveMessagesTool for receiving messages
- Auto-detect sender role from workspace path (admin-dev/api-dev/web-dev)
- Messages published to NATS channels: dev.messages.{role}
- Enable real-time communication between Claude instances
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Support MCP_LOG_LEVEL=silent for stdio mode
- Fixes ZodError: Invalid enum value
- Allows complete logging suppression for MCP protocol
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove 2>/dev/null to see actual errors
- Explicitly export MCP_TRANSPORT=stdio
- Helps debug connection issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Detect stdio mode and set logger to 'silent' level
- stdout must be reserved exclusively for JSON-RPC MCP messages
- Prevents 'Unexpected token' JSON parsing errors in Claude Code
- Only log when using HTTP transport mode
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- MCP server cu stdio transport pentru performanță maximă
- Tool-uri pentru file operations, HTTP requests, system commands
- Suport NATS pentru comunicare inter-module
- Configurare nginx cu API key auth și SSL
- Arhitectură modulară și extensibilă
🤖 Generated with Claude Code