- Add userId to agents and projects tables (with migrations)
- Create auth middleware for session validation
- Protect MCP endpoints with authentication and user filtering
- Implement agent management API (launch, my, delete)
- Add terminal proxy at /agent-terminal/:agentId with auth
- Update all agent endpoints to verify user ownership
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>
- 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>