opencode-swarm-plugin 0.36.1 → 0.37.0
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/.hive/issues.jsonl +12 -0
- package/.turbo/turbo-test.log +321 -321
- package/CHANGELOG.md +42 -0
- package/bin/swarm.test.ts +106 -0
- package/bin/swarm.ts +179 -0
- package/package.json +1 -1
- package/src/hive.integration.test.ts +148 -0
- package/src/hive.ts +89 -0
- package/src/swarm-decompose.test.ts +195 -0
- package/src/swarm-decompose.ts +52 -1
- package/src/swarm-review.integration.test.ts +24 -29
package/.hive/issues.jsonl
CHANGED
|
@@ -10,3 +10,15 @@
|
|
|
10
10
|
{"id":"opencode-swarm-plugin--ys7z8-mjk9797bp4t","title":"DurableStreamAdapter core implementation","status":"closed","priority":1,"issue_type":"task","created_at":"2025-12-24T16:54:13.079Z","updated_at":"2025-12-24T20:49:50.930Z","closed_at":"2025-12-24T20:49:50.930Z","parent_id":"opencode-swarm-plugin--ys7z8-mjk979715dp","dependencies":[],"labels":[],"comments":[]}
|
|
11
11
|
{"id":"opencode-swarm-plugin--ys7z8-mjk9797g8pe","title":"Durable Streams HTTP server with SSE","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-24T16:54:13.084Z","updated_at":"2025-12-24T20:49:52.235Z","closed_at":"2025-12-24T20:49:52.235Z","parent_id":"opencode-swarm-plugin--ys7z8-mjk979715dp","dependencies":[],"labels":[],"comments":[]}
|
|
12
12
|
{"id":"opencode-swarm-plugin--ys7z8-mjk9797i98d","title":"Export Durable Streams from swarm-mail index","status":"closed","priority":2,"issue_type":"task","created_at":"2025-12-24T16:54:13.086Z","updated_at":"2025-12-24T20:52:09.153Z","closed_at":"2025-12-24T20:52:09.153Z","parent_id":"opencode-swarm-plugin--ys7z8-mjk979715dp","dependencies":[],"labels":[],"comments":[]}
|
|
13
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn1kfmt00","title":"Hive TUI - Terminal Visualizer for Swarm Activity","description":"Phase 2 of Hive Visualizer: Terminal-based dashboard using OpenTUI showing real-time swarm activity.\n\n## Architecture\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ HIVE TUI │\n├─────────────────────────────────────────────────────────────┤\n│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────┐ │\n│ │ AGENTS │ │ EVENTS │ │ CELLS │ │\n│ │ PANE │ │ PANE │ │ PANE │ │\n│ │ │ │ │ │ │ │\n│ │ SwiftStone │ │ agent_reg │ │ ● Epic-123 │ │\n│ │ BlueLake ● │ │ task_start │ │ ├─ Task-1 ✓ │ │\n│ │ IronPeak │ │ msg_sent │ │ ├─ Task-2 ◐ │ │\n│ │ │ │ ... │ │ └─ Task-3 ○ │ │\n│ └─────────────┘ └─────────────┘ └─────────────────┘ │\n└─────────────────────────────────────────────────────────────┘\n ▲\n │ SSE\n ┌─────────┴─────────┐\n │ DurableStreamServer│\n │ (from Phase 1) │\n └───────────────────┘\n```\n\n## Tech Stack\n- OpenTUI (@opentui/core) - TUI framework from SST\n- Durable Streams SSE client - consumes Phase 1 server\n- New package: packages/hive-tui/\n\n## Execution Order\n1. Package scaffold (first - creates structure)\n2. Data layer, Agents pane, Events pane, Cells pane (parallel after 1)\n3. Main layout + CLI (last - composes everything)\n\n## Success Criteria\n- `hive-tui` command launches dashboard\n- Live updates via SSE from DurableStreamServer\n- Keyboard navigation between panes\n- Shows: active agents, event stream, cell tree with status","status":"open","priority":1,"issue_type":"epic","created_at":"2025-12-24T23:21:42.322Z","updated_at":"2025-12-24T23:21:42.322Z","dependencies":[],"labels":[],"comments":[]}
|
|
14
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn1kfwppx","title":"Package scaffold (packages/hive-tui/)","status":"open","priority":0,"issue_type":"task","created_at":"2025-12-24T23:21:42.332Z","updated_at":"2025-12-24T23:21:42.332Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn1kfmt00","dependencies":[],"labels":[],"comments":[]}
|
|
15
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn1kfzpxp","title":"SSE data layer connecting to DurableStreamServer","status":"open","priority":1,"issue_type":"task","created_at":"2025-12-24T23:21:42.335Z","updated_at":"2025-12-24T23:21:42.335Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn1kfmt00","dependencies":[],"labels":[],"comments":[]}
|
|
16
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn1kg44fk","title":"Agents pane component","status":"open","priority":2,"issue_type":"task","created_at":"2025-12-24T23:21:42.340Z","updated_at":"2025-12-24T23:21:42.340Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn1kfmt00","dependencies":[],"labels":[],"comments":[]}
|
|
17
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn1kg8qrn","title":"Events pane component with live tail","status":"open","priority":2,"issue_type":"task","created_at":"2025-12-24T23:21:42.344Z","updated_at":"2025-12-24T23:21:42.344Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn1kfmt00","dependencies":[],"labels":[],"comments":[]}
|
|
18
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn1kga43j","title":"Cells pane component with tree view","status":"open","priority":2,"issue_type":"task","created_at":"2025-12-24T23:21:42.346Z","updated_at":"2025-12-24T23:21:42.346Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn1kfmt00","dependencies":[],"labels":[],"comments":[]}
|
|
19
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn1kgcjpl","title":"Main layout + CLI entry point","status":"open","priority":3,"issue_type":"task","created_at":"2025-12-24T23:21:42.348Z","updated_at":"2025-12-24T23:21:42.348Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn1kfmt00","dependencies":[],"labels":[],"comments":[]}
|
|
20
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn5xocowf","title":"Wire Up Decomposition Eval Capture Pipeline","description":"Connect the existing eval-capture.ts functions to the swarm execution path so decomposition outcomes are recorded for evaluation.\n\n## Problem\nThe eval-capture.ts file has capture functions that are never called:\n- `captureDecomposition()` - not called from swarm_decompose\n- `captureSubtaskOutcome()` - not called from swarm_complete \n- `finalizeEvalRecord()` - not called from swarm_record_outcome\n\nCompare to coordinator events which ARE captured via `captureCoordinatorEvent()`.\n\n## Solution\nWire up the three capture functions to their respective tools:\n\n1. **swarm_decompose** → `captureDecomposition()`\n2. **swarm_complete** → `captureSubtaskOutcome()`\n3. **swarm_record_outcome** → `finalizeEvalRecord()`\n\n## Deliverables\n- Integration code in swarm tools\n- Tests verifying capture works\n- Updated README with eval workflow\n- Easy-to-run scripts in package.json\n\n## Success Criteria\n- `bunx evalite run evals/swarm-decomposition.eval.ts` passes (no missing table error)\n- After running a swarm, eval_records table has data\n- `pnpm eval:run` script works","status":"open","priority":1,"issue_type":"epic","created_at":"2025-12-24T23:25:06.108Z","updated_at":"2025-12-24T23:25:06.108Z","dependencies":[],"labels":[],"comments":[]}
|
|
21
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn5xozcd6","title":"Wire captureDecomposition() into swarm_decompose","status":"open","priority":0,"issue_type":"task","created_at":"2025-12-24T23:25:06.131Z","updated_at":"2025-12-24T23:25:06.131Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn5xocowf","dependencies":[],"labels":[],"comments":[]}
|
|
22
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn5xp1blq","title":"Wire captureSubtaskOutcome() into swarm_complete","status":"open","priority":0,"issue_type":"task","created_at":"2025-12-24T23:25:06.133Z","updated_at":"2025-12-24T23:25:06.133Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn5xocowf","dependencies":[],"labels":[],"comments":[]}
|
|
23
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn5xp41f2","title":"Wire finalizeEvalRecord() into swarm_record_outcome","status":"open","priority":0,"issue_type":"task","created_at":"2025-12-24T23:25:06.136Z","updated_at":"2025-12-24T23:25:06.136Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn5xocowf","dependencies":[],"labels":[],"comments":[]}
|
|
24
|
+
{"id":"opencode-swarm-plugin--ys7z8-mjkn5xp793w","title":"Add eval scripts to package.json and update README","status":"open","priority":1,"issue_type":"task","created_at":"2025-12-24T23:25:06.139Z","updated_at":"2025-12-24T23:25:06.139Z","parent_id":"opencode-swarm-plugin--ys7z8-mjkn5xocowf","dependencies":[],"labels":[],"comments":[]}
|