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

Function isRecoverableStep9AuthFailure

content/activation-utils.js:40–51  ·  view source on GitHub ↗
(statusText)

Source from the content-addressed store, hash-verified

38 }
39
40 function isRecoverableStep9AuthFailure(statusText) {
41 const text = String(statusText || '').replace(/\s+/g, ' ').trim();
42 if (!text) {
43 return false;
44 }
45
46 if (/oauth flow is not pending/i.test(text)) {
47 return true;
48 }
49
50 return /(?:认证失败|回调 URL 提交失败):\s*/i.test(text);
51 }
52
53 return {
54 getActivationStrategy,

Callers 4

isStep9FailureTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected