opencode-swarm-plugin 0.42.7 → 0.42.9

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.
@@ -1,9 +1,9 @@
1
1
  $ bun build ./src/index.ts --outdir ./dist --target node --external @electric-sql/pglite --external swarm-mail --external vitest --external @vitest/ui --external lightningcss && bun build ./src/plugin.ts --outfile ./dist/plugin.js --target node --external @electric-sql/pglite --external swarm-mail --external vitest --external @vitest/ui --external lightningcss && tsc
2
- Bundled 1349 modules in 230ms
2
+ Bundled 1349 modules in 181ms
3
3
 
4
4
  index.js 4.34 MB (entry point)
5
5
 
6
- Bundled 1350 modules in 215ms
6
+ Bundled 1350 modules in 176ms
7
7
 
8
8
  plugin.js 4.31 MB (entry point)
9
9
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,81 @@
1
1
  # opencode-swarm-plugin
2
2
 
3
+ ## 0.42.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`823987d`](https://github.com/joelhooks/swarm-tools/commit/823987d7b7ef57bf636665008ebbcdffe333e828) Thanks [@joelhooks](https://github.com/joelhooks)! - ## 🐝 Worktree Support + Graceful Degradation
8
+
9
+ ```
10
+ ┌─────────────────────────────────────────────────────┐
11
+ │ │
12
+ │ "It is impossible to reduce the probability │
13
+ │ of a fault to zero; therefore it is usually │
14
+ │ best to design fault-tolerance mechanisms │
15
+ │ that prevent faults from causing failures." │
16
+ │ │
17
+ │ — Kleppmann, DDIA │
18
+ │ │
19
+ └─────────────────────────────────────────────────────┘
20
+ ```
21
+
22
+ ### Git Worktree Support (#52)
23
+
24
+ All worktrees now share the main repository's database. No more isolated state per worktree.
25
+
26
+ ```
27
+ BEFORE: AFTER:
28
+ main-repo/.opencode/swarm.db main-repo/.opencode/swarm.db
29
+ worktree-1/.opencode/swarm.db worktree-1/ ──┐
30
+ worktree-2/.opencode/swarm.db worktree-2/ ──┼─→ main-repo/.opencode/
31
+ worktree-3/ ──┘
32
+ ```
33
+
34
+ **How it works:**
35
+
36
+ - Detects worktrees by checking if `.git` is a file (not directory)
37
+ - Parses `gitdir:` path to resolve main repo location
38
+ - All DB operations automatically use main repo's `.opencode/`
39
+
40
+ ### Graceful Degradation for semantic-memory (#53)
41
+
42
+ When Ollama is unavailable, `semantic-memory_find` now falls back to full-text search instead of erroring.
43
+
44
+ **Before:** `OllamaError: Connection failed` → tool fails
45
+ **After:** Warning logged → FTS results returned → tool works
46
+
47
+ Also added `repairStaleEmbeddings()` to fix the "dimensions are different: 0 != 1024" error when memories were stored without embeddings.
48
+
49
+ ### New Skill: gh-issue-triage
50
+
51
+ Added `.opencode/skills/gh-issue-triage/` for GitHub issue triage workflow:
52
+
53
+ - Extracts contributor profiles including Twitter handles
54
+ - Templates for acknowledgment comments
55
+ - Changeset credit templates with @mentions
56
+
57
+ ***
58
+
59
+ Thanks to [@justBCheung](https://x.com/justBCheung) for filing both issues with excellent debugging context. 🙏
60
+
61
+ - Updated dependencies [[`823987d`](https://github.com/joelhooks/swarm-tools/commit/823987d7b7ef57bf636665008ebbcdffe333e828)]:
62
+ - swarm-mail@1.6.0
63
+
64
+ ## 0.42.8
65
+
66
+ ### Patch Changes
67
+
68
+ - [`a797bea`](https://github.com/joelhooks/swarm-tools/commit/a797bea871e5d698ebb38b41f47ff07faa7c108b) Thanks [@joelhooks](https://github.com/joelhooks)! - ## 🔗 Tweets Now Link to the Right PR
69
+
70
+ Release tweets were linking to the wrong PR. The old logic grabbed "most recent merged PR that isn't a version bump" - but with the new `release:` prefix on version PRs, it was picking up stale PRs.
71
+
72
+ **Fixed:** Now uses `github.sha` to find the exact PR that triggered the workflow. No more guessing.
73
+
74
+ ```
75
+ BEFORE: gh pr list --limit 5 --jq 'filter...' → wrong PR
76
+ AFTER: gh pr list --search "${{ github.sha }}" → triggering PR
77
+ ```
78
+
3
79
  ## 0.42.7
4
80
 
5
81
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm-plugin",
3
- "version": "0.42.7",
3
+ "version": "0.42.9",
4
4
  "description": "Multi-agent swarm coordination for OpenCode with learning capabilities, beads integration, and Agent Mail",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "minimatch": "^10.1.1",
48
48
  "pino": "^9.6.0",
49
49
  "pino-roll": "^1.3.0",
50
- "swarm-mail": "1.5.5",
50
+ "swarm-mail": "1.6.0",
51
51
  "yaml": "^2.8.2",
52
52
  "zod": "4.1.8"
53
53
  },