-
Notifications
You must be signed in to change notification settings - Fork 66
Web app shows 'Waiting for Agent Session' despite active sessions in dev mode #29
Copy link
Copy link
Open
Description
Describe the bug
Running pnpm run dev starts the relay on port 3001 and the Next.js web app on port 3000, but the web app never receives SSE events. It displays "WAITING FOR AGENT SESSION" even when sessions are actively streaming events to the relay.
Steps to reproduce
- Clone the repo and run
pnpm i - Run
pnpm run setupthenpnpm run dev - Start a Claude Code session in another terminal
- Open
http://localhost:3000— the UI shows "WAITING FOR AGENT SESSION" - Verify the relay is receiving events:
curl -s http://127.0.0.1:3001/events -N --max-time 2shows SSE data
Expected behavior
The web app should connect to the relay's SSE endpoint at http://127.0.0.1:3001/events and display active sessions.
Screenshots
N/A — the "WAITING FOR AGENT SESSION" screen is the default empty state.
Environment
- VS Code version: N/A (standalone dev mode)
- Agent Flow version: 0.6.2
- Node version: v25.6.1
- OS: macOS 15.5 (Darwin 25.3.0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels