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

Function rerunStep6ForStep7Recovery

background/steps/fetch-login-code.js:108–120  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

106 }
107
108 async function rerunStep6ForStep7Recovery(options = {}) {
109 const {
110 logMessage = '步骤 7:正在回到步骤 6,重新发起登录验证码流程...',
111 skipPreLoginCleanup = false,
112 postStepDelayMs = 3000,
113 } = options;
114 const currentState = await getState();
115 await addLog(logMessage, 'warn');
116 await executeStep6(currentState, { skipPreLoginCleanup });
117 if (postStepDelayMs > 0) {
118 await sleepWithStop(postStepDelayMs);
119 }
120 }
121
122 async function executeStep7(state) {
123 if (shouldSkipLoginVerificationForCpaCallback(state)) {

Callers 2

runStep7AttemptFunction · 0.85
executeStep7Function · 0.85

Calls 4

getStateFunction · 0.85
sleepWithStopFunction · 0.85
executeStep6Function · 0.70
addLogFunction · 0.50

Tested by

no test coverage detected