baro-ai 0.74.11 → 0.74.12
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/cli.mjs +5 -4
- package/dist/cli.mjs.map +1 -1
- package/dist/runner.mjs +1 -1
- package/dist/runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -23175,7 +23175,7 @@ import { resolve as resolve3 } from "path";
|
|
|
23175
23175
|
|
|
23176
23176
|
// ../baro-orchestrator/src/orchestrate.ts
|
|
23177
23177
|
import { mkdirSync as mkdirSync7 } from "fs";
|
|
23178
|
-
import { hostname } from "os";
|
|
23178
|
+
import { homedir as homedir3, hostname } from "os";
|
|
23179
23179
|
import { dirname as dirname3, join as join8 } from "path";
|
|
23180
23180
|
|
|
23181
23181
|
// ../../node_modules/openai/internal/tslib.mjs
|
|
@@ -40840,7 +40840,7 @@ var WorktreeManager = class {
|
|
|
40840
40840
|
try {
|
|
40841
40841
|
if (!existsSync(shared)) mkdirSync(shared, { recursive: true });
|
|
40842
40842
|
mkdirSync(join(worktreePath, rel), { recursive: true });
|
|
40843
|
-
symlinkSync(shared, dest, "
|
|
40843
|
+
symlinkSync(shared, dest, "junction");
|
|
40844
40844
|
} catch (e2) {
|
|
40845
40845
|
this.log(`could not symlink ${join(rel, dir)} into worktree (${errMsg(e2)})`);
|
|
40846
40846
|
}
|
|
@@ -44874,9 +44874,10 @@ function tokenizeHints(prompt) {
|
|
|
44874
44874
|
|
|
44875
44875
|
// ../baro-orchestrator/src/participants/memory-librarian.ts
|
|
44876
44876
|
import { appendFileSync as appendFileSync2, mkdirSync as mkdirSync5 } from "fs";
|
|
44877
|
+
import { homedir as homedir2 } from "os";
|
|
44877
44878
|
import { join as join6 } from "path";
|
|
44878
44879
|
var DEBUG = process.env.BARO_DEBUG?.includes("memory") ?? false;
|
|
44879
|
-
var LOG_DIR = join6(
|
|
44880
|
+
var LOG_DIR = join6(homedir2(), ".baro", "runs");
|
|
44880
44881
|
var LOG_FILE = join6(LOG_DIR, `memory-${Date.now()}.log`);
|
|
44881
44882
|
try {
|
|
44882
44883
|
mkdirSync5(LOG_DIR, { recursive: true });
|
|
@@ -49540,7 +49541,7 @@ async function orchestrate(config) {
|
|
|
49540
49541
|
const useLibrarian = config.withLibrarian ?? true;
|
|
49541
49542
|
const useSentry = config.withSentry ?? true;
|
|
49542
49543
|
const useMemory = config.withMemory ?? true;
|
|
49543
|
-
const sessionsDir = join8(
|
|
49544
|
+
const sessionsDir = join8(homedir3(), ".baro", "sessions");
|
|
49544
49545
|
const memorySessionPath = useMemory ? join8(sessionsDir, runId, "memory") : void 0;
|
|
49545
49546
|
if (useMemory) {
|
|
49546
49547
|
try {
|