
> automaker@1.0.0 dev:server
> npm run dev --workspace=apps/server


> @automaker/server@0.1.0 dev
> tsx watch src/index.ts

[dotenv@17.2.3] injecting env (1) from .env -- tip: ⚙️  override existing env vars with { override: true }
[Server] ✓ CLAUDE_CODE_OAUTH_TOKEN detected (subscription auth)

╔═══════════════════════════════════════════════════════╗
║           Automaker Backend Server                    ║
╠═══════════════════════════════════════════════════════╣
║  HTTP API:    http://localhost:3008                  ║
║  WebSocket:   ws://localhost:3008/api/events         ║
║  Terminal:    ws://localhost:3008/api/terminal/ws    ║
║  Health:      http://localhost:3008/api/health       ║
║  Terminal:    enabled                              ║
╚═══════════════════════════════════════════════════════╝

[Server] Agent service initialized
[WebSocket] Client connected
12:52:41 AM [tsx] change in ./src\index.ts Rerunning...
c12:52:41 AM [tsx] unlink in ./src\services\auto-mode-service.ts Restarting...
c[dotenv@17.2.3] injecting env (1) from .env -- tip: 🔐 encrypt with Dotenvx: https://dotenvx.com
[Server] ✓ CLAUDE_CODE_OAUTH_TOKEN detected (subscription auth)

╔═══════════════════════════════════════════════════════╗
║           Automaker Backend Server                    ║
╠═══════════════════════════════════════════════════════╣
║  HTTP API:    http://localhost:3008                 ║
║  WebSocket:   ws://localhost:3008/api/events        ║
║  Terminal:    ws://localhost:3008/api/terminal/ws   ║
║  Health:      http://localhost:3008/api/health      ║
║  Terminal:    enabled                              ║
╚═══════════════════════════════════════════════════════╝

[Server] Agent service initialized
[WebSocket] Client connected
[WebSocket] Client disconnected
^C^C