opencode-orchestrator 1.2.66 → 1.2.68

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
@@ -9,7 +9,7 @@
9
9
  [![MIT License](https://img.shields.io/badge/license-MIT-red.svg)](LICENSE)
10
10
  [![npm](https://img.shields.io/npm/v/opencode-orchestrator.svg)](https://www.npmjs.com/package/opencode-orchestrator)
11
11
  <!-- VERSION:START -->
12
- **Version:** `1.2.66`
12
+ **Version:** `1.2.68`
13
13
  <!-- VERSION:END -->
14
14
  </div>
15
15
 
@@ -24,6 +24,15 @@ npm install -g opencode-orchestrator
24
24
 
25
25
  Install hooks are source-checkout safe, prefer `opencode.jsonc` when present, preserve sibling plugin entries, and skip automatic config mutation in CI environments.
26
26
 
27
+ To remove the plugin safely later, run:
28
+
29
+ ```bash
30
+ npm explore -g opencode-orchestrator -- npm run cleanup:plugin
31
+ npm uninstall -g opencode-orchestrator
32
+ ```
33
+
34
+ `npm uninstall -g` does not run dependency uninstall hooks in the npm 11 flow verified for this repo, so config cleanup is explicit.
35
+
27
36
  Inside an OpenCode environment:
28
37
  ```bash
29
38
  /task "Implement a new authentication module with JWT and audit logs"
@@ -139,9 +148,9 @@ Inside an OpenCode environment:
139
148
 
140
149
  ---
141
150
 
142
- ## 🧪 Test Harness System
151
+ ## 🧪 Test Utilities
143
152
 
144
- **Production-grade test infrastructure** inspired by modern testing practices:
153
+ Reusable test helpers keep filesystem, task, and process-heavy flows deterministic:
145
154
 
146
155
  ```
147
156
  tests/harness/
@@ -231,7 +240,7 @@ Maintains focus across thousands of conversation turns using a 4-tier memory str
231
240
 
232
241
  ---
233
242
 
234
- ## Performance Benchmarks
243
+ ## ⚙️ Performance Benchmarks
235
244
 
236
245
  | Metric | Improvement |
237
246
  |:-------|:------------|
@@ -284,6 +293,18 @@ The installation process is **production-safe** with multiple protection layers:
284
293
  7. ✅ **Timeout protection** — 30s timeout prevents hanging
285
294
  8. ✅ **Graceful degradation** — exits 0 on non-critical failures
286
295
 
296
+ ### Safe Removal
297
+ OpenCode config cleanup is provided as an explicit command because global package uninstall does not invoke dependency uninstall hooks in the npm flow validated for this package.
298
+
299
+ ```bash
300
+ npm explore -g opencode-orchestrator -- npm run cleanup:plugin
301
+ npm uninstall -g opencode-orchestrator
302
+ ```
303
+
304
+ Manual fallback:
305
+ - Open `~/.config/opencode/opencode.json` or `opencode.jsonc`
306
+ - Remove `"opencode-orchestrator"` from the `plugin` array
307
+
287
308
  ### Configuration Logs
288
309
  - Unix: `/tmp/opencode-orchestrator.log`
289
310
  - Windows: `%TEMP%\opencode-orchestrator.log`
@@ -292,8 +313,8 @@ The installation process is **production-safe** with multiple protection layers:
292
313
 
293
314
  ## 🧪 Testing & Stability
294
315
 
295
- ### Test Harness System
296
- A production-grade test harness (`tests/harness/`) provides:
316
+ ### Test Utilities
317
+ Reusable helpers under `tests/harness/` provide:
297
318
  - **Disposable tmpdir**: Automatic cleanup with `Symbol.asyncDispose` / `Symbol.dispose`
298
319
  - **Test builders**: Factory functions for `ParallelTask`, `BackgroundTask`, `Todo`
299
320
  - **Mock utilities**: Console, process, timers, file system, event emitter mocks