chat-recall 0.7.39 → 0.7.40
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 +22 -14
- package/dist/cli.js +698 -410
- package/dist/cli.js.map +1 -1
- package/dist/install-hooks.d.ts +11 -3
- package/dist/install-hooks.d.ts.map +1 -1
- package/dist/install-hooks.js +10 -5
- package/dist/install-hooks.js.map +1 -1
- package/dist/kit-store.d.ts +1 -1
- package/dist/kit-store.d.ts.map +1 -1
- package/dist/kit-store.js +2 -2
- package/dist/kit-store.js.map +1 -1
- package/dist/mcp-host.d.ts +50 -0
- package/dist/mcp-host.d.ts.map +1 -0
- package/dist/mcp-host.js +111 -0
- package/dist/mcp-host.js.map +1 -0
- package/dist/mcp.js +1023 -981
- package/dist/mcp.js.map +1 -1
- package/dist/memory-guard.d.ts +41 -0
- package/dist/memory-guard.d.ts.map +1 -0
- package/dist/memory-guard.js +56 -0
- package/dist/memory-guard.js.map +1 -0
- package/dist/message-hook.js +1 -1
- package/dist/service-installer.js +2 -2
- package/dist/service-installer.js.map +1 -1
- package/dist/session-exit.d.ts +50 -0
- package/dist/session-exit.d.ts.map +1 -0
- package/dist/session-exit.js +70 -0
- package/dist/session-exit.js.map +1 -0
- package/dist/star-nudge.js +1 -1
- package/dist/sync-client.d.ts.map +1 -1
- package/dist/sync-client.js +5 -6
- package/dist/sync-client.js.map +1 -1
- package/dist/vendor/mcp-kit/VERSION +1 -0
- package/dist/vendor/mcp-kit/host-main.d.ts +2 -0
- package/dist/vendor/mcp-kit/host-main.js +3 -0
- package/dist/vendor/mcp-kit/host-plain.d.ts +56 -0
- package/dist/vendor/mcp-kit/host-plain.js +502 -0
- package/dist/vendor/mcp-kit/host.d.ts +32 -0
- package/dist/vendor/mcp-kit/host.js +43 -0
- package/dist/vendor/mcp-kit/registry.d.ts +79 -0
- package/dist/vendor/mcp-kit/registry.js +194 -0
- package/dist/watch.js +45 -14
- package/package.json +2 -2
- package/dist/mcp-relay.d.ts +0 -3
- package/dist/mcp-relay.d.ts.map +0 -1
- package/dist/mcp-relay.js +0 -472
- package/dist/mcp-relay.js.map +0 -1
- package/dist/mcp-socket.d.ts +0 -98
- package/dist/mcp-socket.d.ts.map +0 -1
- package/dist/mcp-socket.js +0 -249
- package/dist/mcp-socket.js.map +0 -1
- package/dist/relay-lifecycle.d.ts +0 -92
- package/dist/relay-lifecycle.d.ts.map +0 -1
- package/dist/relay-lifecycle.js +0 -290
- package/dist/relay-lifecycle.js.map +0 -1
package/README.md
CHANGED
|
@@ -196,28 +196,36 @@ any of it. Secrets are masked client-side before anything leaves the machine.
|
|
|
196
196
|
{
|
|
197
197
|
"mcpServers": {
|
|
198
198
|
"chat-recall": {
|
|
199
|
-
"
|
|
199
|
+
"url": "http://127.0.0.1:7717/chat-recall"
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
of them. The daemon exits 15 minutes after the last session closes.
|
|
205
|
+
The entry is a URL, and the client starts no process. The host of the machine
|
|
206
|
+
serves chat-recall on that URL. One process serves every session of the machine,
|
|
207
|
+
so the engine loads once: background sync runs in one process, and no session
|
|
208
|
+
races another for the index lock. The host starts at login and the client
|
|
209
|
+
reconnects to it.
|
|
211
210
|
|
|
212
|
-
|
|
211
|
+
The host is `mcp-kit-host`, from `@munhq/mcp-kit`. It serves every local MCP
|
|
212
|
+
server of the machine, not only chat-recall. `chat-recall init` installs it
|
|
213
|
+
through the kit and adds chat-recall to its list of servers. chat-recall adds no
|
|
214
|
+
unit, timer or job of its own, and it adds no second copy of the kit: the
|
|
215
|
+
published package holds the host code that it needs.
|
|
213
216
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
CHAT_RECALL_DAEMON_IDLE_SECS=0 # keep the daemon resident (default 900)
|
|
217
|
-
```
|
|
217
|
+
If the machine has no host, `init` writes the stdio entry, which runs the server
|
|
218
|
+
in each session:
|
|
218
219
|
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
```json
|
|
221
|
+
{
|
|
222
|
+
"mcpServers": {
|
|
223
|
+
"chat-recall": {
|
|
224
|
+
"command": "chat-recall-mcp"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
```
|
|
221
229
|
|
|
222
230
|
`chat-recall init` installs the Claude Code hooks in every profile's
|
|
223
231
|
`settings.json`. If you added only the MCP server, from a marketplace button or
|