DistillerService
Defined in: src/distiller.ts:109
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DistillerService(
deps):DistillerService
Defined in: src/distiller.ts:123
Parameters
Section titled “Parameters”Returns
Section titled “Returns”DistillerService
Methods
Section titled “Methods”consider()
Section titled “consider()”consider(
repoPath):void
Defined in: src/distiller.ts:175
Start a distill run for repoPath if enough recent signals exist and none is in flight.
Parameters
Section titled “Parameters”repoPath
Section titled “repoPath”string
Returns
Section titled “Returns”void
distillNow()
Section titled “distillNow()”distillNow(
repoPath):void
Defined in: src/distiller.ts:185
Force a distill run regardless of the signal threshold (manual trigger). Still requires at least one signal — nothing to distill from otherwise. Subject to the concurrency cap; excess calls are queued.
Parameters
Section titled “Parameters”repoPath
Section titled “repoPath”string
Returns
Section titled “Returns”void
health()
Section titled “health()”health():
object
Defined in: src/distiller.ts:133
Returns
Section titled “Returns”object
consecutiveFailures
Section titled “consecutiveFailures”consecutiveFailures:
number
lastFailure
Section titled “lastFailure”lastFailure: {
at:number;reason:string;repoPath:string; } |null
ok:
boolean
tick()
Section titled “tick()”tick():
Promise<void>
Defined in: src/distiller.ts:279
Finalize any run whose proposals file is ready or that timed out, then drain queue.
Returns
Section titled “Returns”Promise<void>