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
↓ 2 callers
Function
handleProxy
( targetBaseUrl: string, subPath: string, ctx: { headers: Record<string, string | undefined> que
backend/src/mcp-proxy/routes.ts:39
↓ 2 callers
Function
importMlKemPublicKey
(base64: string)
src/crypto/primitives.ts:68
↓ 2 callers
Function
importPublicKey
(base64: string)
src/crypto/primitives.ts:38
↓ 2 callers
Method
init
()
src/lib/tray.tsx:53
↓ 2 callers
Function
isDbRegistered
()
src/db/database.ts:149
↓ 2 callers
Function
isOpfsAvailable
()
src/lib/platform.ts:145
↓ 2 callers
Function
isProviderConnected
( provider: OAuthProvider | null, integrationStatus: { googleConnected: boolean; microsoftConnected: boole
src/widgets/connect-integration/widget.tsx:72
↓ 2 callers
Function
isWebDesktopPlatform
()
src/lib/platform.ts:105
↓ 2 callers
Function
isWebMobilePlatform
()
src/lib/platform.ts:99
↓ 2 callers
Function
issuePowerSyncToken
( userId: string, request: Request, powersyncJwt: { sign: (payload: { sub: string; user_id: string }) =>
backend/src/api/powersync.ts:86
↓ 2 callers
Function
mapMode
(row: ModeRow)
src/dal/modes.ts:11
↓ 2 callers
Function
mapSyncStatus
(syncStatus: SyncStatus)
src/hooks/use-powersync-status.ts:35
↓ 2 callers
Function
markUserNotNew
(database: typeof DbType, id: string)
backend/src/dal/users.ts:31
↓ 2 callers
Function
memoize
(fn: Fn, key?: string)
src/lib/memoize.ts:38
↓ 2 callers
Function
mockOAuthCallbackData
()
src/test-utils/oauth.ts:45
↓ 2 callers
Function
mockOAuthErrorCallbackData
()
src/test-utils/oauth.ts:53
↓ 2 callers
Function
mql
()
src/hooks/use-mobile.ts:8
↓ 2 callers
Function
normalizeDynamicFields
(obj: any)
src/ai/streaming/util.ts:272
↓ 2 callers
Method
observe
()
src/content-view/use-sidebar-webview.test.ts:15
↓ 2 callers
Function
onResize
()
src/hooks/use-viewport-lock.ts:58
↓ 2 callers
Function
onSignInSuccess
(isNewUser: boolean)
src/components/sign-in/use-sign-in-form-state.ts:112
↓ 2 callers
Function
openSignInModal
()
src/contexts/sign-in-modal-context.tsx:42
↓ 2 callers
Function
parseCookieValue
(cookieHeader: string, name: string)
backend/src/auth/sso-desktop-callback.ts:17
↓ 2 callers
Function
parseCredentials
(credentialsJson: string)
src/settings/integrations.tsx:52
↓ 2 callers
Function
parseJson
(json: string)
src/lib/citation-utils.ts:29
↓ 2 callers
Function
parseStream
(response: Response)
src/ai/eval/stream-parser.ts:20
↓ 2 callers
Function
parseWidth
(width: string)
src/hooks/use-sidebar-resize.ts:104
↓ 2 callers
Function
performCredentialsInvalidReset
(redirectTo: string)
src/hooks/use-powersync-credentials-invalid-listener.ts:22
↓ 2 callers
Function
pinnedUrl
(url: string)
backend/src/proxy/routes.test.ts:27
↓ 2 callers
Function
processLine
(line: string)
src/ai/eval/stream-parser.ts:34
↓ 2 callers
Function
reconcileDefaults
(db: AnyDrizzleDatabase)
src/lib/reconcile-defaults.ts:82
↓ 2 callers
Method
reconnect
* Force a disconnect + reconnect cycle, guarded against concurrent attempts. * Used by both the visibility reconnect handler and manual retry butto
src/db/powersync/database.ts:276
↓ 2 callers
Function
resetAppDir
()
src/lib/fs.ts:89
↓ 2 callers
Function
resetIdleTimer
(controller: TransformStreamDefaultController<Uint8Array>)
backend/src/proxy/streaming.ts:19
↓ 2 callers
Function
resetModelProfileToDefault
(db: AnyDrizzleDatabase, modelId: string)
src/dal/model-profiles.ts:64
↓ 2 callers
Function
resetPosthogClient
()
src/lib/posthog.tsx:20
↓ 2 callers
Function
rowToArray
(row: Record<string, any>)
src/db/bun-sqlite-database.ts:14
↓ 2 callers
Function
runAutomation
(db: AnyDrizzleDatabase, promptId: string)
src/dal/prompts.ts:150
↓ 2 callers
Function
saveCredentials
( provider: OAuthProvider, tokens: { access_token: string; refresh_token?: string; expires_in: number
src/hooks/use-oauth-connect.ts:134
↓ 2 callers
Function
saveMessages
()
src/ai/eval/runner.ts:122
↓ 2 callers
Function
saveMessages
({ id, messages })
src/chats/use-hydrate-chat-store.ts:61
↓ 2 callers
Function
searchLocations
(params: SearchLocationParams, httpClient: HttpClient)
src/integrations/thunderbolt-pro/api.ts:178
↓ 2 callers
Function
setOpen
(open: boolean)
src/hooks/use-location-search.ts:103
↓ 2 callers
Function
setPostUpdateFlag
()
src/lib/post-update-redirect.ts:11
↓ 2 callers
Function
setRateLimitHeaders
( headers: Record<string, string | string[] | number>, limit: number, remaining: number, resetSecs: nu
backend/src/middleware/rate-limit.ts:52
↓ 2 callers
Function
setSearchQuery
(query: string)
src/hooks/use-location-search.ts:104
↓ 2 callers
Function
setSelectedSse
(value: string)
src/devtools/message-simulator.tsx:252
↓ 2 callers
Function
setupAuthAndDevice
(deviceOverrides?: { revokedAt?: string | null })
src/hooks/use-powersync-credentials-invalid-listener.test.tsx:85
↓ 2 callers
Function
shouldExclude
(key: string)
backend/src/utils/request.ts:101
↓ 2 callers
Function
shouldShowDownloadBanner
()
src/lib/download-banner-session.ts:30
↓ 2 callers
Function
snakeCased
(str: string)
src/lib/utils.ts:57
↓ 2 callers
Function
startConnecting
(key: string)
src/hooks/use-oauth-connect.ts:124
↓ 2 callers
Function
startServer
()
backend/src/index.ts:125
↓ 2 callers
Function
stopAllSpinners
()
src/ai/eval/ui.ts:198
↓ 2 callers
Method
stopVisibilityReconnect
()
src/db/powersync/database.ts:355
↓ 2 callers
Function
toSchemaRecord
( dbRecord: Record<string, unknown>, validDbNames: Set<string>, dbNameToKey: Record<string, string>, )
backend/src/dal/powersync.ts:40
↓ 2 callers
Function
toggle
(element: HTMLElement)
src/components/chat/citation-badge.tsx:59
↓ 2 callers
Method
transformBucket
Transforms a single sync data bucket through the middleware pipeline.
src/db/powersync/TransformableBucketStorage.ts:123
↓ 2 callers
Function
trigger401
()
src/contexts/auth-context.test.ts:25
↓ 2 callers
Function
triggerNotification
(type: NotificationFeedbackType)
src/lib/haptics.ts:16
↓ 2 callers
Function
unwrapCKInternal
( wrappedBase64: string, ecdhPrivateKey: CryptoKey, mlkemSecretKey: Uint8Array, extractable: boolean,
src/crypto/primitives.ts:207
↓ 2 callers
Function
updateFiles
()
scripts/create-release.test.ts:321
↓ 2 callers
Function
updateMessageCache
( db: AnyDrizzleDatabase, messageId: string, cacheKey: string, value: unknown, )
src/dal/chat-messages.ts:121
↓ 2 callers
Function
upsertModelProfile
( db: AnyDrizzleDatabase, data: Partial<ModelProfile> & Pick<ModelProfile, 'modelId'>, )
src/dal/model-profiles.ts:25
↓ 2 callers
Function
useApproveDevice
(pendingDevices: Device[])
src/hooks/use-approve-device.ts:14
↓ 2 callers
Function
useCitationPopover
()
src/components/chat/citation-popover.tsx:38
↓ 2 callers
Function
useContextTracking
({ model, chatThreadId, currentInput, }: UseContextTrackingProps)
src/hooks/use-context-tracking.ts:31
↓ 2 callers
Function
useDebounce
(value: T, delay: number)
src/hooks/use-debounce.tsx:13
↓ 2 callers
Function
useDenyDevice
()
src/hooks/use-deny-device.ts:15
↓ 2 callers
Function
useMcpSync
()
src/hooks/use-mcp-sync.tsx:12
↓ 2 callers
Function
useObjectView
()
src/content-view/context.tsx:130
↓ 2 callers
Function
useOpenExternalLink
()
src/components/chat/markdown-utils.tsx:41
↓ 2 callers
Function
usePageSearchContext
()
src/components/ui/page-search.tsx:22
↓ 2 callers
Function
usePendingDeviceNotification
()
src/hooks/use-pending-device-notification.ts:13
↓ 2 callers
Function
usePowerSyncStatus
()
src/hooks/use-powersync-status.ts:98
↓ 2 callers
Function
validateDeviceForSync
( userId: string, request: Request, database: typeof DbType, { e2eeEnabled }: Pick<Settings, 'e2eeEnab
backend/src/api/powersync.ts:35
↓ 2 callers
Function
validateOrigin
(request: Request, appSettings: Settings)
backend/src/api/powersync.ts:75
↓ 2 callers
Function
verifyAgainstHash
(canarySecret: string, storedHash: string)
backend/src/lib/canary.ts:17
↓ 2 callers
Function
verifyCanaryProofWithMetadata
( canarySecret: string, storedHash: string | null | undefined, )
backend/src/lib/canary.ts:40
↓ 1 callers
Function
addLanguagePills
()
web/src/scripts/docs-client.ts:33
↓ 1 callers
Function
addServer
(server: { id: string; name: string; url: string; enabled: boolean })
src/lib/mcp-provider.tsx:110
↓ 1 callers
Function
advanceSessionState
()
src/lib/download-banner-session.ts:8
↓ 1 callers
Function
animateClose
()
src/components/ui/mobile-sidebar.tsx:70
↓ 1 callers
Function
animateOpen
()
src/components/ui/mobile-sidebar.tsx:55
↓ 1 callers
Function
appendSearchParams
(url: string, searchParams: RequestOptions['searchParams'])
src/lib/http.ts:51
↓ 1 callers
Function
applyAstroHeader
(content: string)
scripts/license-headers.ts:121
↓ 1 callers
Function
applyHeader
(content: string, path: string)
scripts/license-headers.ts:89
↓ 1 callers
Function
applyOperation
( database: typeof DbType, op: PowerSyncOperation, userId: string, )
backend/src/dal/powersync.ts:65
↓ 1 callers
Function
buildCreateIndexSQL
(tableName: string, index: Index)
src/db/apply-schema.ts:50
↓ 1 callers
Function
buildCreateTableSQL
(table: SQLiteTable)
src/db/apply-schema.ts:23
↓ 1 callers
Function
buildMisconfiguredMessage
(provider: OAuthProvider, missing: MissingPart)
src/lib/auth.ts:43
↓ 1 callers
Function
buildPageImageUrl
(pageUrl: string, cloudUrl: string | null)
src/widgets/link-preview/widget.tsx:58
↓ 1 callers
Function
buildSsoPlugins
()
backend/src/auth/auth.ts:42
↓ 1 callers
Function
bumpVersion
(current: string, type: 'major' | 'minor' | 'patch')
scripts/create-release.ts:141
↓ 1 callers
Function
cancelPending
(httpClient: HttpClient)
src/api/encryption.ts:100
↓ 1 callers
Function
check
()
src/hooks/use-approval-polling.ts:53
↓ 1 callers
Function
checkCriteria
( criteria: EvalCriteria, parsed: ParsedStream, citations: string[], linkPreviewUrls: string[], home
src/ai/eval/scoring.ts:130
↓ 1 callers
Function
checkEncryptionMigration
()
src/hooks/use-sync-enabled-toggle.ts:35
↓ 1 callers
Function
checkSelfRecovery
( txDb: typeof DbType, userId: string, callerDeviceId: string, deviceId: string, canarySecret?: stri
backend/src/api/encryption.ts:32
↓ 1 callers
Function
cleanupWebview
()
src/content-view/use-sidebar-webview.ts:170
← previous
next →
701–800 of 1,802, ranked by callers