chore: include pre-built dist for github install
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import type { BackgroundTaskConfig } from "../../config/schema";
|
||||
import type { BackgroundTask } from "./types";
|
||||
import type { ConcurrencyManager } from "./concurrency";
|
||||
import type { OpencodeClient } from "./opencode-client";
|
||||
export declare function pruneStaleTasksAndNotifications(args: {
|
||||
tasks: Map<string, BackgroundTask>;
|
||||
notifications: Map<string, BackgroundTask[]>;
|
||||
onTaskPruned: (taskId: string, task: BackgroundTask, errorMessage: string) => void;
|
||||
}): void;
|
||||
export type SessionStatusMap = Record<string, {
|
||||
type: string;
|
||||
}>;
|
||||
export declare function checkAndInterruptStaleTasks(args: {
|
||||
tasks: Iterable<BackgroundTask>;
|
||||
client: OpencodeClient;
|
||||
config: BackgroundTaskConfig | undefined;
|
||||
concurrencyManager: ConcurrencyManager;
|
||||
notifyParentSession: (task: BackgroundTask) => Promise<void>;
|
||||
sessionStatuses?: SessionStatusMap;
|
||||
onTaskInterrupted?: (task: BackgroundTask) => void;
|
||||
}): Promise<void>;
|
||||
Reference in New Issue
Block a user