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

Function getBackgroundState

content/sub2api-panel.js:281–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279}
280
281async function getBackgroundState() {
282 try {
283 return await chrome.runtime.sendMessage({ type: 'GET_STATE', source: 'sub2api-panel' });
284 } catch {
285 return {};
286 }
287}
288
289function openAccountsPageSoon(origin) {
290 const accountsUrl = `${origin}/admin/accounts`;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected