memroot 0.1.0-alpha.0 → 0.1.0-alpha.3
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/README.md +50 -3
- package/dist/index.js +2831 -250
- package/dist/plugins/claude/.claude-plugin/plugin.json +2 -2
- package/dist/plugins/claude/README.md +8 -4
- package/dist/plugins/claude/hooks/hooks.json +10 -0
- package/dist/plugins/claude/scripts/capture-worker.mjs +19294 -0
- package/dist/plugins/claude/scripts/session-end.mjs +469 -0
- package/dist/plugins/claude/scripts/session-start.mjs +372 -53
- package/dist/plugins/claude/scripts/status.mjs +152 -12
- package/dist/plugins/claude/skills/memroot-memory/SKILL.md +48 -0
- package/dist/plugins/claude/skills/memroot-memory/references/save.md +76 -0
- package/dist/plugins/claude/skills/memroot-status/SKILL.md +19 -0
- package/dist/plugins/codex/.codex-plugin/plugin.json +5 -5
- package/dist/plugins/codex/README.md +13 -7
- package/dist/plugins/codex/hooks/hooks.json +11 -0
- package/dist/plugins/codex/scripts/capture-worker.mjs +19294 -0
- package/dist/plugins/codex/scripts/session-end.mjs +469 -0
- package/dist/plugins/codex/scripts/session-start.mjs +372 -53
- package/dist/plugins/codex/scripts/status.mjs +152 -12
- package/dist/plugins/codex/skills/memroot-memory/SKILL.md +48 -0
- package/dist/plugins/codex/skills/memroot-memory/references/save.md +76 -0
- package/dist/plugins/codex/skills/memroot-status/SKILL.md +20 -0
- package/dist/plugins/grok/.claude-plugin/plugin.json +2 -2
- package/dist/plugins/grok/README.md +10 -4
- package/dist/plugins/grok/hooks/hooks.json +24 -1
- package/dist/plugins/grok/scripts/capture-worker.mjs +19294 -0
- package/dist/plugins/grok/scripts/session-end.mjs +469 -0
- package/dist/plugins/grok/scripts/session-reminder.mjs +275 -0
- package/dist/plugins/grok/scripts/status.mjs +152 -12
- package/dist/plugins/grok/skills/memroot-memory/SKILL.md +48 -0
- package/dist/plugins/grok/skills/memroot-memory/references/save.md +76 -0
- package/dist/plugins/grok/skills/memroot-status/SKILL.md +20 -0
- package/package.json +13 -4
- package/dist/plugins/claude/skills/status/SKILL.md +0 -18
- package/dist/plugins/codex/skills/status/SKILL.md +0 -18
- package/dist/plugins/grok/skills/status/SKILL.md +0 -18
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memroot",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
4
|
-
"description": "Memroot
|
|
3
|
+
"version": "0.1.0-alpha.3",
|
|
4
|
+
"description": "Memroot status, memory usage guidance and opt-in session capture.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Memroot"
|
|
7
7
|
},
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
# Memroot for Claude Code
|
|
2
2
|
|
|
3
|
-
This is the complete, self-contained Memroot plugin root, version `0.1.0-alpha.
|
|
3
|
+
This is the complete, self-contained Memroot plugin root, version `0.1.0-alpha.3`. The setup utility copies this folder into a durable installation before native registration. Node.js is the only runtime requirement. Every script in `scripts/` is generated from the Memroot CLI source and bundled with its dependencies; no script refers to `npx`, the npm cache or files outside this bundle.
|
|
4
4
|
|
|
5
|
-
The status skill and `node scripts/status.mjs` explain this release's capabilities.
|
|
5
|
+
The memroot-status skill and `node scripts/status.mjs` explain this release's capabilities. Setup registers the production MCP server with Claude Code (authorize it with `/mcp`); its tools provide explicit save and retrieval.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Hooks only read the stdin envelope (at most 64 KiB, waiting at most 500 ms) and never echo event fields. They print nothing on SessionEnd, never open a transcript and make no network request. When the user has opted in with `memroot capture on`, the SessionEnd hook writes one small job file (identifiers and paths only; 0600 under `$XDG_STATE_HOME/memroot/capture`) and starts the bundled `scripts/capture-worker.mjs` fully detached, resolved next to the hook script itself. Without consent it does nothing.
|
|
8
|
+
|
|
9
|
+
The bundled worker reads only the referenced session transcript, keeps user and assistant text plus tool names and file paths (never tool output), redacts secrets, personal email addresses and home paths locally and fails closed, runs your own agent CLI headless with no tools to propose memories, validates them, and sends only typed memories labeled session-extracted (not user-attested) to `https://api.memroot.dev/mcp` with the separate Memroot CLI capture connection. Each memory includes up to 3 short evidence quotes (at most 200 characters) from the redacted transcript, repo-relative paths and symbols, the normalized repository remote, and salted hashes of the session id and quoted segments; one retrieval query per session contains only the repository name. Raw transcripts are never uploaded. At most 3 memories per session and 10 per 24 hours. `memroot capture off` stops capture and deletes queued work.
|
|
10
|
+
|
|
11
|
+
The SessionStart hook supplies a short static context about memory retrieval. The SessionEnd hook stays within Claude Code's fixed 1.5 s SessionEnd budget (plugin timeouts cannot raise it); it typically returns in about 25 ms. Grok also loads this plugin from `~/.claude`; under Grok the scripts act for the Grok host and the SessionStart context stays silent.
|
|
8
12
|
|
|
9
13
|
Inspect the installed plugin through the agent's native plugin interface.
|
|
10
14
|
|
|
11
|
-
Official references verified
|
|
15
|
+
Official references verified October 2, 2026:
|
|
12
16
|
|
|
13
17
|
- [Plugin packaging and native installation](https://code.claude.com/docs/en/plugins-reference)
|
|
14
18
|
- [Hook event and output contracts](https://code.claude.com/docs/en/hooks)
|