@onebrain-ai/cli 2.0.2 → 2.0.3
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 +48 -0
- package/dist/onebrain +2 -2
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# @onebrain-ai/cli
|
|
2
|
+
|
|
3
|
+
The CLI binary for [OneBrain](https://github.com/kengio/onebrain) — a personal AI OS built on Obsidian with persistent memory, 24+ skills, and Claude Code integration.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# with bun (recommended)
|
|
9
|
+
bun install -g @onebrain-ai/cli
|
|
10
|
+
|
|
11
|
+
# or with npm
|
|
12
|
+
npm install -g @onebrain-ai/cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Verify: `onebrain --version`
|
|
16
|
+
|
|
17
|
+
## What it does
|
|
18
|
+
|
|
19
|
+
The `onebrain` binary handles the low-level operations that keep your vault running.
|
|
20
|
+
|
|
21
|
+
**User-facing commands:**
|
|
22
|
+
|
|
23
|
+
| Command | Purpose |
|
|
24
|
+
|---------|---------|
|
|
25
|
+
| `onebrain init` | First-time vault initialization |
|
|
26
|
+
| `onebrain update` | Pull latest plugin files from GitHub |
|
|
27
|
+
| `onebrain doctor` | Audit vault health — orphan checkpoints, version drift, qmd embedding status, missing config |
|
|
28
|
+
| `onebrain help` | List all available commands |
|
|
29
|
+
|
|
30
|
+
**Internal commands** (not meant to be run directly):
|
|
31
|
+
|
|
32
|
+
`session-init` · `orphan-scan` · `checkpoint` · `qmd-reindex` · `vault-sync` · `register-hooks` · `migrate`
|
|
33
|
+
|
|
34
|
+
## Requirements
|
|
35
|
+
|
|
36
|
+
- macOS, Linux, or Windows (Git Bash)
|
|
37
|
+
- Bun or Node.js required (used as the runtime for the npm package)
|
|
38
|
+
- For a self-contained binary with no runtime dependency, download from [GitHub Releases](https://github.com/kengio/onebrain/releases)
|
|
39
|
+
|
|
40
|
+
## OneBrain
|
|
41
|
+
|
|
42
|
+
OneBrain gives your AI agent persistent memory across sessions, a structured Markdown vault, and 24+ pre-built skills — so every session picks up exactly where the last one left off.
|
|
43
|
+
|
|
44
|
+
**Full documentation and vault setup:** [github.com/kengio/onebrain](https://github.com/kengio/onebrain)
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
[MIT](https://github.com/kengio/onebrain/blob/main/LICENSE)
|
package/dist/onebrain
CHANGED
|
@@ -10742,7 +10742,7 @@ init_dist();
|
|
|
10742
10742
|
import { mkdir as mkdir3, readFile as readFile3, rename as rename3, stat as stat3, writeFile as writeFile3 } from "node:fs/promises";
|
|
10743
10743
|
import { homedir as homedir3 } from "node:os";
|
|
10744
10744
|
import { dirname as dirname3, join as join5 } from "node:path";
|
|
10745
|
-
var binaryVersion = "2.0.
|
|
10745
|
+
var binaryVersion = "2.0.3";
|
|
10746
10746
|
var STANDARD_FOLDERS = [
|
|
10747
10747
|
"00-inbox",
|
|
10748
10748
|
"01-projects",
|
|
@@ -12598,7 +12598,7 @@ async function vaultSyncCommand2(vaultRoot, opts = {}) {
|
|
|
12598
12598
|
}
|
|
12599
12599
|
|
|
12600
12600
|
// src/index.ts
|
|
12601
|
-
var VERSION = "2.0.
|
|
12601
|
+
var VERSION = "2.0.3";
|
|
12602
12602
|
var RELEASE_DATE = "2026-04-25";
|
|
12603
12603
|
var VERSION_STRING = `OneBrain v${VERSION} \u2014 released ${RELEASE_DATE}`;
|
|
12604
12604
|
if (process.argv.slice(2).length === 0) {
|