dsh-brain/vendor/dsh-mnemon/plugins/dsh-brain-mnemon-provider-m...
newbie 1dfc7c7380 feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
..
src feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
tests feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
LICENSE feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
README.md feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
package.json feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
tsconfig.json feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
tsdown.config.ts feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00
vitest.config.ts feat: complete local memory and Mnemon integration (0.10.1) 2026-11-24 20:27:22 +08:00

README.md

dsh-mnemon-provider-mnemon-native

The default local Mnemon CLI backend: exact writes, typed relationships, recall and soft deletion.

Install the mnemon CLI separately and ensure the DSH Host can resolve it. The npm package contains the driver, not the binary.

Use

The default dsh-mnemon Starter already installs this package. Native is the default backend while its CLI is installed; without the CLI, Memory Spaces use another ready Provider.

For a custom composition, install this package alongside dsh-mnemon-source-memory-spaces and include it in that Source's config.providers:

providers:
  - use: dsh-mnemon-provider-mnemon-native
    instanceId: mnemon-native

This is a Memory Spaces child module, not a top-level Source or a complete Strategy. It registers through dsh-mnemon-source-memory-spaces/provider-sdk; each parent Source owns its child Fibers, connection settings and lifetime. Credentials stay on the Host.

Runtime bulk archival reuses only exact content found in a readonly namespace snapshot and groups identical entries within the pending batch. It imports the remaining originals with mnemon import --no-diff, so semantic similarity cannot skip a distinct fact or replace an existing one. Import counts, source indexes and exact content must match before receipts are returned. Ordinary remember continues to use the CLI's normal deduplication policy. No storage format or Source/Strategy contract changes are required.

Provider setup and capability matrix · 中文指南

Develop independently

From a source checkout with the declared dependencies installed, run pnpm verify. Tests, build and public exports belong to this package, without importing another package's controllers or repository configuration. Use the Source's public /testing fixtures for child registration and driver conformance; live service tests require a separately authorized environment.

Plugin author guide