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.
Properties
Section titled “Properties”onChange
Section titled “onChange”onChange: (
id,alive) =>void
Defined in: src/poller.ts:83
Parameters
Section titled “Parameters”string
boolean
Returns
Section titled “Returns”void
scan: (
worktrees) =>Map<string,boolean>
Defined in: src/poller.ts:81
Single /proc pass answering “does a claude process live in this worktree?”.
Parameters
Section titled “Parameters”worktrees
Section titled “worktrees”string[]
Returns
Section titled “Returns”Map<string, boolean>
sweepMs
Section titled “sweepMs”sweepMs:
number
Defined in: src/poller.ts:82