claude-compass 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +23 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -16,13 +16,32 @@ One-line note appended to .claude/pending-updates.md
16
16
 
17
17
  Session ends → SessionEnd hook prints a summary if 3+ changes logged
18
18
 
19
- You run: claude-compass update (or type "update CLAUDE.md" in chat)
19
+ You type "update CLAUDE.md" in chat (or run claude-compass update)
20
20
 
21
21
  claude-md-updater agent reads pending-updates.md + CLAUDE.md
22
22
  Makes surgical updates, clears the log
23
23
  Prints: "CLAUDE.md updated — 2 entries added, 1 updated, 9 skipped"
24
24
  ```
25
25
 
26
+ ## Why the update step is intentional
27
+
28
+ The two parts of claude-compass are split deliberately:
29
+
30
+ - **Logging is fully automatic.** Every file write is captured by the hook with zero effort and zero cost. You never think about it.
31
+ - **Updating is manual.** You decide when to sync — typically at a natural stopping point, once a day, or when finishing a feature.
32
+
33
+ This split matters because most file edits don't change anything worth documenting. Running the agent after every session would spend tokens deciding "nothing changed" the majority of the time. Triggering it yourself costs about the same tokens but only when it actually has something useful to do.
34
+
35
+ ## Token usage
36
+
37
+ | Part | Tokens | Frequency |
38
+ |---|---|---|
39
+ | PostToolUse hook | **0** | Every file write |
40
+ | SessionEnd hook | **0** | Every session end |
41
+ | `claude-md-updater` agent | ~2,000–4,000 | Only when you trigger it |
42
+
43
+ At current API rates, one full sync costs less than **$0.01**. Running it once a day for a year is roughly $2–3 total.
44
+
26
45
  ## Requirements
27
46
 
28
47
  - [Claude Code](https://claude.ai/code) CLI
@@ -104,12 +123,12 @@ Everything else gets a one-line entry in `pending-updates.md`.
104
123
 
105
124
  ## Updating CLAUDE.md
106
125
 
107
- When you're ready to sync, either:
126
+ When the session-end hook reminds you there are pending changes, either:
108
127
 
109
128
  1. Type `update CLAUDE.md` in the Claude Code chat, or
110
- 2. Run `claude-compass update` in the terminal — it will remind you of the exact phrase to use
129
+ 2. Run `claude-compass update` in the terminal — it will show you exactly what to type
111
130
 
112
- The `claude-md-updater` agent reads the pending log, decides what's significant enough to document, makes surgical edits to `CLAUDE.md`, and clears the log. It costs roughly 2,000–4,000 tokens per run.
131
+ The `claude-md-updater` agent reads the pending log, decides what's significant enough to document, makes surgical edits to `CLAUDE.md`, and clears the log.
113
132
 
114
133
  ## License
115
134
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "claude-compass",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Automatic CLAUDE.md lifecycle management for Claude Code",
5
5
  "bin": {
6
- "claude-compass": "./bin/claude-compass.js"
6
+ "claude-compass": "bin/claude-compass.js"
7
7
  },
8
8
  "keywords": [
9
9
  "claude",