MCPcopy Create free account

hub / github.com/OpenAnonymity/oa-chat / functions

Functions2,047 in github.com/OpenAnonymity/oa-chat

↓ 3 callersMethodsearchFieldMatches
(query, field)
chat/app.js:7580
↓ 3 callersMethodsessionMatchesSearchQuery
(session, query)
chat/app.js:7566
↓ 3 callersMethodsetChatAreaScrollTopInstant
* Temporarily disables smooth scrolling to jump the chat area instantly. * @param {number} targetTop - Desired scrollTop value
chat/app.js:705
↓ 3 callersMethodsetMemoryAutoInclude
(enabled, options = {})
chat/app.js:4194
↓ 3 callersMethodsetMemoryFeatureEnabled
(enabled, options = {})
chat/app.js:4237
↓ 3 callersFunctionsetPasswordMode
(mode)
chat/components/ShareModals.js:141
↓ 3 callersMethodsetPreference
(preference)
chat/services/themeManager.js:132
↓ 3 callersMethodsetPromptSlideUpAnchor
(sessionId, messageId)
chat/app.js:774
↓ 3 callersMethodsetSidebarClosingAttribute
(isClosing)
chat/app.js:7750
↓ 3 callersMethodsetupCitationCarouselScroll
* Sets up horizontal mouse wheel scrolling for citation carousels. * Converts vertical wheel events to horizontal scrolling when hovering over ca
chat/components/ChatArea.js:1928
↓ 3 callersMethodsetupEventListeners
()
chat/components/TLSSecurityModal.js:378
↓ 3 callersMethodsetupEventListeners
()
chat/components/VerifierAttestationModal.js:1564
↓ 3 callersMethodsetupPasswordToggle
* Setup password toggle functionality (uses CSS masking since type="text" to avoid password managers)
chat/components/ShareModals.js:431
↓ 3 callersMethodsetupPinInput
* Setup PIN input with visual boxes
chat/components/ShareModals.js:453
↓ 3 callersMethodshouldAutoScrollChat
(force = false)
chat/app.js:695
↓ 3 callersMethodshouldPreserveQuickAskWindowForRender
(sessionId)
chat/components/ChatArea.js:805
↓ 3 callersMethodshow
()
chat/components/FloatingPanel.js:28
↓ 3 callersMethodshowBannedStationWarningModal
* Shows a warning when attempting to use a banned station's API key * Clears the key and shows an error message
chat/app.js:8690
↓ 3 callersMethodshowErrorNotification
(message)
chat/app.js:8657
↓ 3 callersFunctionstandardizeModelDisplayName
(modelReference, options = {})
chat/services/modelNames.js:114
↓ 3 callersMethodstart
()
chat/services/smoothProgress.js:31
↓ 3 callersMethodstartExpirationTimer
()
chat/components/RightPanel.js:417
↓ 3 callersMethodstopCurrentSessionStreamingAndWait
* Interrupts the current session stream and waits for cleanup to finish. * Timeline-mutating actions use this so they can safely restart generati
chat/app.js:3683
↓ 3 callersMethodsyncScrubberPreviewHeight
()
chat/components/ChatInput.js:1397
↓ 3 callersFunctiontoFriendlyError
(error)
chat/services/accountService.js:409
↓ 3 callersFunctiontoModelIdWithoutRouting
(modelReference)
chat/services/modelNames.js:30
↓ 3 callersMethodupdateFlatModeControls
* Updates the visual state of flat mode toggle based on current HTML class. * Syncs aria-checked attributes with actual flat-mode state.
chat/components/ChatInput.js:1665
↓ 3 callersMethodupdateFontModeControls
* Updates the visual state of font mode toggle based on current HTML class. * Syncs aria-checked attributes with actual font-mode state.
chat/components/ChatInput.js:1720
↓ 3 callersMethodupdateInlineInviteFeedback
()
chat/components/WelcomePanel.js:291
↓ 3 callersMethodupdateProgressUI
()
chat/components/ChatHistoryImportModal.js:567
↓ 3 callersMethodupdateQuickAskCitations
(citations)
chat/components/ChatArea.js:727
↓ 3 callersMethodupdateReasoningEffortUI
* Updates the visual state of the reasoning effort selector.
chat/components/ChatInput.js:1794
↓ 3 callersFunctionupdateStats
(tokenCountOverride = null)
experiments/local-webllm-demo.js:58
↓ 3 callersFunctionupgradeDefaultModelPreference
(modelName)
test/domain/modelSelection.test.js:103
↓ 3 callersMethodupsertPrepared
(preparedItems)
vector/memoryBackend.js:124
↓ 3 callersMethodwarmRender
()
chat/components/ModelPicker.js:321
↓ 2 callersMethod_addPositionListeners
()
chat/components/TurnstileBubble.js:426
↓ 2 callersMethod_attachEditorListeners
()
chat/components/MemoryEditor.js:679
↓ 2 callersMethod_closeAllMenus
()
chat/components/MemoryEditor.js:795
↓ 2 callersMethod_createOrama
()
vector/oramaBackend.js:326
↓ 2 callersMethod_doSync
(masterKey, accessToken)
chat/services/syncService.js:415
↓ 2 callersMethod_getBackfillButtonState
()
chat/components/MemoryEditor.js:1247
↓ 2 callersMethod_getDirectoryStructure
()
chat/components/MemoryEditor.js:233
↓ 2 callersMethod_handleExport
()
chat/components/MemoryEditor.js:988
↓ 2 callersMethod_insertDocuments
(items)
vector/oramaBackend.js:271
↓ 2 callersMethod_isMemoryMaintenanceDisabled
()
chat/components/MemoryEditor.js:1243
↓ 2 callersMethod_onConfigUpdate
* Handle config update from API (pinned models or tiers changed). * Re-renders if modal is open.
chat/components/ModelPicker.js:49
↓ 2 callersMethod_readVector
(index)
vector/memoryBackend.js:284
↓ 2 callersMethod_removeFromOrama
(id)
vector/oramaBackend.js:299
↓ 2 callersMethod_removePositionListeners
()
chat/components/TurnstileBubble.js:434
↓ 2 callersMethod_renameFolder
(oldDir, newDir)
chat/components/MemoryEditor.js:942
↓ 2 callersMethod_renderEditorContent
()
chat/components/MemoryEditor.js:417
↓ 2 callersMethod_renderFileItem
(path, displayName, tooltip, isSelected, isNested)
chat/components/MemoryEditor.js:406
↓ 2 callersMethod_requestBackfillStop
(toastMessage = 'Stopping backfill...')
chat/components/MemoryEditor.js:1302
↓ 2 callersMethod_showEmailCodePopup
(errorMessage)
chat/components/WelcomePanel.js:635
↓ 2 callersMethod_startNewFile
()
chat/components/MemoryEditor.js:829
↓ 2 callersMethod_swap
(a, b)
vector/memoryBackend.js:71
↓ 2 callersMethod_updateEditorPane
()
chat/components/MemoryEditor.js:757
↓ 2 callersMethod_writeVector
(index, vector)
vector/memoryBackend.js:272
↓ 2 callersFunctionaddVersion
(rawUrl)
scripts/build.mjs:47
↓ 2 callersMethodanimateCopyButton
* Animates a copy button with tick icon * @param {HTMLElement} btn - The button element
chat/components/ChatArea.js:1099
↓ 2 callersMethodapplyDisabledModelFilter
()
chat/app.js:316
↓ 2 callersMethodattachLogRowHandlers
* Attaches click handlers to activity log headers for expand/collapse.
chat/components/RightPanel.js:2529
↓ 2 callersMethodattachTopSectionEventListeners
* Attaches event listeners to the top section elements only.
chat/components/RightPanel.js:2230
↓ 2 callersMethodautoGrowTextarea
* Auto-grows a textarea to fit its content while respecting min/max heights. * Works alongside CSS resize-y for manual drag resizing. * Uses
chat/components/ChatArea.js:2905
↓ 2 callersFunctionavailabilitySignature
()
chat/services/modelConfig.js:153
↓ 2 callersFunctionb64urlDecode
(str)
chat/services/privacyPass.js:47
↓ 2 callersFunctionb64urlEncode
(bytes)
chat/services/privacyPass.js:41
↓ 2 callersFunctionbase64ToBytes
(base64)
chat/services/syncService.js:58
↓ 2 callersFunctionbase64ToSmall
* Loop-based base64 decode for small arrays
chat/services/shareEncryption.js:44
↓ 2 callersFunctionbenchBackend
(name, options)
experiments/vector-bench.mjs:17
↓ 2 callersFunctionblockifyBoldMarkers
* Converts any bold pair (**...**) into a standalone subtitle block: * - Trims inner whitespace (including newlines) inside bold markers * - Ensures
chat/services/reasoningParser.js:37
↓ 2 callersFunctionbuildChatRequestBody
(request, messages)
local_inference/backends/httpOpenAIBackend.js:85
↓ 2 callersMethodbuildConversationText
(messages)
chat/app.js:4022
↓ 2 callersFunctionbuildGeneratedImages
* Builds HTML for generated images in a message. * @param {Array} images - Array of image objects with type and image_url * @returns {string} HTML s
chat/components/MessageTemplates.js:330
↓ 2 callersFunctionbuildImportedIndicator
(importedCount)
chat/components/MessageTemplates.js:1830
↓ 2 callersMethodbuildLocalSessionTitle
(content)
chat/app.js:3840
↓ 2 callersMethodbuildMessageFileMetadata
(files)
chat/app.js:6546
↓ 2 callersMethodbuildModelOptionHTML
* Builds HTML for a single model option. * @param {Object} model - Model object * @returns {string} HTML string
chat/components/ModelPicker.js:344
↓ 2 callersFunctionbuildPendingIndicatorContent
(phase = 'requesting-key')
chat/components/MessageTemplates.js:146
↓ 2 callersMethodbuildPreviewHtml
* Build preview messages HTML
chat/components/ShareModals.js:1274
↓ 2 callersFunctionbuildQuickAskMessages
(conversationMessages, selection)
chat/domain/quickAsk.js:21
↓ 2 callersFunctionbuildReasoningTrace
* Builds HTML for a reasoning trace display (for thinking models like o1, o4). * @param {string} reasoning - The reasoning content * @param {string}
chat/components/MessageTemplates.js:894
↓ 2 callersFunctionbuildResponsesRequest
({ model, instructions = '', inputText, temperature = 0.2, topP = 0.9 })
chat/services/scrubberService.js:209
↓ 2 callersMethodbuildScrubberRestoreContext
(messages)
chat/app.js:5080
↓ 2 callersMethodbuildScrubberTranscript
(messages, mode)
chat/app.js:5063
↓ 2 callersFunctionbuildSessionConversationSearchText
(messages, options = {})
chat/domain/sessionSearch.js:66
↓ 2 callersMethodbuildSessionHTML
* Builds HTML for a single session item. * @param {Object} session - Session object * @returns {string} HTML string
chat/components/Sidebar.js:127
↓ 2 callersFunctionbuildSessionTitleSearchText
(content)
chat/domain/sessionSearch.js:18
↓ 2 callersMethodbuildSessionTitleSearchText
(content)
chat/app.js:3846
↓ 2 callersFunctionbuildSharedIndicator
()
chat/components/MessageTemplates.js:1808
↓ 2 callersFunctionbuildStatusPanelHtml
* Build the shared status panel HTML for after-sharing and share control views * @param {Object} opts - {isPlaintext, apiKeyShared, apiKeyExpiresAt,
chat/components/ShareModals.js:272
↓ 2 callersFunctionbuildTypingIndicator
* Builds HTML for a typing indicator. * @param {string} id - Unique ID for the indicator element * @param {string} providerName - Provider name (e.g
chat/components/MessageTemplates.js:1712
↓ 2 callersFunctionbuildVerifierSubmitKeyProof
(verifyResult, accessInfo = null, options = {})
chat/application/accessController.js:16
↓ 2 callersFunctionbyteToSyllable
(byte)
chat/services/recoveryCode.js:28
↓ 2 callersFunctionbytesToBase64
(bytes)
chat/services/syncService.js:50
↓ 2 callersMethodcacheScrubberHintAnchor
(force = false)
chat/components/ChatInput.js:1383
↓ 2 callersMethodcancelEditMode
* Cancels edit mode * @param {string} messageId - Message ID being edited
chat/app.js:6695
↓ 2 callersMethodcancelLinkPreviewHide
* Cancels the scheduled link preview hide.
chat/app.js:1539
↓ 2 callersMethodcaptureActivePromptScrollAnchor
({ primeRunway = false } = {})
chat/app.js:906
← previousnext →501–600 of 2,047, ranked by callers