claude-recall 0.28.7 → 0.28.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 +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ This finds the agent config (workspace `.kiro/agents/` first, then `~/.kiro/agen
|
|
|
107
107
|
|
|
108
108
|
> **⚠️ After `kiro setup` or `--merge-into`: start ONE fresh conversation per project (no `--resume`).** Kiro snapshots the agent config into each conversation **at creation** — `--resume` restores that snapshot and ignores agent-config changes made since. So conversations created *before* you wired claude-recall will **never** run its hooks, no matter how often you resume them or restart Kiro. Start one fresh conversation after wiring; every conversation created from then on carries the hooks, **including when resumed** (`--resume` works normally afterwards — this is a one-time rollover per project).
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
The rollover, concretely (add your usual flags, e.g. `--classic`, `--trust-all-tools`):
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
113
|
cd ~/path/to/your-project
|
|
@@ -121,7 +121,7 @@ claude-recall search "helm"
|
|
|
121
121
|
tail -5 ~/.claude-recall/hook-logs/hook-dispatcher.log
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
The log should show a `scope [...] → project=your-project` line; `claude-recall kiro doctor` gives a fuller health report.
|
|
125
125
|
|
|
126
126
|
> **Tip:** export `ANTHROPIC_API_KEY` in the shell you launch Kiro from. Hooks then use Claude Haiku to classify what's worth remembering; without it a conservative regex fallback runs, which catches explicit phrasings ("remember ...", "always ...", "never ...", "I prefer ...") but misses subtler ones.
|
|
127
127
|
|
|
@@ -150,7 +150,7 @@ With Option B the agent has the memory tools (`load_rules`, `store_memory`, `sea
|
|
|
150
150
|
> To force a fixed project id regardless of directory, pin it with `CLAUDE_RECALL_PROJECT_ID`. A per-project shell alias makes it seamless:
|
|
151
151
|
>
|
|
152
152
|
> ```bash
|
|
153
|
-
> alias kiro-
|
|
153
|
+
> alias kiro-myproj='CLAUDE_RECALL_PROJECT_ID=my-project kiro-cli chat --agent <your-agent> --resume'
|
|
154
154
|
> ```
|
|
155
155
|
>
|
|
156
156
|
> `claude-recall kiro doctor` always prints the resolved project (and whether it's pinned) so you can confirm where memories are landing before trusting it.
|
|
@@ -522,6 +522,8 @@ claude-recall hook run memory-sync # Stop + PreCompact hook (syncs rul
|
|
|
522
522
|
|
|
523
523
|
Each project gets isolated memory based on its working directory. **Project ID** is derived from the `cwd` passed by the agent. Universal memories (no project scope) are available everywhere. Switching projects switches memory automatically.
|
|
524
524
|
|
|
525
|
+
To pin the project id explicitly — e.g. one logical project spanning several directories (worktrees, subrepos) — set `CLAUDE_RECALL_PROJECT_ID` (see [Environment Variables](#environment-variables)).
|
|
526
|
+
|
|
525
527
|
Database location: `~/.claude-recall/claude-recall.db` (shared file, scoped by `project_id` column).
|
|
526
528
|
|
|
527
529
|
---
|
package/package.json
CHANGED