DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

memcue-dsh

Memcue Dsh

memcue:DeepSeek Harness (dsh) 的长期记忆:模型自行搜索并写入事实

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

npx -y @deepseek-ai/dsh plugin --profile web add memcue-dsh@0.28.0
README兼容性版本

兼容性与来源证明

Memcue Dsh 以 memcue-dsh 发布,当前版本为 0.28.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/11/4

版本

0.28.0stable
2026/11/3
0.27.0stable
2026/11/3
0.26.1stable
2026/10/29
查看其余 24 个版本收起版本
0.26.0stable
2026/10/29
0.25.1stable
2026/10/29
0.25.0stable
2026/10/29
0.24.0stable
2026/10/29
0.23.0stable
2026/10/29
0.22.1stable
2026/10/28
0.22.0stable
2026/10/28
0.21.2stable
2026/10/28
0.21.1stable
2026/10/27
0.21.0stable
2026/10/27
0.20.0stable
2026/10/26
0.19.0stable
2026/10/26
0.18.1stable
2026/10/26
0.17.0stable
2026/10/26
0.14.0stable
2026/10/25
0.13.0stable
2026/10/25
0.12.0stable
2026/10/25
0.5.3stable
2026/10/22
0.5.2stable
2026/10/22

相关插件

正在加载相关插件…

最新版
0.28.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
46.8 kB
文件数
6
Surface
any
许可证
MIT
发布源
npm
周下载
2,200
安全扫描
✓ v0.28.0 扫描通过
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
0.5.1stable
2026/10/22
0.5.0stable
2026/10/22
0.4.0stable
2026/10/21
0.2.1stable
2026/10/21
0.2.0stable
2026/10/21

README

memcue for DeepSeek Harness

