MCPcopy Create free account

hub / github.com/agentset-ai/agentset / functions

Functions1,137 in github.com/agentset-ai/agentset

↓ 1 callersFunctionApiMiddleware
(req: NextRequest)
apps/web/src/lib/middleware/api.ts:5
↓ 1 callersFunctionAppMiddleware
( req: NextRequest, event: NextFetchEvent, )
apps/web/src/lib/middleware/app.ts:52
↓ 1 callersFunctionFailedPayment
({ user = { name: "John Doe", email: "john@doe.com" }, organization = { name: "Agentset", slug: "agentset"
packages/emails/src/templates/failed-payment.tsx:6
↓ 1 callersFunctionLoginEmail
({ loginLink = "https://portal.example.com/login", email = "john@doe.com", domain = "https://app.agentse
packages/emails/src/templates/login.tsx:6
↓ 1 callersFunctionOTPEmail
({ code = "123456", email = "john@doe.com", }: { code: string; email: string; })
packages/emails/src/templates/email-otp.tsx:5
↓ 1 callersFunctionPaymentMethodTypesList
(paymentMethod?: Stripe.PaymentMethod)
apps/web/src/app/app.agentset.ai/(dashboard)/[slug]/billing/_components/payment-methods/payment-methods-types.ts:13
↓ 1 callersFunctionUpgradeEmail
({ name = "John Doe", email = "john@doe.com", plan = { name: "Pro", features: [], }, domain
packages/emails/src/templates/upgrade-email.tsx:5
↓ 1 callersFunctionWelcomeEmail
({ name = "John Doe", email = "john@doe.com", domain = "https://app.agentset.ai", }: { name: string |
packages/emails/src/templates/welcome-email.tsx:5
↓ 1 callersFunctionaddDomainToVercel
(domain: string)
apps/web/src/lib/domains/add-domain.ts:5
↓ 1 callersFunctionaddKeysToTokens
(lines: ThemedToken[][])
packages/ui/src/components/ai-elements/code-block.tsx:57
↓ 1 callersFunctionagenticSearch
({ model, messages, queryOptions, maxEvals = 3, tokenBudget = 4096, onQueries, }: { model: Names
apps/web/src/lib/agentic/search.ts:13
↓ 1 callersFunctionauthenticateRequestSession
( request: NextRequest, namespaceId?: T, )
apps/web/src/lib/api/session.ts:17
↓ 1 callersFunctionbase64ToArrayBuffer
(base64: string, opts?: ImageOptions)
packages/storage/src/s3/assets.ts:35
↓ 1 callersFunctionbuildAnalyticsData
* Build analytics event data from config
apps/web/src/app/app.agentset.ai/(dashboard)/[slug]/[namespaceSlug]/documents/ingest-modal/use-ingest.ts:17
↓ 1 callersFunctionbuildCursorWhere
( cursor: string, scanSort: Prisma.SortOrder, cursorPrefix: Parameters<typeof normalizeId>[1], )
apps/web/src/services/pagination.ts:12
↓ 1 callersFunctionbuildDocumentNameMap
(toolParts: ToolPart[])
apps/web/src/components/chat/message-status.tsx:35
↓ 1 callersFunctioncancelSubscription
(customer?: string)
packages/stripe/src/functions.ts:9
↓ 1 callersFunctioncheckoutSessionCompleted
(event: Stripe.Event)
apps/web/src/app/api/(internal-api)/stripe/webhook/checkout-session-completed.ts:20
↓ 1 callersFunctioncompressImageIfNeeded
( file: File, thresholdBytes: number, )
packages/ui/src/components/image-uploader.tsx:12
↓ 1 callersFunctionconvertBlobUrlToDataUrl
(url: string)
packages/ui/src/components/ai-elements/prompt-input.tsx:77
↓ 1 callersFunctioncreateFormSchema
(orgId: string)
apps/web/src/components/create-namespace/details-step.tsx:20
↓ 1 callersFunctioncreateImage
(url: string)
packages/ui/src/components/avatar-uploader.tsx:37
↓ 1 callersFunctioncreateMeterEventSessionToken
()
packages/stripe/src/meters.ts:30
↓ 1 callersFunctioncreateOpenApiDocument
()
apps/web/src/openapi/index.ts:7
↓ 1 callersFunctioncreatePrismaClient
()
packages/db/src/client.ts:7
↓ 1 callersFunctioncreateRawTokens
(code: string)
packages/ui/src/components/ai-elements/code-block.tsx:160
↓ 1 callersFunctioncreateTriggerPrisma
()
packages/db/src/trigger.ts:5
↓ 1 callersFunctioncreateWebhook
({ name, url, secret, triggers, namespaceIds, organizationId, }: z.infer<typeof createWebhookSchem
apps/web/src/lib/webhook/create-webhook.ts:12
↓ 1 callersFunctioncreateWebhookSignature
( secret: string, body: unknown, )
packages/webhooks/src/signature.ts:2
↓ 1 callersFunctioncustomerSubscriptionDeleted
(event: Stripe.Event)
apps/web/src/app/api/(internal-api)/stripe/webhook/customer-subscription-deleted.ts:16
↓ 1 callersFunctioncustomerSubscriptionUpdated
(event: Stripe.Event)
apps/web/src/app/api/(internal-api)/stripe/webhook/customer-subscription-updated.ts:8
↓ 1 callersFunctiondecodeCursor
(s: string)
apps/web/src/lib/cursor.ts:22
↓ 1 callersFunctiondeleteDocumentChunksFile
( namespaceId: string, documentId: string, )
packages/storage/src/s3/document.ts:20
↓ 1 callersFunctiondeleteDocumentImages
(namespaceId: string, documentId: string)
packages/storage/src/s3/document.ts:10
↓ 1 callersFunctiondeleteManyObjects
( keys: string[], { bucket = env.S3_BUCKET, }: { bucket?: string; } = {}, )
packages/storage/src/s3/base.ts:202
↓ 1 callersFunctiondeleteObjectsByPrefix
( prefix: string, { bucket = env.S3_BUCKET, }: { bucket?: string; } = {}, )
packages/storage/src/s3/base.ts:254
↓ 1 callersFunctiondisableWebhook
({ db, webhookId, organizationId, }: DisableWebhookParams)
packages/webhooks/src/failure.ts:78
↓ 1 callersMethoddoRerank
( results: T[], options: RerankOptions, )
packages/engine/src/rerank/cohere.ts:16
↓ 1 callersFunctiondomainExists
(domain: string)
apps/web/src/lib/domains/utils.ts:24
↓ 1 callersFunctiondownloadBlob
(blob: Blob, filename: string)
apps/web/src/components/chat/message-actions/export-utils.ts:17
↓ 1 callersFunctionemitDocumentWebhook
({ trigger, document, }: { trigger: DocumentWebhookTrigger; document: DocumentEventPayload; })
apps/web/src/lib/webhook/emit.ts:15
↓ 1 callersFunctionerrorCodeToTRPCCode
( code: string, )
apps/web/src/server/api/trpc.ts:86
↓ 1 callersFunctionevaluateQueries
( model: NamespaceLanguageModel, messages: ModelMessage[], sources: QueryVectorStoreResult["results"], )
apps/web/src/lib/agentic/utils.ts:66
↓ 1 callersFunctionexpandChunk
({ vectorStore, documentId, sequenceNumber, limit = 10, }: ExpandChunkOptions)
packages/engine/src/vector-store/expand.ts:18
↓ 1 callersFunctionfetchOrgWebhooksFromDb
( db: PrismaClient, organizationId: string, )
packages/webhooks/src/emit.ts:160
↓ 1 callersFunctionfetchWithTimeout
( input: string | Request | URL, init?: RequestInit, timeout: number = 5000, )
packages/utils/src/fetch.ts:1
↓ 1 callersFunctionfileToBase64
(file: File)
packages/ui/src/components/image-uploader.tsx:33
↓ 1 callersFunctionfileToBase64
(file: File)
packages/ui/src/components/avatar-uploader.tsx:46
↓ 1 callersFunctionfilenamize
(value: string, length = 20)
packages/utils/src/string.ts:33
↓ 1 callersFunctionfilterWebhooks
( webhooks: CachedWebhook[], trigger: WebhookTrigger, namespaceId?: string, )
packages/webhooks/src/emit.ts:192
↓ 1 callersFunctionflip
(s: Prisma.SortOrder)
apps/web/src/services/pagination.ts:9
↓ 1 callersFunctionformatChatAsJson
(messages: MyUIMessage[])
apps/web/src/components/chat/message-actions/export-utils.ts:28
↓ 1 callersFunctionformatMs
(ms: number)
apps/web/src/lib/utils.ts:56
↓ 1 callersFunctionformatSources
(sources: QueryVectorStoreResult["results"])
apps/web/src/lib/agentic/utils.ts:16
↓ 1 callersFunctionfromZodError
(error: ZodError)
apps/web/src/lib/api/errors.ts:101
↓ 1 callersFunctiongenerateQueries
( model: NamespaceLanguageModel, messages: ModelMessage[], oldQueries: Queries, )
apps/web/src/lib/agentic/utils.ts:33
↓ 1 callersFunctiongenerateToken
(length: number)
packages/utils/src/string.ts:19
↓ 1 callersFunctiongetAdjustedBillingCycleStart
(billingCycleStart: number)
packages/utils/src/datetime.ts:8
↓ 1 callersFunctiongetApiKeyInfo
(apiKey: string)
apps/web/src/lib/api/api-key.ts:5
↓ 1 callersFunctiongetCachedHosting
( filter: HostingFilter, event: NextFetchEvent, req: NextRequest, )
apps/web/src/lib/middleware/hosting.ts:86
↓ 1 callersFunctiongetCal
()
apps/web/src/lib/cal.ts:4
↓ 1 callersFunctiongetColorFromStatus
(status: string)
apps/web/src/app/app.agentset.ai/(dashboard)/[slug]/[namespaceSlug]/documents/paginated-table-header.tsx:21
↓ 1 callersFunctiongetConfigResponse
(domain: string)
apps/web/src/lib/domains/get-config-response.ts:5
↓ 1 callersFunctiongetCroppedImg
( imageSrc: string, pixelCrop: Area, outputWidth: number = pixelCrop.width, // Optional: specify output
packages/ui/src/components/avatar-uploader.tsx:54
↓ 1 callersFunctiongetDefaultOrganizationSlug
( req: NextRequest, filter: { userId: string; activeOrganizationId: string | null; }, )
apps/web/src/lib/middleware/app.ts:14
↓ 1 callersMethodgetDimensions
()
packages/engine/src/vector-store/pinecone/index.ts:156
↓ 1 callersFunctiongetDocumentPages
(document: DemoSeedDocument)
packages/jobs/src/tasks/seed-demo-namespace.ts:32
↓ 1 callersFunctiongetDomainResponse
(domain: string)
apps/web/src/lib/domains/get-domain-response.ts:6
↓ 1 callersFunctiongetFileMetadata
( key: string, { bucket = env.S3_BUCKET, }: { bucket?: string; } = {}, )
packages/storage/src/s3/base.ts:139
↓ 1 callersFunctiongetFirstAndLastDay
(day: number)
packages/utils/src/datetime.ts:17
↓ 1 callersFunctiongetHeaderLabel
({ toolParts, isLoading, }: { toolParts: ToolPart[]; isLoading: boolean; })
apps/web/src/components/chat/message-status.tsx:53
↓ 1 callersFunctiongetHighlighter
( language: BundledLanguage, )
packages/ui/src/components/ai-elements/code-block.tsx:142
↓ 1 callersFunctiongetHosting
( req: NextRequest, filter: Pick<HostingFilter, "mode" | "value">, )
apps/web/src/lib/middleware/hosting.ts:25
↓ 1 callersFunctiongetInitials
(name: string)
packages/ui/src/components/ui/avatar.tsx:101
↓ 1 callersFunctiongetIsHostingMember
( req: NextRequest, filter: { userId: string; namespaceId: string }, )
apps/web/src/lib/middleware/hosting.ts:54
↓ 1 callersFunctiongetLastDayOfMonth
()
packages/utils/src/datetime.ts:1
↓ 1 callersFunctiongetLocalTimeZone
()
packages/ui/src/components/timestamp-tooltip.tsx:20
↓ 1 callersFunctiongetNamespace
({ namespaceId, organizationId, }: { namespaceId: string; organizationId: string; })
apps/web/src/lib/api/handler/namespace.ts:25
↓ 1 callersFunctiongetObject
( key: string, { bucket = env.S3_BUCKET, }: { bucket?: string; } = {}, )
packages/storage/src/s3/base.ts:269
↓ 1 callersMethodgetOrgWebhooks
( organizationId: string, )
packages/webhooks/src/cache.ts:24
↓ 1 callersFunctiongetOrganizationOwner
({ db, organizationId, }: GetOrganizationOwnerParams)
packages/webhooks/src/failure.ts:146
↓ 1 callersFunctiongetPartitionDocumentBody
({ document, ingestJobConfig: _ingestJobConfig, namespaceId, triggerTokenId, triggerAccessToken, }:
packages/engine/src/partition/index.ts:25
↓ 1 callersFunctiongetRerankingModel
(_model?: RerankingModel)
packages/engine/src/rerank/index.ts:11
↓ 1 callersFunctiongetStatusBadge
(status: ToolUIPart["state"])
packages/ui/src/components/ai-elements/tool.tsx:39
↓ 1 callersFunctiongetStripe
()
packages/stripe/src/client.ts:7
↓ 1 callersFunctiongetStripeEnvironment
()
packages/stripe/src/plans.ts:118
↓ 1 callersFunctiongetSubdomain
(name: string, apexName: string)
apps/web/src/app/app.agentset.ai/(dashboard)/[slug]/[namespaceSlug]/hosting/domain-card/index.tsx:49
↓ 1 callersFunctiongetThinkingMessage
(isStreaming: boolean, duration?: number)
packages/ui/src/components/ai-elements/reasoning.tsx:118
↓ 1 callersFunctiongetTokensCacheKey
(code: string, language: BundledLanguage)
packages/ui/src/components/ai-elements/code-block.tsx:136
↓ 1 callersFunctiongetWebhooks
({ organizationId, triggers, disabled, }: GetWebhooksProps)
apps/web/src/lib/webhook/get-webhooks.ts:11
↓ 1 callersFunctionhandleApiError
( error: any, )
apps/web/src/lib/api/errors.ts:129
↓ 1 callersFunctionhandleClose
()
apps/web/src/components/modals/welcome-modal.tsx:47
↓ 1 callersFunctionhandleCopyMarkdown
()
apps/web/src/components/chat/message-actions/export.tsx:59
↓ 1 callersFunctionhandleExampleClick
(example: string)
apps/web/src/app/[hostingId]/(defaultLayout)/search/use-search.ts:59
↓ 1 callersFunctionhandleNamespaceChange
(newNamespace: Namespace)
apps/web/src/components/dashboard-page-wrapper/namespace-switcher.tsx:55
↓ 1 callersFunctionhandleOpenChange
(newOpen: boolean)
apps/web/src/components/delete-confirmation.tsx:117
↓ 1 callersFunctionhandleOrganizationChange
(organization: Organization)
apps/web/src/components/app-sidebar/org-switcher/index.tsx:64
↓ 1 callersFunctionhandleRemove
(index: number)
apps/web/src/components/sortable-list.tsx:91
↓ 1 callersFunctionhandleRemove
(index: number)
apps/web/src/components/list-input.tsx:60
↓ 1 callersFunctionhandleRemoveImage
()
packages/ui/src/components/image-uploader.tsx:131
← previousnext →201–300 of 1,137, ranked by callers