You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(files): open the stream shadow at start + private extend baseline
Cursor round 2:
- High (settle skips apply without session): the stream shadow is now opened on
the first ready frame, BEFORE the extend gate — so an `update` rewrite (whose
every frame is gated out until settle) and a stream that finishes before seed
still get a session, and settle applies the final body via the reused-or-on-demand
shadow instead of leaving the doc stale until the durable reconcile.
- Medium (peer edits stall the stream): the extend gate now reads a private
`lastStreamedBodyRef` (the agent's own last frame), snapshotted at stream start,
not `lastSyncedBodyRef` which `onUpdate` clobbers on peer edits — so a collaborator
typing can't make the growing snapshot stop prefixing the shown body and freeze it.
- Medium (multi-replica over-persist): pre-existing, documented "safe over-persist"
(a peer task tails the frame as REDIS_ORIGIN and marks edited) — refreshed the
stale comment to describe the SYNC_NO_PERSIST source; copilot's edit_content write
remains the authoritative durable persist.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/rich-markdown-editor.tsx
+35-20Lines changed: 35 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -338,6 +338,14 @@ export function LoadedRichMarkdownEditor({
0 commit comments