Repository navigation
v1.7.2
Fixes
- #11 — Parallel memory writes: distinct explicit facts no longer overwrite one another because of similar wording. Jack's exact
Promise.allexample now preserves both preferences. Identical text still refreshes an entry; usememory_updateby ID for corrections. - Mutations queue across plugin instances sharing a directory, avoiding local lock-retry timeouts while retaining cross-process filesystem locking.
Summary controls (#12)
- Set
summary: falsein plugin options orOPENCODE_MEMORY_SUMMARY=0to hide the stored summary from model context andmemory_read, and prevent DREAM from generating or updating it. memory_clear({ summaryOnly: true })erases only the shared summary, retaining all facts. Do not combine it withscope.- Disabling the summary preserves it on disk. If summary/DREAM remains enabled, a later consolidation can generate it again after clearing.
Both OpenCode V1 and V2 adapters support these changes.
Verification
199 tests passed; 2 existing live-server tests skipped. Typecheck, build and clean packed-package checks passed for both adapters. Real OpenCode V2 2.0.18 checks passed with a local deterministic model, including Code Mode parallel writes, summary controls, DREAM, context injection, store migration and local-only privacy. Real V1 CLI coverage was unavailable; V1 adapter and isolated-package checks passed.
Install or update to @cioffi_ai/opencode-memory@1.7.2 and restart OpenCode.