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
parent 768a69bbbd
commit 96a9731947
57 changed files with 2091 additions and 1316 deletions
+3 -3
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 {