@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
20 lines • 950 B
TypeScript
import type { ChildLifecycleReport, LifecycleWaits, SessionLifecycleState } from "./session-lifecycle-types.ts";
import type { SessionEntry } from "./session-manager.ts";
export interface ChildLifecycleStore {
readonly entries: readonly SessionEntry[];
append(report: ChildLifecycleReport): void;
changed(): void;
}
export declare class LifecycleChildren {
private readonly records;
private readonly store;
constructor(store: ChildLifecycleStore);
get reports(): readonly ChildLifecycleReport[];
get activeCount(): number;
report(report: ChildLifecycleReport): void;
private accept;
}
export declare function readLifecycleState(value: unknown): SessionLifecycleState | undefined;
/** The one reader of a durable or reported `waitingOn`; named detail never invalidates the counts. */
export declare function readWaits(value: unknown): LifecycleWaits | undefined;
//# sourceMappingURL=lifecycle-children.d.ts.map