Long-term memory for DeepSeek Harness (dsh) on top of a memcue fact base:

  • No facts come with a prompt (#361). The system-prompt section tells the model to search the base with memcue_search before it answers a question that may depend on earlier sessions, several times with synonyms, the system's name and both languages if the first try finds nothing.
  • At the first prompt and after every compaction memcue session-card supplies the card of global rules and decisions and the repository's decisions as a user-role notice. The card is a view of the base, not a copy. A failed card is not treated as delivered, so the next step retries it (with one report per session), and the step still runs.
  • The model keeps its memory itself (#494). The system-prompt section and memcue_add tell it to store a rule or a correction of the user, a decision the code does not show, a pitfall, a host, a service or a pointer when it learns it, to search first and correct a stored fact instead of adding a copy. Nothing is extracted from the session afterwards. memcue_add takes a source: a rule or decision is the user's words by default, and a global decision reaches the session card only from the user; tool is what a tool's output showed, agent anything else, and memcue refuses installation state from either (#475).
  • A system-prompt section says the memory is memcue, when to search and write it and which tools fix it.
  • Four tools: memcue_search (facts by words, with their ids; an optional limit), memcue_add (one new fact; with shelf, a finding read from outside sources that only a search naming the shelf returns, #545), memcue_correct (a new version of a stored fact, with optional keywords and expires) and memcue_retire (stop finding a fact; the history keeps it). memcue_search runs memcue search with the session's working directory and id, so facts of this host and of the session's repository win ties and MEMCUE_SEARCH_LOG=1 can name the session.

The binary owns the base. This plugin is only the seam between it and the harness; the harness support matrix lists what differs from Claude Code and Hermes.

Candidates

A fact written by memcue_add is indexed at once, and memcue_correct writes a new version of it. Nothing waits for approval: memcue add -candidate, memcue candidates and memcue approve are removed (#514). A candidate or provisional fact an older memcue left in the base is live too, unless it is retired or expired (see Candidates).

Supported dsh

The plugin asks memcue version -json when it loads. Without a configured binary or MEMCUE_BIN, a missing binary or one older than the plugin's release is replaced by that release, installed into $XDG_DATA_HOME/memcue/<version>/ (MEMCUE_AUTO_INSTALL=0 turns that off): an older release may not open the base the new one writes. A binary older than 0.4.0 that stays, a configured one or a failed install, turns the session card off with one warning (search keeps working). A build from source reports a suffixed version and counts as the current tree.

Tested with dsh 0.2.0-rc.2. Both the repository bundle and the standalone package declare >=0.2.0-rc.2 <0.3.0 peer ranges for @deepseek-ai/dsh-llm and @deepseek-ai/dsh-tools, so dsh's compatibility check refuses a different minor instead of loading a plugin whose session or event shape it no longer recognises.

Install

The repository root is a dsh bundle wrapper: its package.json declares dsh.bundle.patch, pointing at this directory's cordis.patch.yml. The plugin directory is also its own package, for npm publication and local development. The entry is plain ESM (src/index.mjs) on purpose: dsh installs a bundle under node_modules, where Node refuses to strip TypeScript types, so a .ts entry cannot be loaded from an installed package.

  1. Optional: put the memcue binary where the dsh process can run it and note its absolute path. Without a configured binary and without a current memcue on PATH, the plugin installs the binary of its own release into ${XDG_DATA_HOME:-~/.local/share}/memcue/<version>/, the directory the Claude Code plugin uses (MEMCUE_AUTO_INSTALL=0 turns that off; see Binary from the plugin).

  2. Install the bundle from the repository:

    • Desktop / Web: open Plugins in the sidebar, choose Add plugin → Install a third-party plugin, and enter github:juev/memcue.
    • CLI: dsh plugin --profile web add github:juev/memcue.

    No path: parameter and no local directory are needed. From a local checkout, dsh plugin add /path/to/memcue installs the same root package.

    The plugin directory is also a standalone package, published as memcue-dsh. dsh plugin add memcue-dsh installs it without the repository; a local checkout can use dsh plugin add /path/to/memcue/plugins/deepseek-harness.

    The plugin manager adds the package to the profile's dsh.profile.bundles; the install dialog's Enable now switches the bundle on. dsh 0.2.0-rc.2 does not update installed plugins: to move to a new release, uninstall the plugin and install it again (Releasing).

  3. Configure the row by id in the profile's own patch layer, $DSH_HOME/profiles/<name>/cordis.patch.yml:

    - id: memcue
      config:
        binary: /Users/you/.local/bin/memcue
        facts: /Users/you/.claude/memory/facts.db
    

    binary is worth setting explicitly: an application launched from Finder may not have ~/.local/bin on PATH. facts may be omitted when the base is memcue's default (~/.claude/memory/facts, or facts.db before memcue migrate -text). A path to facts.db keeps working after the move: memcue opens the facts directory next to it.

Model of add

memcue add asks a model for a fact's search queries in one short call when MEMCUE_API_URL is set; without it the dream fills them later. model, apiUrl and apiKey set that call: the plugin forwards them to every memcue child process as MEMCUE_MODEL, MEMCUE_API_URL and MEMCUE_API_KEY, and a configured value wins over the ambient one. Left out, nothing is called. apiKey is a secret in a configuration file: keep that file out of version control, or keep MEMCUE_API_KEY in the environment that launches dsh instead.

The same settings carry the dream (#569). When a dream is due, the session-card call starts one memcue dream -run pass in the background, on apiUrl when it is set and on claude -p when dsh sees claude on PATH; with neither, the base gets no dream from dsh. MEMCUE_DREAM_BACKGROUND=0 in the environment that launches dsh turns it off.

Configuration

All fields are optional; MEMCUE_BIN and MEMCUE_FACTS from the environment are still the ambient fallbacks. A configured field wins over the environment.

  • binary — path or name of the memcue executable (default memcue).
  • facts — the fact base; set as MEMCUE_FACTS for every child process (default: the binary's own default). A leading ~/ is expanded; a relative path is rejected at load, so the value cannot name a different file for each host.
  • searchLimit — default for memcue_search (default 5).
  • model — model of the search queries add asks for; forwarded as MEMCUE_MODEL (default: memcue's own).
  • apiUrl — OpenAI-compatible base URL; forwarded as MEMCUE_API_URL (default: unset, so add calls no model).
  • apiKey — key for apiUrl; forwarded as MEMCUE_API_KEY (default: unset, so the ambient value or no key is used).

Bad values are rejected at load time with the field name, so a typo does not silently fall back to a default. The extract, minNewChars, stateDir and maxToolResultChars fields of the extraction are gone (#494); a profile that still sets them loads, and the fields are ignored.

Testing

node --test plugins/deepseek-harness/test/*.test.mjs

The suite mounts the plugin against a plain object context and a stub binary, so it needs no model, no base and no running harness — only a checkout where @deepseek-ai/dsh-llm and @deepseek-ai/dsh-tools resolve. It also checks the bundle metadata and that the bundle patch points at the loadable ESM entry. make test runs it together with the Go and Hermes suites when those packages are installed, and skips it with the install command otherwise.

Releasing

The standalone package is published as memcue-dsh.

CI publishes on a dsh-v* tag or by manual dispatch through .github/workflows/publish-dsh.yml. It uses npm Trusted Publishing (OIDC): the workflow has id-token: write, no token, and no NPM_TOKEN secret. The trusted publisher is configured for the juev/memcue repository and the publish-dsh.yml workflow, with direct publish and stage-publish allowed. Manual dispatch has a dry_run input: it packs a throwaway prerelease with --dry-run and uploads nothing.

A maintainer can still publish manually; npm asks for the 2FA code:

cd plugins/deepseek-harness
npm publish --access public

A fork needs its own trusted publisher, or a granular NPM_TOKEN on a NODE_AUTH_TOKEN environment variable. A granular token without the 2FA bypass cannot run npm publish: use npm stage publish and approve the stage with npm stage approve <id>.

What differs from the Hermes plugin

  • Hermes' MEMORY.md mirror has no counterpart here: dsh has no built-in memory files, so there is nothing to mirror. The write path is memcue_add, memcue_correct and memcue_retire.
  • The session card arrives as a durable message in the session log, so it replays with the session and survives a harness restart.
  • The Claude Code hooks bridge in dsh runs SessionStart but ignores PreCompact and SessionEnd; this plugin uses dsh's own events, so the card comes again after a compaction.

相关插件

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

Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合、基于视图的上下文。开箱即用的可插拔来源与策略、分层记忆和自我演进技能。Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。