Overview and the memory tab now pull from /dsh-brain/mnemon/* through a thin
src-client/mnemon.ts adapter; page structure and styles are unchanged. Fields
Mnemon does not provide (id, category, conversation source, last recall) are
shown as unverified rather than guessed, and delete stays disabled while the
bridge is read-only.
Routes under /dsh-brain/mnemon/* call the host's registered mnemonRemote
service (the same /dsh-mnemon-read handler) instead of going through HTTP with
a browser cookie. Read-only: list / status / search / runtime / documents.
Answers 503 when Mnemon is absent, 502 on source errors.
Also lets /local-memory/memories take order=created|updated (default created,
newest first) and return createdAt, sorting the full set before paging.
- Overview: Promise.allSettled per endpoint, so one failing auxiliary call no
longer blanks the whole page or hides the version.
- MemoryTab: distinguish 'no memories yet' from 'no match on this page'.
- RawTab: auto-fit grid so the two columns collapse on a narrow panel.
- Pills: clip long values instead of overflowing the rounded box.
The overview read reporter.reportedTurns (no such field; the snapshot calls it
recorded) and status.lastCheck.status (lastCheck only has at/checks), so both
readouts were always empty.
Captures real user/assistant messages into per-session JSONL files under
\/brain/raw, separate from Mnemon's store. Adds memory_raw_search /
memory_raw_read / memory_raw_status, the Brain panel raw tab, the
dsh-brain-raw row in the bundle patch, and verify-raw-entry/verify-raw-memory.
- cordis.patch.yml now inserts five rows (dsh-brain-cloudsync / -memory /
-skills / -mcp / -settings-ui), each resolving to a package subpath
export; the host Settings -> Plugins page toggles them per row id.
- src/kernel.ts: process-level singleton holding every service object;
entries only register their own routes/tools/timers through ctx.effect,
so disabling one row tears down exactly its slice. Settings persist in
C:\Users\qyh15\.dsh/dsh-brain.json, so any row may seed the kernel.
- routes.ts: mcp flag gates the capability fragment; status payload and
core routes (status/capabilities/config/migrate) are exported for the
settings-ui entry; legacyAliases() lets each entry alias its own slice.
- src/entries/{cloudsync,memory,skills,mcp,settings-ui}.ts: per-bundle
appliers. src/index.ts becomes the compat root that applies all five
for older single-row profiles; /status reports which siblings are on.
- package.json: exports + ./cloudsync ./memory ./skills ./mcp
./settings-ui (lib/entries/*), version 0.9.11.
- verify-plugin-entry.mjs: per-entry route/tool slice checks plus
active-bundle gating and the compat root.
Re-implements the upstream features lost during the six-bundle rebase,
on top of the refactored SkillRepository/SkillSync seams:
- SkillRepositoryFile carries mtimeMs; walkSkillFiles collects it.
- DOWN pass: local drift and name collisions auto-resolve by content
and modification time (identical bytes adopt the cloud identity; a
clearly newer side wins, the losing local copy is backed up under
C:\Users\qyh15\.dsh/.dsh-brain-backups/sync/); equal or missing timestamps
stay human conflicts.
- UP pass: identical cloud bytes re-pin or adopt the revision without
an upload; revision drift picks the newer side; a conflict flagged
in the DOWN pass is not double-reported.
- resolveConflicts(action) resolves every current conflict with one
keep_local/take_cloud action, collecting per-item failures.
- POST /dsh-brain/sync/resolve-all serves the batch over the routes
bundle; verify-sync-resolve.mjs wires the second scenario through
the repository seam like the first (SkillSync now requires it).