fix(context): preserve committed workspace projections

This commit is contained in:
_Kerman
2026-08-03 12:39:39 +08:00
parent 616ee55372
commit f3460a052f
5 changed files with 57 additions and 21 deletions

View File

@@ -86,7 +86,7 @@ describe.skipIf(process.platform === 'win32')('semantic checkpoint hard-crash re
const events = await load(crashed.root)
expect(events.map(event => event.type)).toEqual([
'agent/inbox/spliced', 'agent/inbox/spliced',
'turn/start', 'user/message', 'step/start', 'request/header', 'request/context', 'step/end', 'turn/end',
'turn/start', 'step/start', 'user/message', 'request/header', 'request/context', 'step/end', 'turn/end',
])
expect(events.at(-1)).toMatchObject({
type: 'turn/end', data: { reason: { kind: 'interrupted' } },