memorix 1.8.7 → 1.8.9

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,32 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.8.9] - 2026-09-06
8
+
9
+ ### Added
10
+ - **Grok Build integration** -- adds native lifecycle hook capture for session,
11
+ prompt, tool, compaction, and stop events, plus Grok-specific `AGENTS.md`
12
+ guidance. Thanks to @RaviTharuma for the original integration.
13
+
14
+ ### Changed
15
+ - **Host-owned Grok MCP** -- `memorix setup --agent grok --global` uses Grok's
16
+ hook and rules surfaces without writing Grok's `config.toml` or MCP entries.
17
+ - **Agent documentation** -- the English and Chinese README matrices and setup
18
+ guides now list Grok Build and its trust model.
19
+
20
+ ### Fixed
21
+ - **Safe Grok hook updates** -- preserves unrelated user hooks, removes only
22
+ Memorix-owned entries, supports `GROK_HOME`, and reports project hook trust
23
+ accurately without claiming that Memorix can approve it.
24
+
25
+ ## [1.8.8] - 2026-09-03
26
+
27
+ ### Changed
28
+ - **Public product website metadata** -- package, MCP Registry, Agent plugin,
29
+ installer, README, and GitHub repository links now point to the live
30
+ Memorix website at `https://mem.rglens.com`. This patch does not change the
31
+ runtime behavior of the memory layer.
32
+
7
33
  ## [1.8.7] - 2026-09-02
8
34
 
9
35
  ### 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, DeepSeek Harness, WorkBuddy, and any MCP-capable agent.
9
+ One project memory system for Claude Code, Codex, CodeBuddy Code, Cursor, Windsurf, Copilot, Gemini CLI, OpenCode, Grok Build, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Kiro, Antigravity, Trae, DeepSeek Harness, WorkBuddy, and any MCP-capable agent.
10
10
  </p>
11
11
 
12
12
  <p align="center">
@@ -28,6 +28,7 @@
28
28
  </p>
29
29
 
30
30
  <p align="center">
31
+ <a href="https://mem.rglens.com">Website</a> |
31
32
  <a href="README.zh-CN.md">Chinese</a> |
32
33
  <a href="#install">Install</a> |
33
34
  <a href="#capabilities">Capabilities</a> |
@@ -180,6 +181,11 @@ Memorix connects through the interfaces each agent already supports: plugin pack
180
181
  <strong>Any MCP Client</strong><br>
181
182
  <sub>stdio or HTTP MCP</sub>
182
183
  </td>
184
+ <td align="center" width="12.5%">
185
+ <a href="https://github.com/xai-org/grok-build"><img src="https://github.com/xai-org.png?size=120" alt="Grok Build" width="48" height="48"></a><br>
186
+ <strong>Grok Build</strong><br>
187
+ <sub>native hooks + AGENTS.md</sub>
188
+ </td>
183
189
  </tr>
184
190
  </table>
185
191
 
@@ -261,6 +267,7 @@ memorix setup --agent codebuddy --global
261
267
  memorix setup --agent omp --global
262
268
  memorix setup --agent dsh --global
263
269
  memorix setup --agent workbuddy --global
270
+ memorix setup --agent grok --global
264
271
  ```
265
272
 
266
273
  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.
@@ -280,6 +287,7 @@ What it installs depends on the target agent, but the goal is the same: make Mem
280
287
  - Oh-my-Pi: installs an `omp.extensions` package with extension hook events, a `memorix` command, official skills, and writes MCP config.
281
288
  - 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__*`.
282
289
  - WorkBuddy: writes a Memorix MCP server row into `~/.workbuddy/mcp.json` (or `<project>/.workbuddy/mcp.json` for project installs) and appends guidance to `AGENTS.md`. Tools appear as `mcp__memorix__*`; there is no hooks surface.
290
+ - Grok Build: installs native lifecycle hooks under `~/.grok/hooks/memorix.json` and guidance in `~/.grok/AGENTS.md`. It leaves Grok's MCP configuration host-owned; project-local hooks require Grok `/hooks-trust`, while global hooks are trusted. Set `GROK_HOME` to use a custom Grok home.
283
291
 
284
292
  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.
285
293
 
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、DeepSeek Harness 和任何 MCP Agent 共用同一套项目记忆。
9
+ 让 Claude Code、Codex、CodeBuddy Code、Cursor、Windsurf、Copilot、Gemini CLI、OpenCode、Grok Build、OpenClaw、Hermes Agent、Oh-my-Pi、Pi、Kiro、Antigravity、Trae、DeepSeek Harness、WorkBuddy 和任何 MCP Agent 共用同一套项目记忆。
10
10
  </p>
11
11
 
12
12
  <p align="center">
@@ -28,6 +28,7 @@
28
28
  </p>
29
29
 
30
30
  <p align="center">
31
+ <a href="https://mem.rglens.com">官网</a> |
31
32
  <a href="README.md">English</a> |
32
33
  <a href="#安装">安装</a> |
33
34
  <a href="#能力矩阵">能力矩阵</a> |
@@ -179,6 +180,11 @@ Memorix 通过目标 Agent 已有的接口接入:插件包、MCP、项目规
179
180
  <strong>Any MCP Client</strong><br>
180
181
  <sub>stdio or HTTP MCP</sub>
181
182
  </td>
183
+ <td align="center" width="12.5%">
184
+ <a href="https://github.com/xai-org/grok-build"><img src="https://github.com/xai-org.png?size=120" alt="Grok Build" width="48" height="48"></a><br>
185
+ <strong>Grok Build</strong><br>
186
+ <sub>原生 hooks + AGENTS.md</sub>
187
+ </td>
182
188
  </tr>
183
189
  </table>
184
190
 
@@ -259,6 +265,8 @@ memorix setup --agent hermes --global
259
265
  memorix setup --agent codebuddy --global
260
266
  memorix setup --agent omp --global
261
267
  memorix setup --agent dsh --global
268
+ memorix setup --agent workbuddy --global
269
+ memorix setup --agent grok --global
262
270
  ```
263
271
 
264
272
  它会做的事情取决于目标 Agent,但目标是一致的:你以后在哪里打开这个 Agent,Memorix 就可以在哪里被使用,而不是让你一个仓库一个仓库重复配置。
@@ -277,6 +285,7 @@ memorix setup --agent dsh --global
277
285
  - CodeBuddy Code:安装用户级本地市场插件到 `~/.codebuddy/memorix-local`,包含 MCP、skills 和 hooks。它不会修改既有的 CodeBuddy 模型、权限或 settings 文件;第三方 hook 仍由 CodeBuddy 自己的 `/hooks` 流程确认。
278
286
  - Oh-my-Pi:安装 `omp.extensions` package,包含 extension hook 事件、`memorix` command、官方 skills,并写入 MCP 配置。
279
287
  - 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__*` 形式出现。
288
+ - Grok Build:把原生生命周期 hooks 安装到 `~/.grok/hooks/memorix.json`,把使用规范写入 `~/.grok/AGENTS.md`。Grok 的 MCP 配置仍由 Grok 自己管理;项目级 hooks 需要在 Grok 中执行 `/hooks-trust`,全局 hooks 默认可信;也可以用 `GROK_HOME` 指定自定义 Grok 目录。
280
289
 
281
290
  如果你想要更安静一点的安装,可以对那些 setup 能独立控制 hook capture 的 target 加 `--noHooks`。它会保留 MCP 和使用规范,只跳过 Memorix 的 hook 自动捕获。
282
291