Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const SECURITY_LOG_DIR = join(MEMORY_DIR, "SECURITY")
const SETTINGS_PATH = join(HOME, ".claude", "settings.json")
const LADDER_DIR = join(HOME, "Projects", "Ladder")

const DEFAULT_DASHBOARD_DIR = join(PAI_DIR, "Pulse", "Observability", "out")
const DEFAULT_DASHBOARD_DIR = join(PAI_DIR, "PULSE", "Observability", "out")

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

Expand Down Expand Up @@ -149,7 +149,7 @@ function getDashboardDir(): string {
const dir = config.dashboard_dir ?? DEFAULT_DASHBOARD_DIR
// Resolve relative paths against Pulse directory
if (!dir.startsWith("/")) {
return join(HOME, ".claude", "PAI", "Pulse", dir)
return join(HOME, ".claude", "PAI", "PULSE", dir)
}
return dir
}
Expand Down Expand Up @@ -1647,7 +1647,7 @@ function readDirMdFiles(dir: string): { name: string, content: string, sections:
function handleUserIndexApi(filter: string | null): Response {
try {
const PAI_DIR = process.env.PAI_DIR || join(process.env.HOME || "", ".claude", "PAI")
const indexPath = join(PAI_DIR, "Pulse", "state", "user-index.json")
const indexPath = join(PAI_DIR, "PULSE", "state", "user-index.json")
const raw = Bun.file(indexPath)
if (!raw.size) {
return Response.json(
Expand Down