deepseek-harness/packages/client/runtime/src
imccyu 9e10ba0f15 fix(client): drop generation-scoped interaction state at generation death
Clearing waitingApprovals in handleConnected raced the reconnect replay:
mux frames flow from stream open while onConnected waits for the
readiness handshake, so a replayed approval/requested could land first
and be wiped — amber dot and answerable card lost until the next
generation. The sweep moves to generation death (onStateChange
'reconnecting'), before any next-generation frame can exist, and now
also drops buffered answerable frames (approval/question pairs) whose
dead-generation rpcIds could never be answered — a session instantiated
later no longer replays zombie takeover cards. session/queued buffering
already re-baselines per generation; this closes the same window for
the interaction frames.
2026-07-29 13:03:26 +08:00
..
client fix(client): drop generation-scoped interaction state at generation death 2026-07-29 13:03:26 +08:00
env.d.ts refactor(gui): move the snapshot-store engine into the client runtime 2026-07-23 03:30:06 +08:00
index.ts Trim redundant source comments 2026-07-25 13:02:37 +08:00
invariant.ts feat(gui): step1 skeleton — dsc web serves built web UI over booted harness host 2026-07-22 16:24:44 +08:00