@sjawhar/opencode-legion-envoy 0.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/index.js +12508 -0
- package/package.json +21 -0
- package/scripts/sync-host.sh +8 -0
- package/src/index.ts +177 -0
- package/tsconfig.json +11 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @sjawhar/opencode-legion-envoy
|
|
2
|
+
|
|
3
|
+
OpenCode plugin for Legion's Envoy subsystem.
|
|
4
|
+
|
|
5
|
+
This package exposes:
|
|
6
|
+
|
|
7
|
+
- `envoy_subscribe`
|
|
8
|
+
- `envoy_unsubscribe`
|
|
9
|
+
- `envoy_list`
|
|
10
|
+
- `envoy_send`
|
|
11
|
+
|
|
12
|
+
It also maintains the live session registry metadata needed for Envoy to discover OpenCode sessions and their API ports.
|
|
13
|
+
|
|
14
|
+
## Sync to another machine
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
cd ~/legion/default/packages/envoy-plugin
|
|
18
|
+
./scripts/sync-host.sh sami@sami
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
This syncs the built plugin dist and the dotfiles shim to the target host.
|