anomalyco / anomalyco/opencode
[FEATURE]:cancel prompt
@rekram1-node is already working on this.
Since Aug 26, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Feature Request
When the agent is currently processing a prompt, newly submitted prompts are queued and will be processed afterward.
It would be useful to have a way to cancel/remove a prompt that is currently queued before the agent starts processing it.
Example
- The agent is processing Prompt A.
- The user sends Prompt B, which gets queued.
- The user realizes Prompt B was incorrect or no longer needed.
- The user should be able to cancel Prompt B while it is still queued.
- Prompt A should continue running normally.
Expected behavior
Prompt A → RUNNING
Prompt B → QUEUED → CANCEL ❌
Prompt C → QUEUED
After cancelling:
Prompt A → RUNNING
Prompt C → QUEUED
Cancelling a queued prompt should not interrupt the currently running task.
Motivation
This would be useful when a user accidentally sends a prompt, changes their mind, or realizes that a queued instruction is no longer relevant before the agent starts processing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.