dsh-memento 0.4.0 — the dsh-memory-protocol v1 pillar upgrade.
What's new
- dsh-memory-protocol v1 — normative spec (docs/protocol-v1.md, 中文版同仓库) + machine-readable JSON Schema: entry spec with tags + per-entry version, write-op semantics, audit contract, budget model, schema versioning.
- Adapter registry — \ctx.memoryAdapters\ with reference adapters for mem0, Hermes memory.md, and CLAUDE.md; /memory adapters\ / \export --adapter=\ / \import --adapter=.
- Conformance suite — \ est/protocol-conformance/: 22 distributable cases; golden reference green in CI; third parties run
ode test/protocol-conformance/run.mjs --provider ./factory.mjs. - Upstream proposal — docs/upstream-proposal.md: why the official \ctx.memory\ seam should adopt the protocol + migration path.
- Protocol/implementation separation: \lib/protocol.mjs\ core (zero DSH deps); store schema v4 (tags/version, forward-migrated). All 0.3.x behavior stays compatible.
Install
\\sh
dsh plugin --profile web add dsh-memento
\\
Full changelog: CHANGELOG.md