feat: add tui recovery state machine
This commit is contained in:
@@ -14,6 +14,9 @@ export interface DevflowActivityDependencies {
|
||||
workspaceRoot: string;
|
||||
availableBackends?: readonly BackendConfig[];
|
||||
maxConcurrentRuns?: number;
|
||||
recovery?: {
|
||||
maxHungMs?: number;
|
||||
};
|
||||
wait?: {
|
||||
timeoutMs?: number;
|
||||
pollIntervalMs?: number;
|
||||
@@ -50,6 +53,7 @@ export function createDevflowActivities(
|
||||
...(dependencies.maxConcurrentRuns === undefined
|
||||
? {}
|
||||
: { maxConcurrentRuns: dependencies.maxConcurrentRuns }),
|
||||
...(dependencies.recovery === undefined ? {} : { recovery: dependencies.recovery }),
|
||||
...(activityWait === undefined ? {} : { wait: activityWait }),
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user