Skip to content

feat(coding-agent): queue post-turn inputs#1283

Closed
tmustier wants to merge 1 commit intobadlogic:mainfrom
tmustier:queue-followup-compact
Closed

feat(coding-agent): queue post-turn inputs#1283
tmustier wants to merge 1 commit intobadlogic:mainfrom
tmustier:queue-followup-compact

Conversation

@tmustier
Copy link
Contributor

@tmustier tmustier commented Feb 5, 2026

Per issue #1282 (see issue for demo). This is a large diff... I welcome thoughts for any cleaner implementation 🙏 .

Summary:

  • Allow Alt+Enter follow-ups to queue compatible slash commands during streaming/compaction.
  • Add ordered post-turn queue for messages + commands; flush after agent_end/compaction end without overlap.
  • Mark built-in queueable commands and add queueable?: boolean for extension commands.
  • Preserve input hooks/template expansion for queued messages; keep /model immediate (exact-match or selector).

Tests

  • npm run check
  • ./test.sh
  • Manual testing locally

@badlogic
Copy link
Owner

badlogic commented Feb 5, 2026

This is indeed a large changset, too big for my taste :) Closing this out for now, I'll handle it via the issue myself when I find the time.

@badlogic badlogic closed this Feb 5, 2026
@tmustier
Copy link
Contributor Author

tmustier commented Feb 5, 2026

Yes makes sense, felt in a bit over my head on this one!
Hopefully the issue writeup is useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants