@hueyexe/opencode-ensemble 0.8.0 → 0.9.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/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@hueyexe/opencode-ensemble.svg)](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@hueyexe/opencode-ensemble.svg)](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
5
- [![tests](https://img.shields.io/badge/tests-423%20passing-brightgreen.svg)]()
5
+ [![tests](https://img.shields.io/badge/tests-452%20passing-brightgreen.svg)]()
6
6
  [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)]()
7
- [![zero deps](https://img.shields.io/badge/dependencies-0-brightgreen.svg)]()
7
+ [![OpenCode SDK](https://img.shields.io/badge/deps-OpenCode%20SDK%20only-blue.svg)]()
8
8
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
9
9
 
10
10
  Run parallel AI agents in OpenCode. Each agent gets its own session, context window, and task. They coordinate through messaging and a shared task board.
@@ -95,13 +95,13 @@ Two steps: add the plugin, then allowlist worktree paths.
95
95
 
96
96
  ### 1. Add the plugin
97
97
 
98
- Add to your OpenCode config. Project-level or global.
98
+ Add to your OpenCode config with a pinned version. Project-level or global.
99
99
 
100
100
  **Project-level** (`opencode.json` in your project root):
101
101
 
102
102
  ```json
103
103
  {
104
- "plugin": ["@hueyexe/opencode-ensemble"]
104
+ "plugin": ["@hueyexe/opencode-ensemble@0.9.1"]
105
105
  }
106
106
  ```
107
107
 
@@ -109,11 +109,21 @@ Add to your OpenCode config. Project-level or global.
109
109
 
110
110
  ```json
111
111
  {
112
- "plugin": ["@hueyexe/opencode-ensemble"]
112
+ "plugin": ["@hueyexe/opencode-ensemble@0.9.1"]
113
113
  }
114
114
  ```
115
115
 
116
- OpenCode auto-installs npm plugins at startup (cached in `~/.cache/opencode/node_modules/`). No `npm install` needed.
116
+ OpenCode auto-installs npm plugins at startup. To update, bump the version number in your config and restart OpenCode.
117
+
118
+ **Why pin versions?** OpenCode has a [known bug](https://github.com/anomalyco/opencode/issues/6774) where unpinned plugins (e.g., `"@hueyexe/opencode-ensemble"`) get cached on first install and never auto-update, even after restarting. Pinning to a specific version avoids this — when you change the version string, OpenCode sees a new package spec and installs it fresh.
119
+
120
+ If you're stuck on an old version, clear the cache manually:
121
+
122
+ ```bash
123
+ rm -rf ~/.cache/opencode/packages/@hueyexe
124
+ ```
125
+
126
+ Then restart OpenCode.
117
127
 
118
128
  ### 2. Allow worktree directory access
119
129
 
@@ -149,7 +159,7 @@ export { default } from "/path/to/opencode-ensemble/src/index.ts"
149
159
 
150
160
  ## Tools
151
161
 
152
- 13 tools. The lead has all of them. Teammates get 6 (messaging + tasks).
162
+ 14 tools. The lead has all of them. Teammates get 6 (messaging + tasks).
153
163
 
154
164
  **Team lifecycle** (lead only)
155
165
 
@@ -157,8 +167,9 @@ export { default } from "/path/to/opencode-ensemble/src/index.ts"
157
167
  |------|-------------|
158
168
  | `team_create` | Create a team. Caller becomes the lead. |
159
169
  | `team_spawn` | Start a new teammate with a task. Supports `plan_approval` mode. |
160
- | `team_shutdown` | Ask a teammate to stop. Supports `force` flag for immediate abort. |
161
- | `team_cleanup` | Remove the team when done. |
170
+ | `team_shutdown` | Ask a teammate to stop. Preserves their branch before aborting. Supports `force` flag. |
171
+ | `team_merge` | Merge a shutdown teammate's branch into working directory (unstaged). |
172
+ | `team_cleanup` | Remove the team when done. Safety-net merges any forgotten branches. |
162
173
  | `team_status` | See all members, their status, and a task summary. |
163
174
  | `team_view` | Switch the TUI to a teammate's session. |
164
175
 
@@ -298,7 +309,7 @@ Same coordination model (shared tasks, peer messaging, lead coordination) with s
298
309
  ```bash
299
310
  bun install
300
311
  bun run typecheck
301
- bun test # 423 tests
312
+ bun test # 452 tests
302
313
  bun run build
303
314
  ```
304
315