@sjawhar/opencode-legion-envoy
v0.1.10
Published
OpenCode plugin for Legion's Envoy subsystem.
Downloads
1,476
Readme
@sjawhar/opencode-legion-envoy
OpenCode plugin for Legion's Envoy subsystem.
This package exposes:
envoy_subscribeenvoy_unsubscribeenvoy_listenvoy_send
It also maintains the live session registry metadata needed for Envoy to discover OpenCode sessions and their API ports.
Slack topic examples must use the real Slack team_id, for example:
notifications.slack.T09FRELLTS8.C0A0DHVU8HE.mention
Do not use workspace slugs like trajectorylabs in the topic path.
Sync to another machine
# From the repo root:
./packages/envoy-plugin/scripts/sync-host.sh sami@sami
# Or via the combined envoy sync:
./scripts/sync-envoy-host.sh sami@samiThe sync script downloads the latest envoy-plugin release tarball from GitHub,
extracts it to ~/legion/default/packages/envoy-plugin/ on the remote host, and
updates the remote's opencode.json to use a file:// reference instead of the
npm package. Requires gh CLI on the machine running the script.
