- 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>