chat-recall 0.7.30 → 0.7.36

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
@@ -65,13 +65,16 @@ npx chat-recall init
65
65
 
66
66
  That indexes the transcripts already on your disk, detects which AI tools you have, and registers the MCP server **in each of their configs**:
67
67
 
68
- | Tool | File it writes |
68
+ | Tool | Where the entry goes |
69
69
  |---|---|
70
- | Claude Code | `~/.mcp.json` |
70
+ | Claude Code | user scope (`claude mcp add --scope user`) |
71
71
  | Codex | `~/.codex/config.toml` |
72
72
  | OpenCode | `~/.config/opencode/opencode.json` |
73
+ | Pi, Hermes, Gemini CLI | their own `mcp add` or `config set` commands |
73
74
  | Cursor | `~/.cursor/mcp.json` |
74
75
 
76
+ `chat-recall login` does the same step on its own: one sign-in, and `chat-recall-mcp` is in every tool that is installed, with no sign-in in the tool itself. Run it again on a machine that is already connected to finish a setup that an older version started; `--skip-mcp` leaves the tools alone. The device token goes to the OS keyring, or to a file that only you can read (`CHAT_RECALL_SECRET_STORE=sealkeep` keeps it in sealkeep).
77
+
75
78
  It only touches a config whose tool is on this machine, it never overwrites an entry you curated by hand, and `chat-recall doctor` prints one line per tool so a missing registration is visible. Inside Claude Code you can install the skills and the MCP server together instead:
76
79
 
77
80
  ```
@@ -157,7 +160,7 @@ Everything on your own machine, no account, nothing sent anywhere:
157
160
  git clone https://github.com/munhq/chat-recall && cd chat-recall
158
161
  echo "ADMIN_KEY=$(openssl rand -hex 24)" >> .env
159
162
  echo "POSTGRES_PASSWORD=$(openssl rand -hex 24)" >> .env
160
- docker compose up -d --build # FIRST RUN BUILDS FROM SOURCE (minutes)
163
+ docker compose up -d # pulls the published image
161
164
  ```
162
165
 
163
166
  Then mint a device token and connect a machine — the full sequence, with
@@ -234,8 +237,6 @@ After `--uninstall` the MCP server does not put them back.
234
237
  |---|---|---|
235
238
  | `SessionStart` | New session (`startup` / `clear`) | Injects the project-scoped wake-up bundle |
236
239
  | `UserPromptSubmit` | When you type a prompt | Searches past sessions; if a similar one exists, injects "you've worked on this before" into the agent's context |
237
- | `Stop` | After every assistant turn | Auto-saves topics, decisions, and tools to `~/.chat-recall/memory/` |
238
- | `PreCompact` | Before Claude Code compacts context | Emergency save so nothing is lost to compaction |
239
240
  | `SessionEnd` | When the session closes | Escalates the session's learnings in the background, so nothing is delayed |
240
241
  | `SessionStart`, `UserPromptSubmit`, `Stop`, `SessionEnd` | Each turn | Messages between sessions: tells the session its id, delivers what waits for it, reports its state |
241
242
  | `SessionStart`, `UserPromptSubmit`, `Stop` (background) | Until a message arrives | Waits for a message from another session and wakes this one, also when it is idle |
@@ -403,7 +404,7 @@ The **CLI** keeps almost nothing locally — just what it needs to reach the ser
403
404
 
404
405
  | Path | What |
405
406
  |------|------|
