@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 +21 -10
- package/dist/index.js +335 -96
- package/package.json +1 -1
- package/src/index.ts +43 -8
- package/src/recovery.ts +69 -6
- package/src/result-parser.ts +40 -0
- package/src/system-prompt.ts +13 -1
- package/src/tools/merge-helper.ts +126 -0
- package/src/tools/team-cleanup.ts +44 -87
- package/src/tools/team-merge.ts +49 -0
- package/src/tools/team-results.ts +7 -2
- package/src/tools/team-shutdown.ts +57 -17
- package/src/tools/team-spawn.ts +11 -1
- package/src/watchdog.ts +19 -2
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
|
|
4
4
|
[](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
|
|
5
|
-
[]()
|
|
6
6
|
[]()
|
|
7
|
-
[]()
|
|
8
8
|
[](./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
|
|
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
|
-
|
|
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
|
|
161
|
-
| `
|
|
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 #
|
|
312
|
+
bun test # 452 tests
|
|
302
313
|
bun run build
|
|
303
314
|
```
|
|
304
315
|
|