@@ -6,8 +6,8 @@ document builder and serializer and dispatches through the real EditorView.
66It does not synthesize editor DOM or keyboard events.
77
88``` js
9- window . fixture =
10- await import (" /@fs/home/ubuntu/wt/issue-17124/ scripts/fixtures/issue-17124/seed.js" );
9+ const worktreePath = " /absolute/path/to/your/worktree " ;
10+ window . fixture = await import (` /@fs${ worktreePath } / scripts/fixtures/issue-17124/seed.js` );
1111await fixture .seed (fixture .fixtures .A [0 ]);
1212// Use preview_press for Tab, X, Shift+Enter, and Backspace.
1313await fixture .observe ();
@@ -19,8 +19,10 @@ marker prefixes normalize to the reachable content position. Seed returns both
1919requested and canonical text so a capture can report normalization.
2020
2121` installRpc(environmentId) ` binds normal guarded app commands to the isolated
22- environment. ` createFixtureThread(rpc, projectId) ` creates an empty synthetic
23- thread in this worktree. ` stageRenderedFixture(rpc, threadId) ` takes the current
22+ environment. ` createFixtureThread(rpc, projectId, worktreePath) ` creates an empty
23+ synthetic thread in the supplied absolute worktree path. Use the isolated server's
24+ worktree path for ` worktreePath ` in both the module import and thread creation.
25+ ` stageRenderedFixture(rpc, threadId) ` takes the current
2426serialized composer text, dispatches it with ` defer_start ` , then interrupts the
2527prepared run with its queue held. Never release the prepared run: this path is
2628for inspecting the real message renderer without starting a provider. Use a
0 commit comments