agent-afk 5.85.0 → 5.85.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/agent/daemon/root-failure-summary.d.ts +6 -0
- package/dist/agent/daemon/worktree-prune-summary.d.ts +14 -0
- package/dist/agent/worktree-root-path.d.ts +1 -0
- package/dist/agent/worktree-root-registry-liveness.d.ts +8 -0
- package/dist/agent/worktree-root-registry.d.ts +3 -0
- package/dist/agent/worktree-sweep-valve.d.ts +3 -0
- package/dist/agent/worktree-sweep.d.ts +1 -0
- package/dist/cli.mjs +530 -530
- package/dist/index.mjs +181 -181
- package/dist/paths.d.ts +1 -0
- package/dist/telegram.mjs +241 -241
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface PruneTickTotals {
|
|
2
|
+
removed: number;
|
|
3
|
+
warnings: number;
|
|
4
|
+
wouldRemove: number;
|
|
5
|
+
liveRoots: number;
|
|
6
|
+
previewRoots: number;
|
|
7
|
+
contestedRoots: number;
|
|
8
|
+
failedRoots: number;
|
|
9
|
+
totalRoots: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function countPrunable(candidates: readonly {
|
|
12
|
+
verdict: string;
|
|
13
|
+
}[]): number;
|
|
14
|
+
export declare function formatWorktreePruneSummary(totals: PruneTickTotals): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeRootPath(root: string): Promise<string>;
|
|
@@ -31,6 +31,7 @@ export interface SweepResult {
|
|
|
31
31
|
warnings: string[];
|
|
32
32
|
dryRun: boolean;
|
|
33
33
|
candidates: SweepCandidateSummary[];
|
|
34
|
+
contested?: boolean;
|
|
34
35
|
}
|
|
35
36
|
export declare const MIN_EMPTY_AGE_MS = 3600000;
|
|
36
37
|
export declare function runSweep(options: SweepOptions): Promise<SweepResult>;
|