Manual test walkthrough for the streaming-chat MVP Summit demo.
- Node.js ≥ 20
- Run
npm installinsamples/streaming-chat/ - For live mode: authenticated with GitHub Copilot (
gh auth login)
SQUAD_DEMO_MODE=true npx tsx index.tsExpected:
- Banner displays:
🎬 Squad Streaming Chat · MVP Summit - Cast shows 3 agents with colored bullets: McManus (cyan), Kobayashi (magenta), Fenster (yellow)
- Message:
Running in demo mode — responses are simulated - Prompt appears:
◆ you >
Type: How should I design the API endpoints?
Expected:
- Header shows:
McManus (Backend)in cyan - Response streams word-by-word (visible character-at-a-time output)
- Response is backend-themed (mentions Express, API, etc.)
- Prompt reappears after response completes
Type: Build me a nice UI layout
Expected:
- Header shows:
Kobayashi (Frontend)in magenta - Response streams word-by-word
- Response is frontend-themed (mentions CSS, components, etc.)
Type: I need more test coverage
Expected:
- Header shows:
Fenster (Tester)in yellow - Response streams word-by-word
- Response is test-themed (mentions coverage, mocks, etc.)
Type: What do you think?
Expected:
- Falls through to McManus (Backend) as default
- Response streams normally
Type: /quit
Expected:
- Displays:
👋 Goodbye! - Process exits cleanly (exit code 0)
Press Enter without typing anything.
Expected:
- Prompt reappears immediately (no error)
npx tsx index.tsExpected (without Copilot auth):
- Shows:
⚠ Could not connect to Copilot: ... - Shows:
Falling back to demo mode - Chat works normally in demo mode
npx vitest runExpected:
- All tests pass
- Tests cover: routing, demo responses, pipeline wiring, agent casting