406
- | `~/.chat-recall/credentials.json` | Server target(s) + device token (mode 0600) |
407
+ | `~/.chat-recall/credentials.json` | Server target(s) (mode 0600). The device token is in the OS keyring or in `~/.chat-recall/tokens/` (mode 0600), or in sealkeep with `CHAT_RECALL_SECRET_STORE=sealkeep`; the file keeps a pointer. A `--token` self-host target keeps its token here too |
407
408
  | `~/.chat-recall/sync-ledger.json` | Per-server sync watermark (what's already shipped) |
408
409
  | `~/.chat-recall/hooks/` | Installed hooks (after `install-hooks`) |
409
410
  | `~/.chat-recall/index/diary/` | Agent diaries written by `recall_diary_write` |
@@ -1,8 +1,15 @@
1
+ /**
2
+ * The `timeout` of every command hook this module registers, in seconds.
3
+ * Claude Code applies 60 seconds to a command hook that has none. The value is
4
+ * written into settings.json so the bound is visible in the file.
5
+ */
6
+ export declare const HOOK_TIMEOUT_SECONDS = 60;
1
7
  type HookEntry = {
2
8
  matcher: string;
3
9
  hooks: Array<{
4
10
  type: string;
5
11
  command: string;
12
+ timeout?: number;
6
13
  }>;
7
14
  };
8
15
  /** The two events the board loop needs, and the flag each one passes. */
@@ -1 +1 @@
1
- {"version":3,"file":"board-hooks.d.ts","sourceRoot":"","sources":["../src/board-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AC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGvD;AAED,gEAAgE;AAChE,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG/D"}
@@ -2,7 +2,7 @@
2
2
  * The commands for the two board hooks and the message hook, on every
3
3
  * platform. install-hooks.ts writes them into each profile's settings.json.
4
4
  *
5
- * The other five hooks are POSIX shell scripts, and `install-hooks` refuses to
5
+ * The other four hooks are POSIX shell scripts, and `install-hooks` refuses to
6
6
  * register any of them on Windows: Claude Code runs a hook command through
7
7
  * cmd.exe, which cannot execute a `.sh`. Registering them there put an error on
8
8
  * every interaction.
@@ -23,6 +23,12 @@
23
23
  */
24
24
  import { existsSync } from 'node:fs';
25
25
  import { join } from 'node:path';
26
+ /**
27
+ * The `timeout` of every command hook this module registers, in seconds.
28
+ * Claude Code applies 60 seconds to a command hook that has none. The value is
29
+ * written into settings.json so the bound is visible in the file.
30
+ */
31
+ export const HOOK_TIMEOUT_SECONDS = 60;
26
32
  /** The command string of a hook entry, or null for a malformed one. */
27
33
  function entryCommand(entry) {
28
34
  const cmd = entry?.hooks?.[0]?.command;
@@ -64,7 +70,7 @@ export function isBoardHookEntry(entry) {
64
70
  export function boardHookEntries(execPath, cliEntry) {
65
71
  return BOARD_HOOKS.map(({ event, mode }) => [
66
72
  event,
67
- { matcher: '', hooks: [{ type: 'command', command: boardHookCommand(execPath, cliEntry, mode) }] },
73
+ { matcher: '', hooks: [{ type: 'command', command: boardHookCommand(execPath, cliEntry, mode), timeout: HOOK_TIMEOUT_SECONDS }] },
68
74
  ]);
69
75
  }
70
76
  /**
@@ -121,7 +127,7 @@ export function messageHookEntries(execPath, hookEntry) {
121
127
  const turn = messageHookCommand(execPath, hookEntry);
122
128
  const waiter = messageHookCommand(execPath, hookEntry, true);
123
129
  return [
124
- ...MESSAGE_HOOK_EVENTS.map((event) => [event, { matcher: '', hooks: [{ type: 'command', command: turn }] }]),
130
+ ...MESSAGE_HOOK_EVENTS.map((event) => [event, { matcher: '', hooks: [{ type: 'command', command: turn, timeout: HOOK_TIMEOUT_SECONDS }] }]),
125
131
  ...MESSAGE_WAITER_EVENTS.map((event) => [event, {
126
132
  matcher: '',
127
133
  hooks: [{ type: 'command', command: waiter, asyncRewake: true, timeout: MESSAGE_WAITER_TIMEOUT_SECONDS }],
@@ -1 +1 @@
1
- {"version":3,"file":"board-hooks.js","sourceRoot":"","sources":["../src/board-hooks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAIjC,uEAAuE;AACvE,SAAS,YAAY,CAAC,KAAc;IAClC,MAAM,GAAG,GAAI,KAAkD,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC;IACrF,OAAO,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AAC9C,CAAC;AAED,yEAAyE;AACzE,MAAM,CAAC,MAAM,WAAW,GAA8D;IACpF,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,OAAO,EAAE;IAC5C,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE;CACvC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAgB,EAAE,QAAgB,EAAE,IAAuB;IAC1F,OAAO,IAAI,QAAQ,MAAM,QAAQ,iBAAiB,IAAI,EAAE,CAAC;AAC3D,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAc;IAC7C,MAAM,GAAG,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IAChC,IAAI,GAAG,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAC/B,IAAI,GAAG,CAAC,QAAQ,CAAC,0BAA0B,CAAC;QAAE,OAAO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