agent-afk 5.269.0 → 5.270.1

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.
@@ -25,6 +25,7 @@ export interface RunTurnInput {
25
25
  throttleQueue?: import('./throttle-queue.js').ThrottleQueue;
26
26
  beforeNextRound?: () => string | undefined;
27
27
  journalSync?: import('../../journal/index.js').JournalSync<MessageParam>;
28
+ turnState?: import('./loop/turn-accumulator.js').TurnAccumulator;
28
29
  }
29
30
  export interface AnthropicClientLike {
30
31
  messages: {
@@ -1,4 +1,5 @@
1
1
  import { StreamIncompleteError } from '../../utils/errors.js';
2
- import type { SubagentToolResult } from './result.js';
2
+ import type { SubagentToolCall, SubagentToolResult } from './result.js';
3
3
  export declare function buildEmptyBufferError(subagentId: string, toolResults: SubagentToolResult[]): StreamIncompleteError;
4
4
  export declare function synthesizeEmptyBufferPartial(subagentId: string, toolResults: SubagentToolResult[]): string | undefined;
5
+ export declare function synthesizeTimeoutPartial(subagentId: string, toolCalls: SubagentToolCall[], toolResults: SubagentToolResult[]): string | undefined;
@@ -1,3 +1,4 @@
1
+ import { type Glyphs } from './commands/interactive/tool-lane-render.js';
1
2
  import { type ImageAttachment } from './input/attachments.js';
2
3
  import type { SpinnerController } from './input/spinner.js';
3
4
  import type { CompositorScrollRegionGuard } from './terminal-compositor.types.js';
@@ -18,5 +19,6 @@ export interface ViewportLayout {
18
19
  extraRows: number;
19
20
  }
20
21
  export declare function truncateOverlayPreservingHead(lines: string[], budget: number): string[];
22
+ export declare function hiddenIndicatorGutter(above: string | undefined, below: string | undefined, glyphs?: Readonly<Glyphs>): string;
21
23
  export declare function computeViewportLayout(chrome: ChromeRows, dropdownLength: number, hasHintRow: boolean, rows: number, scrollRegion: CompositorScrollRegionGuard | undefined): ViewportLayout;
22
24
  export declare function computePickerViewportLayout(chrome: ChromeRows, pickerRowCount: number, rows: number, scrollRegion: CompositorScrollRegionGuard | undefined): Omit<ViewportLayout, 'gapRows'>;