MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / toolsFor

Function toolsFor

packages/onboarding-demo/src/next-flow.tsx:68–69  ·  view source on GitHub ↗
(accounts: readonly DemoAccount[])

Source from the content-addressed store, hash-verified

66// ---------------------------------------------------------------------------
67
68const toolsFor = (accounts: readonly DemoAccount[]): number =>
69 accounts.some((account) => account.status === "connected") ? 24 : 0;
70
71/** What the console sidebar lists: the same added integrations, in the shape
72 * the shell already renders. */

Callers 2

asSidebarIntegrationFunction · 0.85
NextFlowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected