opencode-orchestrator 0.5.5 → 0.5.6
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 -23
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -158,6 +158,15 @@ npm run dev:status
|
|
|
158
158
|
# Build the plugin
|
|
159
159
|
npm run build
|
|
160
160
|
|
|
161
|
+
# Run all tests (87 tests)
|
|
162
|
+
npm run test:all
|
|
163
|
+
|
|
164
|
+
# Run unit tests only
|
|
165
|
+
npm run test:unit
|
|
166
|
+
|
|
167
|
+
# Run E2E tests only
|
|
168
|
+
npm run test:e2e
|
|
169
|
+
|
|
161
170
|
# Link for local testing (auto-rebuilds)
|
|
162
171
|
npm run dev:link
|
|
163
172
|
|
|
@@ -166,11 +175,17 @@ npm run dev:unlink
|
|
|
166
175
|
|
|
167
176
|
# Check if plugin is linked globally
|
|
168
177
|
npm run dev:status
|
|
169
|
-
|
|
170
|
-
# Test install/uninstall scripts locally
|
|
171
|
-
npm run dev:test
|
|
172
178
|
```
|
|
173
179
|
|
|
180
|
+
### Test Suite
|
|
181
|
+
|
|
182
|
+
| Command | Description | Tests |
|
|
183
|
+
|---------|-------------|-------|
|
|
184
|
+
| `npm run test:all` | Run all tests with verbose output | 87 |
|
|
185
|
+
| `npm run test:unit` | Unit tests (concurrency, task-store, etc.) | 40 |
|
|
186
|
+
| `npm run test:e2e` | E2E tests (background, session, rust, system) | 47 |
|
|
187
|
+
| `npm run test:coverage` | Generate coverage report | - |
|
|
188
|
+
|
|
174
189
|
### Development Workflow
|
|
175
190
|
|
|
176
191
|
| Step | Command | Description |
|
|
@@ -182,32 +197,16 @@ npm run dev:test
|
|
|
182
197
|
| 5️⃣ Repeat | 2-4 | Iterate on changes |
|
|
183
198
|
| ❌ Cleanup | `npm run dev:unlink` | Unlink when done |
|
|
184
199
|
|
|
185
|
-
### Common Scenarios
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
# 🔄 Changed code and want to test
|
|
189
|
-
npm run dev:link
|
|
190
|
-
|
|
191
|
-
# 🔍 Check if linked properly
|
|
192
|
-
npm run dev:status
|
|
193
|
-
|
|
194
|
-
# 🧹 Cleanup before committing
|
|
195
|
-
npm run dev:unlink
|
|
196
|
-
|
|
197
|
-
# 🧪 Test install/uninstall scripts
|
|
198
|
-
npm run dev:test
|
|
199
|
-
```
|
|
200
|
-
|
|
201
200
|
### Release Scripts
|
|
202
201
|
|
|
203
202
|
```bash
|
|
204
|
-
# Release patch version (0.4
|
|
203
|
+
# Release patch version (0.5.4 → 0.5.5)
|
|
205
204
|
npm run release:patch
|
|
206
205
|
|
|
207
|
-
# Release minor version (0.
|
|
206
|
+
# Release minor version (0.5.5 → 0.6.0)
|
|
208
207
|
npm run release:minor
|
|
209
208
|
|
|
210
|
-
# Release major version (0.
|
|
209
|
+
# Release major version (0.5.5 → 1.0.0)
|
|
211
210
|
npm run release:major
|
|
212
211
|
```
|
|
213
212
|
|
|
@@ -233,7 +232,6 @@ npm uninstall -g opencode-orchestrator
|
|
|
233
232
|
- [Architecture & Design](docs/ARCHITECTURE.md) — Detailed system design and agent protocols
|
|
234
233
|
- [Plugin Troubleshooting](docs/PLUGIN_TROUBLESHOOTING.md) — Setup and common issues
|
|
235
234
|
- [Changelog](CHANGELOG.md) — Version history and updates
|
|
236
|
-
- [Changelogs](changelogs/) — Detailed implementation notes per release
|
|
237
235
|
|
|
238
236
|
---
|
|
239
237
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.6",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
"dev:unlink": "npm unlink -g opencode-orchestrator || true && npm run dev:clean && echo 'SUCCESS: Unlinked'",
|
|
57
57
|
"dev:status": "echo '=== Global Link ===' && ls -la $(npm root -g)/opencode-orchestrator 2>/dev/null || echo 'Not linked'",
|
|
58
58
|
"dev:test": "node dist/scripts/postinstall.js && echo '---' && node dist/scripts/preuninstall.js",
|
|
59
|
-
"reset": "npm run dev:unlink || true && npm uninstall -g opencode-orchestrator || true && brew uninstall opencode || true && rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode && echo '=== Clean done ===' && brew install opencode && npm run dev:link && echo '=== Reset complete ==='"
|
|
59
|
+
"reset": "npm run dev:unlink || true && npm uninstall -g opencode-orchestrator || true && brew uninstall opencode || true && rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode && echo '=== Clean done ===' && brew install opencode && npm run dev:link && echo '=== Reset complete ==='",
|
|
60
|
+
"reset:global": "npm run dev:unlink || true && npm uninstall -g opencode-orchestrator || true && brew uninstall opencode || true && rm -rf ~/.config/opencode ~/.opencode ~/.local/share/opencode && echo '=== Clean done ===' && brew install opencode && npm install -g opencode-orchestrator && echo '=== Reset Global complete ==='"
|
|
60
61
|
},
|
|
61
62
|
"dependencies": {
|
|
62
63
|
"@opencode-ai/plugin": "^1.1.1",
|