
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@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
The npm package @0xsero/opencode-queue receives a total of 5 weekly downloads. As such, @0xsero/opencode-queue popularity was classified as not popular.
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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.