Skip to content

feat: queue user messages while busy#599

Open
Dhirenderchoudhary wants to merge 2 commits into
Nano-Collective:mainfrom
Dhirenderchoudhary:fix/597-user-message-queue
Open

feat: queue user messages while busy#599
Dhirenderchoudhary wants to merge 2 commits into
Nano-Collective:mainfrom
Dhirenderchoudhary:fix/597-user-message-queue

Conversation

@Dhirenderchoudhary

Copy link
Copy Markdown
Contributor

Description

Adds an in-memory queued user-message flow while the agent is busy. The chat input stays interactive during LLM streaming/tool execution,
submitted messages are queued FIFO, queued items can be selected with ↑/↓, edited with Enter, and removed with Ctrl+Delete.

Fixes #597

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

Automated Tests

  • New features include passing tests in .spec.ts/tsx files
  • All existing tests pass (pnpm test:all completes successfully)
  • Tests cover both success and error scenarios

Notes:

  • npm run build passed
  • npm run test:format passed
  • npm run test:lint passed
  • npm run test:knip passed
  • Changed-area AVA passed: 69 tests
  • node_modules/.bin/tsc --noEmit passed
  • Full fail-fast AVA reached 406 passing tests, then stopped on existing timeout in source/auth/chatgpt-codex.spec.ts

Manual Testing

  • Tested with Ollama
  • Tested with OpenRouter
  • Tested with OpenAI-compatible API
  • Tested MCP integration (if applicable)

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)
  • Appropriate logging added using structured logging (see CONTRIBUTING.md)

@Dhirenderchoudhary Dhirenderchoudhary marked this pull request as ready for review June 28, 2026 14:43
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.

[Feature] Queue user messages while the agent is busy, with arrow-key navigation to edit them

1 participant