/** * Shared session-scope building logic. * * Reads raw dispatch state files to compute the set of child session IDs * that belong to a given parent session. Used by both the CLI monitor and * TUI sidebar to scope activity display to the current session's subtree. * * @module */ /** * Build a set of session IDs that belong to the given parent session. * * Reads raw dispatch-*.json files (which contain parentSessionId, unlike * the MonitorSnapshot which strips it) and collects all childSessionIds * where parentSessionId === currentSessionId. * * Also includes the currentSessionId itself (for functions activated * directly in the primary session). */ export declare function buildSessionScope(stateDir: string, currentSessionId: string): Set; //# sourceMappingURL=session-scope.d.ts.map