memorix 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +9 -2
  3. package/README.zh-CN.md +9 -2
  4. package/dist/cli/index.js +348 -127
  5. package/dist/index.js +35 -5
  6. package/dist/memcode-runtime/CHANGELOG.md +15 -0
  7. package/dist/sdk.js +34 -4
  8. package/dist/types.d.ts +1 -1
  9. package/docs/AGENT_OPERATOR_PLAYBOOK.md +3 -2
  10. package/docs/INTEGRATIONS.md +9 -2
  11. package/docs/KNOWN_ISSUES_AND_ROADMAP.md +1 -0
  12. package/docs/MEMCODE.md +1 -1
  13. package/docs/SETUP.md +9 -1
  14. package/llms-full.txt +5 -4
  15. package/llms.txt +1 -1
  16. package/package.json +1 -1
  17. package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
  18. package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
  19. package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
  20. package/plugins/copilot/memorix/plugin.json +1 -1
  21. package/plugins/gemini/memorix/gemini-extension.json +1 -1
  22. package/plugins/omp/memorix/package.json +1 -1
  23. package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
  24. package/plugins/pi/memorix/package.json +1 -1
  25. package/server.json +2 -2
  26. package/src/cli/commands/agent-integrations.ts +7 -1
  27. package/src/cli/commands/hooks-install.ts +2 -0
  28. package/src/cli/commands/hooks-preview.ts +5 -0
  29. package/src/cli/commands/integrate.ts +2 -0
  30. package/src/cli/commands/setup.ts +57 -2
  31. package/src/cli/commands/uninstall.ts +20 -0
  32. package/src/hooks/installers/index.ts +43 -2
  33. package/src/hooks/types.ts +2 -0
  34. package/src/integrations/registry.ts +9 -0
  35. package/src/types.ts +1 -1
  36. package/src/workspace/mcp-adapters/dsh.ts +147 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.4.5] - 2026-08-14
6
+
7
+ ### Added
8
+ - **DeepSeek Harness integration** -- `memorix setup --agent dsh` installs
9
+ Memorix into DeepSeek's official harness: a `@deepseek-ai/dsh-mcp-client`
10
+ row in `$DSH_HOME/cordis.patch.yml` (tools appear as `mcp__memorix__*`),
11
+ AGENTS.md guidance at the harness and project levels, and official skills
12
+ under `$DSH_HOME/skills` or `.dsh/skills`. Existing user patch rows are
13
+ preserved and installs are idempotent. DSH has no hook surface, so none is
14
+ written. `doctor`, `repair`, `uninstall`, and `setup --list` cover the new
15
+ target, and MCP checks for user-level-only adapters now run under an
16
+ explicit global scope (fixing the same latent skip for Trae). Native
17
+ validation composed the generated patch with the real
18
+ `@deepseek-ai/dsh@0.1.0-rc.6` launcher.
19
+
5
20
  ## [1.4.4] - 2026-08-14
6
21
 
7
22
  ### Added
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  <p align="center">
8
8
  <strong>Local-first shared memory layer for AI coding agents.</strong><br>
9
- One project memory system for Claude Code, Codex, CodeBuddy Code, Cursor, Windsurf, Copilot, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Kiro, Antigravity, Trae, and any MCP-capable agent.
9
+ One project memory system for Claude Code, Codex, CodeBuddy Code, Cursor, Windsurf, Copilot, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Kiro, Antigravity, Trae, DeepSeek Harness, and any MCP-capable agent.
10
10
  </p>
11
11
 
12
12
  <p align="center">
@@ -171,6 +171,11 @@ Memorix connects through the interfaces each agent already supports: plugin pack
171
171
  <sub>package + MCP + hooks + skills</sub>
172
172
  </td>
173
173
  <td align="center" width="12.5%">
174
+ <a href="https://github.com/deepseek-ai/deepseek-harness"><img src="https://github.com/deepseek-ai.png?size=120" alt="DeepSeek Harness" width="48" height="48"></a><br>
175
+ <strong>DeepSeek Harness</strong><br>
176
+ <sub>MCP patch + AGENTS.md + skills</sub>
177
+ </td>
178
+ <td align="center" width="12.5%">
174
179
  <a href="https://modelcontextprotocol.io"><img src="https://github.com/modelcontextprotocol.png?size=120" alt="Any MCP Client" width="48" height="48"></a><br>
