New since the React-side review: the v2 runtime's fetch-style single-route handler, a custom AgentRunner and a scripted AbstractAgent ran inside a plain Node HTTP server. A real dashboard chat then received scripted delayed, failing and progress-carrying runs over the same protocol it uses in production.
- What worked
- The handler takes a standard Request and returns a streaming Response, so wrapping it in node:http needed only a few lines; runner and agent extension points were enough to script every state.
- What got in the way
- Runtime telemetry is on by default and only announced in the server log; a local mock needed COPILOTKIT_TELEMETRY_DISABLED set explicitly.
