Repository navigation
feat: replace Swarm plugin with Replicator Go binary (Spec 024) - #83
Merged
Merged
Conversation
- Replace npm/bun Swarm plugin with Replicator via Homebrew in uf setup (step count 15 → 12) - Remove installSwarmPlugin, ensureBun, runSwarmSetup, initializeHive, and swarmForkSource from setup - Add installReplicator and runReplicatorSetup (Homebrew pattern) - Replace opencode.json plugin array with mcp.replicator entry in uf init, with legacy opencode-swarm-plugin migration - Replace checkSwarmPlugin with checkReplicator in uf doctor (binary, doctor delegation, .hive/, MCP config checks) - Remove all bun references — OpenSpec installs via npm only - Update install hints from npm/bun to Homebrew - Add 22 new tests, remove 10 old, update ~40 existing - Add spec artifacts and NoSwarmPluginReferences regression test
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.
Summary
Replaces the Node.js Swarm plugin (
opencode-swarm-plugin) with Replicator, a Go binary that exposes the same 52 MCP tool names with zero runtime dependencies.Closes #82
Changes
uf setup: Installs Replicator via Homebrew (was npm/bun). RemovedinstallSwarmPlugin,ensureBun,runSwarmSetup,initializeHive,swarmForkSource. AddedinstallReplicator+runReplicatorSetup. Step count 15 → 12. OpenSpec CLI npm-only (no bun).uf init: Addsmcp.replicatorserver entry (wasopencode-swarm-pluginin plugin array). Detects viaLookPath("replicator"). Delegates toreplicator initfor per-repo setup. Migrates legacy plugin entries.uf doctor: "Replicator" check group replaces "Swarm Plugin" — binary,replicator doctordelegation,.hive/,mcp.replicatorconfig. Homebrew install hints.opencode.json: Removedpluginarray, addedmcp.replicatorentry.TestScaffoldOutput_NoSwarmPluginReferencesregression guard.What does NOT change
.hive/directory structure and schema unchanged