GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - IAWWW/dsh-projects-memory: Hands-off project memory for DeepSeek Harness: checkpoint a workspace's chats at new-chat handoffs and compaction, carry a cumulative project brief into new chats, optionally summarized with OpenRouter.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
locale
locale
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
client.js
client.js
 
 
cordis.patch.yml
cordis.patch.yml
 
 
core.mjs
core.mjs
 
 
core.test.mjs
core.test.mjs
 
 
host.test.mjs
host.test.mjs
 
 
icon.svg
icon.svg
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

dsh-projects-memory

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.

What changes after installing

  • 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.

Install

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).

Use it

  1. Open a workspace chat as usual.
  2. 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.
  3. 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.
  4. 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 mode vs OpenRouter mode

  • 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 is google/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.

Where the data lives

~/.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 directory 0700.
  • 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.

Permissions and risk

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/completions when 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.

Compatibility

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.

Visible proof

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

Known limitations

  • 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.

Development

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).

License

MIT. See LICENSE.

About

Hands-off project memory for DeepSeek Harness: checkpoint a workspace's chats at new-chat handoffs and compaction, carry a cumulative project brief into new chats, optionally summarized with OpenRouter.

Topics

dsh-plugin

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.