project-brain 0.12.1 → 0.13.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 +11 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -198,6 +198,16 @@ project-brain search "how does auth work"
198
198
  echo "how does auth work" | project-brain search --stdin
199
199
  ```
200
200
 
201
+ ### `update`
202
+
203
+ Update project-brain to the latest published version, using whichever install manager (bun, pnpm, yarn, or npm) it was originally installed with.
204
+
205
+ ```bash
206
+ project-brain update
207
+ ```
208
+
209
+ Every other command already prints an `update available` notice (current → latest, with the exact command to run) once a day when a newer version is published — `update` runs that command for you instead of requiring a copy-paste.
210
+
201
211
  ### `serve`
202
212
 
203
213
  Start the MCP server. Default mode uses stdio (for local AI tool connections).
@@ -244,7 +254,7 @@ Leaving `BRAIN_EMBED_BATCH_SIZE`/`BRAIN_EMBED_CONCURRENCY` unset does not mean "
244
254
 
245
255
  ## Update notifications
246
256
 
247
- The CLI checks (at most once a day, in the background) whether a newer `project-brain` is published on npm and prints a one-line notice when one is available. It is fail-silent, adds zero latency (the check runs in a detached process; the current command reads only a cached result), and is skipped in CI. Disable it with `BRAIN_NO_UPDATE_CHECK=1`.
257
+ The CLI checks (at most once a day, in the background) whether a newer `project-brain` is published on npm and prints a one-line notice when one is available. It is fail-silent, adds zero latency (the check runs in a detached process; the current command reads only a cached result), and is skipped in CI. Disable it with `BRAIN_NO_UPDATE_CHECK=1`. Run `project-brain update` to apply it.
248
258
 
249
259
  ## Troubleshooting
250
260
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-brain",
3
- "version": "0.12.1",
3
+ "version": "0.13.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",
@@ -44,11 +44,11 @@
44
44
  "zod": "^4.4.3"
45
45
  },
46
46
  "optionalDependencies": {
47
- "project-brain-darwin-arm64": "0.12.1",
48
- "project-brain-linux-x64": "0.12.1",
49
- "project-brain-linux-arm64": "0.12.1",
50
- "project-brain-windows-x64": "0.12.1",
51
- "project-brain-windows-arm64": "0.12.1"
47
+ "project-brain-darwin-arm64": "0.13.0",
48
+ "project-brain-linux-x64": "0.13.0",
49
+ "project-brain-linux-arm64": "0.13.0",
50
+ "project-brain-windows-x64": "0.13.0",
51
+ "project-brain-windows-arm64": "0.13.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/bun": "latest",