DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

dsh-memory-panel

x

dsh-memory-panel

Manifest valid★ 1

Long-term memory for DeepSeek Harness: memory_save/recall/list tools + a sidebar panel visualizing what the agent remembers about you

UI (client)hasBundlePatch

dsh-memory-panel

Long-term memory for DeepSeek Harness (dsh): durable, cross-session memory tools plus a sidebar panel that shows what the agent remembers about you.

English | 中文

What it does

  • memory_save — store a memory (creates or updates by key)
  • memory_recall — search memories by keyword or category
  • memory_list — list all memories, optionally filtered by category
  • memory_delete — delete one memory by its exact key
  • memory_clear — delete ALL memories (requires confirm: true)
  • Sidebar memory panel — a "Memory" button in the web sidebar opens a panel visualizing the memory store (bilingual, follows the UI language)

Memories live in ~/.dsh/memory.json — plain JSON on your machine, nothing leaves it.

Features

  • Atomic writes: write-to-temp + rename, readers never see a torn file
  • Write serialization: concurrent memory_save calls queue instead of clobbering each other
  • Corruption recovery: a broken memory.json is backed up to memory.json.corrupt-<ts> before continuing fresh — no silent data loss
  • Growth control: content capped at 4000 chars, store capped at 500 entries (oldest evicted), recall results capped at 30
  • Optional filter: memory_list works with or without category_filter
  • Delete & clear: memory_delete removes one memory; memory_clear empties the whole store after an explicit confirm: true
  • Bilingual UI: the panel follows the UI language (zh / en) via the dsh locale service
  • Tunnel-aware UI: the panel warns when accessed through a tunnel where the browser-trust fence blocks /api/*

Install

# web profile (interactive GUI)
dsh plugin --profile web add dsh-memory-panel

# headless profile (one-shot runs) — same bundle, separate install
dsh plugin --profile headless add dsh-memory-panel

Install from GitHub directly (no npm needed):

dsh plugin --profile web add github:x2it/dsh-memory-panel

Restart dsh web after installing, then open the sidebar "记忆" button.

Verify

dsh --profile web --dump-config | grep memory-panel

The agent should now list memory_save / memory_recall / memory_list among its tools.

How it works

agent tools (memory_save/recall/list)
        │  ctx.tools.register
        ▼
  host plugin (lib/index.js)
        │  GET /api/memory  (ctx.webServer)
        ▼
  client panel (lib/client.js, sidebar.footer.action slot)

One plugin row (memory-panel) carries both halves: the host loader imports main, the web client loads ./client.

Development

npm install
npm run typecheck   # tsc --noEmit
npm run build       # esbuild → lib/index.js + lib/client.js
npm pack            # tarball

Install the local tarball to test before publishing:

npm pack
dsh plugin --profile web add ./dsh-memory-panel-0.1.0.tgz

Layout

src/index.ts          # host half: memory tools + /api/memory endpoint
src/client/index.tsx  # client half: sidebar memory panel
lib/                  # built artifacts (generated by build.mjs)
cordis.patch.yml      # bundle patch (dsh.bundle.patch)

Security

The /api/memory endpoint has no authentication — bind dsh web to localhost or a trusted network. The plugin stores memory content in plaintext at ~/.dsh/memory.json; do not save secrets you would not write to a local file.

License

MIT

Comments

Loading…

From the same category

billion-context

by ranxianglei

基本稳定可用 100K tokens is enough. Universal context-compression proxy for ALL AI coding agents,10w上下文足矣

Sessions & MessagesManifest valid

★ 812

↓ 423.4k/wk

MIT

TypeScript

Oct 11, 2026

dsh plugin --profile web add billion-context

by Han-1413141

DeepSeek Harness session cost meter plugin: session/daily cost, budget, history, OpenCode Go quota, official & custom-provider balance, Codex-like token heatmap, peak/off-peak pricing with pre-switch

Sessions & MessagesManifest valid

★ 388

↓ 23k/wk

MIT

JavaScript

Oct 10, 2026

dsh plugin --profile web add dsh-cost-meter

by Nwflower

Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable se

Sessions & MessagesManifest valid

★ 224

MIT

JavaScript

Oct 7, 2026

dsh plugin --profile web add dsh-chat-import

by Totoro-qaq

DeepSeek Harness plugin for previewable cross-preset session migration. Fixed-schema handoffs preserve state, source-model intent, and unresolved images; the original session stays untouched.

Sessions & MessagesManifest valid

★ 165

MIT

JavaScript

Oct 11, 2026

dsh plugin --profile web add dsh-plugin-bridge

by Anionex

deepseek harness对话和代码状态回退插件 | DSH — rewind conversation and workspace state, powered by a persistent Change Ledger

Sessions & MessagesManifest valid

★ 131

BSD-3-Clause

JavaScript

Oct 1, 2026

dsh plugin --profile web add @anionex/dsh-turn-rewind

by SiriLee

DSH 插件:真正便捷无感的同窗口内对话回退,从不新建分支;自带轻量工作区备份,可一并还原文件(完整 Claude Code /rewind 语义)。 · DSH plugin: genuinely effortless in-window conversation rewind — never forking a new session; ships a lightweight workspac

Sessions & MessagesManifest valid

★ 123

↓ 5.5k/wk

MIT

TypeScript

Oct 9, 2026

dsh plugin --profile web add dsh-rewind-plugin