mlx-bun library API
    Preparing search index...

    Where a chat persists: the module's storage entries (sessions, agent, approvals), or the paths an embedder chose. cwd is the directory Pi's read tool and the session header record; default the process's.

    interface PiBackendPaths {
        agentDir: string;
        cwd?: string;
        sessionDir: string;
        toolApprovalsFile: string;
    }
    Index
    agentDir: string

    Pi's own agent directory (its settings and caches).

    cwd?: string
    sessionDir: string

    Where session files live: the durable transcript store the nightly memory pipeline reads.

    toolApprovalsFile: string