MCPcopy Create free account

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

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

↓ 2 callersMethodgetCreditCost
()
apps/agents-web/server/api/routers/usage/services/credit.service.ts:25
↓ 2 callersFunctiongetDefaultSandboxProvider
()
apps/agents-web/lib/server/agents/sandbox-config.ts:58
↓ 2 callersFunctiongetDeploymentAgentConfig
( metadata: unknown, )
apps/relay/src/deployment-metadata.ts:170
↓ 2 callersFunctiongetDeploymentMcpConfigUrl
(metadata: unknown)
apps/relay/src/deployment-metadata.ts:61
↓ 2 callersFunctiongetDesktopToken
(request: NextRequest)
apps/agents-web/lib/desktop-auth-middleware.ts:7
↓ 2 callersFunctiongetDiscordConfig
()
apps/agents-web/server/api/routers/discord/router.ts:13
↓ 2 callersFunctiongetDocBySlug
(slug: string[])
apps/agents-web/lib/agents-docs/mdx.ts:13
↓ 2 callersFunctiongetEffectiveVaultIds
(thread: { vaultId?: string | null; vaultIds?: string[] | null; })
apps/relay/src/chat.ts:536
↓ 2 callersFunctiongetEncryptionKey
* Get encryption key from environment variable
apps/agents-web/lib/server/crypto.ts:15
↓ 2 callersFunctiongetEncryptionKey
()
apps/relay/src/crypto.ts:6
↓ 2 callersFunctiongetEndUserId
(req: Request)
apps/relay/src/chat.ts:257
↓ 2 callersFunctiongetFallbackMessage
( fileCount: number, additions: number, deletions: number )
apps/agents-web/app/api/1code/generate-commit-message/route.ts:65
↓ 2 callersFunctiongetFallbackName
(userMessage: string)
apps/agents-web/app/api/1code/sub-chat/generate-name/route.ts:50
↓ 2 callersFunctiongetFileIconByExtension
( filename: string, returnNullForUnknown = false, )
apps/agents-web/app/(onecode)/(alpha)/1code/{features}/mentions/agents-file-mention.tsx:24
↓ 2 callersFunctiongetFlag
(flag: string)
packages/cli/src/deploy.ts:27
↓ 2 callersFunctiongetGeneratedDocByPath
(docPath: string)
apps/agents-web/lib/agents-docs/generated-markdown.ts:42
↓ 2 callersFunctiongetGitHubInstallationAccessToken
(params: { teamId: string; userId: string; repository: string; })
apps/relay/src/github-auth.ts:3
↓ 2 callersFunctiongetGitHubUser
(accessToken: string)
apps/agents-web/lib/server/github/github-app-auth.ts:253
↓ 2 callersFunctiongetHeader
(name: string)
apps/relay/src/billing.ts:105
↓ 2 callersFunctiongetHeaderTitle
()
packages/react/src/tools/plan-tool.tsx:100
↓ 2 callersFunctiongetHeaderValue
(header: string | string[] | undefined)
apps/relay/src/openrouter-webhooks.ts:59
↓ 2 callersFunctiongetIncludedCreditForCurrentCycle
(params: { client: Metronome customerId: string })
apps/agents-web/server/api/routers/an-billing/router.ts:296
↓ 2 callersMethodgetInfo
(params: GetFileInfoParams)
packages/node/src/client.ts:129
↓ 2 callersFunctiongetIpDebugHeaders
(req)
apps/proxy/src/server.js:128
↓ 2 callersFunctiongetJwtSecret
()
apps/relay/src/tokens.ts:18
↓ 2 callersFunctiongetLast7DaysDateRange
()
apps/agents-web/app/(alpha)/agents/usage/_components/usage-page-client.tsx:69
↓ 2 callersFunctiongetLatestStripeExternalInvoiceStatus
( client: Metronome, customerId: string, )
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:861
↓ 2 callersFunctiongetMainTabFromPathname
( pathname: string, )
apps/agents-web/hooks/use-navigation.ts:46
↓ 2 callersFunctiongetMarkdownOverride
(node: HTMLElement)
apps/agents-web/components/features/agents/an/docs/copy-markdown-button.tsx:16
↓ 2 callersFunctiongetMarkdownOverride
(raw: string | undefined)
apps/agents-web/scripts/export-an-docs-markdown.ts:105
↓ 2 callersFunctiongetMcpServerHostPattern
(rawUrl: string)
packages/sandbox-provider/src/mcp.ts:58
↓ 2 callersFunctiongetMcpVaultDetail
(teamId: string, vaultId: string)
apps/agents-web/lib/server/mcp-vaults.ts:270
↓ 2 callersFunctiongetMetronomeToken
()
apps/agents-web/lib/agents-billing/ensure-team-billing.ts:30
↓ 2 callersFunctiongetModelString
(config: AgentConfig)
apps/agents-web/components/features/agents/an/playground/use-playground-state.ts:18
↓ 2 callersFunctiongetPlanByStripeId
(stripePlanId: string)
apps/agents-web/lib/stripe.ts:135
↓ 2 callersFunctiongetPositiveNumber
(value: unknown)
apps/relay/src/deployment-metadata.ts:66
↓ 2 callersFunctiongetPrBranch
(chatId: string)
apps/agents-web/lib/server/git/branch-utils.ts:246
↓ 2 callersFunctiongetResolvedAgentConfig
(teamId: string, agentSlug: string)
apps/relay/src/sandboxes.ts:129
↓ 2 callersFunctiongetResourceLimitEnv
(name: 'OPENSANDBOX_RESOURCE_CPU' | 'OPENSANDBOX_RESOURCE_MEMORY')
apps/relay/src/sandbox-backends/opensandbox.ts:56
↓ 2 callersFunctiongetRuntimeMcpBridgeKey
(serverName: string, sessionId: string)
packages/agent-runtime/src/index.ts:289
↓ 2 callersFunctiongetSandboxAttribution
(meta: unknown)
packages/sandbox-provider/src/enterprise-access.ts:425
↓ 2 callersFunctiongetSandboxId
()
packages/agent-runtime/src/index.ts:38
↓ 2 callersFunctiongetSandboxInvocationTeamId
(sandbox: { invocation_team_id?: string | null; meta?: unknown })
apps/agents-web/server/api/routers/agent-configs/router.ts:63
↓ 2 callersFunctiongetSecret
()
apps/agents-web/lib/server/studio/jwt.ts:14
↓ 2 callersFunctiongetShadcnRegistrySlug
(registryName: string)
apps/agents-web/app/api/r/[username]/[component_slug]/route.ts:172
↓ 2 callersFunctiongetStandaloneWorkspaceClaimName
(sandboxId: string)
apps/relay/src/standalone-workspace-pvc.ts:75
↓ 2 callersFunctiongetStatusVerb
(status: TodoItem["status"], content: string)
packages/react/src/tools/todo-tool.tsx:53
↓ 2 callersFunctiongetStorageClassName
()
apps/relay/src/standalone-workspace-pvc.ts:59
↓ 2 callersFunctiongetStorageSize
()
apps/relay/src/standalone-workspace-pvc.ts:63
↓ 2 callersFunctiongetStoredMessages
(messages: unknown)
apps/relay/src/chat.ts:626
↓ 2 callersFunctiongetStreamContext
()
apps/agents-web/app/api/1code/chat/utils.ts:18
↓ 2 callersFunctiongetStudioFileLanguage
(path: string)
apps/agents-web/app/(alpha)/agents/studio/[projectId]/_components/studio-code-preview.tsx:56
↓ 2 callersFunctiongetStudioProjectById
(projectId: string)
apps/agents-web/lib/server/studio/projects.ts:85
↓ 2 callersFunctiongetStudioWizardApiKey
()
apps/agents-web/lib/server/studio/config.ts:8
↓ 2 callersFunctiongetStudioWizardSlug
()
apps/agents-web/lib/server/studio/config.ts:3
↓ 2 callersFunctiongetSubscriptionPlanDetailsById
(planId: string)
apps/agents-web/app/api/stripe/webhook/v1/route.ts:12
↓ 2 callersFunctiongetSystemPromptText
( sp: string | { type: string; preset: string; append?: string }, )
apps/agents-web/app/agents/internal/admin/_hooks/use-agent-classifications.ts:41
↓ 2 callersFunctiongetTabLabel
(tabId: SettingsTab)
apps/agents-web/components/features/agents/ui/canvas/{components}/settings-dialog.tsx:105
↓ 2 callersMethodgetTeamStyleProfile
* Get team's active style profile
apps/agents-web/app/api/style-profile/db-service.ts:67
↓ 2 callersFunctiongetTemplatesDir
()
apps/agents-web/lib/agent-templates/index.ts:51
↓ 2 callersFunctiongetTimeAgo
()
apps/agents-web/components/ui/relative-time-card.tsx:52
↓ 2 callersFunctiongetTotalTokens
(streamMeta?: Pick<SandboxMessageMetadata, 'totalTokens' | 'inputTokens' | 'outputTokens'>)
apps/relay/src/chat.ts:168
↓ 2 callersFunctiongetUserEmail
( prisma: any, userId: string, )
apps/agents-web/server/api/routers/agents-waitlist/router.ts:11
↓ 2 callersMethodgetUserUsage
(userId: string)
apps/agents-web/server/api/routers/usage/services/usage.service.ts:127
↓ 2 callersFunctiongetVaultConfig
(writes: Array<{ path: string; data: string }>)
apps/relay/src/__tests__/sandbox-factory-vault-proxy.test.ts:37
↓ 2 callersFunctiongetVaultCoverageMode
()
apps/relay/src/vault-coverage.ts:64
↓ 2 callersFunctiongetWhatsNewEntry
(slug: string)
apps/agents-web/lib/agents-docs/whats-new.ts:29
↓ 2 callersFunctiongetWorkspaceLabel
(team: any, myWorkspaceId: string | null)
apps/agents-web/components/features/agents/an/dashboard/dashboard-header.tsx:98
↓ 2 callersFunctiongithubApiRequest
( url: string, accessToken: string, userAgent: string = "21st-dev-app", options: GitHubRequestOptions
apps/agents-web/lib/server/github/github-api.service.ts:13
↓ 2 callersFunctiongoToStep
(step: OnboardingStep)
apps/agents-web/components/features/agents/an/dashboard/onboarding/onboarding-wizard.tsx:31
↓ 2 callersFunctionhandleAgentSelect
(agent: AnAgentConfig | null)
apps/agents-web/components/features/agents/an/dashboard/dashboard-header.tsx:164
↓ 2 callersFunctionhandleCreate
()
apps/agents-web/app/(alpha)/agents/api/api-keys.tsx:117
↓ 2 callersFunctionhandleFileChange
( event: React.ChangeEvent<HTMLInputElement>, )
apps/agents-web/hooks/use-image-upload.ts:60
↓ 2 callersFunctionhandleLine
(line: string)
packages/cli/src/deploy.ts:63
↓ 2 callersFunctionhandleMouseEnter
(menuValue: string | null)
apps/agents-web/components/ui/dropdown-navigation.tsx:67
↓ 2 callersFunctionhandleSpanMessage
(msg: any)
apps/relay/src/chat.ts:1112
↓ 2 callersFunctionhandleSubmit
(e: React.FormEvent)
apps/agents-web/components/ui/newsletter-dialog.tsx:52
↓ 2 callersFunctionhandleSubscribe
(planId: string)
apps/agents-web/components/features/agents/agents-pricing.tsx:130
↓ 2 callersFunctionhandleTabClick
(tabId: SettingsTab)
apps/agents-web/components/features/agents/ui/canvas/{components}/settings-dialog.tsx:177
↓ 2 callersFunctionhandler
(req: NextRequest)
apps/agents-web/lib/api/trpc-rest.ts:42
↓ 2 callersFunctionhardDeleteMcpCredential
(params: { teamId: string vaultId: string credentialId: string })
apps/agents-web/lib/server/mcp-vaults.ts:782
↓ 2 callersFunctionhardDeleteMcpVault
(params: { teamId: string vaultId: string })
apps/agents-web/lib/server/mcp-vaults.ts:493
↓ 2 callersFunctionidentify21stAgentsUser
( userId: string, traits?: { email?: string | null; name?: string | null }, )
apps/agents-web/lib/posthog-21st-agents.ts:90
↓ 2 callersFunctionidentifyCanvasUser
( userId: string, traits?: Record<string, any>, )
apps/agents-web/lib/posthog-canvas.ts:76
↓ 2 callersFunctionimportBundle
( bundle: Buffer, )
packages/cli/src/bundler.ts:161
↓ 2 callersFunctionimportMcpWithSource
(config: unknown)
packages/agent-runtime/src/mcp.test.ts:9
↓ 2 callersFunctionimportSandboxFactory
()
apps/relay/src/__tests__/sandbox-factory-vault-proxy.test.ts:6
↓ 2 callersFunctionincludePath
(p: string)
apps/agents-web/lib/server/github/github-reference.ts:98
↓ 2 callersMethodincrbyfloat
(key: string, value: number)
apps/agents-web/lib/redis.ts:28
↓ 2 callersFunctioninitVaultsRouter
()
apps/relay/src/vaults.ts:763
↓ 2 callersFunctioninjectProxyConfig
( sandbox: SandboxHandle, runtime: string, userId: string, sandboxId: string, clientSandboxId?: stri
apps/relay/src/sandbox-factory.ts:218
↓ 2 callersFunctioninverseLerp
(min: number, max: number, value: number)
apps/agents-web/app/(alpha)/agents/threads/_components/span-tree-utils.ts:78
↓ 2 callersFunctionisActive
(href: string, pathname: string)
apps/agents-web/components/features/agents/an/dashboard/dashboard-sidebar.tsx:49
↓ 2 callersFunctionisActive
(href: string, pathname: string)
apps/agents-web/components/features/agents/ui/agents-sidebar-content.tsx:78
↓ 2 callersFunctionisActiveCredential
(row: { status: string; archivedAt: Date | null })
apps/relay/src/vault-coverage.ts:70
↓ 2 callersFunctionisAgentApiKey
(plaintext: string)
packages/api-key-security/src/index.ts:19
↓ 2 callersFunctionisComponentPaid
(componentId: number)
apps/agents-web/lib/api/server/bundle_purchases.ts:24
↓ 2 callersFunctionisError
(error: unknown)
apps/agents-web/lib/utils/error-handling.ts:82
↓ 2 callersFunctionisKnownTopLevelRoute
(segment: string)
apps/agents-web/lib/known-routes.ts:52
↓ 2 callersFunctionisLinearConnected
( integration: LinearIntegration | null | undefined )
apps/agents-web/lib/linear.ts:52
← previousnext →601–700 of 4,011, ranked by callers