MCPcopy Create free account

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

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

↓ 4 callersFunctiongetBridge
()
chat/services/androidNativeInferenceTransport.js:3
↓ 4 callersMethodgetDefaultModelName
()
chat/components/ModelPicker.js:203
↓ 4 callersMethodgetFilteredSessions
* Filters sessions based on the sidebar search query. * @returns {Array} Filtered sessions array
chat/app.js:7548
↓ 4 callersMethodgetInvitationTicketCount
(code)
chat/components/RightPanel.js:255
↓ 4 callersFunctiongetNodeTextLength
(node)
chat/services/editableDiffRenderer.js:198
↓ 4 callersMethodgetNormalizedSessionSearchQuery
()
chat/app.js:7256
↓ 4 callersFunctiongetPrfOutput
* Extract PRF (Pseudo-Random Function) output from a WebAuthn credential. * PRF extension (WebAuthn Level 3) derives key material from the authentica
chat/services/accountService.js:231
↓ 4 callersFunctiongetProviderIcon
(provider, classes = 'w-3.5 h-3.5')
chat/services/providerIcons.js:86
↓ 4 callersFunctiongetRawContentAttribute
(content)
chat/components/MessageTemplates.js:287
↓ 4 callersMethodgetRetryAfterSeconds
(response, data)
chat/services/ticketClient.js:79
↓ 4 callersMethodgetSelectedModel
()
chat/services/scrubberService.js:375
↓ 4 callersFunctiongetStandardizedModelDisplayName
(modelReference)
chat/services/modelConfig.js:56
↓ 4 callersMethodhandleFileUpload
(files)
chat/app.js:8597
↓ 4 callersMethodhandleScroll
(force = false)
chat/components/Sidebar.js:687
↓ 4 callersMethodhide
()
chat/components/FloatingPanel.js:36
↓ 4 callersMethodhideOriginalPromptPreview
()
chat/components/ChatInput.js:1221
↓ 4 callersMethodimportSharedSession
* Import a shared session by downloading and decoding it * @param {string} shareId - Share ID from URL
chat/app.js:2585
↓ 4 callersFunctioninstallMemoryEditorDocumentStub
()
test/components/memoryEditor.test.js:22
↓ 4 callersFunctionisAccessCreditExhaustedError
(error)
chat/application/accessController.js:1
↓ 4 callersFunctionisHardFailure
* Classify whether a submitKey error is a hard failure (reject key) or soft failure (retry) * Hard failures: banned station, 400/401/403/404 validati
chat/services/verifier.js:33
↓ 4 callersFunctionisImageModel
(modelId)
chat/domain/messageContent.js:30
↓ 4 callersFunctionisObject
(value)
chat/services/modelCatalogCache.js:11
↓ 4 callersFunctionloadEngine
(modelId, { emitStatus } = {})
local_inference/backends/webllmBackend.js:95
↓ 4 callersMethodloadFromDatabase
(options = {})
chat/services/ticketStore.js:307
↓ 4 callersFunctionloadWebLLMModule
()
local_inference/backends/webllmBackend.js:24
↓ 4 callersFunctionmakeDocxFile
(name = 'sample.docx', type = DOCX_MIME)
test/services/fileUtils.test.js:72
↓ 4 callersMethodmarkImportedSessionAsForked
* Convert an imported session into a local fork so it no longer auto-updates from upstream share. * @param {Object} session - Current session
chat/app.js:2284
↓ 4 callersFunctionnormalizeEmbeddingRequest
(request = {})
local_inference/responseUtils.js:141
↓ 4 callersMethodnormalizeInvitationCode
(code)
chat/components/RightPanel.js:250
↓ 4 callersFunctionnormalizeMemoryRetrievalAssessment
(source = {}, options = {})
chat/services/memoryRetrievalAssessment.js:10
↓ 4 callersMethodnotify
()
chat/services/apiKeyStore.js:34
↓ 4 callersFunctionparseNumber
(value, fallback)
experiments/local-webllm-demo.js:75
↓ 4 callersMethodpersistMasterKey
* Persist the master key in IndexedDB. * Stores both: * - Non-extractable CryptoKey (for local AES-GCM encryption) * - Raw bytes (for s
chat/services/accountService.js:567
↓ 4 callersFunctionprepareVector
(input, dimension, normalize)
vector/utils.js:43
↓ 4 callersMethodprocessMessagesWithFiles
* Processes messages with file metadata to convert them to multimodal content format. * This ensures files are included in conversation history f
chat/app.js:5116
↓ 4 callersFunctionreadRepoFile
(relativePath)
test/services/memoryLazyLoading.test.js:8
↓ 4 callersMethodregenerateResponse
* Regenerates the last assistant response without creating a new user message. * Used when the regenerate button is clicked on an assistant messa
chat/app.js:5146
↓ 4 callersMethodrender
()
chat/components/VerifierAttestationModal.js:774
↓ 4 callersMethodrender
()
chat/components/FloatingPanel.js:122
↓ 4 callersMethodresetCreationFlow
()
chat/components/AccountModal.js:128
↓ 4 callersFunctionresolveHeaders
(config)
local_inference/backends/httpOpenAIBackend.js:69
↓ 4 callersMethodscrollToBottom
* Reliably scroll chat area to bottom * Uses multiple RAF calls to ensure content is fully rendered
chat/app.js:663
↓ 4 callersMethodsetMemoryApiOverrideContent
(content, generation = this.memoryWorkGeneration)
chat/app.js:4212
↓ 4 callersMethodsetSessionStreamingState
(sessionId, isStreaming, abortController = null, phase = 'requesting-key')
chat/app.js:3607
↓ 4 callersMethodshowLoadingToast
(message)
chat/app.js:2909
↓ 4 callersMethodshowSidebar
(options = {})
chat/app.js:7834
↓ 4 callersMethodshowTypingIndicator
* Shows a typing indicator at the bottom of the message list. * @param {string} modelName - Display name of the model that's "typing" * @ret
chat/app.js:6212
↓ 4 callersMethodstopCurrentSessionStreaming
* Stops streaming for the current session
chat/app.js:3665
↓ 4 callersFunctionstripMemoryPromptUserData
(text)
chat/services/memoryBridge.js:73
↓ 4 callersMethodtoggleSessionStar
(sessionId)
chat/app.js:7350
↓ 4 callersMethodupdateHighlight
* Updates the visual highlight for keyboard navigation. * @param {Array} modelOptions - Array of model option elements * @param {boolean} sk
chat/components/ModelPicker.js:540
↓ 4 callersMethodupdateQuickAskAnswer
(content, options = {})
chat/components/ChatArea.js:668
↓ 4 callersMethodupdateQuickAskReasoning
(reasoning, options = {})
chat/components/ChatArea.js:700
↓ 4 callersMethodupdateQuickAskStatus
(status)
chat/components/ChatArea.js:645
↓ 4 callersMethodupdateSessionTitle
(sessionId, title, options = {})
chat/app.js:3824
↓ 4 callersMethodupdateSettings
(partial, options = {})
chat/services/networkProxy.js:416
↓ 4 callersMethodupdateSidebarFilterUI
()
chat/app.js:7410
↓ 4 callersMethodupdateToastPosition
()
chat/app.js:2834
↓ 4 callersMethodupdateTypingIndicator
(id, phase)
chat/app.js:6451
↓ 4 callersMethodupdateWideModeButtonVisibility
* Updates wide mode button visibility and position. * Shows only when a session is active, adjusts position based on sidebar state.
chat/app.js:7656
↓ 4 callersMethodupgradeDefaultModelPreference
* Upgrades users who were effectively on the old default model to the new * default model. Only applies to stored *preference* (not per-session m
chat/app.js:3334
↓ 4 callersFunctionwrapBackendStatus
(backend, event)
local_inference/localInferenceService.js:29
↓ 3 callersMethod_applyToDOM
()
chat/services/smoothProgress.js:139
↓ 3 callersMethod_dismissEmailCodePopupToWelcome
Close popup and fall back to the welcome panel's invite-code tab.
chat/components/WelcomePanel.js:833
↓ 3 callersMethod_getInitialBackfillProgress
()
chat/components/MemoryEditor.js:1199
↓ 3 callersMethod_isBackfillActive
()
chat/components/MemoryEditor.js:1239
↓ 3 callersMethod_refreshFilesAfterBackfillIfAllowed
(shouldRefreshFiles)
chat/components/MemoryEditor.js:1210
↓ 3 callersMethod_saveFile
()
chat/components/MemoryEditor.js:873
↓ 3 callersMethod_selectFile
(path)
chat/components/MemoryEditor.js:729
↓ 3 callersMethod_show
()
chat/components/TurnstileBubble.js:356
↓ 3 callersMethodadvancePendingStateAfterAccessGranted
(sessionId, typingId = null)
chat/app.js:3566
↓ 3 callersMethodapplyWideMode
(isWide)
chat/app.js:7711
↓ 3 callersMethodattachDownloadHandler
* Attaches click handler to the download chats link in the empty state.
chat/components/ChatArea.js:2856
↓ 3 callersMethodbase64UrlDecode
(str)
chat/components/VerifierAttestationModal.js:253
↓ 3 callersMethodblurScrubberPreviewIfFocused
()
chat/components/ChatInput.js:968
↓ 3 callersFunctionbuildCreationOptions
(data, accountId, prfInput)
chat/services/accountService.js:249
↓ 3 callersFunctionbuildForkSessionTitleFields
(sourceSession, firstUserContent, options = {})
chat/domain/sessionSearch.js:25
↓ 3 callersFunctionbuildMessageHTML
(message, helpers, models, sessionModelName, options = {})
chat/components/MessageTemplates.js:1855
↓ 3 callersFunctionbuildPreviewContainerHtml
* Build preview container HTML for share modals
chat/components/ShareModals.js:253
↓ 3 callersMethodcancel
()
chat/services/networkProxy.js:624
↓ 3 callersMethodcancelPendingAccount
* Cancel pending account creation and cleanup. * Zeros out the master key for security.
chat/services/accountService.js:1041
↓ 3 callersFunctionclampConfidence
(value)
chat/services/memoryConfidence.js:31
↓ 3 callersMethodclampSidebarWidth
(width)
chat/components/Sidebar.js:466
↓ 3 callersFunctioncleanGeneratedSessionTitle
(title, options = {})
chat/domain/sessionSearch.js:113
↓ 3 callersMethodclearAnimationTimeouts
()
chat/components/AccountModal.js:140
↓ 3 callersFunctionclearOutput
()
experiments/local-webllm-demo.js:42
↓ 3 callersMethodclearPromptSlideUpAnchor
(sessionId)
chat/app.js:788
↓ 3 callersMethodclearPromptSlideUpEffect
()
chat/app.js:811
↓ 3 callersMethodclearToast
()
chat/app.js:2881
↓ 3 callersMethodclearUpdateToast
()
chat/app.js:3078
↓ 3 callersMethodclose
()
chat/components/AccountModal.js:111
↓ 3 callersMethodcloseSidebarFilterMenu
()
chat/app.js:7448
↓ 3 callersFunctioncollectChats
()
chat/services/globalExport.js:137
↓ 3 callersFunctioncollectTickets
()
chat/services/globalExport.js:162
↓ 3 callersMethodcomputeHash
(input)
chat/components/VerifierAttestationModal.js:652
↓ 3 callersFunctioncomputeRecoveryCodeHash
* Compute a hash of the recovery code for server-side verification. * Uses Argon2id with accountId as salt (same params as deriveRecoveryKey). * Thi
chat/services/accountService.js:200
↓ 3 callersMethodconfigureServices
(services)
chat/components/ShareModals.js:364
↓ 3 callersMethodconsumeTickets
(count, handler, options = {})
chat/services/ticketStore.js:465
↓ 3 callersMethodconvertBasicMarkdownToHtml
* Converts basic markdown (bold) to HTML for streaming display. * Faster than full markdown processing but renders bold titles properly. * @
chat/components/ChatArea.js:2116
↓ 3 callersFunctioncreateComponentAppFacade
(app, allowedKeys = COMPONENT_APP_KEYS, options = {})
chat/ui/appInterface.js:248
← previousnext →301–400 of 2,047, ranked by callers