agent-afk 5.307.3 → 5.307.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/agent/json-brace-scanner.d.ts +2 -0
- package/dist/agent/preexisting-ledger/reader.d.ts +5 -1
- package/dist/agent/subagent/append-system-prompt-block.d.ts +2 -0
- package/dist/cli/commands/daemon.d.ts +1 -0
- package/dist/cli/commands/defects.d.ts +2 -0
- package/dist/cli/commands/print-warnings.d.ts +1 -0
- package/dist/cli/input/clipboard-image-linux.d.ts +0 -1
- package/dist/cli/input/detect-media-type.d.ts +2 -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 +1 -0
- package/dist/cli/terminal-compositor.reset.d.ts +1 -0
- package/dist/cli.mjs +369 -372
- package/dist/index.mjs +155 -163
- package/dist/insights/aggregators/preexisting-defects.d.ts +1 -0
- package/dist/telegram.mjs +180 -188
- package/package.json +1 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { LedgerRecord } from './session-end-hook.js';
|
|
2
|
+
export interface LedgerReadResult {
|
|
3
|
+
records: LedgerRecord[];
|
|
4
|
+
ledgerTruncated: boolean;
|
|
5
|
+
}
|
|
2
6
|
export interface DefectCluster {
|
|
3
7
|
repo: string;
|
|
4
8
|
locus: string;
|
|
@@ -8,5 +12,5 @@ export interface DefectCluster {
|
|
|
8
12
|
firstSeen: string;
|
|
9
13
|
lastSeen: string;
|
|
10
14
|
}
|
|
11
|
-
export declare function readLedgerRecords(ledgerPath?: string):
|
|
15
|
+
export declare function readLedgerRecords(ledgerPath?: string): LedgerReadResult;
|
|
12
16
|
export declare function clusterLedgerRecords(records: LedgerRecord[]): DefectCluster[];
|
|
@@ -11,4 +11,5 @@ export interface InFlightTaskSnapshot {
|
|
|
11
11
|
elapsedMs: number;
|
|
12
12
|
}
|
|
13
13
|
export declare function registerDaemonCrashHandlers(getInFlightTasks?: () => InFlightTaskSnapshot[]): void;
|
|
14
|
+
export declare function registerEarlyDaemonCrashHandlers(): (source: () => InFlightTaskSnapshot[]) => void;
|
|
14
15
|
export declare function registerDaemonCommand(program: Command): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function printWarnings(warnings: readonly string[]): boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ImageAttachment } from './attachments.js';
|
|
2
2
|
export declare function isCommandAvailable(cmd: string, args: string[]): Promise<boolean>;
|
|
3
3
|
export declare function linuxClipboardRead(cmd: string, args: string[]): Promise<Buffer | null>;
|
|
4
|
-
export declare function detectMediaTypeLinux(buffer: Buffer): ImageAttachment['mediaType'] | null;
|
|
5
4
|
export declare function readClipboardImageLinux(): Promise<ImageAttachment | null>;
|
|
@@ -51,6 +51,7 @@ export interface LifecycleHost {
|
|
|
51
51
|
committedBandPaintedRows: number;
|
|
52
52
|
committedBandArchivedPrefix: number;
|
|
53
53
|
bandGeometryStale: boolean;
|
|
54
|
+
resizeGeometryStale: boolean;
|
|
54
55
|
lastMeasuredFrameTop: number;
|
|
55
56
|
lastMeasuredFrameBottom: number;
|
|
56
57
|
lifecycleStateDirty: boolean;
|