Hands-off project memory for DeepSeek Harness. Open a new chat in a workspace and it already knows what you did, what the current status is, and what comes next — without saying "remember this".
Category: Memory & Context.
- New chats in a workspace start with a cumulative project brief carrying earlier decisions, work done, current status and next steps.
- The brief is updated at handoff points, not on every message: when a new chat starts, when DSH compacts a conversation, or when you press Save checkpoint.
- Each save adds new material on top of the existing brief instead of replacing it.
- A small memory pill in the bottom-right corner and a chip in the chat header show the state everywhere: saving, saved, or nothing yet.
- A Projects entry in the sidebar lists your workspaces and their chats, with the saved brief and the model used for memory.
Source repository (no build step, plain JavaScript):
dsh plugin --profile desktop add github:IAWWW/dsh-projects-memory
Web/CLI profile:
dsh plugin --profile web add github:IAWWW/dsh-projects-memory
Local checkout:
dsh plugin --profile desktop add /absolute/path/to/dsh-projects-memory
After installing, fully quit and restart DSH (closing the window may leave the service running; stop the process on the DSH port if needed). Host plugins load at startup.
Requires DeepSeek Harness 0.2.2-rc.5 (declared in engines.dsh), Node 22+, and the Web UI (Desktop or dsh web).
- Open a workspace chat as usual.
- Work. At any point press Save checkpoint — the chip in the chat header, the pill in the bottom-right, or the per-chat button in Projects → Chats.
- Open Projects → New chat (or the sidebar's New chat) in the same workspace. The checkpoint is taken automatically and the new chat receives the brief on its first message.
- To seed memory from work you already did, use Projects → Project memory → Import recent chats; it reads the latest completed turns of up to five recent chats in that workspace.
The catch-all default-workspace starts with memory off, because it usually collects unrelated chats. Toggle memory per workspace in Projects → Project memory → Memory settings.
- Local (default): no extra model call. The brief is assembled from recent completed exchanges, keeps earlier notes, and reuses DSH's own compaction summary when one exists. Nothing leaves the machine.
- OpenRouter (opt-in per workspace): a small model maintains a structured, cumulative document (
## Goal,## What we did,## Current status,## Decisions,## Next steps) and marks contradicted lines as(superseded). The model is independent of your chat model; the default isgoogle/gemini-2.5-flash-lite. Only selected excerpts plus the previous brief are sent, using your own OpenRouter credits.
To enable it, store OPENROUTER_API_KEY under refs: in the DSH credential file ($DSH_HOME/.credentials.yaml, usually ~/.dsh/.credentials.yaml), then enable OpenRouter for the workspace in Projects → Project memory.
~/.dsh/projects-memory/ # one store per DSH home, shared by profiles
├── <sha256(workspaceId)>.json # the brief + save metadata
└── <sha256("mode:"+workspaceId)>.json # per-workspace settings
- Writes are atomic (temp file + rename), files are
0600, the directory0700. - Stored: the brief text, save time, trigger, source, the memory model setting, and checkpoint fingerprints used for deduplication.
- Not stored: chat transcripts, tool output, reasoning, attachments, or credentials.
- Memory is machine-local; it is not synced between computers.
This is trusted Host code that runs with your user account:
- Reads DSH session logs (completed user/assistant text only) for the workspace being checkpointed.
- Writes only its own store under
~/.dsh/projects-memory/. - Network: one HTTPS request to
https://openrouter.ai/api/v1/chat/completionswhen OpenRouter is enabled for that workspace and a checkpoint runs. No telemetry, no other endpoints. - The OpenRouter key is resolved from DSH credentials at request time and is never written to the store.
- Common credential patterns are scrubbed before any text is stored or sent, on a best-effort basis. Do not enable OpenRouter summarization for projects whose excerpts you would not send to that provider.
| Surface | Status |
|---|---|
DSH 0.2.2-rc.5, Web UI, Desktop profile, Linux ARM64 |
Installed and exercised; unit and host integration tests pass |
DSH 0.2.2-rc.5, dsh web profile |
Same code path; profile installs independently |
| macOS / Windows | Not yet tested by the maintainer |
| Older DSH releases | Not supported; the bundle declares engines.dsh |
DeepSeek Harness is a Developer Preview; a future release may change the Host APIs this plugin uses.
See docs/VERIFICATION.md for the test run, the live slot registrations, and a sample saved brief. Tests:
node --test *.test.mjs # 17 tests, 17 pass
- Memory is captured only at checkpoints. Work never checkpointed is not in the brief.
- Import reads recent turns per chat, not a full history import.
- Local mode is excerpt-based; enable OpenRouter for a written, structured document.
- Records are per workspace and per machine; no sync or multi-user sharing.
- No git commit/push trigger yet.
Plain ESM, no build step. node --test *.test.mjs runs the suite (core checkpoint logic, redaction, compaction reuse, workspace isolation, and the authenticated HTTP route).
MIT. See LICENSE.