@onebrain-ai/cli 2.0.10 → 2.0.11
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/dist/onebrain +5 -34
- package/package.json +1 -1
package/dist/onebrain
CHANGED
|
@@ -10302,9 +10302,6 @@ async function loadVaultConfig(vaultRoot) {
|
|
|
10302
10302
|
if (raw["runtime"] !== undefined) {
|
|
10303
10303
|
config.runtime = raw["runtime"];
|
|
10304
10304
|
}
|
|
10305
|
-
if (raw["sandbox"] !== undefined) {
|
|
10306
|
-
config.sandbox = raw["sandbox"];
|
|
10307
|
-
}
|
|
10308
10305
|
if (raw["stats"] !== undefined) {
|
|
10309
10306
|
config.stats = raw["stats"];
|
|
10310
10307
|
}
|
|
@@ -10605,21 +10602,6 @@ async function readMergedField(filePath) {
|
|
|
10605
10602
|
return;
|
|
10606
10603
|
}
|
|
10607
10604
|
}
|
|
10608
|
-
function checkSandbox(config) {
|
|
10609
|
-
if (config.sandbox?.enabled === true) {
|
|
10610
|
-
return {
|
|
10611
|
-
check: "sandbox",
|
|
10612
|
-
status: "ok",
|
|
10613
|
-
message: "enabled"
|
|
10614
|
-
};
|
|
10615
|
-
}
|
|
10616
|
-
return {
|
|
10617
|
-
check: "sandbox",
|
|
10618
|
-
status: "warn",
|
|
10619
|
-
message: "disabled",
|
|
10620
|
-
hint: "Set sandbox.enabled: true in vault.yml"
|
|
10621
|
-
};
|
|
10622
|
-
}
|
|
10623
10605
|
// src/commands/doctor.ts
|
|
10624
10606
|
async function runDoctor(opts = {}) {
|
|
10625
10607
|
const vaultDir = opts.vaultDir ?? process.cwd();
|
|
@@ -10631,7 +10613,6 @@ async function runDoctor(opts = {}) {
|
|
|
10631
10613
|
const checkQmdEmbeddingsFn = opts.checkQmdEmbeddingsFn ?? checkQmdEmbeddings;
|
|
10632
10614
|
const checkVersionDriftFn = opts.checkVersionDriftFn ?? checkVersionDrift;
|
|
10633
10615
|
const checkOrphanCheckpointsFn = opts.checkOrphanCheckpointsFn ?? checkOrphanCheckpoints;
|
|
10634
|
-
const checkSandboxFn = opts.checkSandboxFn ?? checkSandbox;
|
|
10635
10616
|
const vaultYmlResult = await checkVaultYmlFn(vaultDir);
|
|
10636
10617
|
let config = {
|
|
10637
10618
|
folders: {
|
|
@@ -10657,22 +10638,13 @@ async function runDoctor(opts = {}) {
|
|
|
10657
10638
|
let qmdResult;
|
|
10658
10639
|
let versionDriftResult;
|
|
10659
10640
|
let orphanCheckpointsResult;
|
|
10660
|
-
let sandboxResult;
|
|
10661
10641
|
try {
|
|
10662
|
-
[
|
|
10663
|
-
foldersResult,
|
|
10664
|
-
harnessResult,
|
|
10665
|
-
qmdResult,
|
|
10666
|
-
versionDriftResult,
|
|
10667
|
-
orphanCheckpointsResult,
|
|
10668
|
-
sandboxResult
|
|
10669
|
-
] = await Promise.all([
|
|
10642
|
+
[foldersResult, harnessResult, qmdResult, versionDriftResult, orphanCheckpointsResult] = await Promise.all([
|
|
10670
10643
|
checkFoldersFn(vaultDir, config),
|
|
10671
10644
|
checkHarnessBinaryFn(config),
|
|
10672
10645
|
checkQmdEmbeddingsFn(config),
|
|
10673
10646
|
checkVersionDriftFn(vaultDir, config),
|
|
10674
|
-
checkOrphanCheckpointsFn(vaultDir, config)
|
|
10675
|
-
checkSandboxFn(config)
|
|
10647
|
+
checkOrphanCheckpointsFn(vaultDir, config)
|
|
10676
10648
|
]);
|
|
10677
10649
|
sp?.stop();
|
|
10678
10650
|
} catch (err) {
|
|
@@ -10685,8 +10657,7 @@ async function runDoctor(opts = {}) {
|
|
|
10685
10657
|
harnessResult,
|
|
10686
10658
|
qmdResult,
|
|
10687
10659
|
versionDriftResult,
|
|
10688
|
-
orphanCheckpointsResult
|
|
10689
|
-
sandboxResult
|
|
10660
|
+
orphanCheckpointsResult
|
|
10690
10661
|
];
|
|
10691
10662
|
const errorCount = results.filter((r2) => r2.status === "error").length;
|
|
10692
10663
|
const warningCount = results.filter((r2) => r2.status === "warn").length;
|
|
@@ -10782,7 +10753,7 @@ init_dist3();
|
|
|
10782
10753
|
import { mkdir as mkdir3, readFile as readFile3, rename as rename3, stat as stat3, writeFile as writeFile3 } from "node:fs/promises";
|
|
10783
10754
|
import { homedir as homedir3 } from "node:os";
|
|
10784
10755
|
import { dirname as dirname3, join as join5 } from "node:path";
|
|
10785
|
-
var binaryVersion = "2.0.
|
|
10756
|
+
var binaryVersion = "2.0.11";
|
|
10786
10757
|
var STANDARD_FOLDERS = [
|
|
10787
10758
|
"00-inbox",
|
|
10788
10759
|
"01-projects",
|
|
@@ -12664,7 +12635,7 @@ async function updateCommand(opts = {}) {
|
|
|
12664
12635
|
}
|
|
12665
12636
|
|
|
12666
12637
|
// src/index.ts
|
|
12667
|
-
var VERSION = "2.0.
|
|
12638
|
+
var VERSION = "2.0.11";
|
|
12668
12639
|
var RELEASE_DATE = "2026-04-26";
|
|
12669
12640
|
process.stdout.setDefaultEncoding("utf8");
|
|
12670
12641
|
process.stderr.setDefaultEncoding("utf8");
|