Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/thunderbird/thunderbolt
/ functions
Functions
1,802 in github.com/thunderbird/thunderbolt
⨍
Functions
1,802
◇
Types & classes
58
↓ 5 callers
Function
extractCountryFromLocation
(locationName: string)
src/lib/country-utils.ts:10
↓ 5 callers
Function
fetchContent
(params: FetchContentParams, httpClient: HttpClient)
src/integrations/thunderbolt-pro/api.ts:50
↓ 5 callers
Function
getAllModes
(db: AnyDrizzleDatabase)
src/dal/modes.ts:17
↓ 5 callers
Function
getCorsMethodsList
(settings: Settings)
backend/src/config/settings.ts:221
↓ 5 callers
Method
getCurrentWeather
* Get current weather for a location
backend/src/pro/weather.ts:137
↓ 5 callers
Function
getInferenceClient
(provider: InferenceProvider, fetchFn?: typeof fetch)
backend/src/inference/client.ts:181
↓ 5 callers
Function
getOAuthRedirectUri
()
src/lib/oauth-redirect.ts:16
↓ 5 callers
Function
getPostHogClient
(fetchFn?: typeof fetch)
backend/src/posthog/client.ts:14
↓ 5 callers
Function
getPrompt
(db: AnyDrizzleDatabase, id: string)
src/dal/prompts.ts:126
↓ 5 callers
Function
getSafeLogMessage
(error: unknown)
backend/src/middleware/error-handling.ts:40
↓ 5 callers
Function
getSelectedMode
(db: AnyDrizzleDatabase)
src/dal/modes.ts:39
↓ 5 callers
Function
getSelectedModel
(db: AnyDrizzleDatabase)
src/dal/models.ts:92
↓ 5 callers
Function
getSidebarWidth
()
src/components/ui/mobile-sidebar.tsx:33
↓ 5 callers
Function
getToolMetadataSync
(toolName: string, input?: unknown)
src/lib/tool-metadata.ts:243
↓ 5 callers
Function
getUserByEmail
(database: typeof DbType, email: string)
backend/src/dal/users.ts:19
↓ 5 callers
Function
getWaitlistByEmail
(database: typeof DbType, email: string)
backend/src/dal/waitlist.ts:10
↓ 5 callers
Function
handlePostUpdateRedirect
()
src/lib/post-update-redirect.ts:28
↓ 5 callers
Function
handleResetLocalizationSetting
( settingType: 'distance' | 'temperature' | 'date' | 'time' | 'currency', )
src/settings/preferences.tsx:295
↓ 5 callers
Function
loadTauriModules
()
src/lib/tray.tsx:15
↓ 5 callers
Function
makeText
(content: string)
src/components/chat/text-part.test.ts:236
↓ 5 callers
Function
pad
(n: number)
src/ai/eval/report.ts:24
↓ 5 callers
Function
parseEnhancedSseFile
(fileContent: string)
src/ai/streaming/util.ts:79
↓ 5 callers
Function
quoteId
(name: string)
src/db/apply-schema.ts:17
↓ 5 callers
Function
renderFormHook
(httpClient: HttpClient)
src/components/sign-in/use-sign-in-form-state.test.ts:23
↓ 5 callers
Function
renderModal
( props: Partial<{ open: boolean; onOpenChange: (open: boolean) => void; showCloseButton: boolean }> = {},
src/components/ui/responsive-modal.test.tsx:27
↓ 5 callers
Function
respondToRegister
(response: unknown)
src/services/encryption.test.ts:115
↓ 5 callers
Function
respondToStoreEnvelope
(response: unknown)
src/services/encryption.test.ts:123
↓ 5 callers
Function
sourceToCitation
(source: SourceMetadata, isPrimary = true)
src/lib/source-utils.ts:13
↓ 5 callers
Function
storeEnvelope
( httpClient: HttpClient, params: { deviceId: string; wrappedCK: string; canaryIv?: string; canaryCtext?:
src/api/encryption.ts:54
↓ 5 callers
Function
uint8ArrayToBase64
(bytes: Uint8Array)
src/crypto/primitives.ts:309
↓ 5 callers
Function
useAppInitialization
(httpClient?: HttpClient)
src/hooks/use-app-initialization.ts:179
↓ 5 callers
Function
useCredentialEvents
()
src/hooks/use-credential-events.ts:20
↓ 5 callers
Function
useSignInFormState
({ authClient, httpClient, onCancel, onEmailSent, initialEmail, skipToOtp, initialChallengeToken
src/components/sign-in/use-sign-in-form-state.ts:136
↓ 5 callers
Function
useSyncEnabledToggle
()
src/hooks/use-sync-enabled-toggle.ts:19
↓ 5 callers
Function
useThrottledCallback
( callback: T, interval: number, )
src/hooks/use-throttle.tsx:54
↓ 5 callers
Function
verifyCanary
( ck: CryptoKey, canaryIv: string, canaryCtext: string, )
src/crypto/canary.ts:40
↓ 4 callers
Function
baseApiResponseSchema
(dataSchema: T)
backend/src/pro/types.ts:11
↓ 4 callers
Function
buildRawMessage
(params: DraftEmailParams)
src/integrations/google/utils.ts:78
↓ 4 callers
Function
buildVerifyUrl
(appUrl: string, email: string, otp: string, challengeToken?: string)
backend/src/auth/utils.tsx:38
↓ 4 callers
Function
collectPageErrors
(page: Page)
e2e/helpers.ts:63
↓ 4 callers
Function
completeFirstDeviceSetup
(httpClient: HttpClient)
src/services/encryption.ts:100
↓ 4 callers
Function
createConfigRoutes
(settings: Settings)
backend/src/api/config.ts:9
↓ 4 callers
Function
createDefaultModelProfile
(db: AnyDrizzleDatabase, modelId: string)
src/dal/model-profiles.ts:40
↓ 4 callers
Function
createMainRoutes
(auth: Auth, fetchFn: typeof fetch = globalThis.fetch)
backend/src/api/routes.ts:24
↓ 4 callers
Function
createMockAutomationRun
(overrides?: Partial<AutomationRun>)
src/test-utils/chat-store-mocks.ts:54
↓ 4 callers
Function
createOidcConfigRoutes
()
backend/src/auth/oidc.ts:10
↓ 4 callers
Function
createProps
(overrides?: Partial<ChatListItemProps>)
src/layout/sidebar/chat-list-item.test.tsx:56
↓ 4 callers
Function
createRouterWrapper
(locationState?: unknown)
src/components/onboarding/onboarding-dialog.test.tsx:33
↓ 4 callers
Function
createSimulatedFetch
(chunks: string[], options: SimulatedFetchOptions = {})
src/ai/streaming/util.ts:138
↓ 4 callers
Function
createTestApp
(throwFn: () => never)
backend/src/middleware/error-handling.test.ts:88
↓ 4 callers
Function
createUniversalProxyRoutes
( auth: Auth, fetchFn: typeof fetch = globalThis.fetch, rateLimit?: AnyElysia, )
backend/src/proxy/routes.ts:41
↓ 4 callers
Function
deleteTasks
(db: AnyDrizzleDatabase, ids: string[])
src/dal/tasks.ts:82
↓ 4 callers
Function
deriveFaviconUrl
(pageUrl: string, proxyBase?: string)
src/lib/url-utils.ts:33
↓ 4 callers
Function
dismissDownloadBanner
()
src/lib/download-banner-session.ts:38
↓ 4 callers
Function
ensureValidToken
( httpClient: HttpClient, credentials: { access_token: string; refresh_token: string; expires_at?: number
src/integrations/microsoft/tools.ts:172
↓ 4 callers
Function
exportMlKemPublicKey
(publicKey: Uint8Array)
src/crypto/primitives.ts:65
↓ 4 callers
Function
fakeFetchHandler
(_req: Request)
backend/src/middleware/rate-limit.test.ts:300
↓ 4 callers
Function
fallbackTitle
(relPath: string)
web/src/loaders/repo-docs-loader.ts:133
↓ 4 callers
Function
fetchConfig
(cloudUrl: string, httpClient?: HttpClient)
src/api/config.ts:13
↓ 4 callers
Function
filterHeaders
( headers: T, denylist: (string | RegExp)[], )
backend/src/utils/request.ts:97
↓ 4 callers
Function
getActiveSessionByToken
(database: typeof DbType, token: string)
backend/src/dal/sessions.ts:10
↓ 4 callers
Function
getAllTasks
(db: AnyDrizzleDatabase)
src/dal/tasks.ts:15
↓ 4 callers
Function
getContextSizeForThread
(db: AnyDrizzleDatabase, threadId: string)
src/dal/chat-threads.ts:112
↓ 4 callers
Function
getDatabaseInstance
()
src/db/database.ts:138
↓ 4 callers
Function
getDefaultMode
(db: AnyDrizzleDatabase)
src/dal/modes.ts:26
↓ 4 callers
Function
getDefaultModelForThread
( db: AnyDrizzleDatabase, threadId: string, fallbackModelId?: string, )
src/dal/models.ts:105
↓ 4 callers
Function
getEmail
( params: GetEmailParams, httpClient: HttpClient = http, auth: GoogleAuthDeps = defaultAuthDeps, )
src/integrations/google/tools.ts:433
↓ 4 callers
Function
getEncryptionMetadata
(database: typeof DbType, userId: string)
backend/src/dal/encryption.ts:50
↓ 4 callers
Function
getIconComponent
(provider: OAuthProvider, service: 'email' | 'calendar' | 'both')
src/widgets/connect-integration/widget.tsx:54
↓ 4 callers
Function
getIncompleteTasksCount
(db: AnyDrizzleDatabase)
src/dal/tasks.ts:48
↓ 4 callers
Function
getKeyPair
()
src/crypto/key-storage.ts:165
↓ 4 callers
Function
getLastMessage
(db: AnyDrizzleDatabase, threadId: string)
src/dal/chat-messages.ts:38
↓ 4 callers
Function
getMicrosoftCredentials
()
src/integrations/microsoft/tools.ts:149
↓ 4 callers
Function
getMigrationsFolder
()
backend/src/db/client.ts:44
↓ 4 callers
Function
getMode
(db: AnyDrizzleDatabase, id: string)
src/dal/modes.ts:62
↓ 4 callers
Function
getSelectedModelQuery
(db: AnyDrizzleDatabase)
src/dal/models.ts:55
↓ 4 callers
Function
getTimestampKey
(key: string)
src/hooks/use-oauth-connect.ts:20
↓ 4 callers
Function
getWebOsPlatform
()
src/lib/platform.ts:70
↓ 4 callers
Function
groupMessageParts
(parts: GroupableUIPart[])
src/lib/assistant-message.ts:56
↓ 4 callers
Function
hasSkeleton
(container: HTMLElement)
src/widgets/link-preview/widget.test.tsx:50
↓ 4 callers
Function
insertUser
(id: string, email: string, isNew = true)
backend/src/dal/users.test.ts:15
↓ 4 callers
Function
isPrPreview
()
src/lib/platform.ts:17
↓ 4 callers
Function
isValidEmailFormat
(email: string)
src/lib/utils.ts:293
↓ 4 callers
Function
linkSessionToDevice
( database: typeof DbType, sessionId: string, deviceId: string, userId: string, )
backend/src/dal/sessions.ts:19
↓ 4 callers
Function
mockLocation
(pathname: string)
src/lib/post-update-redirect.test.ts:8
↓ 4 callers
Function
mockTokenPresent
()
src/components/auth-gate/use-auth-gate.test.ts:29
↓ 4 callers
Function
onError
()
web/src/components/marketing/sections/contact-page.tsx:87
↓ 4 callers
Function
onFormDirtyChange
(isDirty: boolean)
src/components/onboarding/onboarding-location-step.test.tsx:255
↓ 4 callers
Function
parseSseLog
(sseLog: string)
src/ai/streaming/util.ts:162
↓ 4 callers
Function
previewSecret
(resourceName: string, fallback: string, length = 48)
deploy/pulumi/index.ts:90
↓ 4 callers
Function
processChildren
(children: ReactNode, citations?: CitationMap)
src/components/chat/markdown-utils.tsx:168
↓ 4 callers
Function
rateEmoji
(rate: number)
src/ai/eval/report.ts:9
↓ 4 callers
Function
recoverWithKey
(httpClient: HttpClient, recoveryPhrase: string)
src/services/encryption.ts:258
↓ 4 callers
Function
registerDevice
( httpClient: HttpClient, params: { deviceId: string; publicKey: string; mlkemPublicKey: string; name?: st
src/api/encryption.ts:42
↓ 4 callers
Function
registerThisDevice
(httpClient: HttpClient)
src/services/encryption.ts:77
↓ 4 callers
Function
renderComponent
()
src/components/account-deleted.test.tsx:30
↓ 4 callers
Function
renderWithProviders
(props: ChatListItemProps)
src/layout/sidebar/chat-list-item.test.tsx:47
↓ 4 callers
Function
resetCodecState
()
src/db/encryption/codec.ts:52
↓ 4 callers
Function
respondToFetchCanary
(response: unknown)
src/services/encryption.test.ts:139
↓ 4 callers
Function
revokeDeviceSessions
(database: typeof DbType, deviceId: string, userId: string)
backend/src/dal/sessions.ts:31
← previous
next →
401–500 of 1,802, ranked by callers