Files
oh-my-pi/packages
can1357 623e9d3710 fix(coding-agent/session): restricted queued-message editor restore to user-authored messages
- Added `isUserQueuedMessage()` to `agent-session.ts`, treating only plain user turns and visible `attribution: "user"` custom messages (e.g. `/skill`) as restorable, so advisor concern/blocker notes, hidden goal/plan/budget steers, and IRC/extension asides no longer leak into the editor on Esc/Alt+Up.
- Reworked `clearQueue()` to return only user-authored messages while re-queuing advisor cards via `replaceQueues()` (so the user-interrupt abort path still re-records them as advice) and dropping other agent-authored steers to prevent a silent auto-resume on leftover internal context.
- Filtered `getQueuedMessages()` chips and rewrote `popLastQueuedMessage()` to skip agent-authored cards and pull the last user-authored entry, while `queuedMessageCount` still counts all displayable queued work.
- Extended `input-controller-skill-queue.test.ts` with a `queueAdvisorSteer` helper and cases asserting advisor/IRC cards count as pending work but stay out of chips, restore, and `popLastQueuedMessage`, and survive `clearQueue()`.
2026-06-16 16:05:36 +02:00
..
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-15 19:51:53 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00
2026-06-16 15:33:47 +02:00