175
180
  <strong>Any MCP Client</strong><br>
176
181
  <sub>stdio or HTTP MCP</sub>
@@ -193,7 +198,7 @@ Integration surfaces:
193
198
  | Plugin or bundle package | Installs plugin, compatible-bundle, or package files where the agent supports them | Claude Code, Codex, CodeBuddy Code, GitHub Copilot CLI, Antigravity, OpenClaw, Hermes Agent, Oh-my-Pi, Pi |
194
199
  | Extension | Installs extension files where the agent supports them | Gemini CLI |
195
200
  | Local plugin | Installs local plugin files where the agent loads them directly | OpenCode |
196
- | MCP/rules config | Writes MCP, rules, steering, guidance, or hook config for IDEs and agents that expose those surfaces | Cursor, Windsurf, Kiro, Trae |
201
+ | MCP/rules config | Writes MCP, rules, steering, guidance, or hook config for IDEs and agents that expose those surfaces | Cursor, Windsurf, Kiro, Trae, DeepSeek Harness |
197
202
  | Skills | Turns durable project knowledge into reusable task guidance | `memorix skills` and `memorix_promote` |
198
203
  | memcode | Opens the bundled terminal agent that already uses Memorix memory | `memorix` or `memcode` |
199
204
 
@@ -254,6 +259,7 @@ memorix setup --agent openclaw --global
254
259
  memorix setup --agent hermes --global
255
260
  memorix setup --agent codebuddy --global
256
261
  memorix setup --agent omp --global
262
+ memorix setup --agent dsh --global
257
263
  ```
258
264
 
259
265
  What it installs depends on the target agent, but the goal is the same: make Memorix available wherever you open that agent without asking you to wire every repo by hand.
@@ -271,6 +277,7 @@ What it installs depends on the target agent, but the goal is the same: make Mem
271
277
  - Hermes Agent: installs into Hermes home (`%LOCALAPPDATA%\hermes` on native Windows, `~/.hermes` elsewhere, or `HERMES_HOME`), enables the plugin in `config.yaml`, registers plugin hooks, slash/CLI commands, skills, and writes MCP config.
272
278
  - CodeBuddy Code: installs a user-scope local marketplace plugin under `~/.codebuddy/memorix-local` with MCP, skills, and hooks. It does not change existing CodeBuddy model, permission, or settings files; CodeBuddy keeps third-party hook approval in its own `/hooks` flow.
273
279
  - Oh-my-Pi: installs an `omp.extensions` package with extension hook events, a `memorix` command, official skills, and writes MCP config.
280
+ - DeepSeek Harness: writes a Memorix `@deepseek-ai/dsh-mcp-client` row into `$DSH_HOME/cordis.patch.yml` (default `~/.dsh/cordis.patch.yml`), appends guidance to the harness `AGENTS.md`, and installs official skills under `$DSH_HOME/skills`. The row follows DSH's own shipped Memorix reference, so tools appear as `mcp__memorix__*`.
274
281
 
275
282
  Need a quieter install? Add `--noHooks` for targets where setup can control hook capture separately from the host's official package entry. It keeps MCP and guidance, but skips Memorix hook capture.
276
283
 
package/README.zh-CN.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  <p align="center">
8
8
  <strong>面向 AI Coding Agent 的本地优先共享记忆层。</strong><br>
9
- 让 Claude Code、Codex、CodeBuddy Code、Cursor、Windsurf、Copilot、Gemini CLI、OpenCode、OpenClaw、Hermes Agent、Oh-my-Pi、Pi、Kiro、Antigravity、Trae 和任何 MCP Agent 共用同一套项目记忆。
9
+ 让 Claude Code、Codex、CodeBuddy Code、Cursor、Windsurf、Copilot、Gemini CLI、OpenCode、OpenClaw、Hermes Agent、Oh-my-Pi、Pi、Kiro、Antigravity、Trae、DeepSeek Harness 和任何 MCP Agent 共用同一套项目记忆。
10
10
  </p>
11
11
 
12
12
  <p align="center">
@@ -170,6 +170,11 @@ Memorix 通过目标 Agent 已有的接口接入:插件包、MCP、项目规
170
170
  <sub>package + MCP + hooks + skills</sub>
171
171
  </td>
172
172
  <td align="center" width="12.5%">
173
+ <a href="https://github.com/deepseek-ai/deepseek-harness"><img src="https://github.com/deepseek-ai.png?size=120" alt="DeepSeek Harness" width="48" height="48"></a><br>
174
+ <strong>DeepSeek Harness</strong><br>
175
+ <sub>MCP patch + AGENTS.md + skills</sub>
176
+ </td>
177
+ <td align="center" width="12.5%">
173
178
  <a href="https://modelcontextprotocol.io"><img src="https://github.com/modelcontextprotocol.png?size=120" alt="Any MCP Client" width="48" height="48"></a><br>
174
179
  <strong>Any MCP Client</strong><br>
175
180
  <sub>stdio or HTTP MCP</sub>
@@ -192,7 +197,7 @@ Memorix 通过目标 Agent 已有的接口接入:插件包、MCP、项目规
192
197
  | 插件 / Bundle / Package | 给支持插件、兼容 bundle 或 package 的 Agent 安装对应文件 | Claude Code、Codex、CodeBuddy Code、GitHub Copilot CLI、Antigravity、OpenClaw、Hermes Agent、Oh-my-Pi、Pi |
193
198
  | Extension | 给支持 extension 的 Agent 安装对应文件 | Gemini CLI |
194
199
  | 本地插件 | 给直接加载本地插件文件的 Agent 安装插件 | OpenCode |
195
- | MCP / rules 配置 | 给支持 MCP、rules、steering、guidance 或 hooks 的 IDE 和 Agent 写入配置 | Cursor、Windsurf、Kiro、Trae |
200
+ | MCP / rules 配置 | 给支持 MCP、rules、steering、guidance 或 hooks 的 IDE 和 Agent 写入配置 | Cursor、Windsurf、Kiro、Trae、DeepSeek Harness |
196
201
  | Skills | 把沉淀下来的项目知识提升成可复用任务指导 | `memorix skills` 和 `memorix_promote` |
197
202
  | memcode | 打开已经接好 Memorix 记忆的内置终端 Agent | `memorix` 或 `memcode` |
198
203
 
@@ -253,6 +258,7 @@ memorix setup --agent openclaw --global
253
258
  memorix setup --agent hermes --global
254
259
  memorix setup --agent codebuddy --global
255
260
  memorix setup --agent omp --global
261
+ memorix setup --agent dsh --global
256
262
  ```
