@hueyexe/opencode-ensemble 0.14.1 → 0.14.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.
- package/README.md +13 -6
- package/dist/index.js +2310 -3100
- package/package.json +8 -4
- package/src/dashboard.ts +92 -57
- package/src/db.ts +86 -2
- package/src/hooks.ts +72 -5
- package/src/index.ts +21 -9
- package/src/messaging.ts +1 -1
- package/src/notify.ts +1 -1
- package/src/process.ts +55 -0
- package/src/recovery.ts +30 -9
- package/src/schema.ts +1 -1
- package/src/system-prompt.ts +1 -1
- package/src/tools/merge-helper.ts +16 -24
- package/src/tools/shared.ts +7 -10
- package/src/tools/team-cleanup.ts +9 -14
- package/src/types.ts +51 -5
- package/src/watchdog.ts +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
|
|
8
8
|
[](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
|
|
9
|
-
[]()
|
|
10
10
|
[]()
|
|
11
11
|
[]()
|
|
12
12
|
[](./LICENSE)
|
|
@@ -19,7 +19,7 @@ Plugin built on the public OpenCode SDK. No internal dependencies.
|
|
|
19
19
|
|
|
20
20
|
```json
|
|
21
21
|
{
|
|
22
|
-
"plugin": ["@hueyexe/opencode-ensemble@0.14.
|
|
22
|
+
"plugin": ["@hueyexe/opencode-ensemble@0.14.2"]
|
|
23
23
|
}
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -167,6 +167,13 @@ Set to `0` to disable. The dashboard starts automatically when OpenCode loads th
|
|
|
167
167
|
|
|
168
168
|
Two steps: add the plugin, then allowlist worktree paths.
|
|
169
169
|
|
|
170
|
+
### Runtime requirements
|
|
171
|
+
|
|
172
|
+
The plugin uses SQLite via the host's runtime adapter:
|
|
173
|
+
|
|
174
|
+
- **Bun**: any version with `bun:sqlite` (Bun ≥ 1.0).
|
|
175
|
+
- **Node / Electron** (e.g. opencode Desktop): **Node ≥ 24** for stable `node:sqlite`. Older Node (20.x) lacks the module entirely; Node 22.5–23 has it behind `--experimental-sqlite`. If you load the plugin under an older Node and see `Cannot find module 'node:sqlite'` at startup, your runtime is too old.
|
|
176
|
+
|
|
170
177
|
### 1. Add the plugin
|
|
171
178
|
|
|
172
179
|
Add to your OpenCode config with a pinned version. Project-level or global.
|
|
@@ -175,7 +182,7 @@ Add to your OpenCode config with a pinned version. Project-level or global.
|
|
|
175
182
|
|
|
176
183
|
```json
|
|
177
184
|
{
|
|
178
|
-
"plugin": ["@hueyexe/opencode-ensemble@0.14.
|
|
185
|
+
"plugin": ["@hueyexe/opencode-ensemble@0.14.2"]
|
|
179
186
|
}
|
|
180
187
|
```
|
|
181
188
|
|
|
@@ -183,7 +190,7 @@ Add to your OpenCode config with a pinned version. Project-level or global.
|
|
|
183
190
|
|
|
184
191
|
```json
|
|
185
192
|
{
|
|
186
|
-
"plugin": ["@hueyexe/opencode-ensemble@0.14.
|
|
193
|
+
"plugin": ["@hueyexe/opencode-ensemble@0.14.2"]
|
|
187
194
|
}
|
|
188
195
|
```
|
|
189
196
|
|
|
@@ -280,7 +287,7 @@ Teammate messages arrive in the lead's session as `[Team message from alice]: ..
|
|
|
280
287
|
|
|
281
288
|
## Architecture
|
|
282
289
|
|
|
283
|
-
- **SQLite** (
|
|
290
|
+
- **SQLite** (WAL mode) for teams, members, tasks, and messages. Uses `bun:sqlite` in Bun and `node:sqlite` in Node/Electron through the internal database adapter.
|
|
284
291
|
- **promptAsync** for message delivery: injects a message and starts the prompt loop in one call
|
|
285
292
|
- **Git worktree isolation**: each teammate gets their own worktree by default, so multiple agents can edit files without conflicts. Opt out with `worktree: false` for read-only agents.
|
|
286
293
|
- **System prompt injection**: the lead's system prompt includes team state (member statuses, task counts) on every LLM call. Teammates get a short role reminder.
|
|
@@ -447,7 +454,7 @@ Same coordination model (shared tasks, peer messaging, lead coordination) with s
|
|
|
447
454
|
```bash
|
|
448
455
|
bun install
|
|
449
456
|
bun run typecheck
|
|
450
|
-
bun test #
|
|
457
|
+
bun test # 568 tests
|
|
451
458
|
bun run build
|
|
452
459
|
```
|
|
453
460
|
|