opencode-swarm-plugin 0.30.2 → 0.30.3

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 && bun build ./src/plugin.ts --outfile ./dist/plugin.js --target node --external @electric-sql/pglite --external swarm-mail && tsc
2
- Bundled 811 modules in 121ms
2
+ Bundled 811 modules in 120ms
3
3
 
4
4
  index.js 1.71 MB (entry point)
5
5
 
6
- Bundled 812 modules in 142ms
6
+ Bundled 812 modules in 123ms
7
7
 
8
8
  plugin.js 1.67 MB (entry point)
9
9
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # opencode-swarm-plugin
2
2
 
3
+ ## 0.30.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1e41c9b`](https://github.com/joelhooks/swarm-tools/commit/1e41c9b42ae468761f813d406171d182fb9948e0) Thanks [@joelhooks](https://github.com/joelhooks)! - ## 🐝 Semantic Memory Consolidation
8
+
9
+ > _"Simplicity is the ultimate sophistication."_
10
+ > — Leonardo da Vinci
11
+
12
+ The semantic memory system has moved into swarm-mail, bringing persistent learning to the hive.
13
+
14
+ ### What's New
15
+
16
+ **Semantic Memory in swarm-mail:**
17
+
18
+ - `createSemanticMemory()` - Initialize memory store with PGLite + Ollama embeddings
19
+ - `getMigrationStatus()` - Check if legacy memory needs migration
20
+ - `migrateLegacyMemory()` - Migrate from old semantic-memory-mcp format
21
+ - Automatic migration on first use (no manual intervention needed)
22
+
23
+ **Legacy Migration:**
24
+
25
+ - Detects old `~/.semantic-memory/` databases
26
+ - Migrates memories, embeddings, and metadata
27
+ - Preserves all tags and timestamps
28
+ - Creates backup before migration
29
+
30
+ **Worker Handoff Protocol:**
31
+
32
+ - Agents can now hand off work mid-task
33
+ - State preserved via swarm mail messages
34
+ - Enables long-running tasks across context limits
35
+
36
+ ### Breaking Changes
37
+
38
+ None - this is additive. The old semantic-memory-mcp still works but is deprecated.
39
+
40
+ ### Files Added/Changed
41
+
42
+ - `packages/swarm-mail/src/memory/` - New memory subsystem
43
+ - `packages/swarm-mail/src/memory/migrate-legacy.ts` - Migration tooling
44
+ - `packages/opencode-swarm-plugin/bin/swarm.ts` - Uses new exports
45
+
46
+ - Updated dependencies [[`1e41c9b`](https://github.com/joelhooks/swarm-tools/commit/1e41c9b42ae468761f813d406171d182fb9948e0)]:
47
+ - swarm-mail@0.5.0
48
+
3
49
  ## 0.30.2
4
50
 
5
51
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm-plugin",
3
- "version": "0.30.2",
3
+ "version": "0.30.3",
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",
@@ -36,7 +36,7 @@
36
36
  "gray-matter": "^4.0.3",
37
37
  "ioredis": "^5.4.1",
38
38
  "minimatch": "^10.1.1",
39
- "swarm-mail": "0.4.0",
39
+ "swarm-mail": "0.5.0",
40
40
  "zod": "4.1.8"
41
41
  },
42
42
  "devDependencies": {