Skip to content

LivenessWiring

Defined in: src/poller.ts:79

Injectable claude-liveness wiring: emits when a session’s worktree gains/loses a live claude process. Defaults to the real /proc scan; tests inject fakes.

onChange: (id, alive) => void

Defined in: src/poller.ts:83

string

boolean

void


scan: (worktrees) => Map<string, boolean>

Defined in: src/poller.ts:81

Single /proc pass answering “does a claude process live in this worktree?”.

string[]

Map<string, boolean>


sweepMs: number

Defined in: src/poller.ts:82