agent-afk 5.191.9 → 5.192.1
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/agent/session/bash-preview.d.ts +10 -0
- package/dist/cli/terminal-compositor.d.ts +1 -0
- package/dist/cli/terminal-compositor.lifecycle.d.ts +1 -0
- package/dist/cli/terminal-compositor.reset.d.ts +1 -0
- package/dist/cli.mjs +561 -561
- package/dist/config/env.d.ts +16 -0
- package/dist/index.mjs +199 -199
- package/dist/telegram.mjs +255 -255
- package/package.json +1 -1
|
@@ -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
|
+
};
|
|
@@ -59,6 +59,7 @@ export declare class TerminalCompositor {
|
|
|
59
59
|
handleKeypress: ((char: string | undefined, key: KeyInfo) => void) | null;
|
|
60
60
|
resizeUnsub: (() => void) | null;
|
|
61
61
|
resizeImmediateUnsub: (() => void) | null;
|
|
62
|
+
disarmRows: number;
|
|
62
63
|
readonly spinnerController: SpinnerController;
|
|
63
64
|
private activeToolName;
|
|
64
65
|
readonly caretBlinkController: CaretBlinkController;
|
|
@@ -17,6 +17,7 @@ export interface LifecycleHost {
|
|
|
17
17
|
handleKeypress: ((char: string | undefined, key: KeyInfo) => void) | null;
|
|
18
18
|
resizeUnsub: (() => void) | null;
|
|
19
19
|
resizeImmediateUnsub: (() => void) | null;
|
|
20
|
+
disarmRows: number;
|
|
20
21
|
logUpdate: LogUpdateFn | null;
|
|
21
22
|
readonly scrollRegion?: CompositorScrollRegionGuard;
|
|
22
23
|
anchorRow: number | undefined;
|