MCPcopy Create free account

hub / github.com/21st-dev/21st-sdk / functions

Functions4,011 in github.com/21st-dev/21st-sdk

↓ 5 callersFunctionisRecord
(value: unknown)
apps/relay/src/deployment-metadata.ts:46
↓ 5 callersFunctionnormalizeAgentMcpServers
( servers: HttpAgentMcpServer[] | undefined | null, )
packages/sandbox-provider/src/mcp.ts:145
↓ 5 callersFunctionnormalizeApiKeyResponse
(rawApiKey: any)
apps/agents-web/server/api/routers/api-keys/types.ts:38
↓ 5 callersFunctionnormalizeSandboxPath
( path: string, rootPath: string = ROOT_PATH, )
apps/agents-web/lib/codesandbox-constants.ts:40
↓ 5 callersMethodnormalizeUrl
* Normalize URL by removing protocol for consistent storage/lookup
apps/agents-web/app/api/style-profile/db-service.ts:37
↓ 5 callersFunctionreadSource
(relativeUrl: string)
apps/relay/src/__tests__/mcp-gateway-cleanup.test.ts:4
↓ 5 callersFunctionsaveBillingState
(teamId: string, state: TeamStripeBillingState)
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:192
↓ 5 callersFunctionsaveThreads
(threads: ThreadMeta[])
apps/agents-web/components/features/agents/an/an-showcase.tsx:58
↓ 5 callersFunctionsendDiscordMessage
( channelId: string, content: string )
apps/agents-web/lib/webhooks/platforms/discord/responder.ts:8
↓ 5 callersMethodsendRequest
(method: string, params?: unknown)
packages/agent-runtime/src/acp-bridge.ts:304
↓ 5 callersFunctionshow
(s: SectionId)
apps/agents-web/app/(alpha)/agents/deployments/_components/agent-details-panel.tsx:74
↓ 5 callersFunctiontruncateText
( text: string, maxLength: number, ellipsis: string = "...", )
apps/agents-web/lib/utils.ts:180
↓ 5 callersMethodunsubscribe
()
apps/agents-web/lib/redis.ts:18
↓ 5 callersFunctionuseActiveFilter
()
apps/agents-web/app/agents/internal/admin/_context/active-filter-context.tsx:24
↓ 5 callersFunctionuseContainerHeight
()
apps/agents-web/components/features/agents/an/chat-preview/hooks/use-container-height.ts:5
↓ 5 callersFunctionuseInputTyping
( text: string, duration: number, isActive: boolean, onComplete: () => void, )
apps/agents-web/components/features/agents/an/chat-preview/hooks/use-input-typing.ts:5
↓ 5 callersFunctionuseIsMobile
()
apps/agents-web/hooks/use-mobile.tsx:5
↓ 5 callersFunctionuseResolvedCredentials
()
apps/agents-web/app/agents/docs/api-reference/_shared.tsx:37
↓ 5 callersFunctionuseUserProfile
()
apps/agents-web/components/hooks/use-user-profile.ts:42
↓ 4 callersFunctionaddToAudience
( email: string, type: "newsletter" | "magic-waitlist" | "sdk-early-access" | "an-early-access", )
apps/agents-web/lib/resend.ts:3
↓ 4 callersFunctionagent
( config: AgentOptions<TOOLS>, )
packages/agent/src/agent.ts:3
↓ 4 callersFunctionapplyTheme
( element: HTMLElement, theme: ChatTheme, colorMode: "light" | "dark" | "auto" = "auto", )
packages/react/src/theme.ts:17
↓ 4 callersFunctionauthLog
(action: string, data?: Record<string, unknown>)
apps/agents-web/lib/utils/auth-logger.ts:4
↓ 4 callersFunctionauthorizeStudioProjectRequest
( request: Request, projectId: string, )
apps/agents-web/lib/server/studio/auth.ts:18
↓ 4 callersFunctionbillingGetBucketStart
(date: Date, windowSize: BillingWindowSize)
apps/agents-web/server/api/routers/agents-admin/router.ts:65
↓ 4 callersFunctionbuildVaultProxyEnv
( path: string = VAULT_PROXY_CONFIG_PATH, )
packages/agent-runtime/src/runtime.ts:157
↓ 4 callersFunctioncaptureCanvasEvent
( eventName: string, properties?: Record<string, any>, )
apps/agents-web/lib/posthog-canvas.ts:53
↓ 4 callersFunctionconfirmDestructiveAction
(message: string)
apps/agents-web/app/(alpha)/agents/vaults/_components/vaults-page-client.tsx:202
↓ 4 callersFunctiondarken
(hex: string, amount: number)
apps/agents-web/components/features/agents/an/playground/use-playground-state.ts:171
↓ 4 callersMethoddetectHooksInFile
(sourceFile: SourceFile)
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:543
↓ 4 callersFunctionelapsed
()
apps/agents-web/server/api/routers/agents-admin/router.ts:1198
↓ 4 callersFunctionencryptLinearToken
(token: string)
apps/agents-web/lib/server/crypto.ts:115
↓ 4 callersMethodextractApiUsageFromText
(text: string)
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:636
↓ 4 callersFunctionfetchIssueContext
( installationId: number, owner: string, repo: string, issueNumber: number, isPullRequest: boolean )
apps/agents-web/lib/server/github/github-context.ts:138
↓ 4 callersFunctionfinalizeResolvedVaultIds
( input: ResolveVaultIdsInput, store: VaultResolutionStore, source: VaultResolutionSource, vaultIds: s
apps/relay/src/vault-resolution.ts:155
↓ 4 callersFunctionfindAccessibleSandbox
(params: { agentId: string; clientSandboxId: string; teamId: string; ownerTeamId: string; })
apps/relay/src/chat.ts:361
↓ 4 callersFunctionfindApiAccessibleAgent
(teamId: string, slug: string)
apps/agents-web/app/api/v1/_lib/enterprise-agents.ts:38
↓ 4 callersFunctionflattenItems
(items: NavItem[])
apps/agents-web/lib/agents-docs/manifest.ts:188
↓ 4 callersFunctionflushBatch
()
packages/agent-runtime/src/stream.ts:197
↓ 4 callersFunctionfmtCost
(n: number)
apps/agents-web/app/agents/internal/admin/directory/_constants.ts:89
↓ 4 callersFunctionformatCurrency
(value: number)
apps/agents-web/app/(alpha)/agents/billing/_components/billing-page-client.tsx:58
↓ 4 callersFunctionformatTokens
(n: number | null | undefined)
packages/cli/src/logs.ts:76
↓ 4 callersFunctiongenerateToken
* Generate a secure random token
apps/agents-web/lib/toolbar-tokens.ts:18
↓ 4 callersFunctiongetAppConfig
* Get GitHub App configuration from environment variables
apps/agents-web/lib/server/github/github-app-auth.ts:32
↓ 4 callersFunctiongetBetterAuth
()
apps/agents-web/lib/agents/auth/better-auth.ts:157
↓ 4 callersFunctiongetBucketStart
(date: Date, windowSize: BillingWindowSize)
apps/agents-web/lib/agents-billing/metronome-analytics.ts:61
↓ 4 callersFunctiongetBucketStart
(date: Date, windowSize: WindowSize)
apps/agents-web/server/api/routers/an-runs/router.ts:45
↓ 4 callersFunctiongetBucketStart
(date: Date, windowSize: WindowSize)
apps/agents-web/server/api/routers/an-billing/router.ts:93
↓ 4 callersFunctiongetCanvasPosthog
()
apps/agents-web/lib/posthog-canvas.ts:48
↓ 4 callersFunctiongetConnectionConfig
()
apps/relay/src/sandbox-backends/opensandbox.ts:28
↓ 4 callersFunctiongetInstance
()
apps/agents-web/lib/posthog-21st-agents.ts:20
↓ 4 callersFunctiongetSandboxBackend
(provider: SandboxProvider)
apps/relay/src/sandbox-backends/index.ts:11
↓ 4 callersFunctiongetStripeId
(userId: string)
apps/agents-web/lib/stripe.ts:197
↓ 4 callersFunctiongetUserId
(req: Request)
apps/relay/src/chat.ts:252
↓ 4 callersFunctionhandleClose
()
apps/agents-web/components/features/agents/an/an-early-access-dialog.tsx:53
↓ 4 callersFunctionhasMcpConfigConflict
( mcpConfig: Buffer | null, metadata: { mcpServers?: Array<unknown> } | null | undefined, )
packages/cli/src/deploy.ts:20
↓ 4 callersMethodincr
(key: string)
apps/agents-web/lib/redis.ts:25
↓ 4 callersFunctioninlineToMarkdown
(el: HTMLElement)
apps/agents-web/components/features/agents/an/docs/copy-markdown-button.tsx:212
↓ 4 callersFunctionisActive
(href: string, pathname: string)
apps/agents-web/components/features/agents/an/docs/docs-sidebar.tsx:109
↓ 4 callersFunctionisDemoWithComponent
( item: FilterableComponent, )
apps/agents-web/lib/filters.client.ts:72
↓ 4 callersFunctionisEnabled
()
apps/agents-web/lib/posthog-21st-agents.ts:25
↓ 4 callersFunctionisMissingFilesystemPathError
(err: unknown)
apps/relay/src/sandboxes.ts:98
↓ 4 callersFunctionisOpenSandboxNotFoundError
(error: unknown)
apps/relay/src/sandbox-backends/opensandbox.ts:192
↓ 4 callersFunctionisSafeStudioWorkspacePath
(path: string)
apps/agents-web/lib/server/studio/workspace.ts:14
↓ 4 callersFunctionkubernetesRequest
( options: KubernetesRequestOptions, )
apps/agents-web/lib/server/agents/build-opensandbox-image.ts:373
↓ 4 callersFunctionmapToolInvocationToStep
( toolCallId: string, toolInvocation: { toolName: string args?: Record<string, any> state: "pa
apps/agents-web/components/features/agents/an/dashboard/live-chat-adapters.ts:140
↓ 4 callersFunctionmapToolStateToStepState
( aiState: "partial-call" | "call" | "result", )
apps/agents-web/components/features/agents/an/dashboard/live-chat-adapters.ts:75
↓ 4 callersFunctionnormalizeContractAmount
(value: number, creditTypeName?: string)
apps/agents-web/server/api/routers/an-billing/router.ts:132
↓ 4 callersFunctionnormalizeVaultCredentialInjectRule
( rule: unknown, )
packages/sandbox-provider/src/mcp.ts:71
↓ 4 callersFunctiononClick
()
apps/agents-web/components/ui/sidebar-news.tsx:263
↓ 4 callersFunctionparseBody
(schema: z.ZodType<T>, body: unknown)
apps/relay/src/vaults.ts:191
↓ 4 callersFunctionparseISOWeekToDate
(isoWeek: string)
apps/agents-web/lib/utils/week.ts:51
↓ 4 callersMethodprocessRelease
(release: GitHubRelease)
apps/agents-web/lib/changelog.ts:55
↓ 4 callersFunctionprocessUrl
(url: string | null)
apps/agents-web/app/api/user/profile/route.ts:192
↓ 4 callersMethodpublish
(event: "start" | "end", record: SpanRecord)
packages/agent-runtime/src/tracing.ts:278
↓ 4 callersFunctionrenderErrorPage
(message: string)
apps/agents-web/app/api/unsubscribe/route.ts:246
↓ 4 callersFunctionrequireBetterAuthEnv
(name: string)
apps/agents-web/lib/agents/auth/better-auth.ts:8
↓ 4 callersFunctionresolveDeployMcpMetadata
(params: { metadata?: DeployMetadata mcpConfig?: ArrayBuffer })
apps/agents-web/app/api/v1/agents/deploy/mcp-metadata.ts:38
↓ 4 callersFunctionresolveTrustedExternalUserId
(input: { tokenEndUserId?: string | null bodyExternalUserId?: string | null })
apps/relay/src/chat-identity.ts:15
↓ 4 callersFunctionrunInRepo
(command: string)
apps/agents-web/server/api/routers/agents/router.ts:837
↓ 4 callersFunctionserializeVault
( record: typeof anMcpVaults.$inferSelect, credentials: Array<typeof anMcpCredentials.$inferSelect> = [],
apps/relay/src/vaults.ts:287
↓ 4 callersFunctionspawnFailureProcess
(message: string, options: SpawnOptions)
packages/agent-runtime/src/runtime.ts:529
↓ 4 callersFunctiontoAgentsAuthError
(error: unknown, fallback: string)
apps/agents-web/lib/agents/auth/client.tsx:41
↓ 4 callersFunctiontoHourBoundary
(iso: string)
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:216
↓ 4 callersFunctiontoWorkspaceFiles
(value: unknown)
apps/agents-web/lib/server/studio/workspace.ts:22
↓ 4 callersFunctiontool
(config: { description: string inputSchema: TInput execute: (args: z.infer<TInput>, context: ToolContext
packages/agent/src/tool.ts:4
↓ 4 callersFunctiontransToGroupOption
(options: Option[], groupBy?: string)
apps/agents-web/components/ui/multiselect.tsx:107
↓ 4 callersFunctionuseAgentsSignOut
()
apps/agents-web/lib/agents/auth/client.tsx:172
↓ 4 callersFunctionuseFormField
()
apps/agents-web/components/ui/form.tsx:44
↓ 4 callersFunctionuseSidebar
()
apps/agents-web/components/ui/sidebar.tsx:40
↓ 4 callersFunctionvalidateSlugParam
(slug: string)
apps/agents-web/app/api/v1/_lib/errors.ts:14
↓ 4 callersFunctionvaultRecord
(overrides: Record<string, unknown> = {})
apps/relay/src/__tests__/vaults.test.ts:76
↓ 4 callersFunctionverifyStudioToken
(token: string)
apps/agents-web/lib/server/studio/jwt.ts:43
↓ 4 callersMethodwriteFiles
(entries: Array<{ path: string; data: SandboxFileData }>)
apps/relay/src/sandbox-backends/types.ts:42
↓ 3 callersMethod_request
@internal
packages/node/src/client.ts:64
↓ 3 callersFunctionapplyVaultProxyEnv
(env: NodeJS.ProcessEnv)
packages/agent-runtime/src/runtime.ts:179
↓ 3 callersFunctionassertPersonByEmail
(input: { email: string firstName?: string lastName?: string country?: string countryCode?: string
apps/agents-web/lib/attio.ts:59
↓ 3 callersFunctionbase64UrlEncode
* Base64 URL encode (no padding, URL-safe characters)
apps/agents-web/lib/server/github/github-app-auth.ts:63
↓ 3 callersFunctionbaseHandler
( getUserId: () => Promise<string | null>, request: NextRequest, )
apps/agents-web/middleware.ts:45
↓ 3 callersFunctionbuildErrorLog
(error: unknown)
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:83
← previousnext →201–300 of 4,011, ranked by callers