agent-afk 5.221.4 → 5.221.5
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/terminal-compositor.committed-band-commit.d.ts +2 -1
- package/dist/cli/terminal-compositor.d.ts +1 -0
- package/dist/cli/terminal-compositor.frame.d.ts +2 -1
- package/dist/cli/terminal-compositor.reset.d.ts +2 -1
- package/dist/cli/terminal-compositor.types.d.ts +1 -0
- package/dist/cli.mjs +395 -393
- package/dist/index.mjs +148 -148
- package/dist/telegram.mjs +200 -200
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogUpdateFn, CompositorScrollRegionGuard, BandRowMeta } from './terminal-compositor.types.js';
|
|
1
|
+
import type { LogUpdateFn, CompositorScrollRegionGuard, BandRowMeta, FramePlacementMode } from './terminal-compositor.types.js';
|
|
2
2
|
import type { BandReflowCache } from './terminal-compositor.band-reflow.js';
|
|
3
3
|
export interface CommittedBandHost {
|
|
4
4
|
repaint(): void;
|
|
@@ -13,6 +13,7 @@ export interface CommittedBandHost {
|
|
|
13
13
|
committing: boolean;
|
|
14
14
|
commitInFlight: boolean;
|
|
15
15
|
hasCommitted: boolean;
|
|
16
|
+
placementMode: FramePlacementMode;
|
|
16
17
|
lifecycleStateDirty: boolean;
|
|
17
18
|
pendingResizeErase: {
|
|
18
19
|
top: number;
|
|
@@ -68,6 +68,7 @@ export declare class TerminalCompositor {
|
|
|
68
68
|
burstActive: boolean;
|
|
69
69
|
committing: boolean;
|
|
70
70
|
hasCommitted: boolean;
|
|
71
|
+
placementMode: import('./terminal-compositor.types.js').FramePlacementMode;
|
|
71
72
|
committedBand: string[];
|
|
72
73
|
committedBandMeta: BandRowMeta[];
|
|
73
74
|
committedBandTopRow: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ImageAttachment } from './input/attachments.js';
|
|
2
2
|
import type { SpinnerController } from './input/spinner.js';
|
|
3
|
-
import type { BandRowMeta, CompositorInputMode, CompositorScrollRegionGuard, LogUpdateFn, PickerController } from './terminal-compositor.types.js';
|
|
3
|
+
import type { BandRowMeta, CompositorInputMode, CompositorScrollRegionGuard, FramePlacementMode, LogUpdateFn, PickerController } from './terminal-compositor.types.js';
|
|
4
4
|
import { type BandReflowCache } from './terminal-compositor.band-reflow.js';
|
|
5
5
|
export interface FrameHost {
|
|
6
6
|
flushResizeGhostErase(): void;
|
|
@@ -29,6 +29,7 @@ export interface FrameHost {
|
|
|
29
29
|
bandReflowCache: BandReflowCache | null;
|
|
30
30
|
hasCommitted: boolean;
|
|
31
31
|
anchorRow: number | undefined;
|
|
32
|
+
placementMode: FramePlacementMode;
|
|
32
33
|
lastKnownRows: number;
|
|
33
34
|
commitInFlight: boolean;
|
|
34
35
|
readonly scrollRegion?: CompositorScrollRegionGuard;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type InputCoreState } from './input-core.js';
|
|
2
2
|
import type { AutocompleteState } from './input/autocomplete-state.js';
|
|
3
3
|
import type { ImageAttachment } from './input/attachments.js';
|
|
4
|
-
import type { CompositorInputMode, PickerController, SubmissionPayload } from './terminal-compositor.types.js';
|
|
4
|
+
import type { CompositorInputMode, FramePlacementMode, PickerController, SubmissionPayload } from './terminal-compositor.types.js';
|
|
5
5
|
export interface ResetStateHost {
|
|
6
6
|
clearCommittedBand(): void;
|
|
7
7
|
overlay: string;
|
|
@@ -20,6 +20,7 @@ export interface ResetStateHost {
|
|
|
20
20
|
activeGhost: string | null;
|
|
21
21
|
anchorRow: number | undefined;
|
|
22
22
|
hasCommitted: boolean;
|
|
23
|
+
placementMode: FramePlacementMode;
|
|
23
24
|
commitInFlight: boolean;
|
|
24
25
|
pendingResizeErase: {
|
|
25
26
|
top: number;
|
|
@@ -40,6 +40,7 @@ export interface CompositorScrollRegionGuard {
|
|
|
40
40
|
getExtraRows(): number;
|
|
41
41
|
}
|
|
42
42
|
export type CompositorInputMode = 'idle' | 'streaming' | 'picker';
|
|
43
|
+
export type FramePlacementMode = 'cursor-follow' | 'bottom-pinned';
|
|
43
44
|
export interface PickerController {
|
|
44
45
|
renderRows: () => readonly string[];
|
|
45
46
|
onKey: (char: string | undefined, key: {
|