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
↓ 2 callers
Method
recordFailedAttempt
* Record a failed unlock attempt.
chat/services/accountService.js:505
↓ 2 callers
Method
refreshAccessToken
* Refresh the access token using the refresh token. * - Web: Uses HttpOnly cookie (sent automatically via credentials: include) * - Electron
chat/services/accountService.js:643
↓ 2 callers
Method
refreshAccessToken
()
chat/services/syncService.js:359
↓ 2 callers
Method
refreshDefaultModelPreferenceForAvailabilityUpdate
()
chat/app.js:3342
↓ 2 callers
Method
refreshEditMessage
(messageId, { focusTextarea = false } = {})
chat/app.js:6571
↓ 2 callers
Method
refreshFreeAccessEligibility
(options = {})
chat/components/WelcomePanel.js:233
↓ 2 callers
Method
refreshModelsForAvailabilityUpdate
()
chat/app.js:342
↓ 2 callers
Method
refreshProcessedMessagesIfMemoryOverrideChanged
(processedMessages, sourceMessages, modelIdForRequest, memoryGenerationAtProcess)
chat/app.js:5126
↓ 2 callers
Function
registerBackendTransportHints
(backend)
chat/services/inference/inferenceService.js:30
↓ 2 callers
Method
removeResponsiveScaleListener
()
chat/components/WelcomePanel.js:370
↓ 2 callers
Function
removeVectorItems
(db, collection, ids)
vector/idbStore.js:118
↓ 2 callers
Method
render
* Renders all messages for the current session. * Handles empty states, message rendering, LaTeX processing, and scroll behavior. * * S
chat/components/ChatArea.js:1608
↓ 2 callers
Function
renderEditableDiff
(originalText, redactedText)
chat/services/editableDiffRenderer.js:152
↓ 2 callers
Method
renderEmptyStateImmediate
* Immediately renders the empty state without async loads. * Desktop hooks can call this to avoid intermediate flashes.
chat/components/ChatArea.js:837
↓ 2 callers
Method
renderLatex
* Applies KaTeX rendering to message content elements. * KaTeX is loaded with defer, guaranteeing it's ready before app.js runs. * @param {H
chat/components/ChatArea.js:1852
↓ 2 callers
Function
renderLatexInElement
* Apply LaTeX rendering to an element's message-content children
chat/components/ShareModals.js:46
↓ 2 callers
Method
renderLogsOnly
* Re-renders only the network logs container without re-rendering the entire panel. * @param {boolean} preserveScroll - Whether to preserve scrol
chat/components/RightPanel.js:2507
↓ 2 callers
Method
renderNetworkLogs
(previousLogCount = 0)
chat/components/RightPanel.js:2548
↓ 2 callers
Method
renderStatusRow
(label, verified, error, successText)
chat/components/VerifierAttestationModal.js:1513
↓ 2 callers
Function
renderTemplate
(template, values = {})
chat/services/scrubberService.js:230
↓ 2 callers
Function
renderTextSegment
(segment, type)
chat/services/editableDiffRenderer.js:119
↓ 2 callers
Function
replaceBundleBlock
(html, name, scriptPath)
scripts/build.mjs:35
↓ 2 callers
Method
requestCancel
()
chat/components/ChatHistoryImportModal.js:392
↓ 2 callers
Method
requestConfidentialApiKey
* Request a confidential API key by redeeming inference tickets. * @param {number} ticketCount - Number of tickets to use (default: 1) * @pa
chat/services/ticketClient.js:1044
↓ 2 callers
Function
requestToPromise
(request)
vector/idbStore.js:7
↓ 2 callers
Method
reserveAccessAcquisitionHandoff
(session, durationMs = 5000)
chat/app.js:8878
↓ 2 callers
Method
resetSessionSearchResults
()
chat/app.js:7343
↓ 2 callers
Method
resetTlsInfo
()
chat/services/networkProxy.js:147
↓ 2 callers
Method
resetToken
Reset the widget so a fresh token is generated on the next requestToken() call.
chat/components/TurnstileBubble.js:151
↓ 2 callers
Function
resolveAppConfig
(webllmModule)
local_inference/backends/webllmBackend.js:53
↓ 2 callers
Function
resolveMemoryFeatureState
(options = {})
chat/domain/memorySettings.js:1
↓ 2 callers
Function
resolveMemoryFeatureToggle
(options = {})
chat/domain/memorySettings.js:18
↓ 2 callers
Method
resolveStaleMemoryApproval
(messageId, approved, alwaysInclude)
chat/app.js:4354
↓ 2 callers
Method
restoreResponse
({ originalPrompt, redactedPrompt, responseText, session })
chat/services/scrubberService.js:457
↓ 2 callers
Method
restoreResponseWithContext
({ originalContext, redactedContext, responseText, session })
chat/services/scrubberService.js:465
↓ 2 callers
Method
restoreResponseWithPrompt
(promptTemplate, { original, redacted, responseText }, session)
chat/services/scrubberService.js:473
↓ 2 callers
Method
runMemoryAugmentFlow
(query, userMessage, session, options = {})
chat/app.js:4596
↓ 2 callers
Function
sanitizePinInput
* Sanitize PIN input - strip non-alphanumeric characters
chat/components/ShareModals.js:173
↓ 2 callers
Method
scheduleHidePreview
()
chat/components/MessageNavigation.js:223
↓ 2 callers
Method
scheduleStorageReload
()
chat/app.js:7226
↓ 2 callers
Method
scrollToTop
* Scrolls the sessions list to the top.
chat/components/Sidebar.js:45
↓ 2 callers
Method
searchTermMatchesText
(term, text)
chat/app.js:7601
↓ 2 callers
Method
sessionMatchesSidebarFilters
(session)
chat/app.js:7326
↓ 2 callers
Method
setBannedWarningCallback
* Set callback for banned station warnings
chat/services/verifier.js:357
↓ 2 callers
Method
setMemoryAgentModel
(modelId, options = {})
chat/app.js:4312
↓ 2 callers
Method
setModelSelectError
(selectEl)
chat/components/ChatInput.js:1542
↓ 2 callers
Function
setNormalizedOffsetCursor
(container, targetOffset, affinity = 'after')
chat/services/editableDiffRenderer.js:347
↓ 2 callers
Method
setSidebarHiddenAttribute
(isHidden)
chat/app.js:7742
↓ 2 callers
Method
setupExpiryToggle
* Setup expiry segmented control
chat/components/ShareModals.js:565
↓ 2 callers
Method
setupSidebarFilterControls
()
chat/app.js:7880
↓ 2 callers
Method
setupStatusPanelHandlers
* Setup action handlers for status panel (shared between initial render and after-share)
chat/components/ShareModals.js:680
↓ 2 callers
Method
shareCurrentSession
* Share the current session with optional encryption * Opens the share management modal for settings
chat/app.js:2678
↓ 2 callers
Method
shouldShow
()
chat/components/WelcomePanel.js:77
↓ 2 callers
Method
showForkedSessionPrompt
* Show a prompt when user opens a share they've previously forked * @param {Object} forkedSession - The forked session * @returns {Promise<b
chat/app.js:2206
↓ 2 callers
Method
showLinkPreview
* Shows the link preview card with metadata. * @param {HTMLElement} linkElement - The link element being hovered * @param {Object} metadata
chat/app.js:1356
↓ 2 callers
Method
showScrubberPreview
(options = {})
chat/components/ChatInput.js:630
↓ 2 callers
Method
showShareManagementModal
* Show share management modal with status, actions, and settings
chat/app.js:2764
↓ 2 callers
Method
showSharedKeyVerificationFailedPrompt
* Show prompt when shared API key verification fails
chat/components/ShareModals.js:804
↓ 2 callers
Function
showToast
()
test/components/memoryEditor.test.js:67
↓ 2 callers
Function
sleep
* Sleep for a specified duration. * @param {number} ms - Duration in milliseconds * @returns {Promise<void>}
chat/services/fetchRetry.js:100
↓ 2 callers
Function
smallToBase64
* Loop-based base64 encode for small arrays (avoids spread operator)
chat/services/shareEncryption.js:35
↓ 2 callers
Method
splitTicketsByStatus
(tickets)
chat/services/ticketStore.js:113
↓ 2 callers
Method
startBroadcastCheck
* Start periodic broadcast checks (every 60 seconds) * Only checks the current station for efficiency * @param {Function} getCurrentSession
chat/services/verifier.js:1077
↓ 2 callers
Method
startPromptSlideUpEffect
* Starts the post-send prompt positioning effect. The sent prompt is placed * around 25% from the top of the chat viewport while streaming remain
chat/app.js:739
↓ 2 callers
Method
startResize
(clientX)
chat/components/Sidebar.js:486
↓ 2 callers
Method
stopPeriodicSync
()
chat/services/syncService.js:744
↓ 2 callers
Function
summarize
(label, ms, count)
experiments/vector-bench.mjs:12
↓ 2 callers
Function
summarizeSessions
(sessions)
chat/services/importers/chatgptImporter.js:523
↓ 2 callers
Function
toPosixPath
(value)
scripts/build.mjs:33
↓ 2 callers
Function
tokenizeText
(text)
chat/services/editableDiffRenderer.js:14
↓ 2 callers
Function
traverse
(node)
chat/services/editableDiffRenderer.js:279
↓ 2 callers
Method
triggerPostTurnMemoryExtraction
(session)
chat/app.js:4070
↓ 2 callers
Method
triggerSync
* Trigger sync after local changes (debounced). * Call this when tickets or preferences change locally.
chat/services/syncService.js:250
↓ 2 callers
Method
unlockWithPasskey
(accountIdInput, { mediation, silent = false } = {})
chat/services/accountService.js:1168
↓ 2 callers
Method
updateAccessModeIndicator
(accessModeToggle, activeBtn)
chat/components/WelcomePanel.js:429
↓ 2 callers
Method
updateCurrentMessageIndex
()
chat/components/MessageNavigation.js:247
↓ 2 callers
Function
updateEditableDiff
(container, originalText, editedText, cursorState = null, options = {})
chat/services/editableDiffRenderer.js:481
↓ 2 callers
Method
updateIndicators
()
chat/components/MessageNavigation.js:279
↓ 2 callers
Method
updateInputActionUI
()
chat/components/ThanksPanel.js:497
↓ 2 callers
Method
updateReasoningSubtitleToDuration
* Updates the reasoning subtitle to show duration when thinking completes. * Called when output starts streaming after reasoning finishes. *
chat/components/ChatArea.js:2461
↓ 2 callers
Method
updateReasoningToggleUI
* Legacy hook: extended-thinking toggle was removed from settings. * Keep reasoning enabled and update the effort control only.
chat/components/ChatInput.js:1786
↓ 2 callers
Method
updateStreamingImages
* Updates images for a streaming message. * @param {string} messageId - The message ID * @param {Array} images - Array of image objects
chat/components/ChatArea.js:2556
↓ 2 callers
Method
updateStreamingMessage
* Updates a specific message's content in real-time (for streaming). * @param {string} messageId - The message ID to update * @param {string
chat/components/ChatArea.js:2035
↓ 2 callers
Method
updateStreamingReasoning
* Updates the reasoning trace content during streaming. * Uses debounced buffering for smoother rendering of rapid chunks. * @param {string}
chat/components/ChatArea.js:2137
↓ 2 callers
Method
updateSwitchToggleUI
(toggle, enabled, enabledTitle, disabledTitle)
chat/components/ChatInput.js:1563
↓ 2 callers
Method
updateTabIndicator
()
chat/components/AccountModal.js:71
↓ 2 callers
Method
updateThemeControls
* Updates theme controls based on current preference (delegated to ChatInput). * @param {string} preference - Theme preference * @param {str
chat/app.js:8458
↓ 2 callers
Method
updateThemeToggle
(preference)
chat/components/ThanksPanel.js:518
↓ 2 callers
Method
updateWelcomeThemeToggle
(preference)
chat/components/WelcomePanel.js:1559
↓ 2 callers
Method
updateWithLog
(log)
chat/components/FloatingPanel.js:96
↓ 2 callers
Function
validatePayload
(payload)
chat/services/shareService.js:367
↓ 2 callers
Function
vectorKey
(collection, id)
vector/idbStore.js:149
↓ 2 callers
Method
verifySharedAccess
* Verify shared access credentials with the backend verifier (if supported). * @param {Object|null} sharedAccess - Shared access data from payloa
chat/app.js:2345
↓ 2 callers
Function
writeAvailabilityState
(normalized)
chat/services/modelConfig.js:106
↓ 1 callers
Method
_applyServerBlob
(masterKey, serverBlob)
chat/services/syncService.js:487
↓ 1 callers
Method
_attachEventListeners
()
chat/components/MemoryEditor.js:546
↓ 1 callers
Method
_attachInputListeners
()
chat/components/MemoryEditor.js:622
↓ 1 callers
Method
_attachRenameListener
()
chat/components/MemoryEditor.js:652
↓ 1 callers
Method
_buildIdMapping
* Build the mapping of opaque IDs to logical IDs. * This lets us identify what a blob is when we pull it.
chat/services/syncService.js:205
↓ 1 callers
Method
_collectBackfillCandidates
()
chat/components/MemoryEditor.js:1544
← previous
next →
801–900 of 2,047, ranked by callers