agent-afk 5.191.7 → 5.191.9

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.
@@ -2,5 +2,6 @@ import type { ToolHandler } from '../types.js';
2
2
  import type { ExecFileFn } from '../../worktree-sweep.js';
3
3
  export interface WorktreeHandlerDeps {
4
4
  execFile?: ExecFileFn;
5
+ generateSuffix?: () => string;
5
6
  }
6
7
  export declare function createWorktreeHandler(cwd?: string, deps?: WorktreeHandlerDeps): ToolHandler;
@@ -1,12 +1,11 @@
1
1
  import type { TerminalCompositor } from '../../terminal-compositor.js';
2
2
  import type { TurnState } from './repl-loop-shared.js';
3
- export type InterruptChoice = 'stop' | 'cancel' | 'steer' | 'dismissed';
3
+ export type InterruptChoice = 'stop' | 'cancel' | 'dismissed';
4
4
  export interface InterruptPickerOptions {
5
5
  compositor: TerminalCompositor;
6
6
  signal: AbortSignal;
7
7
  onStop: () => void;
8
8
  onCancel: () => void;
9
- onSteer?: () => void;
10
9
  }
11
10
  export declare function showInterruptPicker(opts: InterruptPickerOptions): Promise<InterruptChoice>;
12
11
  export interface LaunchInterruptPickerOptions {
@@ -14,6 +13,5 @@ export interface LaunchInterruptPickerOptions {
14
13
  turnState: TurnState;
15
14
  onStop: () => void;
16
15
  onCancel: () => void;
17
- onSteer?: () => void;
18
16
  }
19
17
  export declare function launchInterruptPicker(opts: LaunchInterruptPickerOptions): void;
@@ -7,8 +7,5 @@ export interface TurnState {
7
7
  notifyInterrupting?: ((active: boolean) => void) | null;
8
8
  requestSoftStop?: (() => void) | null;
9
9
  interruptPickerAbort?: AbortController | null;
10
- pendingSteerText?: string | null;
11
- pendingSteerRead?: Promise<string | null> | null;
12
- steerReadLine?: ((signal?: AbortSignal) => Promise<string>) | null;
13
10
  }
14
11
  export declare function buildPrompt(mode: PermissionMode): string;