Skip to content

v1.7.2

Choose a tag to compare

@cioffiAI cioffiAI released this 30 Sep 09:03
· 13 commits to main since this release
22e5744

Fixes

  • #11 — Parallel memory writes: distinct explicit facts no longer overwrite one another because of similar wording. Jack's exact Promise.all example now preserves both preferences. Identical text still refreshes an entry; use memory_update by 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: false in plugin options or OPENCODE_MEMORY_SUMMARY=0 to hide the stored summary from model context and memory_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 with scope.
  • 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.