MCPcopy Create free account

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

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

↓ 2 callersMethodcheckRateLimit
* Check rate limit and return error message if limited, or null if ok.
chat/services/accountService.js:529
↓ 2 callersMethodclearErrors
()
chat/services/accountService.js:799
↓ 2 callersMethodclearPersistedMasterKey
* Clear the persisted master key from IndexedDB. * Called during logout to fully clear the session.
chat/services/accountService.js:618
↓ 2 callersMethodclearRateLimit
* Clear rate limiting state (call on successful unlock).
chat/services/accountService.js:519
↓ 2 callersFunctionclearVectorItems
(db, collection)
vector/idbStore.js:128
↓ 2 callersMethodcloneMessageFiles
(files)
chat/app.js:6540
↓ 2 callersFunctioncoerceEmbedding
(item)
embeddings/utils.js:18
↓ 2 callersFunctioncollectTests
(dir)
scripts/run-unit-tests.mjs:22
↓ 2 callersMethodconfirmEditPrompt
* Confirms and applies the edited prompt * @param {string} messageId - Message ID being edited
chat/app.js:6707
↓ 2 callersMethodcopySessionLink
* Copy the current session's URL to clipboard
chat/app.js:2566
↓ 2 callersFunctioncreateAbortableStorage
(signal)
chat/services/omfImporter.js:25
↓ 2 callersMethodcreateAssistantScrubberMetadata
({ originalPrompt, redactedPrompt, hasScrubberContext })
chat/app.js:5087
↓ 2 callersFunctioncreateComponentDataInterface
(options = {})
chat/ui/appInterface.js:14
↓ 2 callersFunctioncreateComponentServicesInterface
(options = {})
chat/ui/appInterface.js:75
↓ 2 callersMethodcreateImagePreview
(file)
chat/app.js:8819
↓ 2 callersFunctioncreateLocalInferenceBackend
(options = {})
embeddings/backends/localInferenceBackend.js:4
↓ 2 callersFunctioncreateOramaStub
()
vector/vectorStore.test.mjs:5
↓ 2 callersFunctioncreateSidebarInterface
(app)
chat/ui/appInterface.js:132
↓ 2 callersFunctioncreateVanillaUiInterface
(app, options = {})
chat/ui/appInterface.js:292
↓ 2 callersFunctiondecodeBase64ToFloat32
(base64)
embeddings/utils.js:1
↓ 2 callersFunctiondecodeHtmlEntities
(text)
chat/services/importers/chatgptImporter.js:72
↓ 2 callersFunctiondecodeShareData
(shareData, password)
chat/services/shareService.js:346
↓ 2 callersMethoddecodeSharePayload
* Decode share payload (handles both plaintext and encrypted) * @returns {Promise<Object|null>} Payload or null if cancelled/failed
chat/app.js:2305
↓ 2 callersFunctiondecodeWrappedKey
(payload)
chat/services/accountService.js:110
↓ 2 callersFunctiondecryptBytes
(key, payload)
chat/services/accountService.js:156
↓ 2 callersFunctionderiveItemKey
* Derive a unique AES-256 key for a specific blob using HKDF.
chat/services/syncService.js:94
↓ 2 callersFunctionderiveKey
* Derive a key from password using Argon2id
chat/services/shareEncryption.js:54
↓ 2 callersMethoddetachStalePromptSlideUpEffect
()
chat/app.js:804
↓ 2 callersFunctiondownloadShareApi
* Download a session share * GET /chat/share/{share_id} * @param {string} shareId - Share ID from URL * @returns {Promise<{id: string, salt: string
chat/services/shareService.js:195
↓ 2 callersFunctionemitDesktopEvent
(name, detail = {})
chat/app.js:104
↓ 2 callersMethodemitStorageEventDebounced
(type, key, detail, delayMs = 250)
chat/db.js:665
↓ 2 callersMethodenrichCitationsAndUpdateUI
* Enriches citations with metadata and updates the UI. * @param {Object} message - The message containing citations
chat/app.js:8468
↓ 2 callersMethodensureApiKey
* Ensure we have a valid API key for the given chat session. * Keys are stored on the session object and persisted via chatDB. * @param {Obj
chat/services/scrubberService.js:319
↓ 2 callersMethodensureBackend
(apiKey)
chat/services/scrubberService.js:274
↓ 2 callersMethodensureTurnstileBubbleReady
()
chat/components/WelcomePanel.js:883
↓ 2 callersFunctionensureVectorMeta
(db, collection, { dimension, metric, normalize })
vector/idbStore.js:44
↓ 2 callersFunctionescapeHtml
(value)
chat/services/memoryRetrievalAssessment.js:71
↓ 2 callersFunctionescapeHtml
(value)
chat/services/editableDiffRenderer.js:3
↓ 2 callersMethodescapeHtml
* Escapes HTML special characters in text. * @param {string} text - The text to escape * @returns {string} HTML-safe text
chat/components/Sidebar.js:57
↓ 2 callersMethodescapeHtmlAttribute
(str)
chat/components/VerifierAttestationModal.js:1554
↓ 2 callersFunctionestimate
(text)
local_inference/responseUtils.js:282
↓ 2 callersMethodexportChatToPdf
* Exports the current chat session to a PDF file. * Delegates to pdfExport service.
chat/app.js:7731
↓ 2 callersMethodextractMemoryUserDataContext
(reviewPrompt, fallbackText = '')
chat/app.js:4437
↓ 2 callersFunctionextractOutputText
(response)
chat/services/scrubberService.js:247
↓ 2 callersMethodextractReasoningSubtitle
* Extracts a meaningful subtitle from reasoning content. * Only uses explicit subtitle markers (## headings or **bold** text). * Returns "Th
chat/components/ChatArea.js:2410
↓ 2 callersFunctionextractReasoningSummaries
* Extracts summaries from reasoning content (headings and bold text). * @param {string} reasoning - The reasoning content * @returns {Array} Array o
chat/components/MessageTemplates.js:791
↓ 2 callersFunctionextractShortModelName
* Extracts just the model name from a full "Provider: ModelName" string. * @param {string} fullName - Full model name (e.g., "OpenAI: GPT-5.1 Thinkin
chat/components/MessageTemplates.js:1333
↓ 2 callersFunctionextractTaggedOutput
(rawText, tagName)
chat/services/scrubberService.js:237
↓ 2 callersMethodfetch
(resource, init = {}, config = {})
chat/services/networkProxy.js:641
↓ 2 callersMethodfetchAndVerifyAttestation
()
chat/components/VerifierAttestationModal.js:61
↓ 2 callersFunctionfetchRetryJson
(url, init = {}, config = {})
chat/services/fetchRetry.js:272
↓ 2 callersFunctionfileToMultimodalContent
(file)
chat/services/fileUtils.js:430
↓ 2 callersFunctionfilterDisabledModels
(models, disabledIds = [])
chat/domain/modelSelection.js:12
↓ 2 callersMethodfilterDisabledModels
(models)
chat/app.js:302
↓ 2 callersMethodfindIndexForOffset
(offset)
chat/components/Sidebar.js:666
↓ 2 callersMethodfinishInlineEdit
* Finishes inline editing and saves the new title. * @param {HTMLInputElement} input - The input element
chat/components/Sidebar.js:366
↓ 2 callersMethodfocusAccessInput
()
chat/components/ThanksPanel.js:80
↓ 2 callersMethodfocusMessageInput
({ force = false } = {})
chat/app.js:8532
↓ 2 callersFunctionformatAttachmentSize
(size)
chat/components/MessageTemplates.js:508
↓ 2 callersMethodformatCertName
(certString)
chat/components/TLSSecurityModal.js:361
↓ 2 callersMethodformatIssuer
(issuer)
chat/components/VerifierAttestationModal.js:1537
↓ 2 callersFunctionformatOpenAiInstantDisplayName
(variant)
chat/services/modelNames.js:42
↓ 2 callersMethodformatProxyHostname
(url)
chat/components/TLSSecurityModal.js:368
↓ 2 callersMethodformatReasoningDuration
* Formats a duration in milliseconds to a human-readable string. * @param {number} durationMs - Duration in milliseconds * @returns {string}
chat/components/ChatArea.js:2438
↓ 2 callersMethodformatThemeName
* Formats theme name for display (capitalizes first letter). * @param {string} theme - Theme name * @returns {string} Formatted name
chat/components/ChatInput.js:1867
↓ 2 callersMethodgenerateExpandedDetailsHTML
* Generate the expanded details HTML for a log entry
chat/components/RightPanel.js:1406
↓ 2 callersFunctiongenerateRecoveryCode
(wordCount = WORD_COUNT_DEFAULT)
chat/services/recoveryCode.js:39
↓ 2 callersMethodgenerateSessionTitleIfNeeded
(sessionId, userMessageId)
chat/app.js:3914
↓ 2 callersMethodgenerateTopSectionHTML
* Generates HTML for the top section (tickets and API key) only.
chat/components/RightPanel.js:1652
↓ 2 callersMethodget
(ids, options = {})
vector/memoryBackend.js:174
↓ 2 callersMethodgetAccessAcquisitionKey
(session, modelNameOverride = null, modelIdOverride = null)
chat/app.js:8867
↓ 2 callersFunctiongetActivityIcon
(log)
chat/services/networkLogRenderer.js:414
↓ 2 callersFunctiongetBackendDefaultModelConfig
(backend)
chat/services/inference/inferenceService.js:64
↓ 2 callersMethodgetCount
()
chat/services/ticketStore.js:389
↓ 2 callersMethodgetCurrentAccessValue
()
chat/components/WelcomePanel.js:206
↓ 2 callersMethodgetCurrentModelName
()
chat/components/ModelPicker.js:193
↓ 2 callersMethodgetCurrentSessionStreamingPhase
()
chat/app.js:3655
↓ 2 callersMethodgetCurrentSidebarWidth
()
chat/app.js:7758
↓ 2 callersFunctiongetCursorAffinity
(container, range)
chat/services/editableDiffRenderer.js:233
↓ 2 callersFunctiongetDefaultModelId
()
chat/services/modelConfig.js:225
↓ 2 callersMethodgetDefaultValue
(key, options = {})
chat/services/preferencesStore.js:300
↓ 2 callersFunctiongetDelay
* Calculate delay for next retry attempt. * @param {number} attempt - Current attempt number (0-indexed) * @param {number} baseDelayMs - Base delay
chat/services/fetchRetry.js:83
↓ 2 callersFunctiongetDisabledModels
()
chat/services/modelConfig.js:215
↓ 2 callersMethodgetDisplayed
()
chat/services/smoothProgress.js:65
↓ 2 callersFunctiongetEditableDiffSelectionState
(container)
chat/services/editableDiffRenderer.js:520
↓ 2 callersMethodgetExpiryAlignmentClass
(isKeyShared = null)
chat/components/RightPanel.js:1398
↓ 2 callersFunctiongetExpiryTtl
()
chat/components/ShareModals.js:146
↓ 2 callersMethodgetExpiryWidthClass
(isKeyShared = null)
chat/components/RightPanel.js:1393
↓ 2 callersMethodgetFooterText
()
chat/components/Sidebar.js:555
↓ 2 callersMethodgetInitialState
()
chat/components/ChatHistoryImportModal.js:29
↓ 2 callersMethodgetInputHint
(kind)
chat/components/ThanksPanel.js:159
↓ 2 callersMethodgetItemHeight
(item)
chat/components/Sidebar.js:652
↓ 2 callersMethodgetKeyDisplayInfo
()
chat/components/RightPanel.js:1314
↓ 2 callersMethodgetLocalDateKey
(timestamp)
chat/app.js:7285
↓ 2 callersMethodgetMemoryContextEntries
(session)
chat/app.js:4448
↓ 2 callersMethodgetMessageRawFromDOM
* Gets raw message content from a data attribute (sync, Safari-safe). * @param {string} messageId - The message ID * @returns {string|null}
chat/components/ChatArea.js:907
↓ 2 callersMethodgetMessageTemplateOptions
* Returns template options for rendering a specific message * @param {string} messageId - Message ID * @returns {Object} Template options
chat/app.js:6530
↓ 2 callersFunctiongetModelControls
()
experiments/local-webllm-demo.js:83
↓ 2 callersFunctiongetNormalizedTextOffset
(container, targetNode, targetOffset)
chat/services/editableDiffRenderer.js:274
↓ 2 callersMethodgetPreferenceTimestampKey
(key)
chat/services/syncService.js:347
← previousnext →601–700 of 2,047, ranked by callers