project-brain 0.26.1 → 0.28.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 +23 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -283,6 +283,28 @@ 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 — one checklist per group (Hosts, Guidance,
|
|
287
|
+
Skills, Other), asked in order, so each question is about one kind of thing — and
|
|
288
|
+
remembers the answer in `~/.project-brain/setup-selection.json`. Re-running it
|
|
289
|
+
shows what is currently on disk beside what you are selecting, then a diff of
|
|
290
|
+
what will change before anything is written. A part you deselect is removed and
|
|
291
|
+
stays removed; a part that ships in a later release shows up marked `NEW` and
|
|
292
|
+
unchecked. On a first run nothing is pre-ticked except what is already on disk,
|
|
293
|
+
so pressing Enter through the checklist changes nothing — you install what you
|
|
294
|
+
tick.
|
|
295
|
+
|
|
296
|
+
Without a TTY it never prompts — it applies the saved selection, or each part's
|
|
297
|
+
default if there is none.
|
|
298
|
+
|
|
299
|
+
```bash
|
|
300
|
+
project-brain setup --with=skill:brain-audit,hooks:worktree
|
|
301
|
+
project-brain setup --without=skill:brain-record
|
|
302
|
+
project-brain setup --all
|
|
303
|
+
project-brain setup --none
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
Run `project-brain setup --with=nope` to print the list of valid ids.
|
|
307
|
+
|
|
286
308
|
#### Model routing for sub-agents
|
|
287
309
|
|
|
288
310
|
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 +320,7 @@ Tiers rather than model names, because four of the six supported hosts default s
|
|
|
298
320
|
| opencode | `opencode.json` → `agent.<name>.model` (`provider/model-id`) |
|
|
299
321
|
| Windsurf | Devin Local routes tiers on its own |
|
|
300
322
|
|
|
301
|
-
It is opt-**out**: a non-interactive run installs it,
|
|
323
|
+
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
324
|
|
|
303
325
|
Override the table in `~/.project-brain/model-routing.json`:
|
|
304
326
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-brain",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.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.
|
|
53
|
-
"project-brain-linux-x64": "0.
|
|
54
|
-
"project-brain-linux-arm64": "0.
|
|
55
|
-
"project-brain-windows-x64": "0.
|
|
56
|
-
"project-brain-windows-arm64": "0.
|
|
52
|
+
"project-brain-darwin-arm64": "0.28.0",
|
|
53
|
+
"project-brain-linux-x64": "0.28.0",
|
|
54
|
+
"project-brain-linux-arm64": "0.28.0",
|
|
55
|
+
"project-brain-windows-x64": "0.28.0",
|
|
56
|
+
"project-brain-windows-arm64": "0.28.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/bun": "latest",
|