@nano-step/nano-brain 2026.6.203 → 2026.6.204
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 +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -350,6 +350,7 @@ docker run -d \
|
|
|
350
350
|
| GET | `/api/status` | Server status with version, uptime, workspace stats |
|
|
351
351
|
| POST | `/api/v1/init` | Register workspace |
|
|
352
352
|
| GET | `/api/v1/workspaces` | List all workspaces (with doc counts) |
|
|
353
|
+
| POST | `/api/v1/workspaces/resolve` | Resolve path → workspace hash + `registered` status (read-only) |
|
|
353
354
|
| DELETE | `/api/v1/workspaces/:hash` | Permanently delete a workspace + cascade docs/chunks/embeddings |
|
|
354
355
|
| GET | `/api/v1/wake-up` | Workspace briefing |
|
|
355
356
|
| POST | `/api/harvest` | Trigger session harvesting |
|
|
@@ -392,6 +393,7 @@ Workspace is passed in the JSON body for POST, query param for GET.
|
|
|
392
393
|
| `nano-brain` (no args) | Start HTTP server (default: port 3100) |
|
|
393
394
|
| `nano-brain init --root=<path>` | Register workspace |
|
|
394
395
|
| `nano-brain workspaces list` | List registered workspaces with doc counts |
|
|
396
|
+
| `nano-brain workspaces current [--path=<p>] [--export\|--json\|--check]` | Resolve current/path workspace hash. `--export` prints `export NANO_BRAIN_WORKSPACE=<hash>` for `eval`; `--check` exits 2 if not registered |
|
|
395
397
|
| `nano-brain workspaces remove --workspace=<hash> [--dry-run\|--force]` | Permanently delete a workspace + all its documents/chunks/embeddings |
|
|
396
398
|
| `nano-brain write` | Write document via CLI |
|
|
397
399
|
| `nano-brain query [--scope=all] [--tags=t1,t2]` | Hybrid search (BM25 + vector + RRF + recency) |
|
|
@@ -418,7 +420,7 @@ Workspace is passed in the JSON body for POST, query param for GET.
|
|
|
418
420
|
|
|
419
421
|
## MCP Tools
|
|
420
422
|
|
|
421
|
-
nano-brain exposes
|
|
423
|
+
nano-brain exposes 14 tools via MCP (Model Context Protocol):
|
|
422
424
|
|
|
423
425
|
| Tool | Description |
|
|
424
426
|
|------|-------------|
|
|
@@ -435,6 +437,7 @@ nano-brain exposes 13 tools via MCP (Model Context Protocol):
|
|
|
435
437
|
| `memory_trace` | Call chain trace from entry point |
|
|
436
438
|
| `memory_impact` | Cross-file change impact analysis |
|
|
437
439
|
| `memory_symbols` | Symbol search (functions, types, constants) |
|
|
440
|
+
| `memory_workspaces_resolve` | Resolve filesystem path → workspace hash + registered status (read-only) |
|
|
438
441
|
|
|
439
442
|
### MCP Configuration
|
|
440
443
|
|