MCPcopy Create free account

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

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

↓ 3 callersFunctioncreateEmbeddingSource
(options = {})
embeddings/embeddingService.js:127
↓ 3 callersFunctioncreateOpenAIEmbeddingBackend
(options = {})
embeddings/backends/openaiBackend.js:3
↓ 3 callersFunctioncredentialToJSON
(credential)
chat/services/accountService.js:330
↓ 3 callersMethoddeleteCurrentSessionShare
* Delete the share for the current session
chat/app.js:2736
↓ 3 callersMethoddeleteSession
* Deletes a session and its messages. * @param {string} sessionId - ID of the session to delete
chat/app.js:6482
↓ 3 callersFunctionderiveRecoveryKey
* Derive an AES key from the recovery code using Argon2id. * Argon2id is memory-hard, making brute-force attacks expensive even with GPUs/ASICs. * T
chat/services/accountService.js:172
↓ 3 callersMethodenableScrubberPreviewSticky
(shouldMarkEditing = false)
chat/components/ChatInput.js:1229
↓ 3 callersFunctionencryptBlob
* Encrypt data. Type and all metadata go INSIDE the ciphertext.
chat/services/syncService.js:120
↓ 3 callersMethodensureActivePromptSpacer
()
chat/app.js:824
↓ 3 callersFunctionensureCacheSize
* Ensures cache doesn't exceed max size by removing oldest entry if needed.
chat/services/urlMetadata.js:13
↓ 3 callersFunctionensurePositiveInteger
(value, fallback)
vector/utils.js:66
↓ 3 callersMethodensureValidAccessMode
()
chat/components/WelcomePanel.js:200
↓ 3 callersFunctionescapeHtml
(text)
chat/services/networkLogRenderer.js:65
↓ 3 callersMethodescapeHtml
(text)
chat/components/ThanksPanel.js:124
↓ 3 callersMethodescapeHtmlAttribute
(text)
chat/components/Sidebar.js:63
↓ 3 callersMethodescapeHtmlAttribute
(text)
chat/components/RightPanel.js:297
↓ 3 callersMethodfetchModels
(force = false)
chat/services/scrubberService.js:383
↓ 3 callersFunctionfetchRetry
(url, init = {}, config = {})
chat/services/fetchRetry.js:122
↓ 3 callersFunctionfetchUrlMetadata
* Fetches metadata for a URL using a CORS proxy. * Falls back to basic metadata if fetch fails. * @param {string} url - The URL to fetch metadata fo
chat/services/urlMetadata.js:40
↓ 3 callersMethodfindSession
(matchFn)
chat/db.js:435
↓ 3 callersMethodfindSessionByImportedFrom
(importedFrom)
chat/db.js:421
↓ 3 callersFunctionformatAccountId
(accountId)
chat/services/accountService.js:61
↓ 3 callersFunctionformatMemoryConfidenceLabel
(value)
chat/services/memoryConfidence.js:27
↓ 3 callersFunctionformatTimestamp
(timestamp)
chat/services/networkLogRenderer.js:6
↓ 3 callersMethodgenerateSessionTitle
(prompt, apiKey, options = {})
chat/api.js:366
↓ 3 callersMethodgetAllLogs
* Get all logs
chat/services/networkLogger.js:86
↓ 3 callersMethodgetApiKey
()
chat/api.js:56
↓ 3 callersMethodgetEffectiveTheme
()
chat/services/themeManager.js:151
↓ 3 callersFunctiongetFileIconSvg
(fileType, mimeType, className = "w-8 h-8")
chat/services/fileUtils.js:107
↓ 3 callersMethodgetInputKind
(value)
chat/components/ThanksPanel.js:145
↓ 3 callersFunctiongetMemoryConfidenceBarCount
(value)
chat/services/memoryConfidence.js:19
↓ 3 callersMethodgetMessageTextFromDOM
* Gets visible text content from a message element in the DOM. * @param {string} messageId - The message ID * @returns {string|null} The tex
chat/components/ChatArea.js:874
↓ 3 callersMethodgetModelOptions
* Gets all visible model option elements. * @returns {Array} Array of model option elements
chat/components/ModelPicker.js:528
↓ 3 callersFunctiongetNextBackoff
* Calculate next backoff delay with jitter
chat/services/verifier.js:59
↓ 3 callersFunctiongetPasswordMode
()
chat/components/ShareModals.js:137
↓ 3 callersFunctiongetPinnedModels
()
chat/services/modelConfig.js:198
↓ 3 callersMethodgetScrubberMessageContent
(message, mode)
chat/app.js:5039
↓ 3 callersMethodgetSessionListEmptyText
()
chat/app.js:7332
↓ 3 callersFunctiongetTextLengthExcludingZWSP
(text)
chat/services/editableDiffRenderer.js:193
↓ 3 callersMethodgetTicketCodeShareUrl
(code)
chat/components/RightPanel.js:283
↓ 3 callersFunctiongetTicketCost
(modelId, reasoningEnabled = false)
chat/services/modelTiers.js:145
↓ 3 callersMethodgetTickets
()
chat/services/ticketStore.js:384
↓ 3 callersMethodgroupSessionsByDate
(sessions)
chat/components/Sidebar.js:568
↓ 3 callersMethodhandleCloseAttempt
()
chat/components/ThanksPanel.js:87
↓ 3 callersMethodhandleCloseAttempt
()
chat/components/WelcomePanel.js:122
↓ 3 callersMethodhandleCloseAttempt
()
chat/components/AccountModal.js:100
↓ 3 callersMethodhandleCopyCodeBlock
* Handles copying code from a code block * @param {HTMLElement} btn - The copy button element
chat/components/ChatArea.js:1166
↓ 3 callersMethodhandleEditFileUpload
(messageId, files)
chat/app.js:6587
↓ 3 callersMethodhandleNewChatRequest
* Handles new chat request with validation (prevents empty duplicate sessions).
chat/app.js:3710
↓ 3 callersMethodhandleStorageEvent
(type, payload)
chat/app.js:7208
↓ 3 callersMethodhide
()
chat/components/RightPanel.js:485
↓ 3 callersMethodhideLinkPreview
* Hides the link preview card.
chat/app.js:1447
↓ 3 callersMethodhidePreviewImmediate
()
chat/components/MessageNavigation.js:235
↓ 3 callersMethodimportTickets
(payload)
chat/services/ticketStore.js:555
↓ 3 callersMethodinit
()
chat/services/preferencesStore.js:113
↓ 3 callersMethodinitScrollAwareScrollbars
(element, hideDelayMs = 1500)
chat/app.js:646
↓ 3 callersFunctionisAllowedConfidentialModel
(modelId)
chat/services/confidentialModelConfig.js:16
↓ 3 callersFunctionisMemoryAuthError
(error)
chat/services/memoryBridge.js:66
↓ 3 callersMethodisMessageStreamingInDOM
* Checks whether a message is actively streaming in the current DOM. * @param {string} messageId - The message ID * @returns {boolean} True
chat/components/ChatArea.js:892
↓ 3 callersMethodisWelcomeWorkflowActive
()
chat/app.js:2847
↓ 3 callersFunctionmapCredentials
(credentials = [])
chat/services/accountService.js:240
↓ 3 callersMethodmarkHadTicketsBeforeIfNeeded
(activeCount, archivedCount)
chat/services/ticketStore.js:79
↓ 3 callersMethodmaybeShowQuickAskPopover
()
chat/components/ChatArea.js:390
↓ 3 callersMethodnavigateToMessage
(index)
chat/components/MessageNavigation.js:305
↓ 3 callersFunctionnormalizeMemoryConfidenceValue
(value, fallback = 0.7)
chat/services/memoryConfidence.js:1
↓ 3 callersFunctionnormalizePendingPhase
(phase)
chat/components/MessageTemplates.js:125
↓ 3 callersMethodnormalizeTimestamp
(value)
chat/services/syncService.js:351
↓ 3 callersFunctionnormalizeUsage
(usage, inputText, outputText)
local_inference/backends/webllmBackend.js:73
↓ 3 callersFunctionnormalizeWrappedKeyPayload
(payload)
chat/services/accountService.js:117
↓ 3 callersMethodnotify
(key, value)
chat/services/preferencesStore.js:447
↓ 3 callersMethodnotifyListeners
* Notify all listeners
chat/services/networkLogger.js:129
↓ 3 callersMethodparseBroadcastData
* Parse broadcast data to get verified and banned stations
chat/services/verifier.js:568
↓ 3 callersMethodparseInviteCode
Normalize and validate a raw invite code string. Returns the cleaned code or null.
chat/components/WelcomePanel.js:189
↓ 3 callersFunctionparseJsonResult
(rawResult)
chat/services/androidNativeInferenceTransport.js:10
↓ 3 callersFunctionplaceCaretAt
(node, placeAfter)
chat/services/editableDiffRenderer.js:357
↓ 3 callersMethodpositionQuickAskWindow
(panel, rect, options = {})
chat/components/ChatArea.js:552
↓ 3 callersMethodprepareModel
(modelId, options = {})
embeddings/embeddingService.js:73
↓ 3 callersMethodprimeTurnstileBubble
()
chat/components/WelcomePanel.js:911
↓ 3 callersFunctionreadMultiline
(rl, header)
experiments/local-inference-cli.mjs:22
↓ 3 callersMethodrecordApprovedMemoryContext
(session, draft, generation = null)
chat/app.js:4524
↓ 3 callersMethodrefreshSessionConversationSearchText
(session, messages = null, options = {})
chat/app.js:3887
↓ 3 callersFunctionregisterBackend
(name, factory)
vector/index.js:9
↓ 3 callersFunctionregisterEmbeddingBackend
(name, factory)
embeddings/embeddingService.js:8
↓ 3 callersMethodreloadSessions
()
chat/app.js:7190
↓ 3 callersMethodrender
()
chat/components/TLSSecurityModal.js:101
↓ 3 callersMethodrender
()
chat/components/RightPanel.js:2677
↓ 3 callersMethodrenderCurrentModel
* Renders the current model display in the input area.
chat/components/ModelPicker.js:413
↓ 3 callersMethodrenderVirtualRange
(force = false)
chat/components/Sidebar.js:707
↓ 3 callersMethodresetScrubberPreviewHeight
()
chat/components/ChatInput.js:1410
↓ 3 callersMethodresetScrubberPreviewHint
()
chat/components/ChatInput.js:1416
↓ 3 callersMethodresetScrubberTabShortcutState
()
chat/components/ChatInput.js:472
↓ 3 callersFunctionresetStats
()
experiments/local-webllm-demo.js:50
↓ 3 callersFunctionresolveDefaultModelPreferenceUpdate
(options = {})
chat/domain/modelSelection.js:93
↓ 3 callersFunctionresolveImportedMemoryPreferences
(options = {})
chat/domain/memorySettings.js:35
↓ 3 callersMethodresolvePendingPhaseForSession
(session)
chat/app.js:6226
↓ 3 callersMethodrestoreActivePromptScrollAnchor
(anchor)
chat/app.js:934
↓ 3 callersMethodsanitizeMessagesForApi
* Sanitizes messages for API calls by ensuring scrubbed content is used. * For assistant messages with scrubber metadata, always uses the redacte
chat/app.js:5006
↓ 3 callersMethodsaveSessionWithMessages
(session, messages)
chat/db.js:271
↓ 3 callersFunctionsaveWithConfirmation
(blob, suggestedName)
chat/services/globalExport.js:214
↓ 3 callersMethodscrollToBottomInstant
()
chat/components/RightPanel.js:1550
← previousnext →401–500 of 2,047, ranked by callers