fix: make qmd memory search opt-in (#6)

Co-authored-by: luckyyzh <luckyyzh@users.noreply.github.com>
This commit is contained in:
Zihao Yang
2026-07-31 23:37:06 +08:00
committed by GitHub
co-authored by luckyyzh
parent 3b48681852
commit 551c59413e
9 changed files with 289 additions and 3 deletions
+3
View File
@@ -1,6 +1,7 @@
import { spawnSync } from "node:child_process";
import { existsSync, readFileSync } from "node:fs";
import { join } from "node:path";
import { configurePiMemory } from "./configure-pi-memory.mjs";
import { agentDir, managedEnvironment, rootDir } from "./profile.mjs";
const settings = JSON.parse(
@@ -46,3 +47,5 @@ for (const source of packages) {
if (result.error) throw result.error;
if (result.status !== 0) process.exit(result.status ?? 1);
}
configurePiMemory({ agentDir });