agent-afk 5.59.0 → 5.59.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.
@@ -10,3 +10,9 @@ export declare function visualCursorPos(buffer: string, cursorIdx: number, promp
10
10
  row: number;
11
11
  col: number;
12
12
  };
13
+ export interface VisualPositionMap {
14
+ readonly rowAt: readonly number[];
15
+ readonly colAt: readonly number[];
16
+ readonly totalRows: number;
17
+ }
18
+ export declare function buildVisualPositionMap(buffer: string, promptVisibleLen: number, cols: number): VisualPositionMap;
@@ -1,4 +1,5 @@
1
1
  export interface SlashRegistryView {
2
2
  has(name: string): boolean;
3
+ version?(): number;
3
4
  }
4
5
  export declare function colorizeInputBuffer(buffer: string, registry: SlashRegistryView): string;
@@ -1,5 +1,6 @@
1
1
  import type { SlashCommand, SlashContext, SlashResult } from './types.js';
2
2
  import type { ImageAttachment } from '../input/attachments.js';
3
+ export declare function registryVersion(): number;
3
4
  export declare function register(cmd: SlashCommand): void;
4
5
  export declare function registerOrReplace(cmd: SlashCommand): void;
5
6
  export declare function registerIfAbsent(cmd: SlashCommand): void;