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

Function getPanelModeLabel

background/navigation-utils.js:35–38  ·  view source on GitHub ↗
(modeOrState)

Source from the content-addressed store, hash-verified

33 }
34
35 function getPanelModeLabel(modeOrState) {
36 const mode = typeof modeOrState === 'string' ? modeOrState : getPanelMode(modeOrState);
37 return mode === 'sub2api' ? 'SUB2API' : 'CPA';
38 }
39
40 function isSignupPageHost(hostname = '') {
41 return ['auth0.openai.com', 'auth.openai.com', 'accounts.openai.com'].includes(hostname);

Callers

nothing calls this directly

Calls 1

getPanelModeFunction · 0.70

Tested by

no test coverage detected