@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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/@hueyexe/opencode-ensemble.svg)](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
8
8
  [![npm downloads](https://img.shields.io/npm/dm/@hueyexe/opencode-ensemble.svg)](https://www.npmjs.com/package/@hueyexe/opencode-ensemble)
9
- [![tests](https://img.shields.io/badge/tests-561%20passing-brightgreen.svg)]()
9
+ [![tests](https://img.shields.io/badge/tests-568%20passing-brightgreen.svg)]()
10
10
  [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)]()
11
11
  [![OpenCode SDK](https://img.shields.io/badge/deps-OpenCode%20SDK%20only-blue.svg)]()
12
12
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./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.1"]
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.1"]
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.1"]
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** (`bun:sqlite`, WAL mode) for teams, members, tasks, and messages
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 # 561 tests
457
+ bun test # 568 tests
451
458
  bun run build
452
459
  ```
453
460