鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

minta#dsh-plugin

Minta 记忆引擎的 DSH 原生接入层:合成官方 dsh-mcp-client 行、注册 minta-memory-governance 技能与 session-start 记忆预热,并提供 Minta agent 预设;19 个 MCP 工具由需单独部署的 Minta 引擎(Python/Docker)提供,未部署引擎则无法使用。

记忆
访问 GitHub
文档README

@xxinchen/dsh-plugin

One command → 13 working memory tools → your agent stops re-explaining the project. Memories are governed, not hoarded: stale/conflict/redundancy checks, and nothing becomes permanent until you confirm it in the inbox.

Minta — context quality layer for DeepSeek Harness.

Installing this package composes two Cordis rows into a DSH profile:

  • mcp-client-minta — official @deepseek-ai/dsh-mcp-client wired to the local Minta engine's streamable-HTTP endpoint (its 13 Community minta_* tools reach the agent).
  • minta-plugin — this package as a real Cordis plugin. At mount it registers a runtime skill (minta-memory-governance, content derived from the Minta interaction guide) and a agent/session-start hook that prewarms engine health + recent memory over the Minta REST API (fail-open: an unreachable engine never breaks a session).

The memory engine itself is a separately deployed service (see Prerequisites); the plugin is a thin DSH-native surface over it. See docs/dsh-integration.md for the verified end-to-end flow.

Prerequisites

  • DeepSeek Harness (npx @deepseek-ai/dsh web)
  • Minta engine running locally: python minta_cli.py start (serves MCP at 127.0.0.1:18721 and API at 8772), or docker compose up -d

Install (verified 2026-08-23)

▼
bash
复制代码
dsh plugin --profile web add @xxinchen/dsh-plugin

Restart dsh web. The MCP client row is composed automatically — no manual config editing. Verify in a new session: "list all tools whose name contains minta" → the 13 mcp__minta__* Community tools.

Note: the engine must be running before the tools respond; failOnStartupError: false means a stopped engine does not break DSH sessions.

Using Minta in a session

  1. Keep the engine running — python minta_cli.py start (or Docker).
  2. After dsh plugin add + one restart of dsh web, start a new session and ask: "list all tools whose name contains minta" — expect the 13 mcp__minta__* tools. If they are absent, restart dsh web once more.
  3. First session: call minta_login (your Minta credentials) so the tools operate with your identity.
  4. Automatically at session start: the plugin checks engine health and recent memory (logged; never blocks the session). The skill minta-memory-governance is registered and available to the model.
  5. Manual first answer: say "用 Minta 先把记忆找出来再回答" — or just ask about prior work; the skilled model will minta_search_context first.
  6. To save something durable: tell the model to remember it — it will minta_append_inbox, and you confirm or discard in the Minta UI (http://127.0.0.1:8772, inbox review). Your memory is never edited silently.
  7. Engine stopped / unreachable: sessions keep working; tools and prewarm just report unavailable (fail-open).

Minta agent preset (per-turn protocol)

For turn-level automation (DSH rc.2 has no per-step/turn-end events, so the protocol is carried by the preset persona, which the model follows every turn), install the preset shipped in this package:

▼
bash
复制代码
mkdir -p ~/.dsh/.agent-presets cp -r <node_modules>/@xxinchen/dsh-plugin/presets/minta ~/.dsh/.agent-presets/ # or cp -r the repo's dsh-plugin/presets/minta

Then, in DSH, pick Minta in the session preset picker — or set it as the default by overriding the agent-presets row (in ~/.dsh/profiles/web/cordis.patch.yml):

▼
yaml
复制代码
- id: agent-presets config: default: minta

The preset persona adds the per-turn protocol: minta_autopilot_preflight before answering about prior work, minta_autopilot_postflight after each reply, inbox-only writes, and graceful degradation when the engine is offline.

Migrating from the manual cordis.patch.yml block

If you previously set Minta up by appending the mcp-client-minta block to ~/.dsh/profiles/web/cordis.patch.yml, remove that block before installing this plugin. The bundle patch and the manual block insert the same loader entry id mcp-client-minta; with both present the profile fails to boot with duplicate loader entry id: mcp-client-minta. Check you are clean with:

▼
bash
复制代码
grep -A6 mcp-client-minta ~/.dsh/profiles/web/cordis.patch.yml # expect no output

(A patch file containing only [] is valid and means "no overrides".)

Manual alternative (no npm install)

Append to ~/.dsh/profiles/web/cordis.patch.yml:

▼
yaml
复制代码
- insert: - id: mcp-client-minta name: '@deepseek-ai/dsh-mcp-client' config: transport: streamable-http serverName: minta url: http://127.0.0.1:18721/mcp failOnStartupError: false

Roadmap and known boundaries

Shipped: MCP wiring, runtime skill registration, session-start prewarm.

Not here yet (and why):

  • Automatic pre/post-flight per turn — DeepSeek Harness 0.1.1-rc.2 exposes no per-step or turn-end agent events, so per-message autopilot stays a model-facing tool call (minta_autopilot_preflight / minta_autopilot_postflight, instructed by the registered skill) rather than a hidden automatic hook.
  • Prompt injection of the prewarm result — the profile-level plugin cannot safely shadow the deployment persona (the prompt registry owns that slot); prewarm currently logs engine state, and the agent reads memory on demand through the MCP tools.
记忆

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:xinchen03/minta#path:/dsh-plugin

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
dsh-memory-eternal
给 DeepSeek Harness 装上自研「第二大脑」:对话结束自动把值得复用的内容沉淀成本地 Markdown 知识卡(自研去重、CJK 检索、可 git 管理),设置页提供图形化知识库 + 交互式知识图谱(图例过滤、时间维、框选、合并、导入导出)。
dsh-decision-log
DeepSeek Harness 决策日志:通过 decision_log / decision_list / decision_audit 工具把关键决策(选了什么 + 为什么)沉淀为可版本化的 DECISIONS.md,并在后续会话自动注入摘要,让决策可追溯、不重复、不推翻。
dsh-flomo-report
生成 AI 叙事的 DSH 会话报告(日报/周报/月报、任意区间)并同步到 flomo:单一可配置标签(默认
dsh-memory-plugin
为 DeepSeek Harness 提供人工记忆、自动对话保留以及图谱和向量排序召回的持久记忆插件。
dsh-cc-haha-dream
DeepSeek Harness 自动做梦插件:后台定期回顾近期会话与记忆,整合去重、更新过时、删除矛盾、修剪索引,支持 hybrid/volume 自动触发、/dream 手动执行与设置面板配置。