Skip to content

⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.

fix: Standardize PAI_DIR in PaiArchitecture.ts tool

Daniel Miessler975a30479d1b
diff --git a/Packs/kai-core-install.md b/Packs/kai-core-install.md
index e804e636..588ed14f 100644
--- a/Packs/kai-core-install.md
+++ b/Packs/kai-core-install.md
@@ -826,10 +826,10 @@ import { readdir, readFile, writeFile, appendFile } from 'fs/promises';
import { join } from 'path';
import { existsSync } from 'fs';
-const PAI_HOME = process.env.PAI_HOME || process.env.PAI_DIR || join(process.env.HOME || '', '.config/pai');
-const ARCHITECTURE_FILE = join(PAI_HOME, 'Skills', 'CORE', 'PaiArchitecture.md');
-const BUNDLES_FILE = join(PAI_HOME, '.installed-bundles.json');
-const UPGRADES_FILE = join(PAI_HOME, 'History', 'upgrades.jsonl');
+const PAI_DIR = process.env.PAI_DIR || process.env.PAI_HOME || join(process.env.HOME || '', '.claude');
+const ARCHITECTURE_FILE = join(PAI_DIR, 'Skills', 'CORE', 'PaiArchitecture.md');
+const BUNDLES_FILE = join(PAI_DIR, '.installed-bundles.json');
+const UPGRADES_FILE = join(PAI_DIR, 'History', 'Upgrades.jsonl');
interface PackInfo {
name: string;