MCPcopy Create free account
hub / github.com/QLHazyCoder/FlowPilot / setStepStatus

Function setStepStatus

background/logging-status.js:44–53  ·  view source on GitHub ↗
(step, status)

Source from the content-addressed store, hash-verified

42 }
43
44 async function setStepStatus(step, status) {
45 const state = await getState();
46 const statuses = { ...state.stepStatuses };
47 statuses[step] = status;
48 await setState({ stepStatuses: statuses, currentStep: step });
49 chrome.runtime.sendMessage({
50 type: 'STEP_STATUS_CHANGED',
51 payload: { step, status },
52 }).catch(() => { });
53 }
54
55 function getErrorMessage(error) {
56 return String(typeof error === 'string' ? error : error?.message || '');

Callers 3

handleStepDataFunction · 0.70
handleMessageFunction · 0.70
executeStep7Function · 0.50

Calls 2

getStateFunction · 0.85
setStateFunction · 0.85

Tested by

no test coverage detected