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
Method
setupEventListeners
()
chat/components/MessageNavigation.js:50
↓ 1 callers
Method
setupEventListeners
()
chat/components/RightPanel.js:332
↓ 1 callers
Method
setupFileDragAndDrop
* Sets up file drag and drop events for the entire window. * Shows an overlay when files are dragged over the window.
chat/app.js:8346
↓ 1 callers
Method
setupFlatModeControls
* Sets up flat mode (display mode) toggle controls and listeners. * Toggles between flat (text lines) and bubble (chat bubble) display modes.
chat/components/ChatInput.js:1626
↓ 1 callers
Method
setupFontModeControls
* Sets up font mode toggle controls and listeners. * Toggles between sans-serif and serif fonts in the chat area.
chat/components/ChatInput.js:1681
↓ 1 callers
Method
setupInputAreaObserver
()
chat/app.js:3187
↓ 1 callers
Method
setupLinkPreviewListeners
* Sets up event delegation for inline link previews.
chat/app.js:1549
↓ 1 callers
Method
setupMemoryAutoIncludeToggle
()
chat/components/ChatInput.js:1547
↓ 1 callers
Method
setupMemoryFeatureToggle
()
chat/components/ChatInput.js:1487
↓ 1 callers
Method
setupReasoningScrollTracking
* Sets up scroll tracking on a reasoning content element. * Detects user input (wheel/touch) to pause auto-scroll, resumes when user scrolls to b
chat/components/ChatArea.js:2198
↓ 1 callers
Method
setupResponsive
()
chat/components/RightPanel.js:372
↓ 1 callers
Method
setupScrubberControls
()
chat/components/ChatInput.js:1459
↓ 1 callers
Method
setupThemeControls
* Sets up theme selection controls (segmented toggle) and listeners. * Uses event delegation on the container with stopPropagation to prevent
chat/components/ChatInput.js:1817
↓ 1 callers
Method
shareCurrentSessionWithSettings
* Share current session with provided settings (no prompting) * @param {Object} settings - {password: string|null, ttlSeconds: number, shareApiKe
chat/app.js:2699
↓ 1 callers
Method
shouldReusePriorMemoryContext
(result)
chat/app.js:4488
↓ 1 callers
Method
shouldShow
()
chat/components/ThanksPanel.js:40
↓ 1 callers
Method
shouldVirtualize
(sessions)
chat/components/Sidebar.js:545
↓ 1 callers
Method
show
()
chat/components/MessageNavigation.js:346
↓ 1 callers
Method
show
()
chat/components/RightPanel.js:475
↓ 1 callers
Method
showCiPromptEditor
(messageId, draftOverride = null)
chat/components/ChatArea.js:1479
↓ 1 callers
Method
showForkedPrompt
* Show prompt when user opens a share they've previously forked
chat/components/ShareModals.js:720
↓ 1 callers
Method
showImportPasswordPrompt
* Simple password prompt for importing (no settings, just password) * @returns {Promise<string|null>} Password or null if cancelled
chat/app.js:2297
↓ 1 callers
Method
showImportUpdatePrompt
* Show a prompt asking user if they want to view their local copy or fetch latest * @param {Object} existingSession - The existing imported sessi
chat/app.js:2253
↓ 1 callers
Method
showKeyTooltip
(targetEl, htmlContent)
chat/components/RightPanel.js:1341
↓ 1 callers
Method
showManagementModal
* Show share management modal with status, actions, and settings
chat/components/ShareModals.js:1301
↓ 1 callers
Method
showOriginalPromptPreview
(originalText)
chat/components/ChatInput.js:1186
↓ 1 callers
Method
showPreview
(button, messageIndex)
chat/components/MessageNavigation.js:160
↓ 1 callers
Method
showScrollToBottomButton
* Shows the scroll-to-bottom button with fade-in animation
chat/app.js:1184
↓ 1 callers
Method
showTaggedPromptEditor
({ title = 'Prompt', modelName = 'frontier model', fullPrompt = '', isReadOnly
chat/components/ChatArea.js:1332
↓ 1 callers
Method
showUpdatePrompt
* Show prompt asking user if they want to view their local copy or fetch latest
chat/components/ShareModals.js:763
↓ 1 callers
Method
showUpdateToast
()
chat/app.js:2938
↓ 1 callers
Function
splitRecoveryCode
(input)
chat/services/recoveryCode.js:59
↓ 1 callers
Method
splitTickets
* Split inference tickets into a ticket code. * @param {number} ticketCount - Number of tickets to split (default: 1) * @returns {Promise<{c
chat/services/ticketClient.js:727
↓ 1 callers
Function
startAndroidNativeInferenceJob
(request)
chat/services/androidNativeInferenceTransport.js:27
↓ 1 callers
Method
startDigitRevealAnimation
()
chat/components/AccountModal.js:195
↓ 1 callers
Method
startImport
()
chat/components/ChatHistoryImportModal.js:403
↓ 1 callers
Method
startInlineEdit
* Starts inline editing for a session title. * @param {string} sessionId - Session ID to edit
chat/components/Sidebar.js:345
↓ 1 callers
Method
startPeriodicSync
(options = {})
chat/services/syncService.js:702
↓ 1 callers
Method
startQuickAskRequest
(requestId)
chat/components/ChatArea.js:607
↓ 1 callers
Method
stopTypewriter
* Stops the typewriter animation and clears state.
chat/components/ChatArea.js:2339
↓ 1 callers
Function
stripTrailingModelDateDisplaySuffix
(modelReference)
chat/services/modelNames.js:46
↓ 1 callers
Function
stripTrailingModelDateIdSuffix
(modelReference)
chat/services/modelNames.js:51
↓ 1 callers
Function
styleAssistantBubbles
* Applies PDF-friendly styles to assistant message bubbles. * @param {HTMLElement} wrapper - The wrapper element containing messages
chat/services/pdfExport.js:74
↓ 1 callers
Function
styleTextElements
* Applies general text styling for PDF visibility. * @param {HTMLElement} wrapper - The wrapper element
chat/services/pdfExport.js:127
↓ 1 callers
Function
styleUserBubbles
* Applies PDF-friendly styles to user message bubbles. * @param {HTMLElement} wrapper - The wrapper element containing messages
chat/services/pdfExport.js:56
↓ 1 callers
Method
submitKey
* Submit key data to verifier for validation before AI inference * POST /submit_key * * Returns a status object: * - { status: 've
chat/services/verifier.js:724
↓ 1 callers
Method
syncQuickAskWindowToScroll
()
chat/components/ChatArea.js:545
↓ 1 callers
Method
syncStreamingCodeBlock
(currentNode, nextNode)
chat/components/ChatArea.js:936
↓ 1 callers
Function
syncTransportHints
(session)
chat/services/inference/inferenceService.js:46
↓ 1 callers
Method
syncWithPreferences
()
chat/services/networkProxy.js:107
↓ 1 callers
Function
toFloat32Array
(input, dimension)
vector/utils.js:18
↓ 1 callers
Method
toSortedArray
(mapper)
vector/memoryBackend.js:29
↓ 1 callers
Method
toggleCitations
* Toggles citation visibility for a message. * @param {string} messageId - The message ID
chat/app.js:9012
↓ 1 callers
Method
toggleLogExpand
(logId)
chat/components/RightPanel.js:1498
↓ 1 callers
Method
toggleScrubberRestore
* Toggle scrubber restoration for an assistant message. * @param {string} messageId
chat/app.js:9087
↓ 1 callers
Method
toggleSidebar
()
chat/app.js:7775
↓ 1 callers
Method
toggleSidebarFilterMenu
()
chat/app.js:7455
↓ 1 callers
Method
toggleVirtualizedClass
(enabled)
chat/components/Sidebar.js:549
↓ 1 callers
Method
toggleWideMode
* Toggles wide mode on/off.
chat/app.js:7719
↓ 1 callers
Method
trackEncryptedRequest
(bytesSent = 0)
chat/services/networkProxy.js:285
↓ 1 callers
Function
tryDirectStandardization
(modelReference, displayNameOverrides)
chat/services/modelNames.js:69
↓ 1 callers
Method
typewriterTick
* Typewriter tick - reveals a few more characters of reasoning content. * Handles race conditions by continuing from displayed position toward ta
chat/components/ChatArea.js:2248
↓ 1 callers
Method
undoFilePaste
* Undo the most recent file paste operation. * @returns {boolean} True if an undo was performed
chat/app.js:8632
↓ 1 callers
Method
undoScrubberPreviewEdit
()
chat/components/ChatInput.js:974
↓ 1 callers
Method
unlockWithRecoveryCode
(accountIdInput, recoveryCodeInput)
chat/services/accountService.js:1302
↓ 1 callers
Function
unzipDocxEntries
(arrayBuffer)
chat/services/fileUtils.js:279
↓ 1 callers
Method
updateDigitDisplay
()
chat/components/AccountModal.js:213
↓ 1 callers
Method
updateDynamicInterval
* Calculate and update the broadcast check interval based on activity
chat/services/verifier.js:121
↓ 1 callers
Method
updateEditDraftContent
(messageId, content)
chat/app.js:6565
↓ 1 callers
Method
updateEditModelPickerButton
* Updates the edit model picker button content to sync with the main model picker. * Called after render when editing a message.
chat/components/ChatArea.js:2923
↓ 1 callers
Method
updateQuickAskError
(message)
chat/components/ChatArea.js:762
↓ 1 callers
Method
updateSessionSearchIndex
(sessionId, fields)
chat/db.js:291
↓ 1 callers
Function
updateShareApi
* Update an existing session share * PATCH /chat/share/{share_id} * @param {string} shareId - Share ID to update * @param {string} token - Token fo
chat/services/shareService.js:108
↓ 1 callers
Function
upgradeDefaultModelPreference
(normalizedModelName, previousDefaultModelName, defaultModelName)
chat/domain/modelSelection.js:82
↓ 1 callers
Function
validateImportData
* Validate the import file structure. * @param {Object} data - Parsed JSON data * @returns {{ valid: boolean, error?: string }}
chat/services/globalImport.js:19
↓ 1 callers
Function
validateOmf
(doc)
chat/services/omfImporter.js:45
↓ 1 callers
Method
valuesEqual
(a, b)
chat/services/preferencesStore.js:414
↓ 1 callers
Method
verifyAttestation
(attestation)
chat/components/VerifierAttestationModal.js:83
↓ 1 callers
Method
verifyGhcr
(containerInfo)
chat/components/VerifierAttestationModal.js:157
↓ 1 callers
Method
verifyJwt
(attestation)
chat/components/VerifierAttestationModal.js:190
↓ 1 callers
Method
verifyJwtSignature
(token, cryptoKey)
chat/components/VerifierAttestationModal.js:272
↓ 1 callers
Method
verifyPolicyHash
(attestation)
chat/components/VerifierAttestationModal.js:285
↓ 1 callers
Method
verifySigstore
(attestation)
chat/components/VerifierAttestationModal.js:172
↓ 1 callers
Method
verifyStationSignatureLocally
({ stationId, apiKey, expiresAtUnix, stationSignature, stationPublicKey })
chat/components/VerifierAttestationModal.js:666
↓ 1 callers
Method
verifyWasmIntegrity
()
chat/components/TLSSecurityModal.js:52
↓ 1 callers
Function
versionStaticAssetRefs
(html, version)
scripts/build.mjs:44
↓ 1 callers
Method
waitForAccessAcquisition
(entry, options = {})
chat/app.js:8905
↓ 1 callers
Method
waitForMemoryApproval
(messageId, signal = null)
chat/app.js:4162
↓ 1 callers
Method
wrapResponseForTracking
* Wrap a response to track when its body stream is fully consumed. * This ensures activeRequestCount stays elevated during streaming.
chat/services/networkProxy.js:591
↓ 1 callers
Function
writeCache
(cache)
chat/services/modelCatalogCache.js:76
Function
abort
()
chat/services/fetchRetry.js:250
Function
acceptNode
(node)
chat/components/MessageTemplates.js:1038
Function
add
()
test/components/memoryEditor.test.js:25
Method
addAnnotations
(newAnnotations)
chat/api.js:569
Function
addEventListener
()
test/components/memoryEditor.test.js:8
Function
addToCache
* Adds metadata to cache directly (for pre-populating from citation data). * @param {string} url - The URL to cache * @param {Object} metadata - Met
chat/services/urlMetadata.js:180
Method
addUrl
(rawUrl, title, explicitIndex)
chat/api.js:625
Method
applyRedactionToMessages
(messages, redactedText)
chat/services/scrubberService.js:411
Method
archiveTickets
(tickets, consumedAt = null)
chat/services/ticketStore.js:450
Function
augmentQuery
({ query, conversationText, apiKey, model, onProgress, onModelText, signal })
chat/services/memoryBridge.js:107
← previous
next →
1,501–1,600 of 2,047, ranked by callers