MCPcopy Create free account

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

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

↓ 20 callersFunctioncategorizeLLMError
( error: unknown, metadata: LLMClientMetadata )
front/lib/api/llm/types/errors.ts:52
↓ 20 callersFunctioncleanUtf8Content
(content: string)
front/temporal/upsert_queue/activities.ts:18
↓ 20 callersFunctioncreateMockModel
( overrides: Partial<ModelConfigurationType> )
front/lib/assistant.test.ts:20
↓ 20 callersMethoddescription
(&self)
core/src/databases/table.rs:206
↓ 20 callersFunctiondo_api_call
(url: String, method: HttpMethod, body: &serde_json::Value)
core/src/oauth/tests/utils.rs:43
↓ 20 callersFunctionerrorFromAny
(e: any)
connectors/src/lib/error.ts:6
↓ 20 callersFunctionexit
(_context: CLSStore)
front/tests/utils/test_cls.ts:59
↓ 20 callersFunctionextractFileRefs
(code: string)
viz/app/lib/parseFileRefs.ts:41
↓ 20 callersFunctionfileRequest
( workspace: { sId: string }, spaceId: string, relSegments: string[], options: { method: string; body?
front-api/routes/w/[wId]/spaces/[spaceId]/files/rel.test.ts:17
↓ 20 callersFunctiongetAvatar
( mcpServer: MCPServerType, size: ComponentProps<typeof Avatar>["size"] = "sm" )
front/lib/actions/mcp_icons.tsx:10
↓ 20 callersFunctiongetContentNodeFromInternalId
( internalId: string, permission: ConnectorPermission = "none", mimeTypes: | typeof INTERNAL_MIME_TY
connectors/src/lib/remote_databases/content_nodes.ts:36
↓ 20 callersFunctiongetGoogleDriveObject
({ connectorId, authCredentials, driveObjectId, cacheKey, }: { connectorId: ModelId; authCredentia
connectors/src/connectors/google_drive/lib/google_drive_api.ts:71
↓ 20 callersFunctiongetMCPServerRequirements
( mcpServerView: MCPServerViewType | null | undefined )
front/lib/actions/mcp_internal_actions/input_configuration.ts:511
↓ 20 callersFunctiongetParents
({ connectorId, internalId, startSyncTs, }: { connectorId: ModelId; internalId: string; startSyncT
connectors/src/connectors/microsoft/temporal/file.ts:643
↓ 20 callersFunctiongetRedisCacheClient
({ origin, }: { origin: RedisUsageTagsType; })
front/lib/api/redis.ts:185
↓ 20 callersFunctiongetSlackActivities
()
connectors/src/connectors/slack/temporal/workflows.ts:25
↓ 20 callersFunctiongetSpaceName
(space: SpaceType)
front/lib/spaces_utils.ts:12
↓ 20 callersFunctiongetZendeskSubdomainAndAccessToken
( connectionId: string )
connectors/src/connectors/zendesk/lib/zendesk_access_token.ts:5
↓ 20 callersMethodisErr
()
marketing/types/shared/result.ts:24
↓ 20 callersMethodisPaused
()
connectors/src/resources/connector_resource.ts:230
↓ 20 callersFunctionjsonResponse
(data: unknown)
front/lib/api/actions/servers/poke/tools/utils.ts:16
↓ 20 callersMethodmarkAsReady
(auth: Authenticator)
front/lib/resources/file_resource.ts:590
↓ 20 callersFunctiononChange
(e: ChangeEvent<E>)
front/components/shared/BaseFormFieldSection.tsx:45
↓ 20 callersFunctionpatchSuggestions
( workspace: { sId: string }, aId: string, body: unknown )
front-api/routes/w/[wId]/assistant/agent_configurations/[aId]/suggestions.test.ts:41
↓ 20 callersFunctionpostSwitchContract
(workspaceId: string, body: unknown)
front-api/routes/poke/workspaces/[wId]/switch_contract.test.ts:210
↓ 20 callersFunctionrenderLightContentFragmentForModel
( auth: Authenticator, message: ContentFragmentType, model: ModelConfigurationType, { excludeImage
front/lib/resources/content_fragment_resource.ts:1236
↓ 20 callersMethodsendMessage
( message: T, callback?: (response: R) => void )
extension/shared/services/platform.ts:38
↓ 20 callersFunctionsetupProject
()
front-api/routes/w/[wId]/spaces/[spaceId]/files/rel.test.ts:11
↓ 20 callersFunctionsetupTestAgents
( workspace: LightWorkspaceType, user: UserResource )
front/lib/resources/conversation_resource.test.ts:63
↓ 20 callersMethodtoLogJSON
()
front/lib/resources/sandbox_resource.ts:1084
↓ 20 callersMethodupdate
({ connectionId, }: { connectionId?: string | null; })
connectors/src/connectors/zendesk/index.ts:147
↓ 20 callersMethodupdate
( auth: Authenticator, sId: string, blob: Partial<InferAttributes<ConversationModel, { omit: "work
front/lib/resources/conversation_resource.ts:1679
↓ 20 callersMethodurl
(&self)
core/src/sqlite_workers/client.rs:84
↓ 20 callersFunctionuseConversationSidePanelContext
()
front/components/assistant/conversation/ConversationSidePanelContext.tsx:62
↓ 20 callersFunctionwarn
(w: string | null)
front/lib/api/poke/switch_contract.ts:1151
↓ 20 callersFunctionworkspaceAuth
(opts: WorkspaceAuthOptions = {})
front-api/middlewares/workspace_auth.ts:96
↓ 19 callersFunctioncanAgentBeUsedInProjectConversation
( auth: Authenticator, { configuration, conversation, transaction, }: { configuration: L
front/lib/api/assistant/conversation/permissions.ts:86
↓ 19 callersMethodclone
(updates: Partial<SandboxImageState>)
front/lib/api/sandbox/image/sandbox_image.ts:64
↓ 19 callersFunctioncreateFrameWithScope
(scope: FileShareScope)
front-api/routes/v1/public/frames/[token]/index.test.ts:40
↓ 19 callersMethoddangerouslyListUserGroupsForAuth
* WARNING: This method skips workspace membership checks. It is intended for use in * authentication/authorization contexts where the user's group
front/lib/resources/group_resource.ts:266
↓ 19 callersFunctiondevOrProd
(dev: T, prod: T)
front/lib/metronome/constants.ts:222
↓ 19 callersFunctiondone
(msg: &str)
core/src/utils.rs:99
↓ 19 callersFunctionenforcePokeSecurityGates
( { auth }: ToolHandlerExtra, toolName: string, targetWorkspaceId: string )
front/lib/api/actions/servers/poke/tools/utils.ts:32
↓ 19 callersFunctionexpectCommon
( info: ReturnType<typeof categorizeLLMError>, { type, isRetryable }: { type: string; isRetryable: boolean
front/lib/api/llm/test/errors.test.ts:23
↓ 19 callersFunctionfail
(message: string)
front/lib/api/sandbox/image/profile/src/tools/edit_file.ts:30
↓ 19 callersMethodfetchBySecret
(secret: string)
front/lib/resources/key_resource.ts:175
↓ 19 callersMethodfetchFromZendeskWithRetries
( url: string, schema: T )
connectors/src/connectors/zendesk/lib/zendesk_api.ts:122
↓ 19 callersMethodfetchMessagesForPage
( auth: Authenticator, { limit, lastRank }: { limit: number; lastRank?: number | null } )
front/lib/resources/conversation_resource.ts:3448
↓ 19 callersMethodflush
* Flush a specific buffer, publishes the accumulated tokens.
front/temporal/agent_loop/lib/event_coalescer.ts:135
↓ 19 callersFunctiongetDriveItemInternalId
(item: DriveItem)
connectors/src/connectors/microsoft/lib/graph_api.ts:522
↓ 19 callersFunctiongetRedisHybridManager
()
front/lib/api/redis-hybrid-manager.ts:669
↓ 19 callersFunctiongetRelatedContentFragments
( conversation: ConversationType, message: UserMessageType )
front/lib/api/assistant/content_fragments.ts:8
↓ 19 callersMethodhasApprovedTool
( auth: Authenticator, { mcpServerId, toolName, agentId = null, argsAndValues
front/lib/resources/user_resource.ts:848
↓ 19 callersFunctioninvalidateCacheWithRedis
( fn: CacheableFunction<JsonSerializable<T>, Args>, resolver: KeyResolver<Args>, // Kept for backwards c
front/lib/utils/cache.ts:189
↓ 19 callersFunctionisReadableAsText
(contentType: string)
front/lib/api/actions/servers/files/tools/utils.ts:167
↓ 19 callersFunctionisResourceSId
( resourceName: ResourceNameType, sId: string )
front/lib/resources/string_ids.ts:249
↓ 19 callersMethodisUser
()
front/lib/auth.ts:1064
↓ 19 callersMethodlistConversationsInSpacePaginated
( auth: Authenticator, { spaceId, options, pagination, restrictToConversationM
front/lib/resources/conversation_resource.ts:2085
↓ 19 callersFunctionmakeContract
({ seats = [], isMau = false, currentBillingPeriodStartingAt, nextBillingPeriodStartingAt, }: { seat
front/lib/metronome/seats.test.ts:54
↓ 19 callersFunctionmapToEnumValues
( items: AtLeastTwoElements<T>, mapper: (item: T) => EnumValue )
front/types/poke/plugins.ts:36
↓ 19 callersFunctiononClose
()
front/components/data_source/RequestDataSourceModal.tsx:49
↓ 19 callersFunctionrequestFrame
( token: string, opts?: { cookies?: Record<string, string> } )
front-api/routes/v1/public/frames/[token]/index.test.ts:68
↓ 19 callersFunctionresolveTimeWindow
( input: TimeWindowInput, defaultPeriod: AnalyticsPeriod = "this_month" )
front/lib/api/actions/servers/workspace_analytics/query_input.ts:96
↓ 19 callersFunctionsafeSubstring
( str: string | undefined, start: number, end?: number )
connectors/src/types/shared/utils/string_utils.ts:16
↓ 19 callersFunctionshouldCrawlLink
( link: string, webCrawlerConfig: WebCrawlerConfigurationResource )
connectors/src/connectors/webcrawler/lib/utils.ts:179
↓ 19 callersMethodstart
* Start the transport and connect to the SSE endpoint. * This method is required by the Transport interface.
front/lib/client/BrowserMCPTransport.ts:197
↓ 19 callersFunctionstripMarkdown
(text: string)
front/types/shared/utils/markdown.ts:124
↓ 19 callersFunctionstripNullBytes
(text: string)
connectors/src/types/shared/utils/string_utils.ts:77
↓ 19 callersFunctionsyncStarted
(connectorId: ModelId, startedAt?: Date)
connectors/src/lib/sync_status.ts:126
↓ 19 callersFunctiontrackEvent
({ area, object, action = TRACKING_ACTIONS.CLICK, extra, }: TrackEventParams)
marketing/lib/tracking.ts:89
↓ 19 callersFunctionwithNotionClient
( fn: (notion: Client) => Promise<T>, authInfo?: AuthInfo )
front/lib/api/actions/servers/notion/tools/index.ts:32
↓ 18 callersMethodadmin
(groupOrGroups: GroupResource | GroupResource[])
front/tests/utils/KeyFactory.ts:46
↓ 18 callersFunctionbuildFileSystemTree
( entries: FileExplorerPathEntry[] )
front/components/file_explorer/utils.ts:460
↓ 18 callersFunctionbuildUser
( id: number, label?: string, isParticipant?: boolean, lastActivityAt?: number )
front/lib/api/assistant/conversation/mention_suggestions.test.ts:24
↓ 18 callersFunctioncacheWithRedis
( fn: CacheableFunction<JsonSerializable<T>, Args>, resolver: KeyResolver<Args>, { ttlMs, }: {
connectors/src/types/shared/cache.ts:37
↓ 18 callersFunctioncreateAgentMessage
( auth: Authenticator, { conversation, rank, parentId, status, generatedFileId = null,
front/lib/api/assistant/conversation/forks.test.ts:111
↓ 18 callersFunctioncreateMockUserMessage
(rank: number)
front/lib/api/assistant/content_fragments.test.ts:52
↓ 18 callersFunctioncreateOctokit
( auth: Authenticator, { accessToken }: { accessToken?: string } )
front/lib/api/actions/servers/github/tools/index.ts:32
↓ 18 callersMethodcreateTools
( auth: Authenticator, agentConfiguration: LightAgentConfigurationType, overrides: Partial<{
front/tests/utils/AgentSuggestionFactory.ts:41
↓ 18 callersFunctioncreateUserMessage
( auth: Authenticator, { conversation, rank, content, branchId = null, }: { conversa
front/lib/api/assistant/conversation/forks.test.ts:70
↓ 18 callersMethodcsv
( auth: Authenticator, user: UserResource | null, { useCase, useCaseMetadata, fi
front/tests/utils/FileFactory.ts:57
↓ 18 callersFunctiondecodeBuffer
(data: ArrayBufferLike)
connectors/src/connectors/shared/file.ts:31
↓ 18 callersFunctionempty_table
()
cli/dust-sandbox/src/commands/forward/test_support.rs:18
↓ 18 callersFunctionensureIsSystemKey
()
front-api/middlewares/ensure_role.ts:106
↓ 18 callersFunctionerror
(message: string)
x/henry/dust-hive/src/lib/logger.ts:34
↓ 18 callersFunctionescapeSnowflakeIdentifier
(identifier: string)
front/lib/utils/snowflake.ts:5
↓ 18 callersFunctionextractFileRefs
(code: string)
front/lib/api/viz/extract_file_refs.ts:11
↓ 18 callersMethodfetchByBrandId
({ connectorId, brandId, }: { connectorId: number; brandId: number; })
connectors/src/resources/zendesk_resources.ts:329
↓ 18 callersMethodfetchByWorkOSUserId
( workOSUserId: string, transaction?: Transaction )
front/lib/resources/user_resource.ts:277
↓ 18 callersFunctionfetchGongConnector
({ connectorId, }: { connectorId: ModelId; })
connectors/src/connectors/gong/lib/utils.ts:8
↓ 18 callersFunctiongenerateEnvSh
( name: string, ports: PortAllocation, opts: { dynamicWorkosRedirect?: boolean } = {} )
x/henry/dust-hive/src/lib/envgen.ts:8
↓ 18 callersMethodgetCloudStoragePath
(auth: Authenticator, version: FileVersion)
front/lib/resources/file_resource.ts:710
↓ 18 callersFunctiongetConnectorManager
({ connectorProvider, connectorId, }: { connectorProvider: ConnectorProvider; connectorId: ModelId; })
connectors/src/connectors/index.ts:45
↓ 18 callersFunctiongetConnectorProviderLogoWithFallback
({ provider, fallback = Folder, isDark, }: { provider: ConnectorProvider | null; fallback?: Componen
front/lib/connector_providers_ui.ts:458
↓ 18 callersMethodgetConversation
({ conversationId, signal, }: { conversationId: string; signal?: AbortSignal; })
sdks/js/src/index.ts:1401
↓ 18 callersFunctiongetDeletions
(editor: Editor)
front/components/editor/extensions/agent_builder/InstructionSuggestionExtension.test.ts:24
↓ 18 callersFunctiongetDriveClient
(authInfo?: AuthInfo)
front/lib/api/actions/servers/google_drive/helpers.ts:9
↓ 18 callersFunctiongetDustClient
()
cli/dust-cli/src/utils/dustClient.ts:34
↓ 18 callersFunctiongetEnvironmentWorktreeDir
(metadata: EnvironmentMetadata)
x/henry/dust-hive/src/lib/environment.ts:43
↓ 18 callersFunctiongetFrontAPITokenFromExtra
(extra: ToolHandlerExtra)
front/lib/api/actions/servers/front/helpers.ts:126
← previousnext →601–700 of 24,692, ranked by callers