From 43f7574e4e92e9005dcd0b3ec093f58d24b48d58 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Wed, 28 Jan 2026 15:37:25 -0500 Subject: [PATCH] Change default port from 3000 to 7200 --- TODO.txt | 2 +- docs/plan.md | 2 +- src/cli.ts | 2 +- src/server.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TODO.txt b/TODO.txt index 8b8385b..8aa539e 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,4 +1,4 @@ -Server listening on http://localhost:3000 +Server listening on http://localhost:7200 [Bun.serve]: request timed out after 10 seconds. Pass `idleTimeout` to configure. ------------ diff --git a/docs/plan.md b/docs/plan.md index d5cb8c7..a85c494 100644 --- a/docs/plan.md +++ b/docs/plan.md @@ -132,7 +132,7 @@ SSE `/events` (Server -> Dashboard): ## verification 1. `bun run src/cli.ts` - starts PTY wrapper -2. visit `http://localhost:3000` - see dashboard +2. visit `http://localhost:7200` - see dashboard 3. type in CLI - output appears in dashboard 4. trigger approval prompt - approve from dashboard 5. `docker compose up` - deploys successfully diff --git a/src/cli.ts b/src/cli.ts index ac85c05..0466ccb 100755 --- a/src/cli.ts +++ b/src/cli.ts @@ -14,7 +14,7 @@ interface Args { function parseArgs(): Args { const args = process.argv.slice(2); - let server = "ws://localhost:3000/ws"; + let server = "ws://localhost:7200/ws"; let secret = ""; const claudeArgs: string[] = []; diff --git a/src/server.ts b/src/server.ts index 28ac548..18f1e6d 100644 --- a/src/server.ts +++ b/src/server.ts @@ -78,7 +78,7 @@ function broadcastSSE(event: SSEEvent): void { } // Initialize database -const port = Number.parseInt(process.env.PORT || "3000", 10); +const port = Number.parseInt(process.env.PORT || "7200", 10); initDb(); // Start server