agent-afk 5.111.3 → 5.112.0

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,20 @@
1
+ export declare const WITNESS_MAX_AGE_DAYS_DEFAULT = 30;
2
+ export declare const WITNESS_MAX_BYTES_DEFAULT: number;
3
+ export declare const WITNESS_EVICTION_GRACE_MS: number;
4
+ export declare const WITNESS_SWEEP_MIN_INTERVAL_MS: number;
5
+ export interface WitnessSweepOptions {
6
+ root?: string;
7
+ activeLabel?: string | undefined;
8
+ maxAgeDays?: number;
9
+ maxBytes?: number;
10
+ force?: boolean;
11
+ }
12
+ export interface WitnessSweepResult {
13
+ skipped: boolean;
14
+ scanned: number;
15
+ evicted: number;
16
+ freedBytes: number;
17
+ evictedLabels: string[];
18
+ }
19
+ export declare function sweepWitnessTree(options?: WitnessSweepOptions): Promise<WitnessSweepResult>;
20
+ export declare const WITNESS_SWEEP_START_DELAY_MS = 5000;