@misterhuydo/cairn-mcp 1.10.0 → 1.12.0
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 +2 -2
- package/bin/cairn-cli.js +290 -341
- package/index.js +9 -5
- package/package.json +1 -1
- package/src/graph/cwd.js +81 -31
- package/src/graph/db.js +9 -0
- package/src/tools/memo.js +23 -4
- package/src/tools/roadmap.js +210 -57
- package/test/cairn-cli.test.js +43 -0
- package/test/cwd.test.js +36 -0
- package/test/roadmap.test.js +196 -2
package/README.md
CHANGED
|
@@ -46,8 +46,8 @@ No need to re-run `cairn install` — hooks and MCP config carry over between ve
|
|
|
46
46
|
|---|---|---|
|
|
47
47
|
| `PreToolUse[Read]` | Every file read | Source files compressed ~68% before Claude sees them; large files show structural outline with **line numbers** to save tokens |
|
|
48
48
|
| `PreToolUse[Edit]` | Every file edit | Blocks Edit if Claude only saw compressed content — requires a full re-read first |
|
|
49
|
-
| `Stop` | End of every response | Session auto-saved to `.cairn/session.json
|
|
50
|
-
| `UserPromptSubmit` | First message of a new session | Fresh project: Claude prompted to run `cairn_maintain`. Returning session: Claude prompted to run `cairn_resume
|
|
49
|
+
| `Stop` | End of every response | Session auto-saved to `.cairn/session.json`, Claude auto-memory backed up to `.cairn/memory/`, and the roadmap re-surfaced — all confirmed in one line |
|
|
50
|
+
| `UserPromptSubmit` | First message of a new session | Fresh project: Claude prompted to run `cairn_maintain`. Returning session: Claude prompted to run `cairn_resume`. Memory restored from `.cairn/memory/` if the Claude store is empty (new machine / fresh clone) |
|
|
51
51
|
|
|
52
52
|
---
|
|
53
53
|
|