@sjawhar/opencode-legion-envoy 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/AGENTS.md +1 -1
  2. package/package.json +5 -4
package/AGENTS.md CHANGED
@@ -14,7 +14,7 @@ It is the user-facing bridge between OpenCode sessions and Envoy transport.
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
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` |
17
+ | TUI: `/whoami` + sidebar | `src/tui.tsx` | slash command + session-id/port sidebar; loaded via the `./tui` export. Ships as `.tsx` source (no build/`dist`) — Bun transpiles it natively at load, so `@opentui/core` + `@opentui/solid` MUST be `peerDependencies` (not `devDependencies`) so the `@jsxImportSource @opentui/solid` runtime resolves in the consumer's install tree |
18
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "src/server.ts",
6
6
  "exports": {
@@ -24,11 +24,12 @@
24
24
  "dependencies": {
25
25
  "@opencode-ai/plugin": "~1.14.46"
26
26
  },
27
+ "peerDependencies": {
28
+ "@opentui/core": ">=0.1.92",
29
+ "@opentui/solid": ">=0.1.92"
30
+ },
27
31
  "devDependencies": {
28
32
  "@biomejs/biome": "^2.3.14",
29
- "@opentui/core": "^0.2.6",
30
- "@opentui/keymap": "^0.2.6",
31
- "@opentui/solid": "^0.2.6",
32
33
  "@types/bun": "latest",
33
34
  "solid-js": "^1.9.0",
34
35
  "typescript": "^5.3.0"