@obversa/memory is the memory port. An adapter has one scope and one
execute method. Paths start with /memories. The package also exports
ground, curate, and consolidate.
Install
Public entry points
From@obversa/memory (packages/memory/src/index.ts):
Memory:scopeplusexecute(command).MEMORY_ROOT:/memories.- Commands:
view,create,str_replace,insert,delete,rename. ground: read declared sources into one bounded prompt.curate: select grounded sources with one supplied function.consolidate: write one validated result with one supplied function.
@obversa/memory/testing is the adapter conformance kit.
Runnable example
From an Obversa checkout, runpnpm example:packages. The first program in that
script is examples/packages/memory.ts: