MCPcopy Create free account

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

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

↓ 1 callersFunctionbuildUserMessage
* Builds HTML for a user message bubble. * @param {Object} message - Message object with id, content, etc. * @param {Object} options - Template opti
chat/components/MessageTemplates.js:597
↓ 1 callersMethodbuildVirtualItemHTML
(item)
chat/components/Sidebar.js:759
↓ 1 callersFunctionbytesToWord
(byte1, byte2)
chat/services/recoveryCode.js:35
↓ 1 callersMethodcacheScrubberPreviewHint
()
chat/components/ChatInput.js:1375
↓ 1 callersMethodcalculateBarHeight
(content)
chat/components/MessageNavigation.js:148
↓ 1 callersFunctioncanUseSessionStorage
()
chat/db.js:11
↓ 1 callersFunctioncancelAndroidNativeInferenceJob
(jobId)
chat/services/androidNativeInferenceTransport.js:74
↓ 1 callersMethodcancelInlineEdit
* Cancels inline editing and restores the original title. * @param {HTMLInputElement} input - The input element
chat/components/Sidebar.js:391
↓ 1 callersMethodcapitalizeProvider
(provider)
chat/api.js:182
↓ 1 callersMethodcaptureOverlayBasePadding
()
chat/components/WelcomePanel.js:344
↓ 1 callersMethodcaptureTicketCodeFromUrl
* Capture ticket code from URL and clean the path/query. * Supports /tickets/<code> and ?tickets=<code>.
chat/app.js:2044
↓ 1 callersMethodcheckAvailability
()
chat/services/privacyPass.js:107
↓ 1 callersMethodcheckForShareUpdates
* Check if a previously imported share has been updated * @param {string} shareId - The share ID to check * @param {Object} existingSession
chat/app.js:2215
↓ 1 callersMethodcheckForUrlSession
* Check URL for session parameter (?s=sessionId) * - First checks if it's a local session by ID * - Then checks if it's a local session by s
chat/app.js:2114
↓ 1 callersFunctionclampSimilarity
(value)
vector/oramaBackend.js:14
↓ 1 callersMethodcleanGeneratedSessionTitle
(title)
chat/app.js:3899
↓ 1 callersMethodcleanLegacyTickets
()
chat/services/ticketStore.js:378
↓ 1 callersMethodcleanPayload
(payload)
chat/services/ticketClient.js:140
↓ 1 callersMethodclearAccountHighlight
()
chat/app.js:2887
↓ 1 callersMethodclearAll
()
chat/services/syncService.js:763
↓ 1 callersMethodclearAllChatbarStates
()
chat/app.js:1104
↓ 1 callersMethodclearAllChats
()
chat/db.js:520
↓ 1 callersMethodclearAllChatsIncompatFallback
()
chat/app.js:6963
↓ 1 callersMethodclearAllLogs
* Clear all logs (memory-only)
chat/services/networkLogger.js:110
↓ 1 callersMethodclearAllTickets
()
chat/services/ticketStore.js:433
↓ 1 callersMethodclearChatbarStateForSession
(sessionId)
chat/app.js:1099
↓ 1 callersMethodclearCredentials
()
chat/services/syncService.js:187
↓ 1 callersMethodclearCurrentSession
* Clears the current session, returning to the startup state. * No session is selected until the user sends their first message.
chat/app.js:3759
↓ 1 callersMethodclearInlineFeedbackUI
()
chat/components/ThanksPanel.js:482
↓ 1 callersMethodclearLocalAccount
()
chat/services/accountService.js:1533
↓ 1 callersMethodclearMessage
()
chat/components/FloatingPanel.js:115
↓ 1 callersMethodclearPendingMemoryApprovalPromptsForCurrentSession
()
chat/app.js:4284
↓ 1 callersMethodclearSidebarFilters
()
chat/app.js:7402
↓ 1 callersMethodclose
()
vector/index.js:133
↓ 1 callersMethodcloseRightPanel
()
chat/components/RightPanel.js:505
↓ 1 callersFunctioncollectJsFiles
(dir)
scripts/build.mjs:64
↓ 1 callersFunctioncollectPartText
(part, textParts, mediaTypes)
chat/services/importers/chatgptImporter.js:102
↓ 1 callersFunctioncollectPreferencesFromIndexedDB
* Collect preferences from IndexedDB settings store. * @returns {Promise<Object>} Preferences object
chat/services/globalExport.js:83
↓ 1 callersFunctioncollectPreferencesFromStore
* Collect persisted preferences. * @returns {Object} Preferences object
chat/services/globalExport.js:18
↓ 1 callersMethodcollectZeroTrustEvidence
()
chat/components/VerifierAttestationModal.js:357
↓ 1 callersMethodcompleteAccountRegistration
* Step 4: Complete account registration with the server. * Wraps master key, calls /auth/register, updates state. * @returns {Promise<boolea
chat/services/accountService.js:923
↓ 1 callersMethodconfigureMarkedRenderer
* Configure marked.js with custom renderer for code blocks * Adds language label and copy button to fenced code blocks
chat/app.js:454
↓ 1 callersFunctionconfigureMessageTemplateServices
(services)
chat/components/MessageTemplates.js:41
↓ 1 callersFunctionconsumeCompatFlag
()
chat/db.js:21
↓ 1 callersFunctioncontentPartsToText
(parts)
local_inference/responseUtils.js:171
↓ 1 callersMethodconvertBlobToFile
* Converts a Blob (from clipboard) to a File object with proper metadata. * @param {Blob} blob - The image blob from clipboard * @param {str
chat/app.js:8650
↓ 1 callersFunctioncreateAbortError
()
chat/services/memoryBridge.js:8
↓ 1 callersFunctioncreateAbortError
()
chat/services/memoryInstances.js:13
↓ 1 callersFunctioncreateAbortError
()
chat/services/omfImporter.js:5
↓ 1 callersFunctioncreateAbortError
()
chat/services/omfExporter.js:4
↓ 1 callersMethodcreateChallenge
()
chat/services/privacyPass.js:64
↓ 1 callersMethodcreateForkMessageSnapshot
* Normalizes a message into a static snapshot for forked sessions. * Forks should capture visible content without carrying active streaming state
chat/app.js:6628
↓ 1 callersFunctioncreateLinkedSignal
* Create an AbortSignal that aborts when either of two signals abort. * @param {AbortSignal} signal1 - First signal * @param {AbortSignal} signal2 -
chat/services/fetchRetry.js:247
↓ 1 callersMethodcreateNavigationUI
()
chat/components/MessageNavigation.js:23
↓ 1 callersFunctioncreateOutputItem
(text, index = 0)
local_inference/responseUtils.js:253
↓ 1 callersMethodcreateScrollToBottomButton
* Creates the scroll-to-bottom button element
chat/app.js:1125
↓ 1 callersFunctioncreateShareApi
* Create a new session share * POST /chat/share * @param {string} shareId - Client-generated share ID * @param {Object} encryptedData - {salt, iv,
chat/services/shareService.js:51
↓ 1 callersMethodcreateSingleTokenRequest
(publicKeyB64)
chat/services/privacyPass.js:68
↓ 1 callersMethodcreateTabId
()
chat/services/storageEvents.js:10
↓ 1 callersFunctiondecodeVectorId
(id)
vector/idCodec.js:42
↓ 1 callersFunctiondecodeXmlEntities
(text)
chat/services/fileUtils.js:348
↓ 1 callersFunctiondecrypt
(salt, iv, ciphertext, password)
chat/services/shareEncryption.js:116
↓ 1 callersFunctiondecryptBlob
* Decrypt data. Returns the full payload including type.
chat/services/syncService.js:142
↓ 1 callersFunctiondefaultGetMessageTextContent
(content)
chat/services/memoryMessageNormalization.js:1
↓ 1 callersMethoddeferInitialInputFocus
()
chat/app.js:8520
↓ 1 callersMethoddeleteAllChats
()
chat/app.js:6929
↓ 1 callersMethoddestroy
()
chat/components/WelcomePanel.js:1570
↓ 1 callersMethoddetachQuickAskWindowForRender
(sessionId)
chat/components/ChatArea.js:814
↓ 1 callersMethoddetectInitialLinkContext
()
chat/app.js:272
↓ 1 callersFunctiondiffTokens
(aTokens, bTokens)
chat/services/editableDiffRenderer.js:70
↓ 1 callersMethodembedText
(text, options = {})
embeddings/embeddingService.js:105
↓ 1 callersMethodembedTexts
(texts, options = {})
embeddings/embeddingService.js:118
↓ 1 callersFunctionencodeShareData
(payload, password)
chat/services/shareService.js:320
↓ 1 callersFunctionencodeUlidRandom
()
chat/services/ulid.js:16
↓ 1 callersFunctionencodeUlidTime
(timeMs)
chat/services/ulid.js:6
↓ 1 callersFunctionencodeVectorId
({ namespace, type, entityId, chunkId, field, variant } = {})
vector/idCodec.js:13
↓ 1 callersFunctionencrypt
(data, password)
chat/services/shareEncryption.js:87
↓ 1 callersFunctionenhanceInlineLinks
* Transforms regular anchor links into elegant button-style citations with hover previews. * This should be called AFTER HTML/Markdown processing. *
chat/components/MessageTemplates.js:1100
↓ 1 callersFunctionensureCursorOutsideDeleted
(container)
chat/services/editableDiffRenderer.js:456
↓ 1 callersMethodensureDbReady
()
chat/services/preferencesStore.js:145
↓ 1 callersFunctionensureDir
(dir)
scripts/sync-fonts.mjs:89
↓ 1 callersMethodensureEventListeners
* Ensures session list event listeners are attached once.
chat/components/Sidebar.js:204
↓ 1 callersFunctionensureHtml2Pdf
* Lazy-loads the html2pdf library from local assets. * @returns {Promise<void>}
chat/services/pdfExport.js:13
↓ 1 callersMethodensureLibcurlReady
()
chat/services/networkProxy.js:555
↓ 1 callersMethodensurePersistentStorage
()
chat/services/storageManager.js:25
↓ 1 callersMethodensureQuickAskPopover
()
chat/components/ChatArea.js:413
↓ 1 callersMethodensureQuickAskWindow
()
chat/components/ChatArea.js:505
↓ 1 callersMethodensureResponsiveScaleListener
()
chat/components/WelcomePanel.js:355
↓ 1 callersMethodensureScrubberModelsLoaded
()
chat/components/ChatInput.js:1500
↓ 1 callersMethodensureTicketsUpdatedListener
()
chat/components/ThanksPanel.js:112
↓ 1 callersMethodensureTicketsUpdatedListener
()
chat/components/WelcomePanel.js:218
↓ 1 callersMethodenterEditMode
* Enters edit mode for a user message * @param {string} messageId - Message ID to edit
chat/app.js:6661
↓ 1 callersMethodescapeHtml
(text)
chat/components/FloatingPanel.js:22
↓ 1 callersFunctionescapeHtmlAttribute
(text)
chat/services/networkLogRenderer.js:71
↓ 1 callersFunctionexportAllData
()
chat/services/globalExport.js:357
↓ 1 callersMethodexportMemories
()
chat/components/MemoryEditor.js:1007
↓ 1 callersFunctionexportMemoriesAsOmf
(options = {})
chat/services/omfExporter.js:27
↓ 1 callersFunctionexportToPdf
(messagesContainer)
chat/services/pdfExport.js:170
↓ 1 callersMethodextractContainerInfo
(attestation)
chat/components/VerifierAttestationModal.js:319
↓ 1 callersFunctionextractDomainFromUrl
(url)
chat/services/importers/chatgptImporter.js:265
← previousnext →1,001–1,100 of 2,047, ranked by callers