engrm 0.4.6 → 0.4.8
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 +42 -1
- package/dist/cli.js +532 -55
- package/dist/hooks/elicitation-result.js +248 -1
- package/dist/hooks/post-tool-use.js +286 -1
- package/dist/hooks/pre-compact.js +292 -9
- package/dist/hooks/sentinel.js +166 -0
- package/dist/hooks/session-start.js +376 -17
- package/dist/hooks/stop.js +489 -15
- package/dist/hooks/user-prompt-submit.js +1387 -0
- package/dist/server.js +1895 -48
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ Cross-device persistent memory for OpenClaw, Claude Code, Codex, and any MCP-com
|
|
|
11
11
|
|
|
12
12
|
[Get Started](https://engrm.dev) • [Documentation](https://engrm.dev/developers) • [Blog](https://engrm.dev/blog)
|
|
13
13
|
|
|
14
|
+
Docs: [Architecture](./ARCHITECTURE.md) • [Plugin Spec](./PLUGIN_SPEC.md) • [Roadmap](./ROADMAP.md) • [Security](./SECURITY.md)
|
|
15
|
+
|
|
14
16
|
---
|
|
15
17
|
|
|
16
18
|
## Why Engrm?
|
|
@@ -126,7 +128,7 @@ Engrm Status
|
|
|
126
128
|
Email: david@example.com
|
|
127
129
|
Device: macbook-a1b2c3d4
|
|
128
130
|
Plan: Pro (£9.99/mo)
|
|
129
|
-
|
|
131
|
+
Server: https://engrm.dev
|
|
130
132
|
MCP server: registered
|
|
131
133
|
Codex MCP: registered
|
|
132
134
|
Hooks: registered (6 hooks)
|
|
@@ -208,6 +210,45 @@ The MCP server exposes tools that supported agents can call directly:
|
|
|
208
210
|
| `send_message` | Leave a cross-device or team note |
|
|
209
211
|
| `recent_activity` | Inspect what Engrm captured most recently |
|
|
210
212
|
| `memory_stats` | View high-level capture and sync health |
|
|
213
|
+
| `capture_status` | Check whether local hooks are registered and raw prompt/tool chronology is actually being captured |
|
|
214
|
+
| `activity_feed` | Inspect one chronological local feed across prompts, tools, observations, and summaries |
|
|
215
|
+
| `memory_console` | Show a high-signal local memory console for the current project |
|
|
216
|
+
| `project_memory_index` | Show typed local memory by project, including hot files and recent sessions |
|
|
217
|
+
| `workspace_memory_index` | Show cross-project local memory coverage across the whole workspace |
|
|
218
|
+
| `recent_requests` | Inspect captured raw user prompt chronology |
|
|
219
|
+
| `recent_tools` | Inspect captured raw tool chronology |
|
|
220
|
+
| `recent_sessions` | List recent local sessions to inspect further |
|
|
221
|
+
| `session_story` | Show prompts, tools, observations, and summary for one session |
|
|
222
|
+
| `plugin_catalog` | Inspect Engrm plugin manifests for memory-aware integrations |
|
|
223
|
+
| `save_plugin_memory` | Save reduced plugin output with stable Engrm provenance |
|
|
224
|
+
| `capture_git_diff` | Reduce a git diff into a durable memory object and save it |
|
|
225
|
+
|
|
226
|
+
### Local Memory Inspection
|
|
227
|
+
|
|
228
|
+
For local testing, Engrm now exposes a small inspection set that lets you see
|
|
229
|
+
what it actually captured before anything syncs upstream.
|
|
230
|
+
|
|
231
|
+
Recommended flow:
|
|
232
|
+
|
|
233
|
+
```text
|
|
234
|
+
1. capture_status
|
|
235
|
+
2. memory_console
|
|
236
|
+
3. activity_feed
|
|
237
|
+
4. recent_sessions
|
|
238
|
+
5. session_story
|
|
239
|
+
6. project_memory_index
|
|
240
|
+
7. workspace_memory_index
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
What each tool is good for:
|
|
244
|
+
|
|
245
|
+
- `capture_status` tells you whether prompt/tool hooks are live on this machine
|
|
246
|
+
- `memory_console` gives the quickest project snapshot
|
|
247
|
+
- `activity_feed` shows the merged chronology across prompts, tools, observations, and summaries
|
|
248
|
+
- `recent_sessions` helps you pick a session worth opening
|
|
249
|
+
- `session_story` reconstructs one session in detail
|
|
250
|
+
- `project_memory_index` shows typed memory by repo
|
|
251
|
+
- `workspace_memory_index` shows coverage across all repos on the machine
|
|
211
252
|
|
|
212
253
|
### Observation Types
|
|
213
254
|
|