agent-afk 5.191.8 → 5.192.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,10 @@
1
+ export interface PreviewConfig {
2
+ headCount: number;
3
+ tailCount: number;
4
+ }
5
+ export declare function parseLineCount(raw: string | undefined, defaultValue: number): number;
6
+ export declare function readPreviewConfig(): PreviewConfig;
7
+ export declare function selectPreviewLines(lines: string[], headCount: number, tailCount: number): {
8
+ head: string[];
9
+ tail: string[];
10
+ };
@@ -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;