Skip to content

feat(buzz): add the Buzz Desktop plugin, installed from this repository with one link - #33

Merged
ztsalexey merged 3 commits into
mainfrom
feat/buzz-plugin
Nov 21, 2026
Merged

ztsalexey merged 3 commits into
mainfrom
feat/buzz-plugin

Conversation

@ztsalexey

Copy link
Copy Markdown
Contributor

Buzz Desktop installs plugins from a folder of a Git repository that holds a built manifest.json and one self-contained plugin.js. This adds the OpenOrange plugin for Buzz Desktop here, so a person installs it with one link instead of browsing to a folder on their computer.

What changes

The plugin, packages/buzz/openorange-buzz: manifest.json and plugin.js, copied unchanged from the plugin's tested source, plus the short README.md Buzz conventionally packages beside them. It registers an "OpenOrange" agent type. Each mention by the agent's owner that Buzz admits goes to oo acp --agent <agent> (Clem by default) on the same computer, and the agent's reply is posted in the thread. Each thread is one continuing conversation, and it resumes after a restart. Its only computer access is starting oo acp.

Install link (path is the folder; with ref omitted, Buzz follows main):

buzz://plugin-install?repository=https%3A%2F%2Fgithub.com%2F2bb-dev%2Fopenorange-integrations.git&path=packages%2Fbuzz%2Fopenorange-buzz

Packaging: scripts/package.py check lists the folder in the repository inventory. It also refuses a manifest with a key Buzz rejects (Buzz then refuses the whole folder), another id (installed plugins update by it), or computer access beyond starting oo acp. The folder isn't generated or built; Buzz installs it as it is. tests/test_package.py covers each refusal.

Test, tests/test_buzz_plugin.mjs (node --test, no dependencies, no Sunport, no network): a stand-in for Buzz's plugin context (agents.register, agents.harness, host.spawn) starts tests/acp_stub.mjs wherever the plugin starts oo. The stub speaks the JSON-RPC lines oo acp does: initialize, session/new, session/resume, session/prompt with agent_message_chunk updates and then a stopReason, and session/cancel. plugin.js is imported from a data URL, which fails on any import, like the blob URL Buzz loads it from. Covered:

  • the owner's mention reaches oo acp --agent clem as the person's own words, and the reply is posted;
  • a follow-up continues the thread's conversation and brings what others wrote there, without the agent's own messages or Buzz's prompt;
  • another thread is a separate conversation;
  • someone else's mention starts nothing;
  • after a restart, the saved session resumes, and one the Sunport no longer has starts over;
  • Stop cancels the running turn;
  • a missing oo, a JSON-RPC error and a signed-out oo each reach the owner as a reply.

CI: a Buzz plugin job runs it on Node 24.22.1 (actions/setup-node v7.1.0, pinned by SHA). It has a per-test timeout, so a turn that never ends fails its own test instead of the job.

README: a Buzz Desktop section covers what the plugin does, what it needs (Buzz Desktop, plus oo on the same computer with oo login done), the link, the same install through Settings › Plugins › Manage plugins › Add, and Agents › New agent › Custom › Harness › OpenOrange. "All three packages" becomes "The Claude, OpenAI and Grok Bot packages".

Version: unchanged (0.6.35). The Buzz manifest can't carry a version, because Buzz refuses any key it doesn't know, and nothing in the versioned Claude, OpenAI and Grok Bot packages changes: package.py build here gives the same SHA256SUMS as the v0.6.35 release. Buzz installs and updates from this repository's main by commit.

