@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
17 lines • 828 B
TypeScript
export interface OutlivedQueuedInput {
readonly queuedId: string;
readonly ageMs: number;
}
/**
* Tracks when each queued input was queued relative to turns, so input that outlives a completed turn is reported
* instead of waiting silently (senpi#4036). The caller counts a turn once when it starts (not per retry or internal
* continuation) and checks only turns that ended normally: steers are taken at the turn's boundaries and follow-ups
* when it finishes, while a failed or aborted turn keeps its queue for the next prompt by design.
*/
export declare class QueuedInputAges {
#private;
noteRunStarted(): void;
noteQueued(queuedId: string, nowMs: number): void;
takeOutlived(stillQueued: readonly string[], nowMs: number): OutlivedQueuedInput[];
}
//# sourceMappingURL=queued-input-age.d.ts.map