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
↓ 2 callers
Function
createGenericParts
()
apps/agents-web/components/features/agents/an/showcase/mocks/tool-parts.ts:348
↓ 2 callers
Function
createGoWrapperSource
(importPath: string, mode: "manifest" | "worker")
packages/cli/src/go-bundler.ts:92
↓ 2 callers
Function
createLLMSpan
()
packages/agent-runtime/src/stream.ts:82
↓ 2 callers
Function
createLegacyApiKeyWithHash
(args: { userId: string plan: "free" | "pro" | "enterprise" requestsLimit: number })
apps/agents-web/server/api/routers/api-keys/router.ts:29
↓ 2 callers
Function
createMoatProcessEnv
()
packages/agent-runtime/src/runtime.ts:403
↓ 2 callers
Function
createOrUpdateMcpCredential
(params: { teamId: string vaultId: string credentialId?: string name?: string | null serverUrl: stri
apps/relay/src/vaults.ts:578
↓ 2 callers
Function
createPendingThread
()
apps/agents-web/components/features/agents/an/an-showcase.tsx:39
↓ 2 callers
Function
createPlanParts
()
apps/agents-web/components/features/agents/an/showcase/mocks/tool-parts.ts:194
↓ 2 callers
Function
createQueryClient
()
apps/agents-web/trpc/query-client.ts:4
↓ 2 callers
Function
createRateCardContract
(params: { client: Metronome customerId: string startingAt: string uniquenessKey: string planStatus:
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:662
↓ 2 callers
Function
createResponse
()
apps/relay/src/__tests__/auth.test.ts:20
↓ 2 callers
Function
createSandboxMock
()
apps/relay/src/__tests__/sandbox-factory-vault-proxy.test.ts:20
↓ 2 callers
Function
createSearchParts
()
apps/agents-web/components/features/agents/an/showcase/mocks/tool-parts.ts:120
↓ 2 callers
Function
createSignedProxyJwt
(audience: string)
apps/relay/src/__tests__/auth.test.ts:37
↓ 2 callers
Function
createStreamTransformer
( generateId: () => string, )
packages/sandbox-provider/src/sandbox-stream-transformer.ts:90
↓ 2 callers
Function
createStudioWorkspaceSandbox
({ client, projectId, deployedSlug, workspaceFiles, }: { client: AgentClient projectId: string d
apps/agents-web/lib/server/studio/sandbox.ts:38
↓ 2 callers
Function
createSupabaseClerkClient
( getToken?: () => Promise<string | null>, )
apps/agents-web/lib/clerk.ts:9
↓ 2 callers
Function
createThinkingParts
()
apps/agents-web/components/features/agents/an/showcase/mocks/tool-parts.ts:327
↓ 2 callers
Function
createTodoParts
()
apps/agents-web/components/features/agents/an/showcase/mocks/tool-parts.ts:152
↓ 2 callers
Function
createTreeFromFlatSpans
( spans: SpanData[], )
apps/agents-web/app/(alpha)/agents/threads/_components/span-tree-utils.ts:33
↓ 2 callers
Function
createUnavailableStripeClient
(name: string)
apps/agents-web/lib/stripe.ts:14
↓ 2 callers
Function
daysAgo
(n: number)
apps/agents-web/server/api/routers/explore/router.ts:36
↓ 2 callers
Function
decodeHtmlEntities
(s: string)
apps/agents-web/scripts/generate-mcp-registry.ts:116
↓ 2 callers
Function
decodeStudioPath
(segments: string[])
apps/agents-web/lib/server/studio/workspace.ts:10
↓ 2 callers
Function
dedupeAccessibleAgentConfigs
(configs: T[], preferredTeamId: string)
packages/sandbox-provider/src/enterprise-access.ts:141
↓ 2 callers
Function
dedupeVaultIds
(values: string[])
apps/relay/src/vault-resolution.ts:50
↓ 2 callers
Function
deleteStandaloneWorkspacePvc
( sandboxId: string, )
apps/relay/src/standalone-workspace-pvc.ts:305
↓ 2 callers
Function
deployAgent
(params: { auth: Awaited<ReturnType<typeof authenticateApiKey>> input: DeployInput onProgress?: Progress
apps/agents-web/app/api/v1/agents/deploy/route.ts:230
↓ 2 callers
Function
deserializeRedisValue
(value: string | null)
apps/agents-web/lib/redis.ts:63
↓ 2 callers
Method
detectHooksInText
(text: string)
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:568
↓ 2 callers
Function
detectPreset
(vc: VisualConfig | null)
apps/agents-web/app/agents/archive/configuration/page.tsx:99
↓ 2 callers
Function
displayKeyPrefix
(prefix: string | null)
apps/agents-web/app/(alpha)/agents/api/api-keys.tsx:32
↓ 2 callers
Function
displayKeyPrefix
(prefix: string | null)
apps/agents-web/app/(alpha)/agents/api-keys/_components/api-keys-page-client.tsx:35
↓ 2 callers
Function
doCopy
()
apps/agents-web/app/(alpha)/agents/vaults/_components/vaults-page-client.tsx:223
↓ 2 callers
Function
doSearch
()
apps/agents-web/components/ui/multiselect.tsx:335
↓ 2 callers
Function
doSearchSync
()
apps/agents-web/components/ui/multiselect.tsx:311
↓ 2 callers
Function
encryptGitHubToken
(token: string)
apps/agents-web/lib/server/crypto.ts:86
↓ 2 callers
Function
endTextBlock
( controller: TransformStreamDefaultController<LanguageModelV2StreamPart>, )
packages/sandbox-provider/src/acp-stream-transformer.ts:251
↓ 2 callers
Function
entriesToRecord
(entries: EnvEntry[])
apps/agents-web/app/(alpha)/agents/deployments/_components/env-vars-section.tsx:21
↓ 2 callers
Function
errorToString
(error: unknown)
packages/agent-runtime/src/index.ts:65
↓ 2 callers
Function
escapeHtml
(s: string)
apps/agents-web/app/api/unsubscribe/route.ts:19
↓ 2 callers
Function
evaluateArrayOperator
* Evaluate array operators (for labels)
apps/agents-web/lib/webhooks/handlers/automation-matcher.ts:424
↓ 2 callers
Function
exchangeCodeForUserToken
( code: string, appType: GitHubAppType = "canvas", )
apps/agents-web/lib/server/github/github-app-auth.ts:211
↓ 2 callers
Function
exec
()
apps/agents-web/components/ui/multiselect.tsx:316
↓ 2 callers
Function
executeAgentViaACP
(config: AgentConfig, params: { message: string images?: Array<{ base64: string; mediaType: string }> se
packages/agent-runtime/src/runtime.ts:651
↓ 2 callers
Function
extractAgentMetadata
( bundle: Buffer, )
packages/cli/src/bundler.ts:262
↓ 2 callers
Function
extractFieldEnum
(source: string, fieldName: string)
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/workspace-client.tsx:229
↓ 2 callers
Function
extractFieldNumber
(source: string, fieldName: string)
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/workspace-client.tsx:221
↓ 2 callers
Function
extractMetronomeCustomerId
* Read cached metronome_customer_id from team.stripe JSON in the database. * Falls back to Metronome API lookup if not cached.
apps/agents-web/server/api/routers/an-billing/router.ts:444
↓ 2 callers
Function
extractSections
(parts: string[])
apps/agents-web/lib/server/ai/utils/edit-block-parser.ts:486
↓ 2 callers
Function
fallbackAliasFor
(customerId: string, archived?: boolean)
apps/agents-web/scripts/billing-reset-team.ts:75
↓ 2 callers
Function
fetchClerkUserData
( userId: string, )
apps/agents-web/scripts/migrate-to-attio.ts:197
↓ 2 callers
Function
fetchEnvKeys
(apiKey: string, agentSlug: string)
packages/cli/src/env.ts:16
↓ 2 callers
Function
fetchFileTextContent
(url: string)
apps/agents-web/lib/utils/fetchFileTextContent.ts:1
↓ 2 callers
Function
fetchFullAuthorsData
()
apps/agents-web/scripts/migrate-to-attio.ts:234
↓ 2 callers
Function
fetchGraphQL
( query: string, variables: Record<string, unknown>, )
apps/agents-web/lib/server/github/roadmap.ts:169
↓ 2 callers
Function
fetchRelayToken
( teamId: string, agentSlug: string, )
apps/agents-web/components/features/agents/an/dashboard/live-chat.tsx:34
↓ 2 callers
Function
fileExists
(path: string)
apps/agents-web/lib/server/agents/build-opensandbox-image.ts:272
↓ 2 callers
Function
fileExists
(path: string)
apps/relay/src/standalone-workspace-pvc.ts:80
↓ 2 callers
Function
finalizeRun
()
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/workspace-client.tsx:2119
↓ 2 callers
Function
finalizeTwitterCaption
(text: string)
apps/agents-web/lib/social-captions.ts:321
↓ 2 callers
Function
findSandbox
(agentId: string, clientSandboxId: string)
apps/relay/src/chat.ts:346
↓ 2 callers
Function
finishResize
(pointerEvent?: PointerEvent)
apps/agents-web/components/features/agents/ui/canvas/[id]/{components}/resizable-sidebar.tsx:246
↓ 2 callers
Function
flattenSpanTree
(tree: SpanTreeNode)
apps/agents-web/app/(alpha)/agents/threads/_components/span-tree-utils.ts:57
↓ 2 callers
Function
flushAssistant
()
apps/agents-web/components/features/agents/an/playground/mock-messages.ts:12
↓ 2 callers
Function
flushSpans
(errorStatus?: boolean)
apps/relay/src/chat.ts:1127
↓ 2 callers
Function
formatDuration
(ms: number)
apps/agents-web/lib/utils/deployment-utils.ts:39
↓ 2 callers
Function
formatDurationSeconds
(value: number)
apps/agents-web/app/(alpha)/agents/_components/standalone-runs-page-client.tsx:40
↓ 2 callers
Function
formatJson
(value: unknown)
packages/cli/src/logs.ts:87
↓ 2 callers
Function
formatRelativeTime
(date: Date)
apps/agents-web/app/agents/internal/admin/deployments/page.tsx:17
↓ 2 callers
Function
formatTask
( task: any, chat: any | null, )
apps/agents-web/app/api/v1/tasks/route.ts:44
↓ 2 callers
Function
formatTask
(task: any, chat: any | null)
apps/agents-web/app/api/v1/tasks/[id]/route.ts:10
↓ 2 callers
Function
formatTimestamp
(ms: number)
apps/agents-web/app/(alpha)/agents/threads/_components/sidebar-timeline-view.tsx:261
↓ 2 callers
Function
formatTs
(ms: number)
apps/agents-web/app/(alpha)/agents/threads/_components/trace-view.tsx:327
↓ 2 callers
Function
formatVal
(v: string)
apps/agents-web/app/(alpha)/agents/environment-variables/_components/env-vars-page-client.tsx:316
↓ 2 callers
Function
fulfillModel
( model: keyof typeof models, caching: boolean = true, )
apps/agents-web/lib/server/ai-latest/index.ts:87
↓ 2 callers
Function
generateActionItems
( categories: MagicCategories | DevCategories, product: string, )
apps/agents-web/server/api/routers/feedback/router.ts:441
↓ 2 callers
Function
generateAppJWT
(appType: GitHubAppType = "canvas")
apps/agents-web/lib/server/github/github-app-auth.ts:77
↓ 2 callers
Function
generateBuckets
(start: Date, end: Date, windowSize: BillingWindowSize)
apps/agents-web/lib/agents-billing/metronome-analytics.ts:75
↓ 2 callers
Function
generateColorTheme
Mode-specific variables — colours, shadows, anything that differs between light & dark.
apps/agents-web/components/features/agents/an/playground/use-playground-state.ts:297
↓ 2 callers
Function
generateIssueSlug
(title: string, number: number)
apps/agents-web/lib/server/github/roadmap.ts:3
↓ 2 callers
Function
generateKey
()
apps/agents-web/server/api/routers/an-api-keys/router.ts:18
↓ 2 callers
Function
getAccessToken
* Get Linear access token for a team, optionally forcing refresh
apps/agents-web/lib/server/linear/linear-api-client.ts:119
↓ 2 callers
Function
getAccessibleAgentConfig
(teamId: string, slug: string)
packages/sandbox-provider/src/enterprise-access.ts:311
↓ 2 callers
Function
getActiveStreamingThread
(sandboxRecordId: string)
apps/relay/src/chat.ts:1441
↓ 2 callers
Function
getAllPlans
(forceRefresh = false)
apps/agents-web/lib/stripe.ts:105
↓ 2 callers
Method
getAllTeamStyleProfiles
* Get all team's style profiles (saved + custom themes)
apps/agents-web/app/api/style-profile/db-service.ts:90
↓ 2 callers
Function
getAllowOutHost
(url: string)
apps/relay/src/sandbox-factory.ts:86
↓ 2 callers
Function
getAvailableRepos
* Fetch available repos from GitHub integration
apps/agents-web/app/api/webhooks/linear/route.ts:238
↓ 2 callers
Function
getBaseUrl
()
apps/agents-web/trpc/client.tsx:86
↓ 2 callers
Function
getBetterAuthPrincipalFromHeaders
( headers: Headers, )
apps/agents-web/lib/agents/auth/server.ts:42
↓ 2 callers
Function
getBetterAuthSpEntityId
()
apps/agents-web/lib/agents/auth/better-auth.ts:43
↓ 2 callers
Function
getBucketKey
(date: Date, windowSize: BillingWindowSize)
apps/agents-web/lib/agents-billing/metronome-analytics.ts:65
↓ 2 callers
Function
getBucketKey
(date: Date, windowSize: WindowSize)
apps/agents-web/server/api/routers/an-runs/router.ts:49
↓ 2 callers
Function
getBucketKey
(date: Date, windowSize: WindowSize)
apps/agents-web/server/api/routers/an-billing/router.ts:97
↓ 2 callers
Function
getBuildTimeoutMs
()
apps/agents-web/lib/server/agents/build-opensandbox-image.ts:113
↓ 2 callers
Function
getCleanEnv
(requestOptions?: AgentRequestOptions)
packages/agent-runtime/src/runtime.ts:183
↓ 2 callers
Function
getClientIp
(req)
apps/proxy/src/server.js:119
↓ 2 callers
Function
getClusterAccessConfig
()
apps/relay/src/standalone-workspace-pvc.ts:183
↓ 2 callers
Method
getComponentFilePath
* Generate correct file path based on component registry
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:708
← previous
next →
501–600 of 4,011, ranked by callers