
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@0xsero/opencode-queue
Advanced tools
Message queue plugin for OpenCode - control message flow with hold/immediate modes
Control how messages behave while a session is running. Queue them up or send them immediately.
Be aware that when a message is sent while model is running it looks like it's sent, then when the model is really done it gets sent again.
I can't fix that yet, but the functionality does work the model won't see the 2nd message until after it's done
| Mode | Behavior |
|---|---|
immediate | Messages are sent right away (default) |
hold | Messages are queued until the current run finishes, then sent in order |
cd .opencode
bun add @0xsero/open-queue
Then add to your .opencode/opencode.jsonc:
{
"plugin": ["@0xsero/open-queue"]
}
Optionally, copy the slash command to your project:
cp node_modules/@0xsero/open-queue/command/queue.md .opencode/command/
The easiest way to control the queue is with the /queue command:
/queue status # Check current mode and queue size
/queue hold # Start queueing messages
/queue immediate # Send messages immediately (drains any queued)
Set the initial mode via environment variable:
# Start in hold mode
OPENCODE_MESSAGE_QUEUE_MODE=hold opencode
# Start in immediate mode (default)
OPENCODE_MESSAGE_QUEUE_MODE=immediate opencode
The plugin exposes a queue tool that the LLM can invoke directly:
When in hold mode:
chat.message hookignored to hide them from the current runsession.status or session.idle events), queued messages are drained in order via client.session.prompt()When in immediate mode:
queue| Action | Description |
|---|---|
status | Returns current mode, queue size, and session busy state |
hold | Sets mode to hold (queue messages) |
immediate | Sets mode to immediate and drains any queued messages |
session.status - Tracks busy/idle state, drains queue when idlesession.idle - Alternative idle detection, drains queuechat.message - Intercepts messages in hold mode, queues them, marks text as ignoredMIT
FAQs
Message queue plugin for OpenCode - control message flow with hold/immediate modes
We found that @0xsero/opencode-queue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.