@onebrain-ai/cli 2.0.9 → 2.0.10

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/dist/onebrain +7 -9
  2. package/package.json +1 -1
package/dist/onebrain CHANGED
@@ -10490,11 +10490,11 @@ async function checkQmdEmbeddings(config) {
10490
10490
  };
10491
10491
  }
10492
10492
  }
10493
- async function checkVersionDrift(vaultRoot, config, binaryVersion) {
10493
+ async function checkVersionDrift(vaultRoot, config) {
10494
10494
  const pluginJsonPath = join2(vaultRoot, ".claude", "plugins", "onebrain", ".claude-plugin", "plugin.json");
10495
10495
  const pluginFile = Bun.file(pluginJsonPath);
10496
10496
  const exists = await pluginFile.exists();
10497
- const compareVersion = binaryVersion ?? config.onebrain_version;
10497
+ const compareVersion = config.onebrain_version;
10498
10498
  if (!compareVersion || !exists) {
10499
10499
  return {
10500
10500
  check: "version-drift",
@@ -10528,11 +10528,10 @@ async function checkVersionDrift(vaultRoot, config, binaryVersion) {
10528
10528
  message: `v${compareVersion}`
10529
10529
  };
10530
10530
  }
10531
- const driftMessage = binaryVersion ? `binary v${binaryVersion}, plugin files v${pluginVersion}` : `vault v${compareVersion}, plugin files v${pluginVersion}`;
10532
10531
  return {
10533
10532
  check: "version-drift",
10534
10533
  status: "warn",
10535
- message: driftMessage,
10534
+ message: `vault v${compareVersion}, plugin files v${pluginVersion}`,
10536
10535
  hint: "Run onebrain update to sync"
10537
10536
  };
10538
10537
  }
@@ -10625,7 +10624,6 @@ function checkSandbox(config) {
10625
10624
  async function runDoctor(opts = {}) {
10626
10625
  const vaultDir = opts.vaultDir ?? process.cwd();
10627
10626
  const isTTY = opts.isTTY ?? process.stdout.isTTY ?? false;
10628
- const binaryVersion = opts.binaryVersion;
10629
10627
  const checkVaultYmlFn = opts.checkVaultYmlFn ?? checkVaultYml;
10630
10628
  const loadVaultConfigFn = opts.loadVaultConfigFn ?? loadVaultConfig;
10631
10629
  const checkFoldersFn = opts.checkFoldersFn ?? checkFolders;
@@ -10672,7 +10670,7 @@ async function runDoctor(opts = {}) {
10672
10670
  checkFoldersFn(vaultDir, config),
10673
10671
  checkHarnessBinaryFn(config),
10674
10672
  checkQmdEmbeddingsFn(config),
10675
- checkVersionDriftFn(vaultDir, config, binaryVersion),
10673
+ checkVersionDriftFn(vaultDir, config),
10676
10674
  checkOrphanCheckpointsFn(vaultDir, config),
10677
10675
  checkSandboxFn(config)
10678
10676
  ]);
@@ -10784,7 +10782,7 @@ init_dist3();
10784
10782
  import { mkdir as mkdir3, readFile as readFile3, rename as rename3, stat as stat3, writeFile as writeFile3 } from "node:fs/promises";
10785
10783
  import { homedir as homedir3 } from "node:os";
10786
10784
  import { dirname as dirname3, join as join5 } from "node:path";
10787
- var binaryVersion = "2.0.9";
10785
+ var binaryVersion = "2.0.10";
10788
10786
  var STANDARD_FOLDERS = [
10789
10787
  "00-inbox",
10790
10788
  "01-projects",
@@ -12666,7 +12664,7 @@ async function updateCommand(opts = {}) {
12666
12664
  }
12667
12665
 
12668
12666
  // src/index.ts
12669
- var VERSION = "2.0.9";
12667
+ var VERSION = "2.0.10";
12670
12668
  var RELEASE_DATE = "2026-04-26";
12671
12669
  process.stdout.setDefaultEncoding("utf8");
12672
12670
  process.stderr.setDefaultEncoding("utf8");
@@ -12707,7 +12705,7 @@ program2.command("update").description("Update OneBrain plugin files from GitHub
12707
12705
  });
12708
12706
  program2.command("doctor").description("Run vault health checks and report issues").action(async () => {
12709
12707
  const vaultRoot = findVaultRoot(process.cwd());
12710
- await doctorCommand({ vaultDir: vaultRoot, binaryVersion: VERSION });
12708
+ await doctorCommand({ vaultDir: vaultRoot });
12711
12709
  });
12712
12710
  program2.command("help").description("Show this help message").action(() => {
12713
12711
  program2.help();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onebrain-ai/cli",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
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",