Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAnonymity/oa-chat
/ functions
Functions
2,047 in github.com/OpenAnonymity/oa-chat
⨍
Functions
2,047
◇
Types & classes
86
↓ 1 callers
Function
processCitationTags
(text, contentReferences)
chat/services/importers/chatgptImporter.js:200
↓ 1 callers
Method
processImportFile
* Processes the selected import file. * @param {File} file - The backup JSON file
chat/components/ChatInput.js:2088
↓ 1 callers
Method
processMemoryImportFile
(file)
chat/components/ChatInput.js:2121
↓ 1 callers
Method
processTicketsImportFile
* Processes the selected tickets import file. * @param {File} file - The tickets JSON file
chat/components/ChatInput.js:2042
↓ 1 callers
Method
pruneMemoryRetrievedContextFromMessage
(session, messages, messageIndex)
chat/app.js:4564
↓ 1 callers
Function
pruneUnusedFiles
(keep)
scripts/sync-fonts.mjs:124
↓ 1 callers
Function
readFileSample
(file, size = 2048)
chat/services/chatHistoryImportRegistry.js:53
↓ 1 callers
Function
readJsonLines
(response, onLine)
local_inference/backends/ollamaBackend.js:3
↓ 1 callers
Function
readOmfFile
(file)
chat/services/omfImporter.js:73
↓ 1 callers
Function
readSSE
(response, onMessage)
local_inference/backends/httpOpenAIBackend.js:8
↓ 1 callers
Method
redactPrompt
(text, session)
chat/services/scrubberService.js:433
↓ 1 callers
Method
redeemInviteCode
(inviteCode)
chat/components/ThanksPanel.js:171
↓ 1 callers
Method
refreshAccessAfterCreditExhaustion
(session, { typingId = null } = {})
chat/app.js:3577
↓ 1 callers
Method
refreshSessionsFromDb
()
chat/components/ChatHistoryImportModal.js:586
↓ 1 callers
Method
refreshTokenInBackground
* Refresh the access token in the background without blocking init. * Called after session restoration when we have a persisted master key.
chat/services/accountService.js:769
↓ 1 callers
Method
registerPasskeyForPreparedAccount
* Step 2: Register a passkey for the pending account. * Uses the challenge from prepareAccount(), creates credential. * @returns {Promise<bo
chat/services/accountService.js:849
↓ 1 callers
Method
reloadPreferenceFromDatabase
(key)
chat/services/preferencesStore.js:392
↓ 1 callers
Method
remove
(ids)
vector/oramaBackend.js:108
↓ 1 callers
Method
removeEditAttachment
(messageId, index)
chat/app.js:6615
↓ 1 callers
Method
removeGlobalEscapeHandler
* Remove global Escape key handler.
chat/components/ChatInput.js:1310
↓ 1 callers
Method
removeLocalOnlyMessagesAfter
(sessionId, messageId)
chat/app.js:4405
↓ 1 callers
Method
removeMessagesAfter
* Removes all messages that come after the specified message ID in the DOM. * @param {string} messageId - The reference message ID
chat/components/ChatArea.js:1909
↓ 1 callers
Method
render
()
chat/components/ProxyInfoModal.js:36
↓ 1 callers
Method
renderAccountUI
()
chat/components/AccountModal.js:603
↓ 1 callers
Method
renderCodeAuditability
(container, v)
chat/components/VerifierAttestationModal.js:1042
↓ 1 callers
Method
renderConnectionInfo
(tlsInfo)
chat/components/TLSSecurityModal.js:306
↓ 1 callers
Method
renderContent
()
chat/components/VerifierAttestationModal.js:838
↓ 1 callers
Method
renderCreationActions
(step)
chat/components/AccountModal.js:547
↓ 1 callers
Method
renderCreationBody
(step)
chat/components/AccountModal.js:442
↓ 1 callers
Method
renderCreationFlow
()
chat/components/AccountModal.js:426
↓ 1 callers
Method
renderDeleteHistoryModalContent
()
chat/app.js:6972
↓ 1 callers
Method
renderError
()
chat/components/VerifierAttestationModal.js:822
↓ 1 callers
Method
renderFullList
(sessionsToRender)
chat/components/Sidebar.js:586
↓ 1 callers
Method
renderIndicators
()
chat/components/MessageNavigation.js:109
↓ 1 callers
Method
renderLoading
()
chat/components/VerifierAttestationModal.js:813
↓ 1 callers
Function
renderNetworkLog
(log, isExpanded = false, isMinimal = false)
chat/services/networkLogRenderer.js:503
↓ 1 callers
Function
renderNewline
()
chat/services/editableDiffRenderer.js:131
↓ 1 callers
Method
renderNoConnection
(status)
chat/components/TLSSecurityModal.js:330
↓ 1 callers
Method
renderRecoveryCompleteUI
()
chat/components/AccountModal.js:895
↓ 1 callers
Method
renderRecoveryFlowUI
()
chat/components/AccountModal.js:856
↓ 1 callers
Method
renderRedeemingStep
()
chat/components/WelcomePanel.js:1273
↓ 1 callers
Method
renderScrubberPreview
(originalText, redactedText)
chat/components/ChatInput.js:732
↓ 1 callers
Method
renderSuccessStep
()
chat/components/WelcomePanel.js:1311
↓ 1 callers
Method
renderTaggedPromptEditable
(text)
chat/components/ChatArea.js:1276
↓ 1 callers
Function
renderTaggedPromptInline
(text)
chat/components/MessageTemplates.js:103
↓ 1 callers
Method
renderThanksStep
()
chat/components/ThanksPanel.js:271
↓ 1 callers
Method
renderWasmIntegrity
()
chat/components/TLSSecurityModal.js:258
↓ 1 callers
Method
renderWelcomeStep
()
chat/components/WelcomePanel.js:932
↓ 1 callers
Method
renderZeroTrustSection
(attestation, verification, evidence)
chat/components/VerifierAttestationModal.js:1149
↓ 1 callers
Method
renderZeroTrustStep
(step)
chat/components/VerifierAttestationModal.js:1415
↓ 1 callers
Method
repositionOriginalTooltip
()
chat/components/ChatInput.js:941
↓ 1 callers
Method
requestApiKey
* Request an API key by redeeming inference tickets. * * Unlinkability: the org/station receives finalized tickets and returns an API key.
chat/services/ticketClient.js:882
↓ 1 callers
Method
requestConfidentialKey
* Request a confidential key from org using inference tickets. * Delegates to ticketClient for the actual request. * @returns {Promise<Objec
chat/services/scrubberService.js:287
↓ 1 callers
Method
requestFreeAccess
(email, { cfTurnstileResponse } = {})
chat/services/ticketClient.js:362
↓ 1 callers
Method
requestToken
* Request a Turnstile token. * - If already available (invisible pass), resolves immediately. * - If Turnstile needs interaction, shows the
chat/components/TurnstileBubble.js:91
↓ 1 callers
Method
resetWelcomeDialogAnchor
()
chat/components/WelcomePanel.js:336
↓ 1 callers
Method
resizeInputForExpandedPreview
()
chat/components/ChatInput.js:514
↓ 1 callers
Function
resolveBackend
(backend, options)
embeddings/embeddingService.js:22
↓ 1 callers
Function
resolveBackend
(backend, options)
vector/index.js:23
↓ 1 callers
Function
resolveMemoryAgentModel
(model)
chat/services/memoryBridge.js:79
↓ 1 callers
Function
resolveModelDisplayName
({ modelId, fallbackDisplayName, displayNameOverrides = {} })
chat/services/modelNames.js:162
↓ 1 callers
Method
resolveModelForQuickAsk
(session)
chat/app.js:6259
↓ 1 callers
Function
resolveModelType
(webllmModule, model)
local_inference/backends/webllmBackend.js:57
↓ 1 callers
Method
resolvePendingMemoryApprovalsAsSkipped
()
chat/app.js:4278
↓ 1 callers
Function
resolveWebLLMGlobal
()
local_inference/backends/webllmBackend.js:17
↓ 1 callers
Method
restartBroadcastInterval
* Restart the broadcast interval with current interval setting
chat/services/verifier.js:146
↓ 1 callers
Method
restorePromptSlideUpEffectForSession
(sessionId, messageId, { primeRunway = false } = {})
chat/app.js:879
↓ 1 callers
Method
restoreQuickAskWindowAfterRender
(panel, sessionId)
chat/components/ChatArea.js:823
↓ 1 callers
Method
restoreSessionScrollPosition
* Restores the scroll position for the provided session if available. * @param {string} sessionId * @returns {boolean} True when a stored sc
chat/app.js:1028
↓ 1 callers
Method
restoreSidebarWidthPreference
()
chat/components/Sidebar.js:454
↓ 1 callers
Function
rewriteCss
(cssText)
scripts/sync-fonts.mjs:82
↓ 1 callers
Method
runApiKeyTest
()
chat/components/RightPanel.js:1228
↓ 1 callers
Method
runPostTurnMemoryExtraction
(session)
chat/app.js:4078
↓ 1 callers
Function
runQueue
(items, worker, limit)
scripts/sync-fonts.mjs:111
↓ 1 callers
Method
runScrubberShortcut
()
chat/components/ChatInput.js:550
↓ 1 callers
Function
saveAvailabilityCache
(normalized)
chat/services/modelConfig.js:145
↓ 1 callers
Function
saveCache
* Save data to localStorage cache.
chat/services/modelTiers.js:75
↓ 1 callers
Function
saveModelCatalog
(backendId, models)
chat/services/modelCatalogCache.js:113
↓ 1 callers
Method
scheduleAutoGrow
* Schedules auto-grow using requestAnimationFrame for debouncing. * Prevents layout thrashing when pasting text rapidly. * @param {HTMLTextA
chat/components/ChatArea.js:2887
↓ 1 callers
Method
scheduleInitialInputFocus
()
chat/components/ThanksPanel.js:74
↓ 1 callers
Method
scheduleLinkPreviewHide
* Schedules hiding the link preview with a delay. * Can be cancelled if mouse enters the preview card.
chat/app.js:1521
↓ 1 callers
Method
scheduleScrollPositionSave
* Debounces scroll position persistence to avoid excessive writes.
chat/app.js:1111
↓ 1 callers
Method
scrollChatAreaToBottomInstant
* Snaps the chat area to the bottom without animation.
chat/app.js:725
↓ 1 callers
Method
scrollToCitation
* Scrolls to a specific citation. * @param {string} messageId - The message ID * @param {string} citationNum - The citation number
chat/app.js:9043
↓ 1 callers
Method
scrollToSession
(sessionId)
chat/components/Sidebar.js:773
↓ 1 callers
Method
sendCompletion
(messages, modelId, apiKey)
chat/api.js:280
↓ 1 callers
Method
sessionMatchesDateFilter
(session)
chat/app.js:7297
↓ 1 callers
Method
setActiveTickets
(newActiveTickets)
chat/services/ticketStore.js:440
↓ 1 callers
Method
setAnchor
Set the element the bubble should anchor above when shown.
chat/components/TurnstileBubble.js:81
↓ 1 callers
Method
setCredentials
(masterKey, accessToken, refreshCallback)
chat/services/syncService.js:176
↓ 1 callers
Method
setCurrentAccessValue
(value)
chat/components/WelcomePanel.js:210
↓ 1 callers
Method
setCurrentStation
* Set the current active station (for UI display) * Also checks if station is banned and triggers warning
chat/services/verifier.js:313
↓ 1 callers
Function
setCustomExpiry
(value, unit)
chat/components/ShareModals.js:163
↓ 1 callers
Function
setExpiryTtl
(ttl)
chat/components/ShareModals.js:150
↓ 1 callers
Method
setScrubberPreviewHintEdited
()
chat/components/ChatInput.js:1440
↓ 1 callers
Method
setSelectedModel
(modelId)
chat/services/scrubberService.js:361
↓ 1 callers
Method
setupDeleteHistoryControls
()
chat/app.js:7062
↓ 1 callers
Method
setupEventListeners
* Sets up all event listeners. Delegates component-specific listeners to respective components.
chat/app.js:7954
↓ 1 callers
Method
setupEventListeners
* Sets up event listeners for message actions (copy, regenerate, edit, fork) * Uses event delegation for dynamically added messages
chat/components/ChatArea.js:60
↓ 1 callers
Method
setupEventListeners
()
chat/components/ProxyInfoModal.js:118
← previous
next →
1,401–1,500 of 2,047, ranked by callers