engrm 0.4.37 → 0.4.39

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 CHANGED
@@ -75,7 +75,7 @@ openclaw plugins install engrm-openclaw-plugin
75
75
  npx engrm init
76
76
  ```
77
77
 
78
- This auto-configures MCP servers and hooks in `~/.claude.json` and `~/.codex/config.toml`.
78
+ This auto-configures MCP servers and hooks in Claude Code and Codex, and also sets up OpenCode with a local Engrm plugin plus MCP registration.
79
79
 
80
80
  **Alternative methods:**
81
81
  ```bash
@@ -91,6 +91,54 @@ npx engrm init --manual
91
91
 
92
92
  For npm users, Engrm runs on Node.js 18+ and does not require Bun to be installed.
93
93
 
94
+ ### For Hermes / Remote MCP
95
+
96
+ Engrm can now run over Streamable HTTP for Hermes-style container deployments.
97
+
98
+ Add this to `~/.engrm/settings.json`:
99
+
100
+ ```json
101
+ {
102
+ "http": {
103
+ "enabled": true,
104
+ "port": 3767,
105
+ "bearer_tokens": ["replace-with-a-long-random-token"]
106
+ },
107
+ "fleet": {
108
+ "project_name": "shared-experience",
109
+ "namespace": "ns_fleet_shared",
110
+ "api_key": "cvk_fleet_shared"
111
+ }
112
+ }
113
+ ```
114
+
115
+ Then start the remote MCP endpoint:
116
+
117
+ ```bash
118
+ ENGRM_HTTP_PORT=3767 engrm serve --http
119
+ ```
120
+
121
+ Hermes should connect with a bearer token header:
122
+
123
+ ```json
124
+ {
125
+ "mcpServers": {
126
+ "engrm": {
127
+ "url": "http://engrm:3767/mcp",
128
+ "headers": {
129
+ "Authorization": "Bearer replace-with-a-long-random-token"
130
+ }
131
+ }
132
+ }
133
+ }
134
+ ```
135
+
136
+ Fleet writes:
137
+ - use the reserved project name `shared-experience` by default
138
+ - stay `shared` unless explicitly overridden
139
+ - sync to the dedicated fleet namespace/key instead of the normal org namespace
140
+ - get an extra outbound scrub pass that redacts hostnames, IPs, and MACs before upload
141
+
94
142
  ---
95
143
 
96
144
  ## How It Works
@@ -429,6 +477,7 @@ What each tool is good for:
429
477
  - `memory_console` gives the quickest project snapshot, including whether continuity is `fresh`, `thin`, or `cold`
430
478
  - `resume_thread` is the fastest “get me back into the live thread” path when you want freshness, source, next actions, tool trail, chat, and one exact `load_recall_item(...)` suggestion in one place
431
479
  - `resume_thread(agent="claude-code")` lets you deliberately recover one agent's thread on a shared repo instead of only taking the blended repo-level default
480
+ - when Claude Code is active on a shared repo, startup, the recall index, and the default `resume_thread` path now bias toward Claude’s thread first, so Claude sessions are less likely to get nudged into a Codex/OpenClaw branch of the same project by accident
432
481
  - startup and the MCP workbench now surface a direct `resume_thread(agent="...")` hint when multiple agents are active on one repo
433
482
  - `list_recall_items` is the deterministic directory-first path when you want to inspect the best candidate handoffs/threads before opening one exact item
434
483
  - `load_recall_item` completes that protocol by letting agents open one exact recall key directly after listing
@@ -589,6 +638,8 @@ Engrm auto-registers in:
589
638
  - `~/.claude/settings.json` — 6 lifecycle hooks
590
639
  - `~/.codex/config.toml` — MCP server (`engrm`) + `codex_hooks` feature flag
591
640
  - `~/.codex/hooks.json` — SessionStart and Stop hooks
641
+ - `~/.config/opencode/opencode.json` — MCP server (`engrm`)
642
+ - `~/.config/opencode/plugins/engrm.js` — local OpenCode continuity plugin
592
643
 
593
644
  ---
594
645
 
@@ -623,7 +674,7 @@ See [LICENSE](LICENSE) for full terms.
623
674
  - Security: [SECURITY.md](SECURITY.md)
624
675
  - Roadmap: [ROADMAP.md](ROADMAP.md)
625
676
 
626
- **Maintainers:** run `node scripts/check-public-docs.mjs` to verify the repo only contains the approved public docs set at the root.
677
+ **Maintainers:** run `npm run check:release` before publish to verify the build, public-doc guard, and OpenClaw plugin contract together.
627
678
 
628
679
  ---
629
680