MCPcopy Create free account

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

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

↓ 41 callersFunctioninvalidateCacheAfterCommit
( transaction: Transaction | undefined, invalidateFn: () => Promise<void> )
front/lib/utils/cache.ts:284
↓ 40 callersFunctionheartbeat
()
connectors/src/lib/temporal.ts:221
↓ 40 callersFunctionisNodeCandidate
( candidate: UrlCandidate | NodeCandidate | null )
front/lib/connectors.ts:108
↓ 40 callersFunctiononClose
()
front/components/agent_builder/settings/avatar_picker/AgentBuilderAvatarPicker.tsx:95
↓ 39 callersMethodexecuteSql
( client: PoolClient, sql: string, params?: any[] )
front/migrations/20241129_migrate_int_to_bigint.ts:1804
↓ 39 callersFunctiongetStripeClient
()
front/lib/plans/stripe.ts:71
↓ 39 callersMethodhashPhoneNumber
(phoneNumber: string)
front/lib/resources/workspace_verification_attempt_resource.ts:47
↓ 39 callersFunctionisPodConversation
( conversation: T )
front/types/assistant/conversation.ts:645
↓ 39 callersFunctionisUserMessageType
( arg: MessageType | LegacyLightMessageType | LightMessageType )
front/types/assistant/conversation.ts:199
↓ 39 callersMethodlistByType
( // TODO(salesforce): implement this type: Exclude<ConnectorProvider, "salesforce">, { connection
connectors/src/resources/connector_resource.ts:95
↓ 39 callersMethodregisterTool
( tools: ToolEntry | ToolEntry[], options?: { installCmd?: string } )
front/lib/api/sandbox/image/sandbox_image.ts:118
↓ 39 callersFunctionrunOnRedis
( opts: { origin: RedisUsageTagsType }, fn: (client: RedisClientType) => PromiseLike<T> )
front/lib/api/redis.ts:194
↓ 39 callersFunctionuseAgentBuilderContext
()
front/components/agent_builder/AgentBuilderContext.tsx:73
↓ 38 callersMethoddeleteAllForWorkspace
(auth: Authenticator)
front/lib/resources/run_resource.ts:295
↓ 38 callersMethodgetMCPServerViewForSystemSpace
( auth: Authenticator, mcpServerId: string )
front/lib/resources/mcp_server_view_resource.ts:896
↓ 38 callersMethodglobal
(workspace: WorkspaceType, globalGroup?: GroupResource)
front/tests/utils/SpaceFactory.ts:35
↓ 38 callersFunctiontimeout
(command: RootCommand, timeoutSeconds: number)
front/lib/api/sandbox/root_command.ts:128
↓ 37 callersFunctioncn
(...inputs: ClassValue[])
marketing/components/poke/shadcn/lib/utils.ts:5
↓ 37 callersFunctioncreateFreshserviceClient
( authInfo: AuthInfo | undefined )
front/lib/api/actions/servers/freshservice/client.ts:92
↓ 37 callersFunctiongetInternalId
(driveFileId: string)
connectors/src/connectors/google_drive/temporal/utils.ts:13
↓ 37 callersFunctionisAdmin
( owner: WorkspaceType | null )
front/types/user.ts:233
↓ 36 callersMethodgetActiveMembershipOfUserInWorkspace
({ user, workspace, transaction, }: { user: UserResource; workspace: LightWorkspaceType;
front/lib/resources/membership_resource.ts:628
↓ 36 callersMethodisMember
* Check if the auth is a member of this space.
front/lib/resources/space_resource.ts:1313
↓ 36 callersMethodlistByAgentConfigurationId
( auth: Authenticator, agentConfigurationId: string )
front/lib/resources/trigger_resource.ts:142
↓ 36 callersFunctionparseMatcherExpression
( expression: string )
front/lib/matcher/parser.ts:254
↓ 36 callersFunctionresolveDocOperations
( doc: docs_v1.Schema$Document, operations: DocumentOperation[] )
front/lib/api/actions/servers/google_drive/resolution/docs_resolver.ts:511
↓ 36 callersFunctionwithAuth
( { authInfo }: ToolHandlerExtra, action: (accessToken: string) => Promise<ToolHandlerResult> )
front/lib/api/actions/servers/hubspot/helpers.ts:68
↓ 35 callersFunctionconcurrentExecutor
( items: T[], iterator: (item: T, idx: number) => Promise<V>, { concurrency = 8, onBatchComplete
connectors/src/types/shared/utils/async_utils.ts:14
↓ 35 callersFunctioncreateDataSourceAndConnectorForProject
( auth: Authenticator, space: SpaceResource )
front/lib/api/projects/connector.ts:43
↓ 35 callersMethodencode
(&self, text: &str)
core/src/providers/llm.rs:72
↓ 35 callersMethodforConversation
* Build a DustFileSystem scoped to a single conversation. * * Always includes the conversation mount. When the conversation belongs to a project
front/lib/api/file_system/dust_file_system.ts:250
↓ 35 callersMethodgetMetadata
(key: string, workspaceModelId?: number | null)
front/lib/resources/user_resource.ts:662
↓ 35 callersFunctionisAPIErrorResponse
(obj: unknown)
front/types/error.ts:235
↓ 35 callersFunctionmakeMembership
( creditState: UserCreditState, seatType?: MembershipSeatType )
front/lib/metronome/user_credit_state_machine.test.ts:55
↓ 35 callersFunctionmakeMessage
( rank: number, branchId: string | null )
front/components/assistant/conversation/ConversationViewer.test.ts:6
↓ 35 callersFunctionprepareAndRun
(resultPromise: Promise<Result<void>>)
x/henry/dust-hive/src/index.ts:46
↓ 35 callersMethodrunCmd
(command: string, options?: { user?: string })
front/lib/api/sandbox/image/sandbox_image.ts:95
↓ 35 callersFunctiontransitionUserCreditState
( membership: MembershipResource, event: UserCreditEvent, ctx: UserCreditContext, { transaction }: { t
front/lib/metronome/user_credit_state_machine.ts:184
↓ 35 callersFunctiontransitionWorkspaceCreditState
( workspace: WorkspaceResource, event: WorkspaceCreditEvent, ctx: WorkspaceCreditContext, { transactio
front/lib/metronome/workspace_credit_state_machine.ts:287
↓ 34 callersMethoddisconnect
* Disconnect and clean up the current server connection
extension/platforms/front/services/mcp.ts:154
↓ 34 callersMethodfetchWorkspaceGlobalSpace
( auth: Authenticator, transaction?: Transaction )
front/lib/resources/space_resource.ts:416
↓ 34 callersFunctiongetCreditTypeAwuId
()
front/lib/metronome/constants.ts:226
↓ 34 callersFunctiongetTool
(name: string)
front/lib/api/actions/servers/skill_authoring/tools/index.test.ts:29
↓ 34 callersFunctionmakeExtra
(auth: Authenticator)
front/lib/api/actions/servers/skill_authoring/tools/index.test.ts:38
↓ 34 callersFunctionmakeWorkspace
( poolCreditState: WorkspacePoolCreditState )
front/lib/metronome/workspace_credit_state_machine.test.ts:45
↓ 34 callersFunctionrun_h2_to_h1_bridge
( agent_tls: C, sni: String, secret_table: Arc<SecretTable>, deny_log: Arc<std::path::PathBuf>
cli/dust-sandbox/src/commands/forward/http2/inbound.rs:18
↓ 34 callersMethodshutdown
(&mut self)
cli/dust-sandbox/tests/e2e_local.rs:315
↓ 34 callersFunctionslugify
(text: string)
front/types/shared/utils/string_utils.ts:66
↓ 34 callersFunctionusePokePageMetadata
({ name, type, subtitle, sId, title, }: PokePageMetadataInput)
front/poke/swr/currentPage.ts:29
↓ 34 callersFunctionuseSubmitFunction
( submitFn: (...data: T) => Promise<R> )
front/lib/client/utils.ts:3
↓ 33 callersMethodcanRead
(auth: Authenticator)
front/lib/resources/space_resource.ts:1517
↓ 33 callersFunctioncreateConversation
()
front/lib/api/assistant/conversation_rendering/index.test.ts:29
↓ 33 callersFunctiongetCorePrimaryDbConnection
()
front/lib/production_checks/utils.ts:68
↓ 33 callersFunctiongetGlobalAgentMetadata
(sId: GLOBAL_AGENTS_SID)
front/lib/api/assistant/global_agents/global_agent_metadata.ts:75
↓ 33 callersFunctionisRichUserMention
( mention: RichMention )
front/types/assistant/mentions.ts:110
↓ 33 callersFunctionreportSlackUsage
({ connectorId, method, useCase, }: { connectorId: ModelId; method: string; channelId?: string;
connectors/src/connectors/slack/lib/slack_client.ts:25
↓ 33 callersFunctionresolver
(arg: string)
front/lib/utils/cache.test.ts:531
↓ 33 callersFunctionseededRandom
(seed: string, index: number)
sparkle/playground/src/components/GroupConversationView.tsx:429
↓ 33 callersMethodsend
(message: JSONRPCMessage)
front/lib/client/BrowserMCPTransport.ts:357
↓ 33 callersFunctionsetLoading
(loading: boolean)
front/components/editor/input_bar/useCustomEditor.tsx:283
↓ 33 callersMethodstat
* Returns `Ok(null)` when the file does not exist, `Ok(metadata)` on success. * Returns `Err` on path or permission errors (including `invalid_path
front/lib/api/file_system/backends/file_system_backend.ts:51
↓ 33 callersFunctiontypo
( label: string, selector: string, fontSize: string, lineHeight: string, letterSpacing: string, fo
front/components/dev/devModeConfig.ts:283
↓ 33 callersFunctionuseIsMobile
()
front/lib/swr/useIsMobile.ts:6
↓ 33 callersFunctionwithTracking
( area: TrackingArea | string, object: string, handler?: (e: React.MouseEvent<T>) => void | Promise<void
front/lib/tracking.ts:127
↓ 32 callersFunctionbuildInternalId
({ databaseName, schemaName, tableName, }: { databaseName: string; schemaName?: string; tableName?
connectors/src/lib/remote_databases/utils.ts:284
↓ 32 callersMethodcanAccess
( auth: Authenticator, sId: string )
front/lib/resources/conversation_resource.ts:1073
↓ 32 callersMethodfetchConversationWithoutContent
( auth: Authenticator, sId: string, options?: FetchConversationOptions )
front/lib/resources/conversation_resource.ts:1632
↓ 32 callersFunctionisJSONSchemaObject
(value: unknown)
front/lib/utils/json_schemas.ts:16
↓ 32 callersFunctionisValidSnowflakeAccount
(s: unknown)
front/types/oauth/lib.ts:571
↓ 32 callersFunctionmakeBackend
()
front/lib/api/file_system/backends/gcs_file_system_backend.test.ts:19
↓ 32 callersFunctionmakeTodoBlob
( spaceId: number, userId: number, overrides: { text?: string } = {} )
front/lib/resources/project_task_resource.test.ts:17
↓ 32 callersMethodsystem
(groupOrGroups: GroupResource | GroupResource[])
front/tests/utils/KeyFactory.ts:74
↓ 32 callersMethodtrace
(name: string, fn: (span?: SpanLike) => T)
front/logger/tracer.ts:10
↓ 32 callersFunctiontypeAndPathFromInternalId
(internalId: string)
connectors/src/connectors/microsoft/lib/utils.ts:30
↓ 31 callersFunctionFlexibleEnumSchema
()
sdks/js/src/helpers.ts:10
↓ 31 callersMethodensureAllAutoToolsAreCreated
(auth: Authenticator)
front/lib/resources/mcp_server_view_resource.ts:1227
↓ 31 callersFunctionfinalizeUriForProvider
(provider: OAuthProvider)
front/lib/api/oauth/utils.ts:6
↓ 31 callersMethodget
(key: string)
x/henry/mp-sandbox-agent/micropython-mjs.d.ts:70
↓ 31 callersFunctionisGlobalAgentId
(sId: string)
front/types/assistant/assistant.ts:156
↓ 31 callersFunctionmakeInstructionEdit
(targetBlockId: string)
front/lib/reinforcement/skill_suggestion_pruning.test.ts:27
↓ 31 callersFunctionsafeParseJSON
(str: string)
front/types/shared/utils/json_utils.ts:4
↓ 31 callersMethodto_string
(&self)
core/src/data_sources/data_source.rs:253
↓ 30 callersFunctioncreateUserMessage
( auth: Authenticator, { conversation, metadata, content, transaction, }: { conversa
front/lib/api/assistant/conversation/messages.ts:69
↓ 30 callersMethodfetchByNameOrId
( auth: Authenticator, nameOrId: string, options?: Omit<FetchDataSourceOptions, "limit" | "order">
front/lib/resources/data_source_resource.ts:172
↓ 30 callersFunctionpostNewContentFragment
( auth: Authenticator, conversation: ConversationWithoutContentType, cf: ContentFragmentInputWithFileIdT
front/lib/api/assistant/conversation.ts:1976
↓ 30 callersMethodto_string
(&self)
core/src/providers/anthropic/types.rs:35
↓ 30 callersFunctionuseSpaces
({ workspaceId, kinds, disabled, }: { workspaceId: string; kinds: SpaceKind[] | "all"; disabled?:
front/lib/swr/spaces.ts:45
↓ 29 callersFunctionbuildColorClass
(baseColor: string, shade: number)
front/components/agent_builder/observability/constants.ts:82
↓ 29 callersMethodcanAdministrate
(auth: Authenticator)
front/lib/resources/space_resource.ts:1509
↓ 29 callersMethodcanReadOrAdministrate
(auth: Authenticator)
front/lib/resources/space_resource.ts:1521
↓ 29 callersFunctiondeleteDataSourceFolder
({ dataSourceConfig, folderId, }: { dataSourceConfig: DataSourceConfig; folderId: string; loggerArgs
connectors/src/lib/data_sources.ts:1563
↓ 29 callersMethodembedder_config
(&self)
core/src/data_sources/data_source.rs:473
↓ 29 callersFunctionfetchFromOutlook
( endpoint: string, accessToken: string, options?: RequestInit )
front/lib/api/actions/servers/outlook/tools/mail.ts:101
↓ 29 callersFunctionget
Gets a value from Redis cache
core/src/cache.rs:24
↓ 29 callersMethodhandle_provider_request_error
(&self, error: ProviderHttpRequestError)
core/src/oauth/providers/mcp.rs:516
↓ 29 callersFunctionisEnterprisePlanPrefix
(planCode: string)
front/lib/plans/plan_codes.ts:43
↓ 29 callersMethodisGlobal
()
front/lib/resources/space_resource.ts:1525
↓ 29 callersFunctionisRichAgentMention
( mention: RichMention )
front/types/assistant/mentions.ts:88
↓ 29 callersMethodisSystemKey
()
front/lib/auth.ts:1080
↓ 29 callersFunctionremoveNulls
(arr: (T | null | undefined)[])
connectors/src/types/shared/utils/general.ts:4
← previousnext →301–400 of 24,692, ranked by callers