@onebrain-ai/cli 2.1.6 → 2.1.8
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 -4
- package/dist/onebrain +9 -9
- package/dist/postinstall.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<a href="https://github.com/
|
|
7
|
-
<a href="LICENSE"><img src="https://img.shields.io/github/license/
|
|
8
|
-
<a href="https://github.com/
|
|
9
|
-
<a href="https://github.com/
|
|
6
|
+
<a href="https://github.com/onebrain-ai/onebrain/releases"><img src="https://img.shields.io/badge/dynamic/json?url=https://raw.githubusercontent.com/onebrain-ai/onebrain/main/.claude/plugins/onebrain/.claude-plugin/plugin.json&query=%24.version&label=version&style=flat-square&color=blue" alt="Version" /></a>
|
|
7
|
+
<a href="LICENSE"><img src="https://img.shields.io/github/license/onebrain-ai/onebrain?style=flat-square" alt="License" /></a>
|
|
8
|
+
<a href="https://github.com/onebrain-ai/onebrain/stargazers"><img src="https://img.shields.io/github/stars/onebrain-ai/onebrain?style=flat-square" alt="GitHub Stars" /></a>
|
|
9
|
+
<a href="https://github.com/onebrain-ai/onebrain/commits/main"><img src="https://img.shields.io/github/last-commit/onebrain-ai/onebrain?style=flat-square" alt="Last Commit" /></a>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<h1 align="center">OneBrain</h1>
|
package/dist/onebrain
CHANGED
|
@@ -9459,7 +9459,7 @@ var init_lib = __esm(() => {
|
|
|
9459
9459
|
var require_package = __commonJS((exports, module) => {
|
|
9460
9460
|
module.exports = {
|
|
9461
9461
|
name: "@onebrain-ai/cli",
|
|
9462
|
-
version: "2.1.
|
|
9462
|
+
version: "2.1.8",
|
|
9463
9463
|
description: "CLI for OneBrain \u2014 personal AI OS for Obsidian with persistent memory, 24+ skills, and Claude Code integration",
|
|
9464
9464
|
keywords: [
|
|
9465
9465
|
"onebrain",
|
|
@@ -9474,12 +9474,12 @@ var require_package = __commonJS((exports, module) => {
|
|
|
9474
9474
|
"productivity",
|
|
9475
9475
|
"vault"
|
|
9476
9476
|
],
|
|
9477
|
-
homepage: "https://
|
|
9477
|
+
homepage: "https://onebrain.run",
|
|
9478
9478
|
repository: {
|
|
9479
9479
|
type: "git",
|
|
9480
|
-
url: "git+https://github.com/
|
|
9480
|
+
url: "git+https://github.com/onebrain-ai/onebrain.git"
|
|
9481
9481
|
},
|
|
9482
|
-
bugs: "https://github.com/
|
|
9482
|
+
bugs: "https://github.com/onebrain-ai/onebrain/issues",
|
|
9483
9483
|
license: "MIT",
|
|
9484
9484
|
type: "module",
|
|
9485
9485
|
bin: {
|
|
@@ -10233,7 +10233,7 @@ function resolveBranch(updateChannel) {
|
|
|
10233
10233
|
return updateChannel === "stable" ? "main" : "next";
|
|
10234
10234
|
}
|
|
10235
10235
|
async function downloadTarball(branch, fetchFn) {
|
|
10236
|
-
const url = `https://api.github.com/repos/
|
|
10236
|
+
const url = `https://api.github.com/repos/onebrain-ai/onebrain/tarball/${branch}`;
|
|
10237
10237
|
const response = await fetchFn(url);
|
|
10238
10238
|
if (!response.ok) {
|
|
10239
10239
|
const hints = {
|
|
@@ -10612,7 +10612,7 @@ async function runVaultSync(vaultRoot, opts = {}) {
|
|
|
10612
10612
|
result.version = pj["version"];
|
|
10613
10613
|
}
|
|
10614
10614
|
} catch {}
|
|
10615
|
-
stopSpinner(`
|
|
10615
|
+
stopSpinner(`onebrain-ai/onebrain@${branch} (v${result.version})`);
|
|
10616
10616
|
startSpinner("\uD83D\uDCC2", "Syncing files");
|
|
10617
10617
|
try {
|
|
10618
10618
|
const { filesAdded, filesRemoved } = await syncPluginFiles(extractedDir, vaultRoot, unlinkFn);
|
|
@@ -10761,7 +10761,7 @@ var import_picocolors5 = __toESM(require_picocolors(), 1);
|
|
|
10761
10761
|
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
10762
10762
|
function resolveBinaryVersion() {
|
|
10763
10763
|
if (true)
|
|
10764
|
-
return "2.1.
|
|
10764
|
+
return "2.1.8";
|
|
10765
10765
|
try {
|
|
10766
10766
|
const pkg = require_package();
|
|
10767
10767
|
return pkg.version ?? "dev";
|
|
@@ -12571,7 +12571,7 @@ init_vault_sync();
|
|
|
12571
12571
|
// src/commands/update.ts
|
|
12572
12572
|
var import_picocolors8 = __toESM(require_picocolors(), 1);
|
|
12573
12573
|
init_cli_ui();
|
|
12574
|
-
var GITHUB_REPO = "https://api.github.com/repos/
|
|
12574
|
+
var GITHUB_REPO = "https://api.github.com/repos/onebrain-ai/onebrain";
|
|
12575
12575
|
var GITHUB_RELEASES_URL = `${GITHUB_REPO}/releases/latest`;
|
|
12576
12576
|
async function fetchLatestRelease(fetchFn) {
|
|
12577
12577
|
const response = await fetchFn(GITHUB_RELEASES_URL, {
|
|
@@ -12793,7 +12793,7 @@ function patchUtf8(stream) {
|
|
|
12793
12793
|
}
|
|
12794
12794
|
|
|
12795
12795
|
// src/index.ts
|
|
12796
|
-
var VERSION = "2.1.
|
|
12796
|
+
var VERSION = "2.1.8";
|
|
12797
12797
|
var RELEASE_DATE = "2026-04-30";
|
|
12798
12798
|
patchUtf8(process.stdout);
|
|
12799
12799
|
patchUtf8(process.stderr);
|
package/dist/postinstall.js
CHANGED
|
@@ -116,7 +116,7 @@ Install Bun (https://bun.sh) to use the JS bundle fallback.
|
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
118
|
const destPath = join(__dirname2, "onebrain");
|
|
119
|
-
const url = `https://github.com/
|
|
119
|
+
const url = `https://github.com/onebrain-ai/onebrain/releases/download/v${version}/${binaryName}`;
|
|
120
120
|
process.stdout.write(`[onebrain] Downloading ${binaryName} v${version}…
|
|
121
121
|
`);
|
|
122
122
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onebrain-ai/cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "CLI for OneBrain — personal AI OS for Obsidian with persistent memory, 24+ skills, and Claude Code integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"onebrain",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"productivity",
|
|
16
16
|
"vault"
|
|
17
17
|
],
|
|
18
|
-
"homepage": "https://
|
|
18
|
+
"homepage": "https://onebrain.run",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/
|
|
21
|
+
"url": "git+https://github.com/onebrain-ai/onebrain.git"
|
|
22
22
|
},
|
|
23
|
-
"bugs": "https://github.com/
|
|
23
|
+
"bugs": "https://github.com/onebrain-ai/onebrain/issues",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"bin": {
|