chat-recall 0.7.21 → 0.7.24
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 +17 -2
- package/dist/cli.js +1030 -424
- package/dist/cli.js.map +1 -1
- package/dist/install-hooks.d.ts +10 -0
- package/dist/install-hooks.d.ts.map +1 -1
- package/dist/install-hooks.js +74 -2
- package/dist/install-hooks.js.map +1 -1
- package/dist/mcp-relay.js +1 -1
- package/dist/mcp.js +932 -347
- package/dist/message-hook-core.d.ts +28 -2
- package/dist/message-hook-core.d.ts.map +1 -1
- package/dist/message-hook-core.js +101 -5
- package/dist/message-hook-core.js.map +1 -1
- package/dist/message-hook.js +115 -21
- package/dist/message-hook.js.map +1 -1
- package/dist/scan-worker.js +142 -14
- package/dist/watch.js +185 -57
- package/package.json +2 -2
- package/skills/chat-recall-sessions/SKILL.md +10 -0
package/README.md
CHANGED
|
@@ -240,6 +240,21 @@ After `--uninstall` the MCP server does not put them back.
|
|
|
240
240
|
| `SessionStart`, `UserPromptSubmit`, `Stop`, `SessionEnd` | Each turn | Messages between sessions: tells the session its id, delivers what waits for it, reports its state |
|
|
241
241
|
| `SessionStart`, `UserPromptSubmit`, `Stop` (background) | Until a message arrives | Waits for a message from another session and wakes this one, also when it is idle |
|
|
242
242
|
|
|
243
|
+
The other AI tools get the message hook too, so their sessions can send and
|
|
244
|
+
receive messages. The installer writes it only for a tool that is installed:
|
|
245
|
+
|
|
246
|
+
| Tool | Where | When a message arrives in the session |
|
|
247
|
+
|---|---|---|
|
|
248
|
+
| Codex | `~/.codex/hooks.json` | At the next prompt. Approve the hook once with `/hooks` in Codex. |
|
|
249
|
+
| Antigravity | `~/.gemini/config/hooks.json` | At the next prompt |
|
|
250
|
+
| Cursor | `~/.cursor/hooks.json` | When the agent stops, as a follow-up prompt |
|
|
251
|
+
| opencode | `~/.config/opencode/plugins/chat-recall-messages.js` | Within a few seconds, also when the session is idle |
|
|
252
|
+
| pi | `~/.pi/agent/extensions/chat-recall-messages.js` | Within a few seconds, also when the session is idle |
|
|
253
|
+
|
|
254
|
+
Claude Code, opencode and pi wake an idle session. In Codex, Antigravity and Cursor, an
|
|
255
|
+
idle session reads its messages when its user types next. `chat-recall doctor` shows the
|
|
256
|
+
hook of each tool.
|
|
257
|
+
|
|
243
258
|
## Sessions that work together
|
|
244
259
|
|
|
245
260
|
One session can start others and direct them. In Claude Code, ask for it in
|
|
@@ -291,7 +306,7 @@ skips any tool that is not on the machine (`--no-guard` to skip all of them):
|
|
|
291
306
|
|---|---|---|
|
|
292
307
|
| Claude Code | `~/.claude/settings.json`, every profile | `PreToolUse` |
|
|
293
308
|
| Codex | `~/.codex/hooks.json` | `PreToolUse` |
|
|
294
|
-
| Antigravity | `~/.gemini/
|
|
309
|
+
| Antigravity | `~/.gemini/config/hooks.json` | `PreToolUse` — the one tool with a real `ask` verdict, so it can prompt |
|
|
295
310
|
| Cursor | `~/.cursor/hooks.json` | `beforeShellExecution` + `afterFileEdit` |
|
|
296
311
|
| OpenCode | `~/.config/opencode/plugins/chat-recall-guard.js` | `tool.execute.before` |
|
|
297
312
|
|
|
@@ -342,7 +357,7 @@ codeindex is open source (MIT) at [github.com/munhq/codeindex](https://github.co
|
|
|
342
357
|
| **Paste** | `~/.claude/paste-cache/*.txt` | Large pasted blobs |
|
|
343
358
|
| **Diary** | `~/.chat-recall/index/diary/<agent>/*.json` | What the agent told its future self via `recall_diary_write` |
|
|
344
359
|
|
|
345
|
-
## MCP tools (
|
|
360
|
+
## MCP tools (68, including 4 code-intelligence tools that register when the companion binary is installed)
|
|
346
361
|
|
|
347
362
|
**Search & retrieve** — `recall_search`, `recall_memory_search`, `recall_recent`, `recall_show`, `recall_context`, `recall_summary`, `recall_smart_resume`, `recall_project_context`, `recall_weekly_digest`, `recall_analytics_summary`, `recall_wake_up`.
|
|
348
363
|
|