Checks (local)

  • Package (Python 3.14.8; CI pins 3.14.7): python scripts/package.py check passed. python -m unittest discover -s tests ran 19 tests, OK. python scripts/package.py build passed, and its SHA256SUMS is identical to the v0.6.35 release's.
  • Claude validation: claude plugin validate ./plugins/openorange --strict and claude plugin validate . --strict (Claude Code 2.1.291) both passed.
  • Live tools: python scripts/live_tools.py passed (26 tools).
  • Buzz plugin (Node 24.22.1): node --test --test-timeout=30000 tests/test_buzz_plugin.mjs ran 10 tests, all passed, in about 0.4 s.
  • The test catches regressions: each of nine changes to a scratch copy of plugin.js failed the test meant to catch it. The changes were: no session/resume, the agent's own messages kept, Stop doing nothing, no install hint, the @name not stripped, the owner not notified, --agent not passed, Buzz's prompt sent as is, and one session for every thread.
  • Each commit on its own: check and the unit tests pass, plus the Node test from the second commit on.

Risk

There are no reconnects: nothing here touches a Sunport, a connection or an installed package, and the three released packages are byte-identical. The plugin's behaviour is unchanged from its tested source. Opening the install link only shows Buzz's review. Nothing installs until the person chooses Install plugin, after seeing that the plugin starts oo acp.

https://claude.ai/code/session_01DvkuVrmRRHS8Tvc4JRv2pq

Buzz Desktop installs plugins from a folder of a Git repository: a
manifest.json and one self-contained plugin.js, never built or run
through install scripts. packages/buzz/openorange-buzz holds the
OpenOrange plugin, copied unchanged from its tested source, with the
short README Buzz conventionally packages beside them.

The plugin registers an "OpenOrange" agent type. Each mention by the
agent's owner that Buzz admits goes to `oo acp --agent <agent>` (Clem
by default) on the same computer, and the agent's reply is posted in
the thread; each thread is one continuing conversation, resumed after
a restart.

scripts/package.py check now lists the folder in the repository
inventory and refuses a manifest with a key Buzz rejects (Buzz then
refuses the whole folder), another id (installed plugins update by
it) or computer access beyond starting `oo acp`. The folder is not
generated or built: Buzz installs it as it is.

Claude-Session: https://claude.ai/code/session_01DvkuVrmRRHS8Tvc4JRv2pq
…or network

tests/test_buzz_plugin.mjs runs the plugin outside Buzz with Node's own
test runner and no dependencies: a stand-in for the plugin context Buzz
gives it (agents.register, agents.harness, host.spawn, as Buzz's plugin
docs give them), which starts tests/acp_stub.mjs wherever the plugin
starts `oo`. The stub speaks the JSON-RPC lines `oo acp` does
(initialize, session/new, session/resume, session/prompt with
agent_message_chunk updates then a stopReason, session/cancel) and keeps
its sessions in a file, so a stub started after a restart resumes them.
plugin.js is imported from a data URL, which, like the blob URL Buzz
loads it from, fails on any import, so it stays one self-contained file.

Covered: the owner's mention reaches `oo acp --agent clem` as the
person's own words and the reply is posted; a follow-up continues the
thread's conversation and brings what others wrote there, without the
agent's own messages or Buzz's prompt; another thread is a separate
conversation; someone else's mention starts nothing; after a restart
the saved session resumes, and one the Sunport no longer has starts
over; Stop cancels the running turn; a missing `oo`, a JSON-RPC error
and a signed-out `oo` each reach the owner as a reply.

CI runs it in a job of its own on Node 24.22.1, with a per-test timeout
so a turn that never ends fails its test instead of the job.

Claude-Session: https://claude.ai/code/session_01DvkuVrmRRHS8Tvc4JRv2pq
A Buzz Desktop section: what the plugin does, what it needs (Buzz
Desktop, and `oo` on the same computer with `oo login` done), the
buzz://plugin-install link for this repository and folder, the same
install through Settings › Plugins › Manage plugins › Add, then
Agents › New agent › Custom › Harness › OpenOrange. It answers only the
owner's own mentions, while Buzz Desktop is open.

"All three packages" becomes "The Claude, OpenAI and Grok Bot
packages": the Buzz plugin doesn't use the MCP guide.

Claude-Session: https://claude.ai/code/session_01DvkuVrmRRHS8Tvc4JRv2pq
@ztsalexey
ztsalexey merged commit 0e81cad into main Nov 21, 2026
6 checks passed
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.

1 participant