MCPcopy Create free account

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

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

↓ 2 callersMethodrecordFailedAttempt
* Record a failed unlock attempt.
chat/services/accountService.js:505
↓ 2 callersMethodrefreshAccessToken
* Refresh the access token using the refresh token. * - Web: Uses HttpOnly cookie (sent automatically via credentials: include) * - Electron
chat/services/accountService.js:643
↓ 2 callersMethodrefreshAccessToken
()
chat/services/syncService.js:359
↓ 2 callersMethodrefreshDefaultModelPreferenceForAvailabilityUpdate
()
chat/app.js:3342
↓ 2 callersMethodrefreshEditMessage
(messageId, { focusTextarea = false } = {})
chat/app.js:6571
↓ 2 callersMethodrefreshFreeAccessEligibility
(options = {})
chat/components/WelcomePanel.js:233
↓ 2 callersMethodrefreshModelsForAvailabilityUpdate
()
chat/app.js:342
↓ 2 callersMethodrefreshProcessedMessagesIfMemoryOverrideChanged
(processedMessages, sourceMessages, modelIdForRequest, memoryGenerationAtProcess)
chat/app.js:5126
↓ 2 callersFunctionregisterBackendTransportHints
(backend)
chat/services/inference/inferenceService.js:30
↓ 2 callersMethodremoveResponsiveScaleListener
()
chat/components/WelcomePanel.js:370
↓ 2 callersFunctionremoveVectorItems
(db, collection, ids)
vector/idbStore.js:118
↓ 2 callersMethodrender
* Renders all messages for the current session. * Handles empty states, message rendering, LaTeX processing, and scroll behavior. * * S
chat/components/ChatArea.js:1608
↓ 2 callersFunctionrenderEditableDiff
(originalText, redactedText)
chat/services/editableDiffRenderer.js:152
↓ 2 callersMethodrenderEmptyStateImmediate
* Immediately renders the empty state without async loads. * Desktop hooks can call this to avoid intermediate flashes.
chat/components/ChatArea.js:837
↓ 2 callersMethodrenderLatex
* 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 callersFunctionrenderLatexInElement
* Apply LaTeX rendering to an element's message-content children
chat/components/ShareModals.js:46
↓ 2 callersMethodrenderLogsOnly
* 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 callersMethodrenderNetworkLogs
(previousLogCount = 0)
chat/components/RightPanel.js:2548
↓ 2 callersMethodrenderStatusRow
(label, verified, error, successText)
chat/components/VerifierAttestationModal.js:1513
↓ 2 callersFunctionrenderTemplate
(template, values = {})
chat/services/scrubberService.js:230
↓ 2 callersFunctionrenderTextSegment
(segment, type)
chat/services/editableDiffRenderer.js:119
↓ 2 callersFunctionreplaceBundleBlock
(html, name, scriptPath)
scripts/build.mjs:35
↓ 2 callersMethodrequestCancel
()
chat/components/ChatHistoryImportModal.js:392
↓ 2 callersMethodrequestConfidentialApiKey
* 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 callersFunctionrequestToPromise
(request)
vector/idbStore.js:7
↓ 2 callersMethodreserveAccessAcquisitionHandoff
(session, durationMs = 5000)
chat/app.js:8878
↓ 2 callersMethodresetSessionSearchResults
()
chat/app.js:7343
↓ 2 callersMethodresetTlsInfo
()
chat/services/networkProxy.js:147
↓ 2 callersMethodresetToken
Reset the widget so a fresh token is generated on the next requestToken() call.
chat/components/TurnstileBubble.js:151
↓ 2 callersFunctionresolveAppConfig
(webllmModule)
local_inference/backends/webllmBackend.js:53
↓ 2 callersFunctionresolveMemoryFeatureState
(options = {})
chat/domain/memorySettings.js:1
↓ 2 callersFunctionresolveMemoryFeatureToggle
(options = {})
chat/domain/memorySettings.js:18
↓ 2 callersMethodresolveStaleMemoryApproval
(messageId, approved, alwaysInclude)
chat/app.js:4354
↓ 2 callersMethodrestoreResponse
({ originalPrompt, redactedPrompt, responseText, session })
chat/services/scrubberService.js:457
↓ 2 callersMethodrestoreResponseWithContext
({ originalContext, redactedContext, responseText, session })
chat/services/scrubberService.js:465
↓ 2 callersMethodrestoreResponseWithPrompt
(promptTemplate, { original, redacted, responseText }, session)
chat/services/scrubberService.js:473
↓ 2 callersMethodrunMemoryAugmentFlow
(query, userMessage, session, options = {})
chat/app.js:4596
↓ 2 callersFunctionsanitizePinInput
* Sanitize PIN input - strip non-alphanumeric characters
chat/components/ShareModals.js:173
↓ 2 callersMethodscheduleHidePreview
()
chat/components/MessageNavigation.js:223
↓ 2 callersMethodscheduleStorageReload
()
chat/app.js:7226
↓ 2 callersMethodscrollToTop
* Scrolls the sessions list to the top.
chat/components/Sidebar.js:45
↓ 2 callersMethodsearchTermMatchesText
(term, text)
chat/app.js:7601
↓ 2 callersMethodsessionMatchesSidebarFilters
(session)
chat/app.js:7326
↓ 2 callersMethodsetBannedWarningCallback
* Set callback for banned station warnings
chat/services/verifier.js:357
↓ 2 callersMethodsetMemoryAgentModel
(modelId, options = {})
chat/app.js:4312
↓ 2 callersMethodsetModelSelectError
(selectEl)
chat/components/ChatInput.js:1542
↓ 2 callersFunctionsetNormalizedOffsetCursor
(container, targetOffset, affinity = 'after')
chat/services/editableDiffRenderer.js:347
↓ 2 callersMethodsetSidebarHiddenAttribute
(isHidden)
chat/app.js:7742
↓ 2 callersMethodsetupExpiryToggle
* Setup expiry segmented control
chat/components/ShareModals.js:565
↓ 2 callersMethodsetupSidebarFilterControls
()
chat/app.js:7880
↓ 2 callersMethodsetupStatusPanelHandlers
* Setup action handlers for status panel (shared between initial render and after-share)
chat/components/ShareModals.js:680
↓ 2 callersMethodshareCurrentSession
* Share the current session with optional encryption * Opens the share management modal for settings
chat/app.js:2678
↓ 2 callersMethodshouldShow
()
chat/components/WelcomePanel.js:77
↓ 2 callersMethodshowForkedSessionPrompt
* 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 callersMethodshowLinkPreview
* Shows the link preview card with metadata. * @param {HTMLElement} linkElement - The link element being hovered * @param {Object} metadata
chat/app.js:1356
↓ 2 callersMethodshowScrubberPreview
(options = {})
chat/components/ChatInput.js:630
↓ 2 callersMethodshowShareManagementModal
* Show share management modal with status, actions, and settings
chat/app.js:2764
↓ 2 callersMethodshowSharedKeyVerificationFailedPrompt
* Show prompt when shared API key verification fails
chat/components/ShareModals.js:804
↓ 2 callersFunctionshowToast
()
test/components/memoryEditor.test.js:67
↓ 2 callersFunctionsleep
* Sleep for a specified duration. * @param {number} ms - Duration in milliseconds * @returns {Promise<void>}
chat/services/fetchRetry.js:100
↓ 2 callersFunctionsmallToBase64
* Loop-based base64 encode for small arrays (avoids spread operator)
chat/services/shareEncryption.js:35
↓ 2 callersMethodsplitTicketsByStatus
(tickets)
chat/services/ticketStore.js:113
↓ 2 callersMethodstartBroadcastCheck
* Start periodic broadcast checks (every 60 seconds) * Only checks the current station for efficiency * @param {Function} getCurrentSession
chat/services/verifier.js:1077
↓ 2 callersMethodstartPromptSlideUpEffect
* 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 callersMethodstartResize
(clientX)
chat/components/Sidebar.js:486
↓ 2 callersMethodstopPeriodicSync
()
chat/services/syncService.js:744
↓ 2 callersFunctionsummarize
(label, ms, count)
experiments/vector-bench.mjs:12
↓ 2 callersFunctionsummarizeSessions
(sessions)
chat/services/importers/chatgptImporter.js:523
↓ 2 callersFunctiontoPosixPath
(value)
scripts/build.mjs:33
↓ 2 callersFunctiontokenizeText
(text)
chat/services/editableDiffRenderer.js:14
↓ 2 callersFunctiontraverse
(node)
chat/services/editableDiffRenderer.js:279
↓ 2 callersMethodtriggerPostTurnMemoryExtraction
(session)
chat/app.js:4070
↓ 2 callersMethodtriggerSync
* Trigger sync after local changes (debounced). * Call this when tickets or preferences change locally.
chat/services/syncService.js:250
↓ 2 callersMethodunlockWithPasskey
(accountIdInput, { mediation, silent = false } = {})
chat/services/accountService.js:1168
↓ 2 callersMethodupdateAccessModeIndicator
(accessModeToggle, activeBtn)
chat/components/WelcomePanel.js:429
↓ 2 callersMethodupdateCurrentMessageIndex
()
chat/components/MessageNavigation.js:247
↓ 2 callersFunctionupdateEditableDiff
(container, originalText, editedText, cursorState = null, options = {})
chat/services/editableDiffRenderer.js:481
↓ 2 callersMethodupdateIndicators
()
chat/components/MessageNavigation.js:279
↓ 2 callersMethodupdateInputActionUI
()
chat/components/ThanksPanel.js:497
↓ 2 callersMethodupdateReasoningSubtitleToDuration
* Updates the reasoning subtitle to show duration when thinking completes. * Called when output starts streaming after reasoning finishes. *
chat/components/ChatArea.js:2461
↓ 2 callersMethodupdateReasoningToggleUI
* Legacy hook: extended-thinking toggle was removed from settings. * Keep reasoning enabled and update the effort control only.
chat/components/ChatInput.js:1786
↓ 2 callersMethodupdateStreamingImages
* 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 callersMethodupdateStreamingMessage
* 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 callersMethodupdateStreamingReasoning
* Updates the reasoning trace content during streaming. * Uses debounced buffering for smoother rendering of rapid chunks. * @param {string}
chat/components/ChatArea.js:2137
↓ 2 callersMethodupdateSwitchToggleUI
(toggle, enabled, enabledTitle, disabledTitle)
chat/components/ChatInput.js:1563
↓ 2 callersMethodupdateTabIndicator
()
chat/components/AccountModal.js:71
↓ 2 callersMethodupdateThemeControls
* Updates theme controls based on current preference (delegated to ChatInput). * @param {string} preference - Theme preference * @param {str
chat/app.js:8458
↓ 2 callersMethodupdateThemeToggle
(preference)
chat/components/ThanksPanel.js:518
↓ 2 callersMethodupdateWelcomeThemeToggle
(preference)
chat/components/WelcomePanel.js:1559
↓ 2 callersMethodupdateWithLog
(log)
chat/components/FloatingPanel.js:96
↓ 2 callersFunctionvalidatePayload
(payload)
chat/services/shareService.js:367
↓ 2 callersFunctionvectorKey
(collection, id)
vector/idbStore.js:149
↓ 2 callersMethodverifySharedAccess
* Verify shared access credentials with the backend verifier (if supported). * @param {Object|null} sharedAccess - Shared access data from payloa
chat/app.js:2345
↓ 2 callersFunctionwriteAvailabilityState
(normalized)
chat/services/modelConfig.js:106
↓ 1 callersMethod_applyServerBlob
(masterKey, serverBlob)
chat/services/syncService.js:487
↓ 1 callersMethod_attachEventListeners
()
chat/components/MemoryEditor.js:546
↓ 1 callersMethod_attachInputListeners
()
chat/components/MemoryEditor.js:622
↓ 1 callersMethod_attachRenameListener
()
chat/components/MemoryEditor.js:652
↓ 1 callersMethod_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 callersMethod_collectBackfillCandidates
()
chat/components/MemoryEditor.js:1544
← previousnext →801–900 of 2,047, ranked by callers