Repository navigation
feat(buzz): add the Buzz Desktop plugin, installed from this repository with one link - #33
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Buzz Desktop installs plugins from a folder of a Git repository that holds a built
manifest.jsonand one self-containedplugin.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.jsonandplugin.js, copied unchanged from the plugin's tested source, plus the shortREADME.mdBuzz conventionally packages beside them. It registers an "OpenOrange" agent type. Each mention by the agent's owner that Buzz admits goes tooo 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 startingoo acp.Install link (
pathis the folder; withrefomitted, Buzz followsmain):Packaging:
scripts/package.py checklists the folder in the repository inventory. It also refuses a manifest with a key Buzz rejects (Buzz then refuses the whole folder), anotherid(installed plugins update by it), or computer access beyond startingoo acp. The folder isn't generated or built; Buzz installs it as it is.tests/test_package.pycovers 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) startstests/acp_stub.mjswherever the plugin startsoo. The stub speaks the JSON-RPC linesoo acpdoes:initialize,session/new,session/resume,session/promptwithagent_message_chunkupdates and then astopReason, andsession/cancel.plugin.jsis imported from a data URL, which fails on any import, like the blob URL Buzz loads it from. Covered:oo acp --agent clemas the person's own words, and the reply is posted;oo, a JSON-RPC error and a signed-outooeach reach the owner as a reply.CI: a
Buzz pluginjob runs it on Node 24.22.1 (actions/setup-nodev7.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
ooon the same computer withoo logindone), 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 buildhere gives the sameSHA256SUMSas the v0.6.35 release. Buzz installs and updates from this repository'smainby commit.Checks (local)
python scripts/package.py checkpassed.python -m unittest discover -s testsran 19 tests, OK.python scripts/package.py buildpassed, and itsSHA256SUMSis identical to the v0.6.35 release's.claude plugin validate ./plugins/openorange --strictandclaude plugin validate . --strict(Claude Code 2.1.291) both passed.python scripts/live_tools.pypassed (26 tools).node --test --test-timeout=30000 tests/test_buzz_plugin.mjsran 10 tests, all passed, in about 0.4 s.plugin.jsfailed the test meant to catch it. The changes were: nosession/resume, the agent's own messages kept, Stop doing nothing, no install hint, the@namenot stripped, the owner not notified,--agentnot passed, Buzz's prompt sent as is, and one session for every thread.checkand 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