Files
oh-my-opencode/dist/hooks/compaction-context-injector/tail-monitor.d.ts
T
2026-03-14 04:56:50 +00:00

14 lines
499 B
TypeScript

export type TailMonitorState = {
currentMessageID?: string;
currentHasOutput: boolean;
consecutiveNoTextMessages: number;
lastCompactedAt?: number;
lastRecoveryAt?: number;
};
export declare function finalizeTrackedAssistantMessage(state: TailMonitorState): number;
export declare function shouldTreatAssistantPartAsOutput(part: {
type?: string;
text?: string;
}): boolean;
export declare function trackAssistantOutput(state: TailMonitorState, messageID?: string): void;