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

Function getTabRegistry

background/tab-runtime.js:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 const pendingCommands = new Map();
20
21 async function getTabRegistry() {
22 const state = await getState();
23 return state.tabRegistry || {};
24 }
25
26 async function registerTab(source, tabId) {
27 const registry = await getTabRegistry();

Callers 8

registerTabFunction · 0.70
isTabAliveFunction · 0.70
getTabIdFunction · 0.70
reuseOrCreateTabFunction · 0.70
sendToContentScriptFunction · 0.70

Calls 1

getStateFunction · 0.85

Tested by

no test coverage detected