MCPcopy Index your code

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

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

↓ 4,139 callersMethodisErr
()
front/types/shared/result.ts:24
↓ 3,641 callersMethodget
(key: string)
front/tests/utils/test_cls.ts:11
↓ 2,445 callersMethoderror
()
front/lib/api/llm/traces/buffer.ts:355
↓ 2,089 callersMethodcreate
( config: SandboxCreateConfig, tracingOpts: { workspaceId: string } )
front/lib/api/sandbox/provider.ts:116
↓ 2,017 callersMethodisOk
()
front/types/shared/result.ts:20
↓ 1,728 callersFunctionapiError
( ctx: Context, err: APIErrorWithContentfulStatusCode, error?: Error )
front-api/middlewares/utils.ts:34
↓ 1,564 callersMethodgetNonNullableWorkspace
()
front/lib/auth.ts:1117
↓ 1,388 callersMethodfetchById
( auth: Authenticator, id: string )
front/lib/resources/app_resource.ts:80
↓ 1,318 callersMethodlog
(message: string, data?: any)
x/henry/research-god/src/services/ai.ts:103
↓ 1,024 callersMethodtoString
()
connectors/src/connectors/gong/lib/errors.ts:138
↓ 982 callersMethodfindAll
(auth: Authenticator, { kind }: { kind?: TagKind } = {})
front/lib/resources/tags_resource.ts:130
↓ 916 callersFunctionnormalizeError
(error: unknown)
front/types/shared/utils/error_utils.ts:13
↓ 907 callersFunctioncn
(...inputs: ClassValue[])
sparkle/src/lib/utils.ts:9
↓ 811 callersMethodset
(key: string, value: unknown)
front/tests/utils/test_cls.ts:12
↓ 798 callersMethodnullable
(&self)
core/src/databases/remote_databases/snowflake/api/row.rs:40
↓ 772 callersMethodclone
(&self)
core/src/oauth/store.rs:46
↓ 715 callersMethodfindOne
( this: ModelStatic<M>, options?: WithIncludeDeleted<FindOptions<Attributes<M>>> )
front/lib/resources/storage/wrappers/workspace_models.ts:360
↓ 682 callersFunctionassert
( condition: unknown, message?: string )
front/lib/utils/assert.ts:4
↓ 666 callersFunctionvalidate
(target: Target, schema: Schema)
front-api/middlewares/validator.ts:20
↓ 657 callersMethodbasic
()
front/tests/utils/UserFactory.ts:6
↓ 651 callersMethodsplit
( &self, credentials: Credentials, provider_id: ProviderID, model_id: &str,
core/src/data_sources/splitter.rs:480
↓ 600 callersFunctioncreateResourceTest
({ role = "user", isSuperUser = false, isByok = false, }: { role?: MembershipRoleType; isSuperUser?:
front/tests/utils/generic_resource_tests.ts:34
↓ 597 callersFunctioncreatePrivateApiMockRequest
({ method = "GET", role = "user", isSuperUser = false, workspace: existingWorkspace, }: { method?: R
front/tests/utils/generic_private_api_tests.ts:43
↓ 597 callersMethodmakeNew
( connectorId: ModelId, blob: ConnectorProviderModelMapping[T], transaction: Transaction )
connectors/src/resources/connector/strategy.ts:125
↓ 580 callersMethoddestroy
( providerId: string, tracingOpts: { workspaceId: string } )
front/lib/api/sandbox/provider.ts:128
↓ 555 callersMethodfrom
( embedder: &Box<dyn Embedder + Sync + Send>, text: Option<&String>, )
core/src/data_sources/splitter.rs:23
↓ 552 callersMethodmock
* Returns the module shape expected by `vi.mock("@app/lib/file_storage", ...)`.
front/tests/utils/mocks/file_storage.ts:66
↓ 549 callersMethodisErr
()
sdks/js/src/types.ts:403
↓ 490 callersMethodtoJSON
()
front/lib/resources/app_resource.ts:302
↓ 476 callersMethodparse
(block_pair: Pair<Rule>)
core/src/blocks/end.rs:13
↓ 462 callersMethodupdate
( blob: Partial<Attributes<KeyModel>>, transaction?: Transaction )
front/lib/resources/key_resource.ts:130
↓ 460 callersMethodgetNonNullableUser
()
front/lib/auth.ts:1190
↓ 458 callersMethodinternalAdminForWorkspace
( workspaceId: string, options?: { dangerouslyRequestAllGroups: boolean; } )
front/lib/auth.ts:913
↓ 446 callersMethodkeys
(&self)
core/src/dataset.rs:89
↓ 440 callersMethodrequest
( method: "GET" | "POST" | "PATCH" | "DELETE", path: string, schema: T, params?: Record<string
front/lib/api/actions/servers/luma/client.ts:73
↓ 433 callersMethodassociate
( space: SpaceResource, group: GroupResource, kind: "member" | "project_editor" | "project_viewer"
front/tests/utils/GroupSpaceFactory.ts:6
↓ 433 callersMethodto_string
(&self)
core/src/blocks/block.rs:96
↓ 409 callersMethodfromUserIdAndWorkspaceId
* Get an Authenticator for the target workspace associated with the specified user. * To be used only in context where you can't get an authenticat
front/lib/auth.ts:408
↓ 400 callersMethodas_str
(self)
cli/dust-sandbox/src/commands/forward/deny_log.rs:42
↓ 400 callersFunctionworkspaceApp
()
front-api/middlewares/ctx.ts:71
↓ 392 callersFunctionassertNever
(x: never)
front/types/shared/utils/assert_never.ts:7
↓ 376 callersMethodtoJSON
()
front/lib/auth.ts:1363
↓ 372 callersFunctionclientFetch
( input: RequestInfo | URL, init?: RequestInit )
front/lib/egress/client.ts:43
↓ 343 callersMethodquery
( sql: string | { query: string; values: unknown[] }, options?: QueryOptions | QueryOptionsWithType<an
front/lib/api/database.ts:210
↓ 342 callersMethoddefault
()
core/src/utils.rs:167
↓ 338 callersFunctionisString
(value: unknown)
front/types/shared/utils/general.ts:8
↓ 337 callersMethodpost
( &self, path: &str, body: &B, )
cli/dust-sandbox/src/api/client.rs:90
↓ 336 callersMethoddelete
* Returns `Err("not_found")` when the path does not exist and `ignoreNotFound` is false. * Returns `Err("internal")` on unexpected storage errors.
front/lib/api/file_system/backends/file_system_backend.ts:89
↓ 334 callersMethoditer
(&self)
core/src/dataset.rs:93
↓ 321 callersMethodsafeParse
( data: unknown )
cli/dust-sandbox/functions-runner/invoke.ts:12
↓ 317 callersMethoduser
()
front/lib/api/workos_authenticator.ts:14
↓ 312 callersFunctionuseFetcher
()
front/lib/swr/FetcherContext.tsx:11
↓ 311 callersMethodexit
(context: CLSStore)
front/tests/utils/test_cls.ts:17
↓ 310 callersMethodchild
(additionalTags: string[])
front/lib/duration_recorder.ts:16
↓ 309 callersMethodcreateTestAgent
( auth: Authenticator, overrides: Partial<{ name: string; description: string; scope
front/tests/utils/AgentConfigurationFactory.ts:12
↓ 299 callersMethodadd
(event: LLMEvent)
front/lib/api/llm/types/aggregates.ts:32
↓ 292 callersMethodlen
(&self)
core/src/app.rs:41
↓ 292 callersFunctionmakeScript
( argumentSpecs: T, worker: WorkerFunction<InferArgs<T> & { execute: boolean }> )
front/scripts/helpers.ts:37
↓ 284 callersFunctionuseSWRWithDefaults
( key: TKey, fetcher: Fetcher<TData, TKey> | null, config?: SWRConfiguration & { disabled?: boolean;
front/lib/swr/swr.ts:31
↓ 277 callersMethodextend
(&mut self, other: &Self)
cli/dust-sandbox/src/egress_secrets/mod.rs:138
↓ 257 callersFunctioncn
(...inputs: ClassValue[])
viz/lib/utils.ts:4
↓ 257 callersFunctionconcurrentExecutor
( items: T[] | readonly T[], iterator: (item: T, idx: number) => Promise<V>, { concurrency = 8 }: { conc
front/lib/utils/async_utils.ts:18
↓ 254 callersFunctionuseSendNotification
(disableLogging: boolean = false)
front/hooks/useNotification.ts:6
↓ 250 callersMethodproject
(workspace: WorkspaceType, creatorId?: number)
front/tests/utils/SpaceFactory.ts:86
↓ 242 callersMethodtext
()
sdks/js/src/high_level/stream.ts:90
↓ 236 callersMethodresolve
(&self, domain: &str, port: u16)
egress-proxy/src/dns.rs:13
↓ 233 callersFunctiongenerateRandomModelSId
(prefix?: string)
front/lib/resources/string_ids_server.ts:7
↓ 233 callersMethodto_string
(&self)
core/src/run.rs:106
↓ 229 callersMethodtest
(&self)
core/src/providers/xai.rs:195
↓ 228 callersMethodregular
(groupOrGroups: GroupResource | GroupResource[])
front/tests/utils/KeyFactory.ts:18
↓ 227 callersFunctionremoveNulls
(arr: (T | null | undefined)[])
front/types/shared/utils/general.ts:4
↓ 227 callersMethodto_string
(&self)
core/src/data_sources/splitter.rs:427
↓ 220 callersMethodclone
(&self)
core/src/databases_store/store.rs:29
↓ 217 callersFunctionerror_response
( status: StatusCode, code: &str, message: &str, e: Option<anyhow::Error>, )
core/src/utils.rs:129
↓ 207 callersFunctionnow
()
core/src/utils.rs:73
↓ 205 callersMethodupdate
({ connectionId, }: { connectionId?: string | null; })
connectors/src/connectors/gong/index.ts:160
↓ 198 callersFunctionbuildAuditLogTarget
( type: T, resource: AuditTargetResourceMap[T] )
front/lib/api/audit/workos_audit.ts:397
↓ 185 callersMethodwrite
* When `content` is a `Readable`, the data is streamed to storage without buffering it in * memory; the stream is consumed (or destroyed on error)
front/lib/api/file_system/backends/file_system_backend.ts:71
↓ 169 callersFunctiondataSourceConfigFromConnector
( connector: ConnectorResource )
connectors/src/lib/api/data_source_config.ts:4
↓ 168 callersFunctioncreateTreeItem
( path: string, name?: string )
front/components/data_source_view/context/utils.test.ts:10
↓ 159 callersFunctionemptyArray
()
front/lib/swr/swr.ts:23
↓ 157 callersMethodstatus
(&self)
core/src/run.rs:275
↓ 155 callersMethodrecord
(metricName: string)
front/lib/duration_recorder.ts:23
↓ 154 callersMethodinsert
(&mut self, pattern: &str)
cli/dust-sandbox/src/egress_secrets/mod.rs:126
↓ 152 callersFunctiongetStatsDClient
()
front/lib/utils/statsd.ts:5
↓ 151 callersMethodquery
( &self, query: &str, timeout_ms: u64, )
core/src/sqlite_workers/sqlite_database.rs:85
↓ 151 callersFunctionrenderLightWorkspaceType
({ workspace, role = "none", }: { workspace: | WorkspaceResource | WorkspaceModel | Workspac
front/lib/workspace.ts:11
↓ 151 callersMethodworkspace
()
front/lib/api/workos_authenticator.ts:13
↓ 149 callersMethodincrement
(detail?: string)
front/scripts/migrate_legacy_manual_internal_mcp_server_ids_to_auto.ts:87
↓ 140 callersFunctionpokeApp
()
front-api/middlewares/ctx.ts:72
↓ 140 callersMethodsend
(message: JSONRPCMessage)
cli/dust-cli/src/mcp/servers/cliTransport.ts:60
↓ 139 callersFunctiongetConversation
( auth: Authenticator, conversationId: string, includeDeleted: boolean = false, branchId: string | nul
front/lib/api/assistant/conversation/fetch.ts:56
↓ 138 callersFunctionclassNames
(...classes: (string | null | boolean)[])
marketing/lib/utils.ts:7
↓ 138 callersMethodrun
(fn: (context?: CLSStore) => void)
front/tests/utils/test_cls.ts:14
↓ 135 callersMethodfetchByIds
( auth: Authenticator, ids: string[] )
front/lib/resources/app_resource.ts:69
↓ 133 callersMethodgetEnvVariable
(key: string)
front/types/shared/utils/config.ts:4
↓ 132 callersFunctionuseAppRouter
()
front/lib/platform/index.ts:24
↓ 131 callersMethodclone
(&self)
core/src/stores/store.rs:454
↓ 131 callersMethodremove
* Remove the configured limit for a (workspace, seat type). Returns whether * a row was actually deleted.
front/lib/resources/workspace_seat_limit_resource.ts:134
↓ 130 callersFunctiondateFromDaysAgo
(days: number)
front/lib/resources/conversation_resource.test.ts:87
next →1–100 of 24,692, ranked by callers