Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/21st-dev/21st-sdk
/ functions
Functions
4,011 in github.com/21st-dev/21st-sdk
⨍
Functions
4,011
◇
Types & classes
625
↓ 3 callers
Function
buildErrorLog
(error: unknown)
apps/agents-web/app/api/agents/billing/check/route.ts:12
↓ 3 callers
Function
buildInviteUrl
( token: string, origin?: string, forGitHub?: boolean, source?: "canvas" | "agents", )
apps/agents-web/lib/utils/invite.ts:8
↓ 3 callers
Function
buildSearchIndex
()
apps/agents-web/lib/agents-docs/search.ts:14
↓ 3 callers
Function
calculateStatus
( author: FullAuthorData, )
apps/agents-web/scripts/migrate-to-attio.ts:184
↓ 3 callers
Function
cl
(v: number)
apps/agents-web/components/features/agents/an/playground/use-playground-state.ts:167
↓ 3 callers
Function
connectToSandbox
( provider: ResolvedSandboxConfig['provider'], sandboxId: string, )
apps/relay/src/sandbox-factory.ts:520
↓ 3 callers
Method
convertToStyleProfile
* Convert DB record to StyleProfile format
apps/agents-web/app/api/style-profile/db-service.ts:509
↓ 3 callers
Function
createMcpVault
(params: { teamId: string name: string description?: string | null metadata?: McpMetadata | null })
apps/agents-web/lib/server/mcp-vaults.ts:351
↓ 3 callers
Function
createPlatformCommand
( args: string[], osType: OsType = "mac", )
apps/agents-web/lib/config/magic-mcp.ts:54
↓ 3 callers
Function
createProvisionedSandbox
(params: { runtime: string; userId: string; sandboxConfig: ResolvedSandboxConfig; bundleUrl?: string |
apps/relay/src/sandbox-factory.ts:385
↓ 3 callers
Function
createTRPCContext
(opts: { headers: Headers })
apps/agents-web/server/api/trpc.ts:32
↓ 3 callers
Function
decodeEscapedString
(value: string)
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/workspace-client.tsx:169
↓ 3 callers
Function
destroySandbox
( provider: ResolvedSandboxConfig['provider'], sandboxId: string, )
apps/relay/src/sandbox-factory.ts:537
↓ 3 callers
Function
emptyResult
(warnings: string[])
apps/agents-web/server/api/routers/agents-admin/router.ts:1272
↓ 3 callers
Function
encodeEvent
(event: DeployEvent)
apps/agents-web/app/api/v1/agents/deploy/route.ts:124
↓ 3 callers
Function
enforceAgentScope
(req: Request, slug: string)
apps/relay/src/chat.ts:263
↓ 3 callers
Function
ensureStripeSetupUrl
(params: { customerId: string teamId: string })
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:364
↓ 3 callers
Function
exchangeToken
(options: ExchangeTokenOptions)
packages/nextjs/src/server.ts:18
↓ 3 callers
Function
exitEnvSetUsage
(message?: string)
packages/cli/src/env.ts:52
↓ 3 callers
Method
extractApiUsageFromFile
(sourceFile: SourceFile)
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:632
↓ 3 callers
Function
extractFieldString
(source: string, fieldName: string)
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/workspace-client.tsx:182
↓ 3 callers
Function
extractSlug
(req: Request)
apps/agents-web/app/api/v1/agents/[slug]/env/route.ts:17
↓ 3 callers
Function
extractSummary
(messages: AgentMessage[])
apps/agents-web/lib/webhooks/platforms/github/extract-summary.ts:21
↓ 3 callers
Method
extractSymbolsFromFile
(sourceFile: SourceFile)
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:580
↓ 3 callers
Method
extractSymbolsFromText
(text: string)
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:612
↓ 3 callers
Function
fetchR2Asset
(url: string | null)
apps/agents-web/lib/registry.ts:101
↓ 3 callers
Function
fileExists
* Check if a file exists in the repository
apps/agents-web/lib/server/github/detect-framework.ts:72
↓ 3 callers
Function
findAliasHolders
(client: Metronome, teamId: string)
apps/agents-web/scripts/billing-reset-team.ts:95
↓ 3 callers
Function
findMatchingAutomations
( teamId: string, triggerType: TriggerType, eventData: AutomationEventData, )
apps/agents-web/lib/webhooks/handlers/automation-matcher.ts:85
↓ 3 callers
Method
flushBatch
()
packages/agent-runtime/src/acp-bridge.ts:350
↓ 3 callers
Function
fmtPct
(value: number)
apps/agents-web/app/agents/internal/admin/page.tsx:89
↓ 3 callers
Function
fmtPct
(value: number)
apps/agents-web/app/agents/internal/admin/billing/page.tsx:43
↓ 3 callers
Function
formatCost
(usd: number | null | undefined)
packages/cli/src/logs.ts:81
↓ 3 callers
Function
formatCount
(n: number)
apps/agents-web/app/(alpha)/agents/threads/_components/logs-filter-sidebar.tsx:33
↓ 3 callers
Function
formatDuration
(ms: number | null | undefined)
packages/cli/src/logs.ts:69
↓ 3 callers
Function
formatISOWeek
(date: Date)
apps/agents-web/lib/utils/week.ts:35
↓ 3 callers
Function
formatNumber
(value: number)
apps/agents-web/app/(alpha)/agents/_components/standalone-runs-page-client.tsx:46
↓ 3 callers
Function
formatSpanName
(name: string)
apps/agents-web/app/(alpha)/agents/threads/_components/trace-view.tsx:41
↓ 3 callers
Function
generatePresignedUrl
({ fileKey, bucketName, contentType = "text/plain", expiresIn = 3600, // URL expires in 1 hour by defa
apps/agents-web/lib/r2.ts:105
↓ 3 callers
Function
getAccessibleAgentTeamIds
(teamId: string)
packages/sandbox-provider/src/enterprise-access.ts:203
↓ 3 callers
Function
getAgentConfig
()
packages/agent-runtime/src/index.ts:58
↓ 3 callers
Function
getAgentConfig
(teamId: string, slug: string)
apps/relay/src/chat.ts:313
↓ 3 callers
Function
getAllGeneratedDocs
()
apps/agents-web/lib/agents-docs/generated-markdown.ts:59
↓ 3 callers
Function
getApiBaseUrl
()
packages/cli/src/config.ts:34
↓ 3 callers
Function
getApiKey
()
packages/cli/src/config.ts:22
↓ 3 callers
Function
getAppPrefix
(version: string)
apps/agents-web/lib/desktop.ts:18
↓ 3 callers
Function
getBetterAuthBaseUrl
()
apps/agents-web/lib/agents/auth/better-auth.ts:16
↓ 3 callers
Function
getCachedMetronomeCustomerId
( client: Metronome, teamId: string, /** Pass pre-fetched team.stripe to avoid a duplicate DB read */
apps/agents-web/server/api/routers/an-billing/router.ts:452
↓ 3 callers
Function
getCredentialsByVaultIds
(vaultIds: string[])
apps/relay/src/vaults.ts:379
↓ 3 callers
Function
getCustomerTotalBalance
( client: Metronome, customerId: string, )
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:887
↓ 3 callers
Function
getDeploymentTemplateId
(metadata: unknown)
apps/relay/src/deployment-metadata.ts:59
↓ 3 callers
Function
getDisplayPath
(filePath: string)
packages/react/src/tools/tool-registry.ts:28
↓ 3 callers
Function
getEnvValue
(names: readonly string[])
packages/cli/src/config.ts:11
↓ 3 callers
Function
getField
( metadata: unknown, field: keyof DeploymentMetadata, )
apps/relay/src/deployment-metadata.ts:50
↓ 3 callers
Function
getFileContent
* Get file content from repository
apps/agents-web/lib/server/github/detect-framework.ts:89
↓ 3 callers
Function
getInstallationInfo
( installationId: string | number, appType: GitHubAppType = "canvas", )
apps/agents-web/lib/server/github/github-app-auth.ts:320
↓ 3 callers
Function
getInstallationRepositories
( installationId: string | number, page: number = 1, perPage: number = 100, appType: GitHubAppType = "
apps/agents-web/lib/server/github/github-app-auth.ts:283
↓ 3 callers
Function
getLabel
(name: string)
apps/agents-web/components/features/agents-registry/mcp-server-chip.tsx:78
↓ 3 callers
Function
getLinearConfig
()
apps/agents-web/server/api/routers/linear/router.ts:17
↓ 3 callers
Function
getNextMonthlyBoundary
(anchorIso: string, now: Date = new Date())
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:911
↓ 3 callers
Function
getOptionalJsonField
(formData: FormData, key: string)
apps/agents-web/app/api/v1/agents/deploy/route.ts:150
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
apps/agents-web/components/ui/chart.tsx:320
↓ 3 callers
Function
getPreferredFilePath
(paths: string[])
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/workspace-client.tsx:140
↓ 3 callers
Function
getPreviousISOWeek
(isoWeek: string)
apps/agents-web/lib/utils/week.ts:103
↓ 3 callers
Function
getPrivateKey
()
apps/relay/src/sandbox-factory.ts:132
↓ 3 callers
Function
getReadyTimeoutSeconds
()
apps/relay/src/sandbox-backends/opensandbox.ts:16
↓ 3 callers
Method
getReleases
(perPage = 20)
apps/agents-web/lib/changelog.ts:25
↓ 3 callers
Function
getSetupConfig
( sandboxConfig: ResolvedSandboxConfig, )
apps/relay/src/sandbox-factory.ts:35
↓ 3 callers
Function
getSubscriptionPlanDetailsById
(planId: string)
apps/agents-web/app/api/stripe/webhook/v2/route.ts:24
↓ 3 callers
Function
getSubscriptionTable
(planType: string | null | undefined)
apps/agents-web/app/api/stripe/webhook/v2/route.ts:18
↓ 3 callers
Function
getTabForPath
(pathname: string)
apps/agents-web/lib/agents-docs/manifest.ts:164
↓ 3 callers
Function
getVaultIdsHash
(vaultIds: string[])
apps/relay/src/sandbox-factory.ts:214
↓ 3 callers
Function
handleClick
(e: React.MouseEvent)
apps/agents-web/components/ui/cursor-install-button.tsx:18
↓ 3 callers
Function
handleCopyClick
()
apps/agents-web/components/ui/code.tsx:122
↓ 3 callers
Function
handleOAuth
(provider: "google" | "github" | "okta")
apps/agents-web/app/agents/_components/an-custom-sign-in.tsx:136
↓ 3 callers
Function
hasAgentsAccess
(userId: string)
apps/agents-web/lib/agents-access.ts:6
↓ 3 callers
Method
hasJSXInFile
(sourceFile: SourceFile)
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:572
↓ 3 callers
Function
hasUserComponentAccess
( userId: string | null, componentId: number, )
apps/agents-web/lib/api/server/components.ts:5
↓ 3 callers
Function
hex
(n: string)
packages/react/src/utils/contrast.ts:29
↓ 3 callers
Function
hexToRgb
(hex: string)
apps/agents-web/components/features/agents/an/playground/use-playground-state.ts:160
↓ 3 callers
Function
hrefMatchesPath
(href: string, pathname: string)
apps/agents-web/components/features/agents/an/archive/docs/sidebar.tsx:48
↓ 3 callers
Function
invalidate
()
apps/agents-web/app/(alpha)/agents/skills/_components/skills-page-client.tsx:61
↓ 3 callers
Function
isActive
(href: string, pathname: string)
apps/agents-web/components/features/agents/an/docs/docs-nav.tsx:15
↓ 3 callers
Function
isActive
(href: string, pathname: string)
apps/agents-web/components/features/agents/an/docs/docs-mobile-header.tsx:20
↓ 3 callers
Function
isClaudeModel
(model)
apps/proxy/src/server.js:425
↓ 3 callers
Function
isDuplicate
(demoId: number, componentId?: number | null)
apps/agents-web/server/api/routers/follows/router.ts:583
↓ 3 callers
Function
isEnabled
* Check if analytics is enabled
apps/agents-web/lib/posthog-agents.ts:77
↓ 3 callers
Function
isFiniteNumber
(value: number | undefined)
apps/relay/src/billing.ts:77
↓ 3 callers
Function
isFutureFreeContract
( contract: { id: string starting_at: string recurring_commits?: Array<unknown> }, activeCon
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:621
↓ 3 callers
Function
isInteractive
()
packages/cli/src/detect.ts:14
↓ 3 callers
Function
isLocalHttpMcpHealthy
(backend: LocalHttpMcpBackend)
packages/agent-runtime/src/index.ts:444
↓ 3 callers
Function
isMoatEnabled
()
packages/agent-runtime/src/acp-bridge.ts:67
↓ 3 callers
Function
isRequestFailed404
(error: unknown)
apps/agents-web/lib/server/studio/sandbox.ts:17
↓ 3 callers
Function
isV5ToolPart
(part: any)
apps/agents-web/components/features/agents/an/dashboard/live-message-list.tsx:26
↓ 3 callers
Function
isValidHex
(h: string)
apps/agents-web/components/features/agents/an/playground/config/config-shared.tsx:362
↓ 3 callers
Function
lin
(v: number)
apps/agents-web/components/features/agents/an/playground/use-playground-state.ts:179
↓ 3 callers
Function
listAllNonArchivedContracts
(client: Metronome, customerId: string)
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:649
↓ 3 callers
Function
listTemplates
()
apps/agents-web/lib/agent-templates/index.ts:85
↓ 3 callers
Function
loadGoogleFont
(fontFamily: string)
apps/agents-web/components/features/agents/an/chat-preview/utils/load-google-font.ts:9
↓ 3 callers
Function
loadRuntimeMcpBackends
( env: NodeJS.ProcessEnv = getRuntimeMcpEnv(), )
packages/agent-runtime/src/mcp.ts:185
← previous
next →
301–400 of 4,011, ranked by callers