MCPcopy Create free account
hub / github.com/cortexkit/magic-context / stillActive

Function stillActive

packages/plugin/src/tui/index.tsx:780–781  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

778 if (n.type !== "action") return false
779 const action = n.payload?.action
780 const stillActive = () =>
781 getRpcGeneration() === generation && getSessionId(api) === requestedSessionId
782 if (action === "show-status-dialog") {
783 return stillActive() && (await showStatusDialog(api, requestedSessionId))
784 }

Callers 1

handleNotificationFunction · 0.85

Calls 2

getRpcGenerationFunction · 0.90
getSessionIdFunction · 0.85

Tested by

no test coverage detected