feat(core): replace instruction checkpoints with value-delta sync (#36254)

This commit is contained in:
Kit Langton 2026-07-10 13:26:25 -04:00 committed by GitHub
commit 96a9731947
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
57 changed files with 2053 additions and 1278 deletions

View file

@ -2129,10 +2129,10 @@ test("projects live instruction updates with their message ID", async () => {
id: "evt_instructions_1",
created: 0,
type: "session.instructions.updated",
durable: durable("session-1"),
durable: durable("session-1", 0, 2),
data: {
sessionID: "session-1",
text: "Updated instructions",
delta: { "core/date": "0".repeat(64) },
},
})
@ -2140,7 +2140,7 @@ test("projects live instruction updates with their message ID", async () => {
expect(sync.session.message.list("session-1")?.[0]).toMatchObject({
id: SessionMessage.ID.fromEvent(EventV2.ID.make("evt_instructions_1")),
type: "system",
text: "Updated instructions",
text: "Instructions updated: core/date",
time: { created: 0 },
})
} finally {