d9376c5866
flushCompactionQueue() fires session.prompt(text) on the first non-slash queued message. If the session is still streaming when compaction-end lands (race between isStreaming flipping false and the event arriving), prompt() throws AgentBusyError, restoreQueue() dumps the message back into compactionQueuedMessages, and it stalls there: nothing drains that array except the next compaction-end. The user sees the steer preview but cannot deliver the message (Alt+Up consults session.clearQueue, not compactionQueuedMessages). Pass streamingBehavior derived from the queued message's mode so prompt() routes into the steer/follow-up queue when busy and runs as a fresh prompt when idle. Fixes #825
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: