diff --git a/.claude/commands/workflow/analyze-with-file.md b/.claude/commands/workflow/analyze-with-file.md index c9520da5..0d927cd9 100644 --- a/.claude/commands/workflow/analyze-with-file.md +++ b/.claude/commands/workflow/analyze-with-file.md @@ -83,7 +83,7 @@ When `--yes` or `-y`: Auto-confirm exploration decisions, use recommended analys Codebase exploration FIRST, then CLI analysis. -**Step 1: Codebase Exploration** (cli-explore-agent, parallel up to 4) +**Step 1: Codebase Exploration** (cli-explore-agent, parallel up to 6) - **Single**: General codebase analysis → `{sessionFolder}/exploration-codebase.json` - **Multi-perspective**: Parallel per-perspective → `{sessionFolder}/explorations/{perspective}.json` diff --git a/ccw/frontend/vite.config.ts b/ccw/frontend/vite.config.ts index 682075aa..473ea53d 100644 --- a/ccw/frontend/vite.config.ts +++ b/ccw/frontend/vite.config.ts @@ -14,7 +14,8 @@ const basePath = process.env.VITE_BASE_URL || '/' // Backend target for Vite proxy (used when directly opening the Vite dev server port). // In `ccw view`, this is set to the dashboard server port so /api and /ws route correctly. -const backendHost = process.env.VITE_BACKEND_HOST || 'localhost' +// Use 127.0.0.1 instead of localhost to ensure IPv4 connection (avoid IPv6 resolution issues) +const backendHost = process.env.VITE_BACKEND_HOST || '127.0.0.1' const backendPort = Number(process.env.VITE_BACKEND_PORT || '3456') const backendHttpTarget = `http://${backendHost}:${backendPort}` const backendWsTarget = `ws://${backendHost}:${backendPort}` diff --git a/ccw/src/core/server.ts b/ccw/src/core/server.ts index c75634bd..b346c0e5 100644 --- a/ccw/src/core/server.ts +++ b/ccw/src/core/server.ts @@ -771,7 +771,7 @@ export async function startServer(options: ServerOptions = {}): Promise