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

Function getRunningSteps

background.js:3751–3759  ·  view source on GitHub ↗
(statuses = {})

Source from the content-addressed store, hash-verified

3749}
3750
3751function getRunningSteps(statuses = {}) {
3752 if (typeof loggingStatus !== 'undefined' && loggingStatus?.getRunningSteps) {
3753 return loggingStatus.getRunningSteps(statuses);
3754 }
3755 return Object.entries({ ...DEFAULT_STATE.stepStatuses, ...statuses })
3756 .filter(([, status]) => status === 'running')
3757 .map(([step]) => Number(step))
3758 .sort((a, b) => a - b);
3759}
3760
3761function getAutoRunStatusPayload(phase, payload = {}) {
3762 const normalizedPayload = {

Callers 2

markRunningStepsStoppedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected