@sjawhar/opencode-legion-envoy 0.2.0 → 0.2.1
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/AGENTS.md +3 -3
- package/package.json +2 -4
package/AGENTS.md
CHANGED
|
@@ -13,9 +13,9 @@ It is the user-facing bridge between OpenCode sessions and Envoy transport.
|
|
|
13
13
|
| Task | Location | Notes |
|
|
14
14
|
| ------------------- | ---------------------- | ------------------------------------------------------------------ |
|
|
15
15
|
| Tool definitions | `src/server.ts` | `envoy_subscribe`, `envoy_unsubscribe`, `envoy_list`, `envoy_send`, `envoy_publish`, `envoy_role_set`, `envoy_whoami`, `envoy_sessions` |
|
|
16
|
-
| Packaging metadata | `package.json` | npm identity,
|
|
17
|
-
|
|
|
18
|
-
| Host rollout helper | `scripts/sync-host.sh` | sync
|
|
16
|
+
| Packaging metadata | `package.json` | npm identity, `exports` map, scripts |
|
|
17
|
+
| TUI: `/whoami` + sidebar | `src/tui.tsx` | slash command + session-id/port sidebar; loaded via the `./tui` export. OpenCode applies the Solid transform at load — ships as source, no build/`dist` |
|
|
18
|
+
| Host rollout helper | `scripts/sync-host.sh` | sync packed release tarball + shim to remote host |
|
|
19
19
|
| Dispatch MCP + auto-subscribe | `src/dispatch-mcp.ts`, `src/dispatch-subscribe.ts` | injects the dispatch MCP server (shim); `tool.execute.after` auto-subscribes the caller to the new thread's topic so answers route back (Dispatch AC#4) |
|
|
20
20
|
|
|
21
21
|
## Critical conventions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjawhar/opencode-legion-envoy",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/server.ts",
|
|
6
6
|
"exports": {
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"import": "./src/server.ts"
|
|
9
9
|
},
|
|
10
10
|
"./tui": {
|
|
11
|
-
"import": "./
|
|
12
|
-
"types": "./dist/tui.d.ts"
|
|
11
|
+
"import": "./src/tui.tsx"
|
|
13
12
|
}
|
|
14
13
|
},
|
|
15
14
|
"repository": {
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
},
|
|
19
18
|
"types": "src/server.ts",
|
|
20
19
|
"scripts": {
|
|
21
|
-
"build": "bun -e 'import { createSolidTransformPlugin } from \"@opentui/solid/bun-plugin\"; const result = await Bun.build({ entrypoints: [\"src/tui.tsx\"], outdir: \"dist\", target: \"bun\", format: \"esm\", external: [\"@opencode-ai/*\", \"solid-js\", \"solid-js/*\", \"@opentui/*\"], plugins: [createSolidTransformPlugin()] }); if (!result.success) { console.error(result.logs); process.exit(1); }'",
|
|
22
20
|
"typecheck": "bunx tsc --noEmit",
|
|
23
21
|
"test": "bun test",
|
|
24
22
|
"lint": "bunx biome check src/"
|