DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Workspace Memory — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-workspace-memory

Workspace Memory

适用于 DeepSeek Harness 的需审批工作区指令和记忆

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-workspace-memory@0.1.0
README兼容性版本

兼容性与来源证明

Workspace Memory 以 dsh-workspace-memory 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/1

版本

0.1.0stable
2026/9/1

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
78.6 kB
文件数
11
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/9/2
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。

README

dsh-workspace-memory

Durable, approval-gated workspace instructions and project memory for DeepSeek Harness.

English | 简体中文

dsh-workspace-memory lets conversations opened in the same workspace share two kinds of durable context:

FileWhat belongs there
AGENTS.mdReusable instructions for how agents should work, write, format, validate, and use tools
.dsh-memory.mdStable project facts, decisions, terminology, constraints, and unresolved risks

Both are ordinary Markdown files in the workspace root. They remain readable, reviewable, and versionable without a database, embeddings, or a cloud service.

See it in one minute

The demo follows the complete workflow: save a reusable working rule to AGENTS.md, record a stable project decision in .dsh-memory.md, then open another conversation in the same workspace and verify that it receives both. Every inferred update is shown as a focused diff and written only after approval.

Workspace instructions and memory shared across DSH conversations

Try the same flow after installing:

  1. Workspace instruction: “Whenever you change files here, finish by summarizing what changed and what you verified. Apply this rule to future conversations too.”
  2. Project memory: “This project prioritizes backward compatibility over adopting new APIs. Preserve this decision for future conversations.”
  3. New conversation: “What instructions should you follow here, and what project decisions should you keep in mind?”

Rules the agent should repeatedly follow belong in AGENTS.md; stable facts and decisions it should remember belong in .dsh-memory.md. One-off requests are not stored.

Install

Requires DeepSeek Harness 0.1.1-rc.2 and Node.js ^22.19.0 || >=24.0.0.

dsh plugin --profile web add dsh-workspace-memory
dsh --profile web

That is all. This package declares dsh.bundle, so DSH adds its configuration layer to the web profile automatically. No profile file needs to be edited by hand. Restart an already running profile after installing or updating the package.

# Update
dsh plugin --profile web update dsh-workspace-memory@latest

# Remove
dsh plugin --profile web remove dsh-workspace-memory

Why use it?

  • Cross-session context — a new conversation sees the same workspace rules and decisions as existing conversations.
  • Instructions and knowledge stay separate — behavioral rules go to AGENTS.md; project knowledge goes to .dsh-memory.md.
  • No silent inferred writes — when the model identifies durable feedback, it shows a focused diff and asks before writing.
  • Purpose-built Web review — DSH Web shows line numbers, colored additions and removals, and collapsed unchanged sections; other clients retain a Markdown fallback.
  • Fresh on every step — both files are reread before each accepted model step, so existing conversations observe later edits.
  • Conflict-aware — a proposal based on an older file version cannot overwrite a newer edit from another conversation.
  • Sandbox-aware — writes use the calling session's workspace policy and cwd, not the directory where the DSH server was started.
  • Local and inspectable — no network requests, telemetry, database, or hidden memory store.

How it works

durable user feedback
        |
        +-- reusable agent behavior ----------> AGENTS.md
        |
        +-- stable project knowledge ----------> .dsh-memory.md
        |
        `-- one-off request or progress --------> not stored

candidate -> complete-file merge -> user confirmation -> version-guarded write

Before every accepted model step, the plugin injects one current snapshot of the two files. Unchanged visible content is not appended repeatedly; empty and deleted files are represented explicitly so stale content is superseded.

The model decides whether feedback appears durable and which file it belongs in. Before proposing, it is instructed to review the complete Markdown document, integrate the smallest coherent edit into the relevant section, remove affected-section duplication, and preserve unrelated content and structure. The workspace_memory tool enforces the write boundary: inferred feedback must use propose, and a proposal is written only after the user approves it. The observed file version must still match at write time.

The npm Bundle contains both plugin halves. The Host half keeps the complete proposed replacement and performs the guarded write. The optional Web half receives only a bounded structured diff and renders the review card through DSH's client module system, so installing the Bundle does not require rebuilding the DSH Web application.

This mechanism improves continuity; it does not guarantee that a model will always classify, remember, or follow every instruction correctly.

Defaults and configuration

The Bundle installs this configuration:

memoryFile: .dsh-memory.md
instructionFile: AGENTS.md
suggestUpdates: true
maxBytes: 32768

To override it, add a later row to $DSH_HOME/profiles/web/cordis.patch.yml. DSH replaces the complete config value, so restate every field:

- id: workspace-memory
  config:
    memoryFile: .dsh-memory.md
    instructionFile: AGENTS.md
    suggestUpdates: false
    maxBytes: 65536

The filenames must be distinct, same-directory names without path separators. maxBytes applies separately to each complete file and to the proposal rationale. Existing files must be regular UTF-8 files; symbolic links at the final path component are rejected.

Safety model

BoundaryBehavior
Storage scopeOnly the two configured files in the exact session cwd
Model-inferred changesRequire interactive confirmation
Concurrent changesStale whole-file replacements are rejected
Sandbox boundaryThe calling session's policy and cwd are enforced; read-only remains read-only
Failed or declined proposalThe agent is instructed not to bypass workspace_memory with another write tool
Symbolic linksRejected at the final path component
Network and telemetryNone
Database and embeddingsNone

See SECURITY.md for the complete authority and write-safety model.

Compatibility and limitations

EnvironmentStatus
DSH Web 0.1.1-rc.2Tested
Windows x64Tested
Ubuntu with Node.js 22 and 24CI target
macOSNot yet verified
Headless profileUse suggestUpdates: false; an interactive confirmation provider is normally unavailable
  • Workspace identity is the session's exact cwd. Parent directories and sibling or child directories do not automatically share a memory file.
  • This plugin synchronizes only the cwd-level AGENTS.md. Global, ancestor, and nested instruction discovery remains the responsibility of DSH's standard agent-instructions plugin.
  • Classification is model-based and can miss or misclassify feedback. Confirmation prevents silent inferred writes; it does not guarantee perfect classification or instruction compliance.
  • Whole-file replacement is intentional. The caller merges complete content, while the plugin rejects stale writes instead of attempting an unsafe automatic merge.

Troubleshooting

The Bundle does not appear in the profile

dsh --profile web --dump-config

Look for a # == dsh-workspace-memory layer and an entry with id: workspace-memory. If both are present, restart the profile.

No update question appears

Check that suggestUpdates is true and that the feedback is durable rather than a one-off task. For a deterministic test, explicitly say that the rule or decision should apply to future conversations.

A confirmed write fails

Another conversation may have changed the file while the confirmation dialog was open. Read the current content, merge the candidate again, and submit a new proposal.

Development

pnpm install
pnpm run verify
pnpm pack

Install a local checkout into DSH:

pnpm run build
dsh plugin --profile web add "link:/absolute/path/to/dsh-workspace-memory"
dsh --profile web

Release history is maintained in CHANGELOG.md. Contributions and reproducible bug reports are welcome.