MCPcopy Create free account

hub / github.com/dust-tt/dust / functions

Functions24,692 in github.com/dust-tt/dust

↓ 15 callersFunctionhandler
( req: NextApiRequest, res: NextApiResponse<{ ok: boolean } | { error: string }> )
marketing/pages/api/t/pv.ts:10
↓ 15 callersFunctioninstructionEditSetsConflict
( editsA: SkillInstructionEditItemType[], editsB: SkillInstructionEditItemType[], instructionsHtml: stri
front/lib/reinforcement/skill_suggestion_pruning.ts:22
↓ 15 callersMethodinternal_id
(&self)
core/src/data_sources/data_source.rs:457
↓ 15 callersFunctionisContentFragmentType
( arg: MessageType | LegacyLightMessageType )
front/types/content_fragment.ts:131
↓ 15 callersFunctionisCurrent
(id: SubNavigationAdminId)
front/components/navigation/config.ts:260
↓ 15 callersFunctionisErrnoException
(error: unknown)
x/henry/dust-hive/src/lib/errors.ts:9
↓ 15 callersFunctionisMembershipSeatType
( value: unknown )
front/types/memberships.ts:52
↓ 15 callersMethodisRevoked
(referenceDate: Date = new Date())
front/lib/resources/membership_resource.ts:1810
↓ 15 callersFunctionisServerSideMCPToolConfigurationWithName
( config: MCPToolConfigurationType, name: N )
front/lib/actions/types/guards.ts:125
↓ 15 callersFunctionisUpgraded
(plan: PlanType | null)
front/lib/plans/plan_codes.ts:129
↓ 15 callersMethodkill
( sandboxId: string, opts?: { apiKey?: string; requestTimeoutMs?: number }, )
x/henry/sandbox-benchmarks/e2b/bench_sandbox.ts:77
↓ 15 callersMethodload_data_source_by_internal_id
( &self, data_source_internal_id: &str, )
core/src/stores/postgres.rs:1323
↓ 15 callersFunctionmakeConversation
()
front/lib/resources/sandbox_resource.test.ts:479
↓ 15 callersFunctionmakeMockCreditForThreshold
(overrides: { sId: string; type: CreditResource["type"]; startDate?: Date | null; })
front/lib/api/programmatic_usage/tracking.test.ts:560
↓ 15 callersFunctionmakeSkill
(overrides: Partial<SkillType> = {})
front/lib/reinforcement/aggregate_suggestions.test.ts:6
↓ 15 callersFunctionmakeSpreadsheet
( sheets: Array<{ title: string; sheetId: number }> )
front/lib/api/actions/servers/google_drive/resolution/sheets_resolver.test.ts:6
↓ 15 callersFunctionmakeWorkspaceWithUserAuth
()
front/lib/resources/coupon_redemption_resource.test.ts:10
↓ 15 callersFunctionmetronomeAmount
( amountCents: number, currency: SupportedCurrency )
front/lib/metronome/amounts.ts:29
↓ 15 callersFunctionparseIntArg
( rawValue: string, label: string, options?: { minimum?: number; maximum?: number } )
front/lib/api/sandbox/image/profile/src/shared/args.ts:17
↓ 15 callersFunctionparseProcessedFilename
( fileName: string )
front/lib/api/files/mount_path.ts:148
↓ 15 callersFunctionpreprocessInstructionBlocks
(content: string)
front/components/markdown/InstructionBlock.tsx:88
↓ 15 callersFunctionprocessAndStoreFile
( auth: Authenticator, { file, content, }: { file: FileResource; content: ProcessAndStor
front/lib/api/files/processing/index.ts:492
↓ 15 callersMethodprovider
(&self)
core/src/oauth/credential.rs:308
↓ 15 callersFunctionredisClient
({ origin, }: { origin: RedisUsageTagsType | RedisCacheUsageTagsType; })
connectors/src/types/shared/redis_client.ts:54
↓ 15 callersFunctionresolveCurrencyFromStripe
({ stripeSubscription, stripeCustomer, countryFallback, }: { stripeSubscription?: StripeSubscriptionCu
front/lib/plans/billing_currency.ts:123
↓ 15 callersFunctionrowsToCsv
(headers: readonly K[], rows: readonly R[])
front/lib/api/analytics/csv_utils.ts:14
↓ 15 callersFunctionsend_data
(send: &mut SendStream<Bytes>, data: Bytes, end_stream: bool)
cli/dust-sandbox/src/commands/forward/http2/mod.rs:87
↓ 15 callersFunctionsetupTest
(role: MembershipRoleType = "admin")
front-api/routes/w/[wId]/assistant/conversations/[cId]/tools.test.ts:12
↓ 15 callersMethodto_string
(&self)
core/src/providers/mistral.rs:72
↓ 15 callersFunctionupdateAgentMessageDBAndMemory
( auth: Authenticator, args: | { agentMessage: AgentMessageType; conversation: Convers
front/temporal/agent_loop/activities/common.ts:59
↓ 15 callersFunctionuseConversations
({ workspaceId, limit = DEFAULT_LIMIT, options, }: { workspaceId: string; limit?: number; options?
front/hooks/conversations/useConversations.ts:23
↓ 15 callersFunctionuseDataSourceViewContentNodes
({ owner, dataSourceView, internalIds, parentId, pagination, viewType, sorting, disabled = fal
front/lib/swr/data_source_views.ts:318
↓ 15 callersFunctionuseMCPServerViewsContext
()
front/components/shared/tools_picker/MCPServerViewsContext.tsx:123
↓ 15 callersFunctionuseUser
( swrOptions?: SWRConfiguration & { disabled?: boolean; // Defaults to true. Set to false on pages w
front/lib/swr/user.ts:25
↓ 15 callersFunctionwithVirtualExplorerPath
( entry: FileSystemEntry, scopeLabel: string )
front/components/file_explorer/utils.ts:366
↓ 14 callersFunctionaction
(msg: &str)
core/src/utils.rs:91
↓ 14 callersFunctionassistantMessage
(text: string)
front/lib/api/assistant/conversation_rendering/index.test.ts:56
↓ 14 callersFunctionbuild_frame
(token: &str, domain: &str, original_dest_port: u16)
egress-proxy/tests/integration.rs:1151
↓ 14 callersFunctioncalculatePorts
(base: number)
x/henry/dust-hive/src/lib/ports.ts:71
↓ 14 callersMethodclone
( auth: Authenticator, targetWorkspace: LightWorkspaceType, targetSpace: SpaceResource, {
front/lib/resources/app_resource.ts:152
↓ 14 callersMethodcomputeAuthorizedFileAccess
( auth: Authenticator, { frameContent }: { frameContent: string } )
front/lib/resources/file_resource.ts:1762
↓ 14 callersFunctioncreateMockConversation
( content: (UserMessageType[] | ContentFragmentType[] | any[])[] )
front/lib/api/assistant/content_fragments.test.ts:110
↓ 14 callersFunctioncreateToolManifest
(tools: readonly ToolEntry[])
front/lib/api/sandbox/image/tool_manifest.ts:10
↓ 14 callersFunctiondoUpdate
( data: Partial<PatchTranscriptsConfiguration> )
front/lib/swr/labs.ts:100
↓ 14 callersFunctionensureConversationSandboxReady
( auth: Authenticator, conversation: ConversationType )
front/lib/api/sandbox/lifecycle.ts:151
↓ 14 callersFunctionexecuteSearchUser
( query: string, searchAll: boolean, { accessToken, mcpServerId, }: { accessToken: string;
front/lib/api/actions/servers/slack/helpers.ts:1129
↓ 14 callersFunctionextractScore
( response: string, scale: ScaleConfig )
x/henry/dust-evals/src/grading.ts:12
↓ 14 callersMethodfetchByModelIdWithAuth
( auth: Authenticator, id: ModelId, transaction?: Transaction )
front/lib/resources/file_resource.ts:221
↓ 14 callersMethodfetchByModelIds
( auth: Authenticator, ids: ModelId[], { withTools = true }: { withTools?: boolean } = {} )
front/lib/resources/skill/skill_resource.ts:833
↓ 14 callersMethodfetchByPhoneHash
( auth: Authenticator, phoneNumberHash: string )
front/lib/resources/workspace_verification_attempt_resource.ts:133
↓ 14 callersMethodfetchByWorkspaceAndId
({ workspace, id, }: { workspace: LightWorkspaceType; id: ModelId | string; })
front/lib/resources/key_resource.ts:183
↓ 14 callersFunctionfilterParticipantsByNotifyCondition
({ auth, participants, mentionedUserIds, totalParticipantCount, spaceModelId, }: { auth: Authentic
front/lib/notifications/workflows/conversation-unread.ts:1095
↓ 14 callersMethodfromScopedPath
* Build a DustFileSystem by inferring context from the scoped path prefix. * * `conversation-{cId}/...` fetches the conversation and delegates t
front/lib/api/file_system/dust_file_system.ts:396
↓ 14 callersFunctiongenerateConnectorRelativeMimeTypes
* This function generates mime types for a given provider and resource types. * The mime types are in the format `application/vnd.dust.PROVIDER.RESOU
sdks/js/src/internal_mime_types.ts:26
↓ 14 callersFunctiongenerateMimeTypes
* This function generates mime types for a given provider and resource types. * The mime types are in the format `application/vnd.dust.PROVIDER.RESOU
connectors/src/types/shared/internal_mime_types.ts:26
↓ 14 callersFunctiongetBranchedInsertIndex
( data: VirtuosoMessage[], newMessage: VirtuosoMessage )
front/components/assistant/conversation/ConversationViewer.tsx:167
↓ 14 callersMethodgetBucketForVersion
(version: FileVersion)
front/lib/resources/file_resource.ts:814
↓ 14 callersFunctiongetCodeDirInternalId
( repoId: string | number, codePath: string )
connectors/src/connectors/github/lib/utils.ts:132
↓ 14 callersFunctiongetItem
( logger: LoggerInterface, client: Client, itemApiPath: string )
connectors/src/connectors/microsoft/lib/graph_api.ts:432
↓ 14 callersFunctiongetLocalContent
(dir: string, filename: string)
front/lib/api/sandbox/image/registry.ts:115
↓ 14 callersMethodgetMembersCountForWorkspace
({ workspace, activeOnly, rolesFilter, transaction, membershipSpan, }: { workspace:
front/lib/resources/membership_resource.ts:687
↓ 14 callersFunctiongetPod
( auth: Authenticator, from: | { agentLoopContext?: AgentLoopContextType } | { dustPod?: DustPodCo
front/lib/api/actions/servers/pod_manager/helpers.ts:101
↓ 14 callersFunctiongetProcessedContentType
( contentType: AllSupportedFileContentType, useCase?: FileUseCase )
front/lib/api/files/processing/index.ts:425
↓ 14 callersMethodhash
(&self)
core/src/http/request.rs:63
↓ 14 callersFunctionhideInternalConfiguration
(inputSchema: JSONSchema)
front/lib/actions/mcp_internal_actions/input_configuration.ts:343
↓ 14 callersFunctionisLightServerSideMCPToolConfiguration
( arg: unknown )
front/lib/actions/types/guards.ts:72
↓ 14 callersMethodisMember
* Checks if a role indicates workspace membership (role is not "none").
front/lib/auth.ts:323
↓ 14 callersFunctionisModelId
(modelId: string)
front/types/assistant/models/models.ts:256
↓ 14 callersFunctionisSeatBased
( seatType: MembershipSeatType | null | undefined )
front/types/memberships.ts:152
↓ 14 callersFunctionisZendeskNotFoundError
( err: unknown )
connectors/src/connectors/zendesk/lib/errors.ts:55
↓ 14 callersMethodlist
* List entries under `scopedPath` (should end with `/` to list a prefix). * Returns an empty array when nothing exists under that path. * `.proc
front/lib/api/file_system/backends/file_system_backend.ts:33
↓ 14 callersMethodmain_qdrant_client
(&self, qdrant_clients: &QdrantClients)
core/src/data_sources/data_source.rs:492
↓ 14 callersFunctionmakeConversation
( workspace: WorkspaceType, title: string, { requestedSpaceIds = [], spaceId = null, }: {
front/lib/resources/conversation_fork_resource.test.ts:19
↓ 14 callersFunctionmakeSkill
(overrides: Partial<SkillType> = {})
front/lib/reinforcement/analyze_conversation.test.ts:5
↓ 14 callersFunctionmakeSubscription
( currentPeriodStart: number, startDate: number, status: Stripe.Subscription.Status = "active", interv
front/lib/credits/free.test.ts:38
↓ 14 callersFunctionmakeSuccessResponse
(data: Record<string, unknown>)
front/lib/api/actions/servers/pod_manager/helpers.ts:239
↓ 14 callersFunctionmakeWorkspaceWithUserAuth
()
front/lib/metronome/coupons.test.ts:173
↓ 14 callersFunctionmake_document_id_hash
(document_id: &str)
core/src/data_sources/data_source.rs:225
↓ 14 callersMethodmarkAsActionRequired
( auth: Authenticator, { conversation }: { conversation: ConversationWithoutContentType } )
front/lib/resources/conversation_resource.ts:2469
↓ 14 callersMethodmarkVerified
({ transaction, }: { transaction?: Transaction; } = {})
front/lib/resources/workspace_verification_attempt_resource.ts:164
↓ 14 callersMethodname
(&self)
core/src/databases/table.rs:203
↓ 14 callersFunctionnodeIdFromNotionId
(notionId: string)
connectors/src/connectors/notion/index.ts:45
↓ 14 callersFunctionnormalizeTimezone
( timezone: string | null | undefined )
front/lib/api/actions/servers/google_calendar/helpers.ts:150
↓ 14 callersFunctionprocessEventForDatabase
( auth: Authenticator, { event, agentMessage, step, conversation, modelInteractionDura
front/temporal/agent_loop/activities/common.ts:223
↓ 14 callersMethodremoveChildrenIfEnclosedBy
(parentsIn: string[])
front/lib/resources/data_source_view_resource.ts:659
↓ 14 callersFunctionsectionLength
( section: CoreAPIDataSourceDocumentSection )
connectors/src/lib/data_sources.ts:704
↓ 14 callersFunctionset
(key: K, value: FormState[K])
front/components/poke/coupons/CreateCouponForm.tsx:67
↓ 14 callersFunctionsetPagination
( newValue: PaginationState, history?: HistoryOptions )
front/hooks/usePaginationFromUrl.ts:31
↓ 14 callersFunctionsetQueryParam
( router: AppRouter, key: string, value: string )
front/lib/utils/router.ts:3
↓ 14 callersMethodsetUseCaseMetadata
(auth: Authenticator, metadata: FileUseCaseMetadata)
front/lib/resources/file_resource.ts:1056
↓ 14 callersFunctionsleep
(ms: number)
front/tests/reinforcement-evals/lib/reinforcement-executor.ts:346
↓ 14 callersMethodsubscriptionResource
()
front/lib/auth.ts:1145
↓ 14 callersFunctiontrackEvent
({ area, object, action = TRACKING_ACTIONS.CLICK, extra, }: TrackEventParams)
front/lib/tracking.ts:89
↓ 14 callersMethodupdate
({ connectionId, }: { connectionId?: string | null; })
connectors/src/connectors/slack/index.ts:113
↓ 14 callersMethodupsertMetadataArray
(key: string, value: string)
front/lib/resources/user_resource.ts:718
↓ 14 callersFunctionuseAgentConfigurations
({ workspaceId, agentsGetView, includes = [], limit, sort, disabled, revalidate, }: { workspac
front/lib/swr/assistants.ts:129
↓ 14 callersFunctionuseHashParam
( key: string, defaultValue?: string )
front/hooks/useHashParams.ts:46
↓ 14 callersFunctionvalidateAction
( auth: Authenticator, conversation: ConversationResource, { actionId, approvalState, messag
front/lib/api/assistant/conversation/validate_actions.ts:32
↓ 14 callersFunctionvalidateTypeScriptSyntax
( code: string )
front/lib/api/files/content_validation.ts:105
↓ 13 callersFunctionaddMeta
(attrs: Record<string, string>)
front/components/pages/share/SharedFramePage.tsx:84
← previousnext →901–1,000 of 24,692, ranked by callers