- Allow explicit sender role instead of auto-detection
- Fixes issue where process.cwd() doesn't match caller workspace
- Users can specify from: 'admin-dev', 'api-dev', or 'web-dev'
- Falls back to detectRole() if not provided
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove leading slash requirement - use includes() directly
- Add word boundary regex for 'api' to avoid false matches
- Covers /srv/joylo-api, /srv/joylo-apps/joylo-admin, etc
- Should fix 'unknown' role detection issue
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- ReceiveMessagesTool subscription activates automatically on startup
- No need to call receive_messages manually first
- Messages arrive in real-time like chat
- Notifications appear instantly when messages sent
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Fixes TypeScript error TS6138
- server parameter was declared but never used
- Notifications work via console.log instead
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- 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