Skip to content

Move plugins to single binary runtime#733

Open
backnotprop wants to merge 2 commits into
mainfrom
feat/single-server-runtime
Open

Move plugins to single binary runtime#733
backnotprop wants to merge 2 commits into
mainfrom
feat/single-server-runtime

Conversation

@backnotprop
Copy link
Copy Markdown
Owner

Summary

  • Add a versioned plugin protocol and binary discovery/install helpers for OpenCode and Pi.
  • Route OpenCode and Pi plan/review/annotate/archive flows through the installed plannotator binary.
  • Remove Pi mirrored Node server files and plugin-owned browser HTML payloads.
  • Document the daemon-ready boundary and future phases for dumb clients, daemon transport, and multi-session runtime.

Verification

  • bun run typecheck
  • bun test
  • bun build apps/hook/server/index.ts --outfile /tmp/plannotator-cli-test.js --target bun

Notes

The untracked goals/ directory was intentionally left out of the commit.

OpenCode and Pi now discover and call the plannotator binary instead of
bundling their own server implementations. Adds plugin protocol, binary
discovery, capability checks, and auto-install bridge.
@backnotprop backnotprop force-pushed the feat/single-server-runtime branch from 976ae3c to 36ff9f5 Compare May 18, 2026 17:31
bun build --compile requires explicit package exports for workspace
imports. plugin-protocol, plugin-binary, and plugin-client were added
as files by 733 but never registered in package.json exports.
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