agent-afk 5.313.1 → 5.313.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,7 @@
1
+ import type { TraceSink } from '../../../trace/writer.js';
1
2
  import type { ProviderEvent } from '../../../provider.js';
2
3
  import type { RunTurnInput, TurnResult } from '../types.js';
3
4
  import type { TurnAccumulator } from './turn-accumulator.js';
4
5
  export declare function emitNonToolUseTerminal(turnResult: TurnResult, input: RunTurnInput, turn: TurnAccumulator): Generator<ProviderEvent, void, void>;
6
+ export declare function emitOverloadExhausted(source: 'connection-phase' | 'mid-stream', traceWriter: TraceSink | undefined, sessionId: string, turn: TurnAccumulator): Generator<ProviderEvent, void, void>;
7
+ export declare function handleStreamTerminals(outcomeKind: 'translator-errored' | 'streamed', turnResult: TurnResult | null, signal: AbortSignal, sessionId: string, turn: TurnAccumulator): Generator<ProviderEvent, boolean, void>;
@@ -0,0 +1,4 @@
1
+ import type { FrameHost } from './terminal-compositor.frame.js';
2
+ export declare function pendingEvictionAllowed(self: FrameHost, frameSettled: boolean): boolean;
3
+ export declare function evictNoBannerPath(self: FrameHost, desiredTopRow: number, prevTopRow: number): boolean;
4
+ export declare function evictBannerPendingOverflow(self: FrameHost, desiredTopRow: number): boolean;