Add merge-back context handoff support

- Map fork and merge-back turns into stored handoffs and transfer resolutions
- Add shell snapshot projection support plus coverage tests
- Update replay fixtures and web contracts for the new turn flow
This commit is contained in:
Julius Marminge authored and maria-rcks committed 2026-08-03 11:44:57 -04:00
1 parent 74f73e39ea
commit 7cfdb4e79e
36 files changed
+2921 -301

No files matched your search

@@ -222,6 +222,8 @@ function createMockEnvironmentApi(input: {
getThreadProjection: (() => {
throw new Error("Not implemented in browser test.");
}) as EnvironmentApi["orchestrationV2"]["getThreadProjection"],
subscribeShell: (() => () =>
undefined) as EnvironmentApi["orchestrationV2"]["subscribeShell"],
subscribeThread: (() => () =>
undefined) as EnvironmentApi["orchestrationV2"]["subscribeThread"],
},