bb-cc-lite 0.1.3 → 0.1.5

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 (3) hide show
  1. package/README.md +12 -10
  2. package/dist/cli.js +0 -0
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -16,6 +16,8 @@ npx bb-cc-lite install --scope local
16
16
 
17
17
  Restart Claude Code in the project. The line appears at the bottom.
18
18
 
19
+ The statusline runtime is installed into Claude settings; the `npx` install does not add a global `bb-cc-lite` command to your shell. Run later CLI commands through `npx bb-cc-lite ...`, or install globally with `npm install -g bb-cc-lite` if you want bare `bb-cc-lite ...` commands.
20
+
19
21
  Install replaces any existing Claude Code `statusLine` by default and stores a backup so `uninstall` can restore it. It also builds a local personal baseline by default after it installs the statusline. It reads bounded local Claude Code JSONL once, newest eligible files first, extracts aggregate patterns from past sessions, and stores a small `baseline.json` under the `bb-cc-lite` app home. Use `--no-learn` to install the statusline without scanning old JSONL:
20
22
 
21
23
  ```bash
@@ -47,7 +49,7 @@ bb: Stop | why: test loop: usually unrecovered after 3x | do: inspect first fail
47
49
  ## Why
48
50
 
49
51
  ```bash
50
- bb-cc-lite why
52
+ npx bb-cc-lite why
51
53
  ```
52
54
 
53
55
  ```text
@@ -59,7 +61,7 @@ Next action: inspect first failure.
59
61
  By default, `why` explains the latest recorded decision. To inspect a specific Claude Code session, pass its session id:
60
62
 
61
63
  ```bash
62
- bb-cc-lite why --session <session-id>
64
+ npx bb-cc-lite why --session <session-id>
63
65
  ```
64
66
 
65
67
  `why` may mention when the personal baseline influenced wording or priority, including safe recovery and edit-lag explanations recorded by the statusline. It reads only the derived local event store; it does not reopen old transcripts to expose raw content.
@@ -71,10 +73,10 @@ bb-cc-lite why --session <session-id>
71
73
  Refresh, inspect, or clear the baseline:
72
74
 
73
75
  ```bash
74
- bb-cc-lite doctor --build-baseline
75
- bb-cc-lite doctor --baseline
76
- bb-cc-lite doctor --clear-baseline
77
- bb-cc-lite unlearn
76
+ npx bb-cc-lite doctor --build-baseline
77
+ npx bb-cc-lite doctor --baseline
78
+ npx bb-cc-lite doctor --clear-baseline
79
+ npx bb-cc-lite unlearn
78
80
  ```
79
81
 
80
82
  `doctor --baseline` prints a safe aggregate summary, including recent window, validation category, and safe tool category names when present. `doctor --clear-baseline` and `unlearn` remove only `baseline.json`.
@@ -92,10 +94,10 @@ LiteLLM is used only as public pricing data for cost estimates. `bb-cc-lite` doe
92
94
  ## Undo
93
95
 
94
96
  ```bash
95
- bb-cc-lite doctor
96
- bb-cc-lite doctor --clear-baseline
97
- bb-cc-lite unlearn
98
- bb-cc-lite uninstall --scope local
97
+ npx bb-cc-lite doctor
98
+ npx bb-cc-lite doctor --clear-baseline
99
+ npx bb-cc-lite unlearn
100
+ npx bb-cc-lite uninstall --scope local
99
101
  ```
100
102
 
101
103
  Install backs up the previous Claude Code `statusLine` before replacing it.
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bb-cc-lite",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Black Box Claude Code Lite: a small Claude Code status line that says when to continue, slow down, or stop.",
5
5
  "type": "module",
6
6
  "author": "Softcane",
@@ -21,7 +21,7 @@
21
21
  "README.md"
22
22
  ],
23
23
  "scripts": {
24
- "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json",
24
+ "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json && node -e \"require('node:fs').chmodSync('dist/cli.js',0o755)\"",
25
25
  "typecheck": "tsc -p tsconfig.json --noEmit",
26
26
  "lint": "eslint .",
27
27
  "test": "vitest run",