dsh-thinking-language-zh
ayanJava111
deepseek harness思考过程中文插件
PROJECT TOPICS
PROJECT README
Cross-session memory vault for DeepSeek Harness (DSH).
Every DSH session starts from zero. dsh-memory gives your agents a persistent second brain: facts, preferences, decisions, and project notes survive across sessions and are recalled automatically.
memory_remember / memory_recall / memory_forgetdsh_memory unit, json backend by default; unit names are snake_case per UNIT_NAME_RE)dsh plugin --profile web add dsh-memory-vault
The dsh.bundle manifest wires the dsh-memory row into the profile automatically. To install by hand instead:
npm install dsh-memory-vault
then add a row to your profile cordis.yml (or cordis.patch.yml):
- id: dsh-memory
name: dsh-memory-vault
Tell your agent to remember things, or do it yourself:
"记住:这个项目的部署目标是 Windows,测试命令是
pnpm test。"
The agent calls memory_remember with optional tags:
memory_remember(content="User prefers Windows deployment; test command is `pnpm test`", tags=["project:demo", "user"])
When context from an earlier session matters, the agent calls memory_recall(query="Windows deploy") — entries are scored by tag matches (×2) and content matches, newest first. Wrong or obsolete facts are removed with memory_forget(id="m-...") or memory_forget(tag="project:demo").
| Key | Type | Default | Meaning |
|---|---|---|---|
injectLimit |
int | 8 | Max entries injected per system-prompt assembly |
recallLimit |
int | 10 | Max entries returned by memory_recall |
- id: dsh-memory
name: dsh-memory-vault
config:
injectLimit: 12
recallLimit: 20
Settings → 记忆库 (Memory). Lists all entries newest-first with tags and timestamps; quick-add and delete buttons.
The page talks to the host half through the harness webServer service — same-origin JSON endpoints (GET/POST /dsh-memory/entries). The dynamic-plugin prototype used the sandbox-only harness.handle/host.call package RPC; the published package uses the public route so it works in any deployment.
The plugin is one cordis package:
lib/index.js — host half: domain, tools, prompt injection, RPC handlerslib/client.js — web half: settings pageMIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。