agent-afk 5.290.1 → 5.290.2
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/testing/scrollback-seam.d.ts +3 -0
- package/dist/cli/terminal-compositor.band-archived-prefix.d.ts +18 -0
- package/dist/cli/terminal-compositor.band-reflow.d.ts +1 -0
- package/dist/cli/terminal-compositor.committed-band-commit.d.ts +1 -0
- package/dist/cli/terminal-compositor.d.ts +1 -0
- package/dist/cli/terminal-compositor.frame.d.ts +1 -0
- package/dist/cli/terminal-compositor.lifecycle.d.ts +6 -5
- package/dist/cli.mjs +314 -314
- package/dist/index.mjs +130 -130
- package/dist/telegram.mjs +151 -151
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function reshownArchivedRows(compositor: object): number;
|
|
2
|
+
export declare function dropSeamOverlap(scrollback: readonly string[], visible: readonly string[], reshown: number, dump: string): string[];
|
|
3
|
+
export declare function mergeSeamBuffer(lines: readonly string[], baseY: number, reshown: number, dump: string): string[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { BandRowMeta, FramePlacementMode } from './terminal-compositor.types.js';
|
|
2
|
+
export interface ArchivedPrefixHost {
|
|
3
|
+
committedBand: string[];
|
|
4
|
+
committedBandMeta: BandRowMeta[];
|
|
5
|
+
committedBandTopRow: number;
|
|
6
|
+
committedBandBottomRow: number;
|
|
7
|
+
committedBandPaintedRows: number;
|
|
8
|
+
committedBandArchivedPrefix: number;
|
|
9
|
+
placementMode: FramePlacementMode;
|
|
10
|
+
readonly stdout: NodeJS.WriteStream;
|
|
11
|
+
}
|
|
12
|
+
export declare function retainArchivedOnCover(self: Pick<ArchivedPrefixHost, 'placementMode'>): boolean;
|
|
13
|
+
export declare function archivedPrefix(self: Pick<ArchivedPrefixHost, 'committedBand' | 'committedBandArchivedPrefix'>): number;
|
|
14
|
+
export declare function nonArchivedPendingRows(self: Pick<ArchivedPrefixHost, 'committedBand' | 'committedBandPaintedRows' | 'committedBandArchivedPrefix'>): number;
|
|
15
|
+
export declare function flushLinesSkippingArchived(rows: readonly string[], meta: readonly BandRowMeta[] | undefined, count: number, prefix: number): string[];
|
|
16
|
+
export declare function retainedArchivedPrefix(self: Pick<ArchivedPrefixHost, 'committedBand' | 'committedBandArchivedPrefix'>, merged: boolean, dropped: number): number;
|
|
17
|
+
export declare function capArchivedPrefix(self: Omit<ArchivedPrefixHost, 'placementMode' | 'stdout'>, cap: number): void;
|
|
18
|
+
export declare function dropScrollingArchivedRows(self: Omit<ArchivedPrefixHost, 'placementMode'>, scrollRows: number): number;
|
|
@@ -14,6 +14,7 @@ export interface BandReflowHost {
|
|
|
14
14
|
committedBand: string[];
|
|
15
15
|
committedBandMeta: BandRowMeta[];
|
|
16
16
|
committedBandPaintedRows: number;
|
|
17
|
+
committedBandArchivedPrefix: number;
|
|
17
18
|
bandReflowCache: BandReflowCache | null;
|
|
18
19
|
}
|
|
19
20
|
export declare function reflowCommittedBandToWidth(self: BandReflowHost, width: number): void;
|
|
@@ -9,6 +9,7 @@ export interface CommittedBandHost {
|
|
|
9
9
|
committedBandBottomRow: number;
|
|
10
10
|
lastMeasuredFrameTop: number;
|
|
11
11
|
committedBandPaintedRows: number;
|
|
12
|
+
committedBandArchivedPrefix: number;
|
|
12
13
|
bandReflowCache: BandReflowCache | null;
|
|
13
14
|
committing: boolean;
|
|
14
15
|
commitInFlight: boolean;
|
|
@@ -82,6 +82,7 @@ export declare class TerminalCompositor {
|
|
|
82
82
|
readonly contentHug: boolean;
|
|
83
83
|
pendingContentRows: number | null;
|
|
84
84
|
committedBandPaintedRows: number;
|
|
85
|
+
committedBandArchivedPrefix: number;
|
|
85
86
|
bandReflowCache: BandReflowCache | null;
|
|
86
87
|
lastKnownRows: number;
|
|
87
88
|
pendingResizeErase: {
|
|
@@ -28,6 +28,7 @@ export interface FrameHost {
|
|
|
28
28
|
lastMeasuredFrameBottom: number;
|
|
29
29
|
pendingContentRows: number | null;
|
|
30
30
|
committedBandPaintedRows: number;
|
|
31
|
+
committedBandArchivedPrefix: number;
|
|
31
32
|
bandReflowCache: BandReflowCache | null;
|
|
32
33
|
hasCommitted: boolean;
|
|
33
34
|
anchorRow: number | undefined;
|
|
@@ -35,11 +35,12 @@ export interface LifecycleHost {
|
|
|
35
35
|
top: number;
|
|
36
36
|
bottom: number;
|
|
37
37
|
} | null;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
committedBand: string[];
|
|
39
|
+
committedBandMeta: BandRowMeta[];
|
|
40
|
+
committedBandTopRow: number;
|
|
41
|
+
committedBandBottomRow: number;
|
|
42
|
+
committedBandPaintedRows: number;
|
|
43
|
+
committedBandArchivedPrefix: number;
|
|
43
44
|
bandGeometryStale: boolean;
|
|
44
45
|
lastMeasuredFrameTop: number;
|
|
45
46
|
lastMeasuredFrameBottom: number;
|