agent-afk 5.176.2 → 5.176.3
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/task-lifecycle.d.ts +2 -0
- package/dist/cli.mjs +95 -95
- package/dist/index.mjs +2 -2
- package/dist/telegram.mjs +2 -2
- package/package.json +1 -1
|
@@ -17,7 +17,9 @@ export interface RetryPolicy {
|
|
|
17
17
|
maxAttempts: number;
|
|
18
18
|
backoffStrategy: 'fixed' | 'exponential';
|
|
19
19
|
backoffBaseMs: number;
|
|
20
|
+
maxBackoffMs?: number;
|
|
20
21
|
}
|
|
21
22
|
export declare const DEFAULT_RETRY_POLICY: RetryPolicy;
|
|
23
|
+
export declare const DEFAULT_MAX_BACKOFF_MS: number;
|
|
22
24
|
export declare const DEFAULT_LEASE_TTL_MS: number;
|
|
23
25
|
export declare function computeBackoffMs(attempts: number, policy: RetryPolicy): number;
|