Skip to content

Commit e2ae840

Browse files
authored
fix(observability): use canonical PULSE dir casing for Linux compatibility (#1175)
Verified: our 5.1.0 source already uses PULSE (uppercase) at all three locations in observability.ts (lines 65, 140, 1368) — we converged on this naming before the issue was filed. Merging the v5.0.0 patch gives current users the Linux fix.
1 parent da07a11 commit e2ae840

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Releases/v5.0.0/.claude/PAI/PULSE/Observability/observability.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const SECURITY_LOG_DIR = join(MEMORY_DIR, "SECURITY")
6666
const SETTINGS_PATH = join(HOME, ".claude", "settings.json")
6767
const LADDER_DIR = join(HOME, "Projects", "Ladder")
6868

69-
const DEFAULT_DASHBOARD_DIR = join(PAI_DIR, "Pulse", "Observability", "out")
69+
const DEFAULT_DASHBOARD_DIR = join(PAI_DIR, "PULSE", "Observability", "out")
7070

7171
// ── In-Memory Store (hook-pushed state/events) ──
7272

@@ -149,7 +149,7 @@ function getDashboardDir(): string {
149149
const dir = config.dashboard_dir ?? DEFAULT_DASHBOARD_DIR
150150
// Resolve relative paths against Pulse directory
151151
if (!dir.startsWith("/")) {
152-
return join(HOME, ".claude", "PAI", "Pulse", dir)
152+
return join(HOME, ".claude", "PAI", "PULSE", dir)
153153
}
154154
return dir
155155
}
@@ -1647,7 +1647,7 @@ function readDirMdFiles(dir: string): { name: string, content: string, sections:
16471647
function handleUserIndexApi(filter: string | null): Response {
16481648
try {
16491649
const PAI_DIR = process.env.PAI_DIR || join(process.env.HOME || "", ".claude", "PAI")
1650-
const indexPath = join(PAI_DIR, "Pulse", "state", "user-index.json")
1650+
const indexPath = join(PAI_DIR, "PULSE", "state", "user-index.json")
16511651
const raw = Bun.file(indexPath)
16521652
if (!raw.size) {
16531653
return Response.json(

0 commit comments

Comments
 (0)