/** * client-session.ts — read the Claude Code session id captured by the * hula session-hook (see src/commands/session-hook.ts). * * The hook is a Claude Code PreToolUse hook: when a chat session runs * /hula-launch (i.e. Bash invokes `hula script launch-run`), it writes * $HOME/.hublaunch-sessions//.json * moments before the hula CLI itself runs. `hula launch` reads it here and * forwards it to hula-server as `clientSessionId` (server PR #419) so client * tooling can later resume the launching session (/hula-verify, /hula-info). */ /** * Return the Claude Code session id recorded for a branch launch, or * undefined when none was captured (launch from a plain terminal, CI, or a * repo where the hook isn't registered). Never throws — provenance capture * must not interfere with launching. * * @param branchName - the branch/issue name passed to `hula launch` * @param projectRoot - consumer repo root (defaults to cwd; the hook keys the * mapping directory by the repo directory's basename) */ export declare function readClientSessionId(branchName: string, projectRoot?: string): string | undefined; //# sourceMappingURL=client-session.d.ts.map