MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / skipAutoRunCountdown

Function skipAutoRunCountdown

background/auto-run-controller.js:138–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 }
137
138 async function skipAutoRunCountdown() {
139 const state = await getState();
140 const plan = getPendingAutoRunTimerPlan(state);
141 if (!plan || state.autoRunPhase !== 'waiting_interval') {
142 return false;
143 }
144
145 return launchAutoRunTimerPlan('manual', {
146 expectedKinds: [
147 AUTO_RUN_TIMER_KIND_BETWEEN_ROUNDS,
148 AUTO_RUN_TIMER_KIND_BEFORE_RETRY,
149 ],
150 });
151 }
152
153 async function waitBetweenAutoRunRounds(targetRun, totalRuns, roundSummary, options = {}) {
154 const { autoRunSkipFailures = false, roundSummaries = [] } = options;

Callers 1

handleMessageFunction · 0.70

Calls 3

getStateFunction · 0.85
launchAutoRunTimerPlanFunction · 0.85

Tested by

no test coverage detected