Skip to content

RecapServiceDeps

Defined in: src/recap.ts:161

optional cleanup?: (cwd) => void

Defined in: src/recap.ts:189

string

void


optional computeDiff?: (worktreePath, base, branch) => Promise<DiffResult>

Defined in: src/recap.ts:182

string

string

string | null

Promise<DiffResult>


optional headSha?: (worktreePath) => Promise<string>

Defined in: src/recap.ts:183

string

Promise<string>


herdr: Pick<HerdrDriver, "start" | "stop" | "list">

Defined in: src/recap.ts:175


optional idleThresholdMs?: number

Defined in: src/recap.ts:180


optional makeTmpDir?: () => string

Defined in: src/recap.ts:188

string


optional model?: string | null

Defined in: src/recap.ts:177


optional now?: () => number

Defined in: src/recap.ts:178

number


onChange: (id, recap) => void

Defined in: src/recap.ts:176

string

Recap | null

void


optional readPlan?: (worktreePath) => string

Defined in: src/recap.ts:185

string

string


optional readTranscript?: (worktreePath, claudeSessionId) => ActivityEntry[]

Defined in: src/recap.ts:184

string

string

ActivityEntry[]


optional readUsage?: (cwd, spawnSessionId) => Promise<SessionUsage | null>

Defined in: src/recap.ts:187

string

string

Promise<SessionUsage | null>


optional readVerdict?: (cwd) => VerdictRead<unknown>

Defined in: src/recap.ts:186

string

VerdictRead<unknown>


store: Pick<SessionStore, "getRecap" | "putRecap" | "snapshotRecaps" | "generatingRecaps" | "dropRecap" | "getReview" | "recordReviewerSpawn" | "completeReviewerSpawn" | "list" | "setRecapPendingDiff">

Defined in: src/recap.ts:162


optional timeoutMs?: number

Defined in: src/recap.ts:179