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
{{ message }}
Repository navigation
Persist queued follow-ups as items[] so a blank line stays one thought #809
Follow-up to #780. The mid-run queue is still one thread.queued.prompt string. setQueued appends with a blank-line delimiter (\n\n); the strip splits on that same delimiter for per-item edit/remove/reorder.
A single follow-up that itself contains a blank line becomes two items after an edit/reload.
Plan
Persist items: string[] on the queued blob
Keep prompt as the joined drain text for main's existing FIFO send
Migrate old prompt-only rows by splitting once
Do not change send-while-busy
Tests in test/queuedFollowup.test.tsx must cover a thought that contains a blank line staying one item
Implemented on coder/fork-edit-and-unqueue-follow-ups-655c00.
thread.queued.items is the per-thought list. prompt stays the joined drain text so main's FIFO send is unchanged. Old prompt-only rows split once on append or on strip read. A thought that contains a blank line stays one item (including after remount).
This worktree also has the #780 per-item edit/remove/reorder strip (that branch was not landed here). Send-while-busy is unchanged.
Activity
currentbits commentedon Sep 2, 2026
Implemented on
coder/fork-edit-and-unqueue-follow-ups-655c00.thread.queued.itemsis the per-thought list.promptstays the joined drain text so main's FIFO send is unchanged. Old prompt-only rows split once on append or on strip read. A thought that contains a blank line stays one item (including after remount).This worktree also has the #780 per-item edit/remove/reorder strip (that branch was not landed here). Send-while-busy is unchanged.
Tests:
test/queuedFollowup.test.tsx18/18,electron/test/services.test.jssetQueued/takeQueued cases green.currentbits commentedon Sep 2, 2026
Worktree already on origin/main via #840 (
ca6c5146). Closing and marking plan:done.