You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c4ad81
Browse filesBrowse the repository at this point in the historyBrowse files
fix(turso): multiprocess_wal for concurrent sessions + re-embed recovery harden (#358)
* fix(turso): enable multiprocess_wal and harden re-embed recovery
Allow concurrent OpenCode sessions on macOS/Linux via Turso
multiprocess_wal, handle .db-tshm sidecars, clarify lock errors, and
make interrupted re-embed swap recovery Windows-safe (#350, #357).
* fix(i18n): fill missing Dutch keys for UI catalog parity
Package smoke failed because nl was missing 14 keys added with the
explorer overhaul (filter/nav/confirm/profile-meta).
* fix(turso): enable multiprocess_wal only on Unix
Windows rejects the flag with "not supported by the active IO backend";
keep encryption-only opens there so package smoke stays green.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ This plugin uses embedded Turso (`@tursodatabase/database`) with `F32_BLOB` vect
36
36
37
37
Startup recovers interrupted re-embed swaps, converts libSQL DiskANN indexes to the current Turso engine, and then verifies or upgrades the legacy shard schema. Engine conversion runs even when a store already has a completed legacy migration marker, and preserves stored vectors without re-embedding. Each converted database is backed up as `<database>.pre-tursodb-<timestamp>.bak`.
38
38
39
+
On macOS and Linux, multiple OpenCode sessions can share the same `storagePath` via Turso’s experimental `multiprocess_wal` (every process must use the same mode — restart all sessions after upgrading). On Windows the engine rejects that flag, so only one OpenCode session can own the memory databases at a time.
40
+
39
41
On first startup after upgrading, opencode-mem automatically migrates existing memory shard databases to native Turso/libSQL vector format:
40
42
41
43
- Each shard is backed up as `<shard>.db.legacy.bak` before rewrite
0 commit comments