Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dust-tt/dust
/ functions
Functions
24,692 in github.com/dust-tt/dust
⨍
Functions
24,692
◇
Types & classes
5,527
↓ 4,139 callers
Method
isErr
()
front/types/shared/result.ts:24
↓ 3,641 callers
Method
get
(key: string)
front/tests/utils/test_cls.ts:11
↓ 2,445 callers
Method
error
()
front/lib/api/llm/traces/buffer.ts:355
↓ 2,089 callers
Method
create
( config: SandboxCreateConfig, tracingOpts: { workspaceId: string } )
front/lib/api/sandbox/provider.ts:116
↓ 2,017 callers
Method
isOk
()
front/types/shared/result.ts:20
↓ 1,728 callers
Function
apiError
( ctx: Context, err: APIErrorWithContentfulStatusCode, error?: Error )
front-api/middlewares/utils.ts:34
↓ 1,564 callers
Method
getNonNullableWorkspace
()
front/lib/auth.ts:1117
↓ 1,388 callers
Method
fetchById
( auth: Authenticator, id: string )
front/lib/resources/app_resource.ts:80
↓ 1,318 callers
Method
log
(message: string, data?: any)
x/henry/research-god/src/services/ai.ts:103
↓ 1,024 callers
Method
toString
()
connectors/src/connectors/gong/lib/errors.ts:138
↓ 982 callers
Method
findAll
(auth: Authenticator, { kind }: { kind?: TagKind } = {})
front/lib/resources/tags_resource.ts:130
↓ 916 callers
Function
normalizeError
(error: unknown)
front/types/shared/utils/error_utils.ts:13
↓ 907 callers
Function
cn
(...inputs: ClassValue[])
sparkle/src/lib/utils.ts:9
↓ 811 callers
Method
set
(key: string, value: unknown)
front/tests/utils/test_cls.ts:12
↓ 798 callers
Method
nullable
(&self)
core/src/databases/remote_databases/snowflake/api/row.rs:40
↓ 772 callers
Method
clone
(&self)
core/src/oauth/store.rs:46
↓ 715 callers
Method
findOne
( this: ModelStatic<M>, options?: WithIncludeDeleted<FindOptions<Attributes<M>>> )
front/lib/resources/storage/wrappers/workspace_models.ts:360
↓ 682 callers
Function
assert
( condition: unknown, message?: string )
front/lib/utils/assert.ts:4
↓ 666 callers
Function
validate
(target: Target, schema: Schema)
front-api/middlewares/validator.ts:20
↓ 657 callers
Method
basic
()
front/tests/utils/UserFactory.ts:6
↓ 651 callers
Method
split
( &self, credentials: Credentials, provider_id: ProviderID, model_id: &str,
core/src/data_sources/splitter.rs:480
↓ 600 callers
Function
createResourceTest
({ role = "user", isSuperUser = false, isByok = false, }: { role?: MembershipRoleType; isSuperUser?:
front/tests/utils/generic_resource_tests.ts:34
↓ 597 callers
Function
createPrivateApiMockRequest
({ method = "GET", role = "user", isSuperUser = false, workspace: existingWorkspace, }: { method?: R
front/tests/utils/generic_private_api_tests.ts:43
↓ 597 callers
Method
makeNew
( connectorId: ModelId, blob: ConnectorProviderModelMapping[T], transaction: Transaction )
connectors/src/resources/connector/strategy.ts:125
↓ 580 callers
Method
destroy
( providerId: string, tracingOpts: { workspaceId: string } )
front/lib/api/sandbox/provider.ts:128
↓ 555 callers
Method
from
( embedder: &Box<dyn Embedder + Sync + Send>, text: Option<&String>, )
core/src/data_sources/splitter.rs:23
↓ 552 callers
Method
mock
* Returns the module shape expected by `vi.mock("@app/lib/file_storage", ...)`.
front/tests/utils/mocks/file_storage.ts:66
↓ 549 callers
Method
isErr
()
sdks/js/src/types.ts:403
↓ 490 callers
Method
toJSON
()
front/lib/resources/app_resource.ts:302
↓ 476 callers
Method
parse
(block_pair: Pair<Rule>)
core/src/blocks/end.rs:13
↓ 462 callers
Method
update
( blob: Partial<Attributes<KeyModel>>, transaction?: Transaction )
front/lib/resources/key_resource.ts:130
↓ 460 callers
Method
getNonNullableUser
()
front/lib/auth.ts:1190
↓ 458 callers
Method
internalAdminForWorkspace
( workspaceId: string, options?: { dangerouslyRequestAllGroups: boolean; } )
front/lib/auth.ts:913
↓ 446 callers
Method
keys
(&self)
core/src/dataset.rs:89
↓ 440 callers
Method
request
( method: "GET" | "POST" | "PATCH" | "DELETE", path: string, schema: T, params?: Record<string
front/lib/api/actions/servers/luma/client.ts:73
↓ 433 callers
Method
associate
( space: SpaceResource, group: GroupResource, kind: "member" | "project_editor" | "project_viewer"
front/tests/utils/GroupSpaceFactory.ts:6
↓ 433 callers
Method
to_string
(&self)
core/src/blocks/block.rs:96
↓ 409 callers
Method
fromUserIdAndWorkspaceId
* 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 callers
Method
as_str
(self)
cli/dust-sandbox/src/commands/forward/deny_log.rs:42
↓ 400 callers
Function
workspaceApp
()
front-api/middlewares/ctx.ts:71
↓ 392 callers
Function
assertNever
(x: never)
front/types/shared/utils/assert_never.ts:7
↓ 376 callers
Method
toJSON
()
front/lib/auth.ts:1363
↓ 372 callers
Function
clientFetch
( input: RequestInfo | URL, init?: RequestInit )
front/lib/egress/client.ts:43
↓ 343 callers
Method
query
( sql: string | { query: string; values: unknown[] }, options?: QueryOptions | QueryOptionsWithType<an
front/lib/api/database.ts:210
↓ 342 callers
Method
default
()
core/src/utils.rs:167
↓ 338 callers
Function
isString
(value: unknown)
front/types/shared/utils/general.ts:8
↓ 337 callers
Method
post
( &self, path: &str, body: &B, )
cli/dust-sandbox/src/api/client.rs:90
↓ 336 callers
Method
delete
* 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 callers
Method
iter
(&self)
core/src/dataset.rs:93
↓ 321 callers
Method
safeParse
( data: unknown )
cli/dust-sandbox/functions-runner/invoke.ts:12
↓ 317 callers
Method
user
()
front/lib/api/workos_authenticator.ts:14
↓ 312 callers
Function
useFetcher
()
front/lib/swr/FetcherContext.tsx:11
↓ 311 callers
Method
exit
(context: CLSStore)
front/tests/utils/test_cls.ts:17
↓ 310 callers
Method
child
(additionalTags: string[])
front/lib/duration_recorder.ts:16
↓ 309 callers
Method
createTestAgent
( auth: Authenticator, overrides: Partial<{ name: string; description: string; scope
front/tests/utils/AgentConfigurationFactory.ts:12
↓ 299 callers
Method
add
(event: LLMEvent)
front/lib/api/llm/types/aggregates.ts:32
↓ 292 callers
Method
len
(&self)
core/src/app.rs:41
↓ 292 callers
Function
makeScript
( argumentSpecs: T, worker: WorkerFunction<InferArgs<T> & { execute: boolean }> )
front/scripts/helpers.ts:37
↓ 284 callers
Function
useSWRWithDefaults
( key: TKey, fetcher: Fetcher<TData, TKey> | null, config?: SWRConfiguration & { disabled?: boolean;
front/lib/swr/swr.ts:31
↓ 277 callers
Method
extend
(&mut self, other: &Self)
cli/dust-sandbox/src/egress_secrets/mod.rs:138
↓ 257 callers
Function
cn
(...inputs: ClassValue[])
viz/lib/utils.ts:4
↓ 257 callers
Function
concurrentExecutor
( items: T[] | readonly T[], iterator: (item: T, idx: number) => Promise<V>, { concurrency = 8 }: { conc
front/lib/utils/async_utils.ts:18
↓ 254 callers
Function
useSendNotification
(disableLogging: boolean = false)
front/hooks/useNotification.ts:6
↓ 250 callers
Method
project
(workspace: WorkspaceType, creatorId?: number)
front/tests/utils/SpaceFactory.ts:86
↓ 242 callers
Method
text
()
sdks/js/src/high_level/stream.ts:90
↓ 236 callers
Method
resolve
(&self, domain: &str, port: u16)
egress-proxy/src/dns.rs:13
↓ 233 callers
Function
generateRandomModelSId
(prefix?: string)
front/lib/resources/string_ids_server.ts:7
↓ 233 callers
Method
to_string
(&self)
core/src/run.rs:106
↓ 229 callers
Method
test
(&self)
core/src/providers/xai.rs:195
↓ 228 callers
Method
regular
(groupOrGroups: GroupResource | GroupResource[])
front/tests/utils/KeyFactory.ts:18
↓ 227 callers
Function
removeNulls
(arr: (T | null | undefined)[])
front/types/shared/utils/general.ts:4
↓ 227 callers
Method
to_string
(&self)
core/src/data_sources/splitter.rs:427
↓ 220 callers
Method
clone
(&self)
core/src/databases_store/store.rs:29
↓ 217 callers
Function
error_response
( status: StatusCode, code: &str, message: &str, e: Option<anyhow::Error>, )
core/src/utils.rs:129
↓ 207 callers
Function
now
()
core/src/utils.rs:73
↓ 205 callers
Method
update
({ connectionId, }: { connectionId?: string | null; })
connectors/src/connectors/gong/index.ts:160
↓ 198 callers
Function
buildAuditLogTarget
( type: T, resource: AuditTargetResourceMap[T] )
front/lib/api/audit/workos_audit.ts:397
↓ 185 callers
Method
write
* 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 callers
Function
dataSourceConfigFromConnector
( connector: ConnectorResource )
connectors/src/lib/api/data_source_config.ts:4
↓ 168 callers
Function
createTreeItem
( path: string, name?: string )
front/components/data_source_view/context/utils.test.ts:10
↓ 159 callers
Function
emptyArray
()
front/lib/swr/swr.ts:23
↓ 157 callers
Method
status
(&self)
core/src/run.rs:275
↓ 155 callers
Method
record
(metricName: string)
front/lib/duration_recorder.ts:23
↓ 154 callers
Method
insert
(&mut self, pattern: &str)
cli/dust-sandbox/src/egress_secrets/mod.rs:126
↓ 152 callers
Function
getStatsDClient
()
front/lib/utils/statsd.ts:5
↓ 151 callers
Method
query
( &self, query: &str, timeout_ms: u64, )
core/src/sqlite_workers/sqlite_database.rs:85
↓ 151 callers
Function
renderLightWorkspaceType
({ workspace, role = "none", }: { workspace: | WorkspaceResource | WorkspaceModel | Workspac
front/lib/workspace.ts:11
↓ 151 callers
Method
workspace
()
front/lib/api/workos_authenticator.ts:13
↓ 149 callers
Method
increment
(detail?: string)
front/scripts/migrate_legacy_manual_internal_mcp_server_ids_to_auto.ts:87
↓ 140 callers
Function
pokeApp
()
front-api/middlewares/ctx.ts:72
↓ 140 callers
Method
send
(message: JSONRPCMessage)
cli/dust-cli/src/mcp/servers/cliTransport.ts:60
↓ 139 callers
Function
getConversation
( auth: Authenticator, conversationId: string, includeDeleted: boolean = false, branchId: string | nul
front/lib/api/assistant/conversation/fetch.ts:56
↓ 138 callers
Function
classNames
(...classes: (string | null | boolean)[])
marketing/lib/utils.ts:7
↓ 138 callers
Method
run
(fn: (context?: CLSStore) => void)
front/tests/utils/test_cls.ts:14
↓ 135 callers
Method
fetchByIds
( auth: Authenticator, ids: string[] )
front/lib/resources/app_resource.ts:69
↓ 133 callers
Method
getEnvVariable
(key: string)
front/types/shared/utils/config.ts:4
↓ 132 callers
Function
useAppRouter
()
front/lib/platform/index.ts:24
↓ 131 callers
Method
clone
(&self)
core/src/stores/store.rs:454
↓ 131 callers
Method
remove
* 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 callers
Function
dateFromDaysAgo
(days: number)
front/lib/resources/conversation_resource.test.ts:87
next →
1–100 of 24,692, ranked by callers