agent-afk 5.57.0 → 5.58.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/cli/_lib/capture-mode.d.ts +12 -0
- package/dist/cli/terminal-compositor.d.ts +4 -0
- package/dist/cli/terminal-compositor.input-dispatch.d.ts +1 -0
- package/dist/cli/terminal-compositor.reset.d.ts +2 -0
- package/dist/cli.mjs +448 -448
- package/dist/config/env.d.ts +2 -0
- package/dist/index.mjs +2 -2
- package/dist/telegram.mjs +109 -109
- package/package.json +1 -1
|
@@ -7,3 +7,15 @@ export declare function ringBellIfEnabled(stream: {
|
|
|
7
7
|
write(s: string): unknown;
|
|
8
8
|
isTTY?: boolean;
|
|
9
9
|
}, env?: NodeJS.ProcessEnv): void;
|
|
10
|
+
export declare function detectTermTitle(env?: NodeJS.ProcessEnv): boolean;
|
|
11
|
+
export declare function detectNotify(env?: NodeJS.ProcessEnv): boolean;
|
|
12
|
+
export declare function formatTerminalTitle(cwd: string, running: boolean): string;
|
|
13
|
+
export declare function stripControlBytes(s: string): string;
|
|
14
|
+
export declare function setTerminalTitleIfEnabled(stream: {
|
|
15
|
+
write(s: string): unknown;
|
|
16
|
+
isTTY?: boolean;
|
|
17
|
+
}, title: string, env?: NodeJS.ProcessEnv): void;
|
|
18
|
+
export declare function notifyIfEnabled(stream: {
|
|
19
|
+
write(s: string): unknown;
|
|
20
|
+
isTTY?: boolean;
|
|
21
|
+
}, message: string, env?: NodeJS.ProcessEnv): void;
|
|
@@ -55,6 +55,8 @@ export declare class TerminalCompositor {
|
|
|
55
55
|
readonly spinnerController: SpinnerController;
|
|
56
56
|
readonly caretBlinkController: CaretBlinkController;
|
|
57
57
|
repaintCount: number;
|
|
58
|
+
pendingTrailingRepaint: boolean;
|
|
59
|
+
burstActive: boolean;
|
|
58
60
|
committing: boolean;
|
|
59
61
|
hasCommitted: boolean;
|
|
60
62
|
committedBand: string[];
|
|
@@ -116,6 +118,8 @@ export declare class TerminalCompositor {
|
|
|
116
118
|
renderDropdownRows(): string[];
|
|
117
119
|
renderHintRow(): string | null;
|
|
118
120
|
repaint(): void;
|
|
121
|
+
scheduleRepaint(): void;
|
|
122
|
+
flushPendingRepaint(): void;
|
|
119
123
|
clearScreen(): void;
|
|
120
124
|
resetState(): void;
|
|
121
125
|
applyEdit(next: InputCoreState): boolean;
|
|
@@ -5,6 +5,7 @@ import type { ImageAttachment } from './input/attachments.js';
|
|
|
5
5
|
import type { CompositorInputMode, KeyInfo, PickerController, SubmissionPayload } from './terminal-compositor.types.js';
|
|
6
6
|
export interface KeyDispatchHost {
|
|
7
7
|
repaint(): void;
|
|
8
|
+
scheduleRepaint(): void;
|
|
8
9
|
clearScreen(): void;
|
|
9
10
|
applyEdit(next: InputCoreState): boolean;
|
|
10
11
|
updateAutocomplete(): void;
|
|
@@ -14,6 +14,8 @@ export interface ResetStateHost {
|
|
|
14
14
|
postEscCoalesce: boolean;
|
|
15
15
|
postEscPayload: SubmissionPayload | null;
|
|
16
16
|
paused: boolean;
|
|
17
|
+
pendingTrailingRepaint: boolean;
|
|
18
|
+
burstActive: boolean;
|
|
17
19
|
activeGhost: string | null;
|
|
18
20
|
anchorRow: number | undefined;
|
|
19
21
|
hasCommitted: boolean;
|