- Replace stdio MCP server with HTTP endpoints
- MCP tools available at /api/mcp/* endpoints
- Same backend port (3000), accessible via HTTPS
- Tools: get_next_task, update_task_status, create_branch, create_pull_request, ask_user_question
- Proper integration with database and agent status tracking
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
- Implement MCP server on stdio for agent communication
- Tools: get_next_task, update_task_status, create_branch, create_pull_request, ask_user_question
- Full integration with database (tasks, agents tables)
- Proper error handling and responses
- Add 'mcp' script to package.json
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
- Implement register, login, logout, and me endpoints
- Use bcryptjs for password hashing
- HTTPOnly secure cookies for sessions (Lucia Auth pattern)
- Users and sessions tables with proper relations
- 7-day session duration with auto-expiry
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
- Add REST API routes for projects, tasks, and agents (CRUD operations)
- Implement MCP Server with 4 core tools:
- get_next_task: Assign tasks to agents
- update_task_status: Update task states
- create_branch: Create Git branches via Gitea API
- create_pull_request: Create PRs via Gitea API
- Add Gitea API client for repository operations
- Fix database migration error handling for existing tables
- Connect all routes to Bun.serve() main server
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
- Bun 1.3.6 server setup
- MariaDB schema (projects, agents, tasks)
- Auto-migrations on startup
- WebSocket support
- Health check endpoint
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>