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.
- package/dist/cli/input/echo.d.ts +6 -0
- package/dist/cli/input-highlight.d.ts +1 -0
- package/dist/cli/slash/registry.d.ts +1 -0
- package/dist/cli.mjs +443 -442
- package/dist/index.mjs +1 -1
- package/dist/telegram.mjs +1 -1
- package/package.json +1 -1
package/dist/cli/input/echo.d.ts
CHANGED
|
@@ -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,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;
|