dsh-mnemon-source-memory-spaces 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,20 +19,14 @@ The host must already provide `ctx.mnemonMemory`; a Strategy decides how this So
19
19
 
20
20
  Run `pnpm install && pnpm verify` in this directory. Its own tests mount real Cordis Fibers and exercise Source isolation, scoped management, View actions/routes, persistence and failed-child cleanup. Provider authors use `mountMemorySpaceProvider(module, { instanceId, config })` from the public `/testing` entry to test actual child registration and obtain frozen metadata plus `createAdapter`/`dispose`. `createMemorySpaceProviderFixture` supplies scoped authority and validated connection data for driver tests. Dispose the mounted fixture to release its adapters and Fiber. Neither fixture exposes the private Host, Registry or Snapshot; test the full Source separately for View integration.
21
21
 
22
+ ## Configuration ownership
23
+
24
+ The public package entry exports `resolveEmbedding`, `resolvePersistenceStrategy`, and `resolveRecallQuality`. They validate and normalize this Source's settings without I/O or mounting a Fiber. The Starter uses the same rules and recall defaults; it still owns legacy setting keys, storage scope, and its Host timeout policy. Independent Source configuration retains its own instance defaults and timeout limits.
25
+
22
26
  ## Source-owned Client
23
27
 
24
- The optional ./client entry is a normal DSH Client module. This package owns
25
- its pages, browser API adapter, Host management operations, and tests. It only
26
- imports the public dsh-mnemon/client helpers; it never receives a Host Context,
27
- raw RPC transport, credentials, or an LLM View grant.
28
-
29
- The default distribution loads these same Client plugins through DSH. Each page
30
- uses Source-scoped read/mutate operations. Optional Agent-assisted cross-Source
31
- maintenance is advertised by the Host through the same scoped page client; it
32
- is not silently installed by a Source. There is one Slot owner per Source page,
33
- not a second fallback registration or copied default implementation.
34
-
35
- pnpm verify checks Host behavior and real Source-backed page interactions, then
36
- builds both Host and browser artifacts plus their public declarations. Client
37
- tests load the installed Core's browser artifact using dsh-mnemon/testing; they
38
- have no dependency on Core's repository sources or configuration files.
28
+ The optional `./client` entry owns the Source's pages and `presentation/` resources. It uses `dsh-mnemon/client` for the shared frame and scoped management, without receiving raw RPC transport, credentials, a Host Context or an LLM grant. DSH mounts the same pages in the default Starter; cross-Source Agent workflows remain optional Host assistance.
29
+
30
+ `pnpm verify` checks Host behavior, real Source-backed page interactions, and Host/browser artifacts. Client tests consume the installed Core's public testing entry.
31
+
32
+ [Plugin development](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/en/development/extensions.md) · [中文指南](https://github.com/omdsh-dev/dsh-mnemon/blob/8466e3560a3b9de4e9f4b7302cbf005c84e8e69f/docs/zh-CN/development/extensions.md)