project-brain 0.26.1 → 0.27.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.
Files changed (2) hide show
  1. package/README.md +19 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -283,6 +283,24 @@ One-time global setup. Detects your environment and registers project-brain with
283
283
  project-brain setup
284
284
  ```
285
285
 
286
+ `setup` asks which parts to install and remembers the answer in
287
+ `~/.project-brain/setup-selection.json`. Re-running it shows what is currently on
288
+ disk beside what you are selecting, then a diff of what will change before
289
+ anything is written. A part you deselect is removed and stays removed; a part
290
+ that ships in a later release shows up marked `NEW` and unchecked.
291
+
292
+ Without a TTY it never prompts — it applies the saved selection, or each part's
293
+ default if there is none.
294
+
295
+ ```bash
296
+ project-brain setup --with=skill:brain-audit,hooks:worktree
297
+ project-brain setup --without=skill:brain-record
298
+ project-brain setup --all
299
+ project-brain setup --none
300
+ ```
301
+
302
+ Run `project-brain setup --with=nope` to print the list of valid ids.
303
+
286
304
  #### Model routing for sub-agents
287
305
 
288
306
  Setup also writes model-routing guidance into each detected host's rules file: which **tier** — `fast`, `balanced`, or `deep` — a delegated sub-agent should run at for a given kind of task, and how to set that tier *on that host*.
@@ -298,7 +316,7 @@ Tiers rather than model names, because four of the six supported hosts default s
298
316
  | opencode | `opencode.json` → `agent.<name>.model` (`provider/model-id`) |
299
317
  | Windsurf | Devin Local routes tiers on its own |
300
318
 
301
- It is opt-**out**: a non-interactive run installs it, and `--no-model-routing` is the way out. `--model-routing` forces it without prompting. The section carries a content version, so a later release updates it in place instead of leaving you on the text you first accepted.
319
+ It is opt-**out**: a non-interactive run installs it by default. Leave it out of the checklist, or pass `--without=guidance:model-routing` (`--no-model-routing` still works as an alias), to skip it. The section carries a content version, so a later release updates it in place instead of leaving you on the text you first accepted.
302
320
 
303
321
  Override the table in `~/.project-brain/model-routing.json`:
304
322
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-brain",
3
- "version": "0.26.1",
3
+ "version": "0.27.0",
4
4
  "type": "module",
5
5
  "description": "Local-first MCP server that gives AI tools semantic memory of your codebase.",
6
6
  "author": "jcsoftdev",
@@ -49,11 +49,11 @@
49
49
  "zod": "^4.4.3"
50
50
  },
51
51
  "optionalDependencies": {
52
- "project-brain-darwin-arm64": "0.26.1",
53
- "project-brain-linux-x64": "0.26.1",
54
- "project-brain-linux-arm64": "0.26.1",
55
- "project-brain-windows-x64": "0.26.1",
56
- "project-brain-windows-arm64": "0.26.1"
52
+ "project-brain-darwin-arm64": "0.27.0",
53
+ "project-brain-linux-x64": "0.27.0",
54
+ "project-brain-linux-arm64": "0.27.0",
55
+ "project-brain-windows-x64": "0.27.0",
56
+ "project-brain-windows-arm64": "0.27.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/bun": "latest",