opencode-swarm-plugin 0.25.3 → 0.26.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.
@@ -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 197 modules in 32ms
2
+ Bundled 197 modules in 36ms
3
3
 
4
4
  index.js 1.16 MB (entry point)
5
5
 
6
- Bundled 198 modules in 32ms
6
+ Bundled 198 modules in 35ms
7
7
 
8
8
  plugin.js 1.13 MB (entry point)
9
9
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # opencode-swarm-plugin
2
2
 
3
+ ## 0.26.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`1a7b02f`](https://github.com/joelhooks/swarm-tools/commit/1a7b02f707a1490f14465467c6024331d5064878) Thanks [@joelhooks](https://github.com/joelhooks)! - Add PGLite socket server adapter with hybrid daemon management and move streams storage to $TMPDIR.
8
+
9
+ **Socket Server Adapter:**
10
+
11
+ - New `createSocketAdapter()` wrapping postgres.js for DatabaseAdapter interface
12
+ - Daemon lifecycle: `startDaemon()`, `stopDaemon()`, `isDaemonRunning()`, `healthCheck()`
13
+ - Auto-start daemon on first use with `SWARM_MAIL_SOCKET=true` env var
14
+ - Graceful fallback to embedded PGLite on failure
15
+ - CLI: `swarm-mail-daemon start|stop|status`
16
+
17
+ **$TMPDIR Storage (BREAKING):**
18
+
19
+ - Streams now stored in `$TMPDIR/opencode-<project-name>-<hash>/streams`
20
+ - Eliminates git pollution from `.opencode/streams/`
21
+ - Auto-cleaned on reboot (ephemeral coordination state)
22
+ - New exports: `getProjectTempDirName()`, `hashProjectPath()`
23
+
24
+ This fixes the multi-agent PGLite corruption issue by having all agents connect to a single pglite-server daemon via PostgreSQL wire protocol.
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`1a7b02f`](https://github.com/joelhooks/swarm-tools/commit/1a7b02f707a1490f14465467c6024331d5064878)]:
29
+ - swarm-mail@0.2.0
30
+
3
31
  ## 0.25.3
4
32
 
5
33
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm-plugin",
3
- "version": "0.25.3",
3
+ "version": "0.26.0",
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",
@@ -33,7 +33,7 @@
33
33
  "@opencode-ai/plugin": "^1.0.134",
34
34
  "gray-matter": "^4.0.3",
35
35
  "ioredis": "^5.4.1",
36
- "swarm-mail": "0.1.4",
36
+ "swarm-mail": "0.2.0",
37
37
  "zod": "4.1.8"
38
38
  },
39
39
  "devDependencies": {