257
263
 
258
264
  它会做的事情取决于目标 Agent,但目标是一致的:你以后在哪里打开这个 Agent,Memorix 就可以在哪里被使用,而不是让你一个仓库一个仓库重复配置。
@@ -270,6 +276,7 @@ memorix setup --agent omp --global
270
276
  - Hermes Agent:安装到 Hermes home(Windows native 默认为 `%LOCALAPPDATA%\hermes`,其他平台默认为 `~/.hermes`,也支持 `HERMES_HOME`),在 `config.yaml` 启用插件,注册 plugin hooks、slash/CLI commands、skills,并写入 MCP 配置。
271
277
  - CodeBuddy Code:安装用户级本地市场插件到 `~/.codebuddy/memorix-local`,包含 MCP、skills 和 hooks。它不会修改既有的 CodeBuddy 模型、权限或 settings 文件;第三方 hook 仍由 CodeBuddy 自己的 `/hooks` 流程确认。
272
278
  - Oh-my-Pi:安装 `omp.extensions` package,包含 extension hook 事件、`memorix` command、官方 skills,并写入 MCP 配置。
279
+ - DeepSeek Harness:向 `$DSH_HOME/cordis.patch.yml`(默认 `~/.dsh/cordis.patch.yml`)写入一行 Memorix `@deepseek-ai/dsh-mcp-client`,向 harness 的 `AGENTS.md` 追加使用规范,并把官方 skills 安装到 `$DSH_HOME/skills`。这一行遵循 DSH 自带的 Memorix 参考配置,因此工具以 `mcp__memorix__*` 形式出现。
273
280
 
274
281
  如果你想要更安静一点的安装,可以对那些 setup 能独立控制 hook capture 的 target 加 `--noHooks`。它会保留 MCP 和使用规范,只跳过 Memorix 的 hook 自动捕获。
275
282