agent-afk 5.217.0 → 5.218.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/commands/interactive/repl-loop-shared.d.ts +1 -1
- package/dist/cli/input/input-surface.d.ts +2 -2
- package/dist/cli/input/types.d.ts +1 -1
- package/dist/cli/palette.d.ts +1 -0
- package/dist/cli/terminal-compositor.d.ts +1 -1
- package/dist/cli/terminal-compositor.render.d.ts +1 -1
- package/dist/cli/terminal-compositor.types.d.ts +1 -1
- package/dist/cli.mjs +577 -575
- package/dist/index.mjs +1 -1
- package/dist/telegram.mjs +59 -59
- package/package.json +1 -1
|
@@ -8,4 +8,4 @@ export interface TurnState {
|
|
|
8
8
|
requestSoftStop?: (() => void) | null;
|
|
9
9
|
interruptPickerAbort?: AbortController | null;
|
|
10
10
|
}
|
|
11
|
-
export declare function buildPrompt(mode: PermissionMode): string;
|
|
11
|
+
export declare function buildPrompt(mode: PermissionMode, buffer?: string): string;
|
|
@@ -13,7 +13,7 @@ export interface InputSurfaceOptions {
|
|
|
13
13
|
statusLine?: InputSurfaceStatusLine;
|
|
14
14
|
}
|
|
15
15
|
export interface InputSurfaceReadOpts {
|
|
16
|
-
promptFn: () => string;
|
|
16
|
+
promptFn: (buffer: string) => string;
|
|
17
17
|
onSigint?: () => void;
|
|
18
18
|
onEscape?: () => void;
|
|
19
19
|
onShiftTab?: () => void;
|
|
@@ -27,7 +27,7 @@ export interface InputSurfaceRefs {
|
|
|
27
27
|
promptText?: string;
|
|
28
28
|
}
|
|
29
29
|
export interface InputSurfaceArmOpts {
|
|
30
|
-
promptFn: () => string;
|
|
30
|
+
promptFn: (buffer: string) => string;
|
|
31
31
|
onCancel: () => void;
|
|
32
32
|
onShiftTab?: () => void;
|
|
33
33
|
onOpenEditor?: () => void;
|
package/dist/cli/palette.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class TerminalCompositor {
|
|
|
25
25
|
onShiftTab?: () => void;
|
|
26
26
|
onTaskView?: () => boolean;
|
|
27
27
|
onOpenEditor?: () => void;
|
|
28
|
-
readonly promptTextFn: () => string;
|
|
28
|
+
readonly promptTextFn: (buffer: string) => string;
|
|
29
29
|
readonly history?: IHistoryRing;
|
|
30
30
|
readonly autocompleteState?: AutocompleteState;
|
|
31
31
|
readonly formatInputBuffer?: (segment: string) => string;
|
|
@@ -9,7 +9,7 @@ export interface RenderHost {
|
|
|
9
9
|
readonly activeGhost: string | null;
|
|
10
10
|
readonly autocompleteState?: AutocompleteState;
|
|
11
11
|
readonly formatInputBuffer?: (segment: string) => string;
|
|
12
|
-
readonly promptTextFn: () => string;
|
|
12
|
+
readonly promptTextFn: (buffer: string) => string;
|
|
13
13
|
readonly stdout: NodeJS.WriteStream;
|
|
14
14
|
}
|
|
15
15
|
export declare function renderInputLine(self: RenderHost): string;
|
|
@@ -66,7 +66,7 @@ export interface TerminalCompositorOptions {
|
|
|
66
66
|
onTaskView?: () => boolean;
|
|
67
67
|
onOpenEditor?: () => void;
|
|
68
68
|
onSubmit?: (payload: SubmissionPayload) => void;
|
|
69
|
-
promptText?: string | (() => string);
|
|
69
|
+
promptText?: string | ((buffer: string) => string);
|
|
70
70
|
history?: IHistoryRing;
|
|
71
71
|
autocompleteState?: AutocompleteState;
|
|
72
72
|
formatInputBuffer?: (segment: string) => string;
|