MCPcopy Create free account

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

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

↓ 3 callersFunctionlogError
( context: string, error: unknown, metadata?: Record<string, unknown>, )
apps/agents-web/lib/utils/error-handling.ts:8
↓ 3 callersFunctionlogWarning
( context: string, message: string, metadata?: Record<string, unknown>, )
apps/agents-web/lib/utils/error-handling.ts:27
↓ 3 callersFunctionmapDocsHrefToMd
(href: string)
apps/agents-web/scripts/export-an-docs-markdown.ts:71
↓ 3 callersFunctionmarkSeen
(demoId: number, componentId?: number | null)
apps/agents-web/server/api/routers/follows/router.ts:590
↓ 3 callersFunctionmarkThreadFailed
(params: StreamFailureParams)
apps/relay/src/chat.ts:754
↓ 3 callersFunctionnormalizeMetadata
(metadata?: McpMetadata | null)
apps/agents-web/lib/server/mcp-vaults.ts:66
↓ 3 callersFunctionnormalizeMetadata
(metadata?: McpMetadata | null)
apps/relay/src/vaults.ts:219
↓ 3 callersFunctionnormalizeStringMap
( value: unknown, env: NodeJS.ProcessEnv, fieldName: string, )
packages/agent-runtime/src/mcp.ts:71
↓ 3 callersFunctionnotFound
()
apps/agents-web/app/api/auth/[...all]/route.ts:5
↓ 3 callersFunctionparseButtonStyle
(text: string)
apps/agents-web/lib/utils/parse-ui-kit.ts:199
↓ 3 callersFunctionparseDateOrThrow
(value: string, field: string)
apps/agents-web/server/api/routers/an-billing/router.ts:61
↓ 3 callersFunctionparseJsonEnv
(name: string, fallback: T)
apps/agents-web/lib/server/agents/build-opensandbox-image.ts:120
↓ 3 callersFunctionparseStructuredJson
(value: unknown)
packages/react/src/utils/tool-part-normalizer.ts:7
↓ 3 callersFunctionparseVersionFromYaml
(yaml: string)
apps/agents-web/lib/desktop.ts:27
↓ 3 callersFunctionprocessStep
()
apps/agents-web/components/features/agents/an/hero-right-strategy-c.tsx:433
↓ 3 callersFunctionpublish
( streamId: string, message: object, )
packages/agent-runtime/src/stream.ts:8
↓ 3 callersFunctionreadEnvFile
(path: string)
packages/agent-runtime/src/runtime.ts:143
↓ 3 callersMethodrefresh
(reason: string, throwOnError: boolean)
apps/relay/src/sandbox-keepalive.ts:71
↓ 3 callersFunctionrenderTabContent
()
apps/agents-web/components/features/agents/ui/canvas/{components}/settings-dialog.tsx:184
↓ 3 callersFunctionrenderTitle
(title: string)
apps/agents-web/components/features/agents/an/archive/docs/sidebar.tsx:59
↓ 3 callersFunctionresetCredentialForm
()
apps/agents-web/app/(alpha)/agents/vaults/_components/vaults-page-client.tsx:562
↓ 3 callersFunctionresolveActivePlan
( contracts: Array<ContractPlanCandidate>, )
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:591
↓ 3 callersFunctionresolveEnterpriseTeamForTeam
(teamId: string)
packages/sandbox-provider/src/enterprise-access.ts:161
↓ 3 callersFunctionresolveToolSize
(vc: VisualConfig)
apps/agents-web/components/features/agents/an/chat-preview/components/tools/tool-router.tsx:10
↓ 3 callersFunctionrouteToolCall
( step: Extract<TimelineStep, { type: "tool-call" }>, state: StepState, onComplete: () => void, vc: Vi
apps/agents-web/components/features/agents/an/chat-preview/components/tools/tool-router.tsx:14
↓ 3 callersFunctionsanitizeMessages
(messages: AgentMessage[])
apps/agents-web/app/api/1code/chat/route.ts:167
↓ 3 callersFunctionscheduleCleanup
()
packages/agent-runtime/src/index.ts:331
↓ 3 callersFunctionsendUsageEvents
(logTag: string, usageEvents: BillingUsageEvent[])
apps/relay/src/billing.ts:172
↓ 3 callersFunctionserializeVault
(record: { id: string team_id: string name: string description: string | null metadata: unknown is
apps/agents-web/lib/server/mcp-vaults.ts:201
↓ 3 callersFunctionsignStudioToken
( claims: StudioJwtClaims, ttlSeconds: number = DEFAULT_TTL_SECONDS, )
apps/agents-web/lib/server/studio/jwt.ts:24
↓ 3 callersFunctionstartAgentForIssue
* Start agent for a Linear issue
apps/agents-web/app/api/webhooks/linear/route.ts:377
↓ 3 callersMethodstartSpan
(key: string, opts: { name: string kind: SpanKind parentKey?: string startTime?: number at
packages/agent-runtime/src/tracing.ts:80
↓ 3 callersFunctionstreamThreadToResponse
(params: { req: Request; res: Response; tag: string; teamId: string; endUserId?: string; runtime:
apps/relay/src/chat.ts:1075
↓ 3 callersFunctiontoDate
(v: string | Date)
apps/agents-web/app/(alpha)/agents/observability/_components/use-observability-metrics.ts:121
↓ 3 callersFunctiontoErrorResponse
(err: unknown)
apps/relay/src/chat.ts:207
↓ 3 callersFunctiontoLinear
(v: number)
packages/react/src/utils/contrast.ts:7
↓ 3 callersFunctiontoLinear
(v: number)
apps/agents-web/components/features/agents/an/chat-preview/components/user-message.tsx:16
↓ 3 callersFunctiontoNumber
(value: unknown)
apps/relay/src/budget.ts:12
↓ 3 callersFunctiontoPublicDocsPath
(pathname: string)
apps/agents-web/app/agents/llms.txt/route.ts:6
↓ 3 callersFunctiontoRelativeAuthRedirectUrl
(redirectUrl?: string)
apps/agents-web/lib/agents/auth/redirect.ts:3
↓ 3 callersFunctiontoStudioWorkspaceAbsolutePath
(path: string)
apps/agents-web/lib/server/studio/workspace.ts:46
↓ 3 callersFunctiontoUtcMidnight
(date: Date)
apps/agents-web/lib/agents-billing/metronome-analytics.ts:40
↓ 3 callersFunctiontoUtcMidnight
(date: Date)
apps/agents-web/server/api/routers/an-billing/router.ts:72
↓ 3 callersFunctiontransformUser
(user: any)
apps/agents-web/server/api/routers/users/router.ts:10
↓ 3 callersFunctiontruncate
(value: unknown, max = 10_000)
packages/sandbox-provider/src/acp-stream-transformer.ts:266
↓ 3 callersFunctionunwrapMcpOutput
(output: any)
packages/react/src/tools/mcp-tool.tsx:96
↓ 3 callersFunctionupdateAutomationExecution
( executionId: string, status: "success" | "failed", chatId?: string, errorMessage?: string, )
apps/agents-web/lib/webhooks/handlers/automation-matcher.ts:487
↓ 3 callersFunctionuseAgentClassifications
( configs: AgentConfig[], usageStats?: Record<string, { threadCount: number }>, )
apps/agents-web/app/agents/internal/admin/_hooks/use-agent-classifications.ts:50
↓ 3 callersFunctionuseDesktopDownload
()
apps/agents-web/hooks/use-desktop-download.ts:31
↓ 3 callersFunctionuseFramework
()
apps/agents-web/lib/agents-docs/framework-context.tsx:47
↓ 3 callersFunctionuseIsMobile
()
apps/agents-web/hooks/use-media-query.ts:23
↓ 3 callersFunctionuseMediaQuery
(query: string)
apps/agents-web/hooks/use-media-query.ts:3
↓ 3 callersFunctionuseObservabilityMetrics
( sandboxes: SandboxRow[], granularity: "hour" | "day" | "week" | "month", rangeStart: Date, rangeEnd:
apps/agents-web/app/(alpha)/agents/observability/_components/use-observability-metrics.ts:85
↓ 3 callersFunctionuseSearch
()
apps/agents-web/components/features/agents/an/docs/search-context.tsx:19
↓ 3 callersFunctionverifyDesktopAuth
(request: NextRequest)
apps/agents-web/lib/desktop-auth-middleware.ts:15
↓ 3 callersFunctionwithTelemetry
(options: TelemetryOptions)
apps/agents-web/lib/server/ai/telemetry.ts:60
↓ 3 callersFunctionwithTimeout
(promise: Promise<T>, ms: number, label: string)
apps/agents-web/server/api/routers/agents-admin/router.ts:122
↓ 2 callersMethod_request
( self, path: str, *, method: str = "GET", body: Optional[Dict[str, An
packages/python-sdk/src/twentyfirst_sdk/client.py:45
↓ 2 callersFunctionabortStream
()
apps/agents-web/app/api/1code/chat/route.ts:351
↓ 2 callersFunctionactivateThread
(threadId: string)
apps/relay/src/chat.ts:630
↓ 2 callersFunctionaddCommentReaction
( installationId: string | number, owner: string, repo: string, commentId: number, reaction: "eyes"
apps/agents-web/lib/webhooks/platforms/github/responder.ts:81
↓ 2 callersFunctionaddDependency
(source: string)
apps/agents-web/lib/parsers.ts:390
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
apps/agents-web/hooks/use-toast.ts:58
↓ 2 callersFunctionaddViewedComponent
* Add a component ID to the viewed set with LRU-like eviction * When max size is reached, removes oldest entries (first added)
apps/agents-web/hooks/use-view-tracking.ts:36
↓ 2 callersFunctionarchiveMcpCredential
(params: { teamId: string vaultId: string credentialId: string })
apps/agents-web/lib/server/mcp-vaults.ts:748
↓ 2 callersFunctionarchiveMcpVault
(params: { teamId: string vaultId: string })
apps/agents-web/lib/server/mcp-vaults.ts:455
↓ 2 callersFunctionauthMiddleware
(req: Request, res: Response, next: NextFunction)
apps/relay/src/auth.ts:20
↓ 2 callersFunctionbackfillTable
(table: ApiKeyTable, dryRun: boolean)
apps/agents-web/scripts/backfill-api-key-hashes.ts:87
↓ 2 callersFunctionbaseAndCondition
(extra: string)
apps/agents-web/lib/queries.server.ts:31
↓ 2 callersFunctionbillingMapWithConcurrency
( items: T[], limit: number, mapper: (item: T, index: number) => Promise<R>, )
apps/agents-web/server/api/routers/agents-admin/router.ts:100
↓ 2 callersFunctionbuildApiKeyCreateData
(key: string)
apps/agents-web/server/api/routers/an-api-keys/router.ts:22
↓ 2 callersFunctionbuildContractUniquenessKey
(params: { planStatus: BillingPlanStatus teamId: string customerId: string startingAt: string transi
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:227
↓ 2 callersFunctionbuildDescription
(template: (typeof AN_TEMPLATES)[number])
apps/agents-web/app/agents/docs/templates/[slug]/page.tsx:17
↓ 2 callersFunctionbuildDesktopDownloadUrl
(version: string, arch: "arm64" | "x64" = "arm64")
apps/agents-web/lib/desktop.ts:65
↓ 2 callersFunctionbuildLinearEventData
* Build LinearEventData from webhook payload
apps/agents-web/app/api/webhooks/linear/route.ts:108
↓ 2 callersFunctionbuildLinuxDownloadUrl
(version: string)
apps/agents-web/lib/desktop.ts:96
↓ 2 callersFunctionbuildPrivateEnvVars
( agentEnvVars?: Record<string, string> | null, )
apps/relay/src/sandbox-factory.ts:41
↓ 2 callersFunctionbuildProxy
(path: string)
apps/agents-web/lib/stripe.ts:15
↓ 2 callersFunctionbuildResult
()
apps/agents-web/server/api/routers/agents-admin/router.ts:1288
↓ 2 callersFunctionbuildSandboxMeta
(params: { invocationTeamId: string invocationUserId?: string ownerTeamId: string resolvedVia?: "local
packages/sandbox-provider/src/enterprise-access.ts:405
↓ 2 callersFunctionbuildWindowsDownloadUrl
(version: string)
apps/agents-web/lib/desktop.ts:83
↓ 2 callersFunctioncalculateSimilarity
(str1: string, str2: string)
apps/agents-web/lib/server/ai/utils/edit-block-parser.ts:172
↓ 2 callersMethodcalculateUsageDiscount
(userId: string)
apps/agents-web/server/api/routers/usage/services/usage.service.ts:159
↓ 2 callersFunctioncategorizeComments
( comments: string[], product: string, )
apps/agents-web/server/api/routers/feedback/router.ts:330
↓ 2 callersFunctioncheckBudget
(label: string)
apps/agents-web/server/api/routers/agents-admin/router.ts:1199
↓ 2 callersFunctioncheckIsAdmin
(userId: string | null)
apps/agents-web/lib/api/server/users.ts:25
↓ 2 callersFunctioncheckRateLimit
( key: string, limit: number, windowSeconds: number, )
apps/agents-web/app/api/v1/_lib/rate-limit.ts:10
↓ 2 callersMethodcheckUsage
(userId: string)
apps/agents-web/server/api/routers/usage/services/usage.service.ts:72
↓ 2 callersMethodchunkCodeWithAST
* Main entry point: chunk code using AST analysis
apps/agents-web/server/api/routers/semantic-chunk-search/services/ast-chunking.service.ts:47
↓ 2 callersFunctionclampWidth
(width: number)
apps/agents-web/components/features/agents/ui/canvas/[id]/{components}/resizable-sidebar.tsx:211
↓ 2 callersFunctioncleanSummaryText
(value: string)
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/workspace-client.tsx:178
↓ 2 callersFunctionclearInstallationTokenCache
( installationId: string | number, )
apps/agents-web/lib/server/github/github-app-auth.ts:494
↓ 2 callersFunctioncontrastText
(hex: string)
apps/agents-web/components/features/agents/an/playground/use-playground-state.ts:183
↓ 2 callersFunctioncreateBashParts
()
apps/agents-web/components/features/agents/an/showcase/mocks/tool-parts.ts:4
↓ 2 callersFunctioncreateClerkUserIdGetter
(auth: ClerkMiddlewareAuth)
apps/agents-web/middleware.ts:331
↓ 2 callersMethodcreateConnection
(name: string, silent = false)
apps/relay/src/pubsub.ts:40
↓ 2 callersFunctioncreateEditParts
()
apps/agents-web/components/features/agents/an/showcase/mocks/tool-parts.ts:44
↓ 2 callersMethodcreateEmbeddings
* Shared embedding creation helper
apps/agents-web/server/api/routers/semantic-chunk-search/services/embedding.service.ts:348
↓ 2 callersFunctioncreateFallbackProxy
(primary: any, fallback: any)
apps/agents-web/lib/stripe.ts:45
↓ 2 callersFunctioncreateFreeContract
(params: { client: Metronome teamId: string customerId: string billingConfigurationId: string starti
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:761
← previousnext →401–500 of 4,011, ranked by callers