mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
47a6c0e7f4
Covers the shared-state thread-resume path that was missing coverage: on resume, the /connect bootstrap plan replays STATE_SNAPSHOT events captured during the original run, and agent.state (both on the direct IntelligenceAgent and through the ProxiedCopilotRuntimeAgent bridge) must reflect the final snapshot so UI reading from agent.state renders the persisted state. Both tests pass against the current implementation, ruling out these layers as the source of the shared-state demo regression.