agent-afk 5.136.0 → 5.137.0

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.
@@ -0,0 +1,5 @@
1
+ export interface FilterResult {
2
+ originalIndex: number;
3
+ score: number;
4
+ }
5
+ export declare function filterOptions(options: readonly string[], query: string): FilterResult[];
@@ -3,6 +3,7 @@ export interface PickerHost {
3
3
  enterPickerMode(controller: PickerController): void;
4
4
  exitPickerMode(): void;
5
5
  repaintPicker(): void;
6
+ terminalRows?(): number | undefined;
6
7
  }
7
8
  export interface RunPickerOptions {
8
9
  header: readonly string[];
@@ -12,5 +13,6 @@ export interface RunPickerOptions {
12
13
  initialIndex?: number;
13
14
  initialSelected?: ReadonlySet<number>;
14
15
  onCtrlC?: () => void;
16
+ searchable?: boolean;
15
17
  }
16
18
  export declare function runPicker(host: PickerHost, opts: RunPickerOptions): Promise<readonly string[] | null>;
@@ -97,6 +97,7 @@ export declare class TerminalCompositor {
97
97
  enterPickerMode(controller: PickerController): void;
98
98
  exitPickerMode(): void;
99
99
  repaintPicker(): void;
100
+ terminalRows(): number;
100
101
  setInputMode(mode: CompositorInputMode): void;
101
102
  getInputMode(): CompositorInputMode;
102
103
  arm(): Promise<void>;