agent-afk 5.112.1 → 5.112.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.
@@ -0,0 +1,12 @@
1
+ import type { CommittedBandHost } from './terminal-compositor.committed-band-commit.js';
2
+ export interface CommitGeometry {
3
+ rows: number;
4
+ cols: number;
5
+ extraRows: number;
6
+ prevTopRow: number;
7
+ frameTop: number;
8
+ anchorFloor: number;
9
+ fitsAboveFrame: boolean;
10
+ phase1EffectiveFrameTop: number;
11
+ }
12
+ export declare function snapshotCommitGeometry(self: CommittedBandHost, contentLineCount: number, rows: number, cols: number): CommitGeometry;
@@ -0,0 +1,2 @@
1
+ import type { CommittedBandHost } from './terminal-compositor.committed-band-commit.js';
2
+ export declare function writeWithScrollGuard(self: Pick<CommittedBandHost, 'scrollRegion'>, write: () => void): void;
@@ -0,0 +1,4 @@
1
+ import type { CommittedBandHost } from './terminal-compositor.committed-band-commit.js';
2
+ import type { CommitGeometry } from './terminal-compositor.commit-geometry.js';
3
+ import type { CommitRoute } from './terminal-compositor.commit-route.js';
4
+ export declare function commitPhase1Teardown(self: CommittedBandHost, geo: CommitGeometry, route: CommitRoute): number;
@@ -0,0 +1,4 @@
1
+ import type { CommittedBandHost } from './terminal-compositor.committed-band-commit.js';
2
+ import type { CommitGeometry } from './terminal-compositor.commit-geometry.js';
3
+ import type { CommitRoute } from './terminal-compositor.commit-route.js';
4
+ export declare function commitPhase3Band(self: CommittedBandHost, geo: CommitGeometry, route: CommitRoute, newTopRow: number, maxRun: number, postScrollFloor: number): void;
@@ -0,0 +1,5 @@
1
+ import type { CommittedBandHost } from './terminal-compositor.committed-band-commit.js';
2
+ import type { CommitGeometry } from './terminal-compositor.commit-geometry.js';
3
+ import type { CommitRoute } from './terminal-compositor.commit-route.js';
4
+ export declare function commitPhase3Hold(self: CommittedBandHost, _geo: CommitGeometry, route: CommitRoute, newTopRow: number, maxRun: number): void;
5
+ export declare function commitPhase3HoldStore(self: CommittedBandHost, geo: CommitGeometry, route: CommitRoute): void;
@@ -0,0 +1,16 @@
1
+ import type { BandRowMeta } from './terminal-compositor.types.js';
2
+ import type { CommittedBandHost } from './terminal-compositor.committed-band-commit.js';
3
+ import type { CommitText } from './terminal-compositor.commit-text.js';
4
+ import type { CommitGeometry } from './terminal-compositor.commit-geometry.js';
5
+ export interface CommitRoute {
6
+ textLines: string[];
7
+ textMeta: BandRowMeta[];
8
+ lineCount: number;
9
+ useBandHold: boolean;
10
+ overflowRun: string[];
11
+ overflowRunMeta: BandRowMeta[];
12
+ archiveCount: number;
13
+ rawGenuineOverflow: number;
14
+ maxBandModel: number;
15
+ }
16
+ export declare function routeCommit(self: CommittedBandHost, t: CommitText, geo: CommitGeometry): CommitRoute;
@@ -0,0 +1,10 @@
1
+ import type { BandRowMeta } from './terminal-compositor.types.js';
2
+ export interface CommitText {
3
+ logicalLines: string[];
4
+ hasTrailingSeparator: boolean;
5
+ contentLines: string[];
6
+ contentMeta: BandRowMeta[];
7
+ contentLineCount: number;
8
+ separatorMeta: BandRowMeta;
9
+ }
10
+ export declare function decomposeCommitText(text: string, cols: number): CommitText;
@@ -1,5 +1,5 @@
1
1
  import type { LogUpdateFn, CompositorScrollRegionGuard, BandRowMeta } from './terminal-compositor.types.js';
2
- import { type BandReflowCache } from './terminal-compositor.band-reflow.js';
2
+ import type { BandReflowCache } from './terminal-compositor.band-reflow.js';
3
3
  export interface CommittedBandHost {
4
4
  repaint(): void;
5
5
  debugLog(stage: string, extra?: Record<string, unknown>): void;