deepseek-harness/packages/core/session/tests
Tianyi Cui 22a89847ac feat(session): add TodoItem + todo/write event vocabulary
Add the TodoItem type and a todo/write SessionEventMap variant carrying the
whole todo list as a snapshot (last-write-wins on replay). It is NOT a
SurfaceEventType: it produces no LLM message and never reaches
deriveMessages(), so it carries no surfaceOp and stays off the surface — it is
durable, replayable UI state that rides the existing session/event emit.

Tests cover the snapshot-clone-on-append contract, last-write-wins, the
not-on-surface guarantee, and a seeded replay round-trip. Docs: session.md
gains the TodoItem type-equiv block + the event member; core.md's variant count
goes to twelve; the type-equiv manifest gains TodoItem.
2026-06-29 01:39:25 +08:00
..
properties.spec.ts fix review findings: skip collided SCHEMA_VERSION 3; reject marker-less surface events 2026-06-24 17:45:48 +08:00
repair.spec.ts Merge remote-tracking branch 'origin/master' into session-surface 2026-06-22 10:35:59 +08:00
session.spec.ts feat(session): add TodoItem + todo/write event vocabulary 2026-06-29 01:39:25 +08:00
surface.spec.ts test(session): cover the isSurfaceEvent / isSurfaceEligibleType guards 2026-06-26 23:47:54 +08:00