Files
oh-my-opencode/dist/features/background-agent/fallback-retry-handler.d.ts
T
2026-03-14 04:56:50 +00:00

17 lines
569 B
TypeScript

import type { BackgroundTask } from "./types";
import type { ConcurrencyManager } from "./concurrency";
import type { OpencodeClient, QueueItem } from "./constants";
export declare function tryFallbackRetry(args: {
task: BackgroundTask;
errorInfo: {
name?: string;
message?: string;
};
source: string;
concurrencyManager: ConcurrencyManager;
client: OpencodeClient;
idleDeferralTimers: Map<string, ReturnType<typeof setTimeout>>;
queuesByKey: Map<string, QueueItem[]>;
processKey: (key: string) => void;
}): boolean;