MCPcopy Create free account

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

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

↓ 232 callersMethodpush
(index, score)
vector/memoryBackend.js:11
↓ 182 callersMethodremove
(ids)
vector/index.js:103
↓ 116 callersMethodshowToast
* Show a toast notification * @param {string} message - Message to display * @param {string} type - 'success' or 'error' * @param {numb
chat/app.js:2858
↓ 79 callersMethodcreateElement
()
chat/components/FloatingPanel.js:54
↓ 76 callersMethodget
(ids, options)
vector/index.js:108
↓ 60 callersMethodgetCurrentSession
* Gets the current active session. * @returns {Object|undefined} Current session or undefined
chat/app.js:3520
↓ 59 callersMethodset
(percent)
chat/services/smoothProgress.js:41
↓ 59 callersMethodtoggle
()
chat/components/RightPanel.js:494
↓ 53 callersMethodsaveSetting
(key, value)
chat/db.js:610
↓ 47 callersMethodgetSetting
(key)
chat/db.js:635
↓ 46 callersMethodsaveSession
(session)
chat/db.js:257
↓ 42 callersFunctionescapeHtmlAttribute
(text)
chat/components/MessageTemplates.js:115
↓ 41 callersMethodlogRequest
* Log a network request or local event * @param {Object} details - Event details * @param {string} details.type - Type of event (ticket, api
chat/services/networkLogger.js:36
↓ 39 callersMethodgetSessionMessages
(sessionId)
chat/db.js:557
↓ 38 callersMethodgetPreference
()
chat/services/themeManager.js:147
↓ 37 callersMethodsavePreference
(key, value, options = {})
chat/services/preferencesStore.js:341
↓ 36 callersMethodsaveMessage
(message)
chat/db.js:543
↓ 35 callersMethodisViewingSession
* Checks if the user is currently viewing the specified session. * Used to gate UI updates for streaming to prevent cross-session pollution.
chat/app.js:3536
↓ 34 callersMethod_assertMemoryOperationActive
(operation)
chat/components/MemoryEditor.js:207
↓ 33 callersFunctionsetStatus
(message, tone = 'info')
experiments/local-webllm-demo.js:31
↓ 31 callersMethodescapeHtml
(text)
chat/components/RightPanel.js:291
↓ 31 callersMethodrenderTopSectionOnly
* Re-renders only the top section (tickets/API key) without re-rendering logs.
chat/components/RightPanel.js:2483
↓ 27 callersMethodnormalizeModelName
* Normalizes any stored model reference into the canonical display name * used throughout the UI. * * Accepts: * - A model ID (e.g
chat/app.js:3321
↓ 26 callersMethodrenderSessions
* Renders the sessions list (delegated to Sidebar component).
chat/app.js:7614
↓ 25 callersFunctiongetBackendForSession
(session)
chat/services/inference/inferenceService.js:39
↓ 24 callersMethodabort
()
chat/services/networkProxy.js:620
↓ 23 callersFunctionescapeHtml
* Escapes HTML special characters in text. * @param {string} text - The text to escape * @returns {string} HTML-safe text
chat/components/MessageTemplates.js:97
↓ 23 callersMethodrender
()
chat/components/MemoryEditor.js:253
↓ 23 callersMethodrender
()
chat/components/AccountModal.js:396
↓ 22 callersMethodisMemoryFeatureActive
(generation = this.memoryWorkGeneration)
chat/app.js:4203
↓ 21 callersMethod_escapeHtml
(text)
chat/components/MemoryEditor.js:1612
↓ 18 callersMethodfetchWithRetryJson
* Fetch with retry and JSON parsing using this proxy's transport. * * @param {string|Request} url - URL or Request object * @param {Re
chat/services/networkProxy.js:765
↓ 18 callersMethodgetSessionStreamingState
* Gets the streaming state for a session * @param {string} sessionId - Session ID * @returns {Object} Streaming state object with isStreamin
chat/app.js:3545
↓ 18 callersMethodrender
()
chat/components/WelcomePanel.js:845
↓ 18 callersMethodsanitizeHeaders
* Sanitize headers (remove sensitive data)
chat/services/networkLogger.js:163
↓ 18 callersMethodswitchSession
* Switches to a different session. * @param {string} sessionId - ID of the session to switch to
chat/app.js:3447
↓ 17 callersMethodclear
()
vector/index.js:123
↓ 17 callersMethodinit
()
chat/services/syncService.js:194
↓ 17 callersMethodnotify
()
chat/services/accountService.js:698
↓ 16 callersMethod_isMemoryFeatureEnabled
()
chat/components/MemoryEditor.js:165
↓ 16 callersFunctionthrowIfAborted
(signal)
chat/services/memoryBridge.js:15
↓ 16 callersMethodupdateToolbarDivider
* Updates toolbar state. Can predict final width with widthDelta parameter. * @param {number} widthDelta - Optional: predicted change in main are
chat/app.js:1221
↓ 15 callersMethodisMobileView
()
chat/app.js:7876
↓ 15 callersFunctionwithMemoryBank
(signal, operation)
chat/services/memoryInstances.js:57
↓ 14 callersMethodgetTicketCount
()
chat/services/ticketClient.js:62
↓ 14 callersMethodrefreshMemorySettingsUI
()
chat/components/ChatInput.js:1572
↓ 14 callersFunctionsanitizeUrl
* Allowlist URL sanitizer for link/image attributes.
chat/components/MessageTemplates.js:295
↓ 14 callersMethodupdateScrollButtonVisibility
* Checks scroll position and updates button visibility
chat/app.js:1293
↓ 14 callersMethodupsert
(items)
vector/index.js:97
↓ 13 callersMethodescapeHtml
(str)
chat/components/VerifierAttestationModal.js:1547
↓ 13 callersMethodopen
()
chat/components/ThanksPanel.js:46
↓ 13 callersMethodrenderCurrentModel
* Renders the current model display (delegated to ModelPicker component).
chat/app.js:7636
↓ 13 callersMethodrenderMessages
* Renders all messages for the current session (delegated to ChatArea component).
chat/app.js:7645
↓ 13 callersMethodsearch
(query, k, options)
vector/index.js:113
↓ 12 callersMethod_beginMemoryOperation
()
chat/components/MemoryEditor.js:180
↓ 12 callersMethod_finishMemoryOperation
(operation)
chat/components/MemoryEditor.js:194
↓ 12 callersMethod_handleMemoryOperationError
(error)
chat/components/MemoryEditor.js:213
↓ 12 callersMethodclearMemoryApiOverrideContent
()
chat/app.js:4207
↓ 12 callersFunctionemitStatus
(payload)
local_inference/localInferenceService.js:15
↓ 12 callersMethodgenerateId
* Generates a unique ID for sessions and messages using ULID. * Format: 5-5-5-6 lowercase (e.g., 01j7x-kqnp2-4mvwt-ghr85c) * Uses 21 chars:
chat/app.js:3273
↓ 12 callersMethodgetAccessToken
()
chat/services/syncService.js:343
↓ 12 callersMethodon
(type, handler)
chat/services/storageEvents.js:80
↓ 12 callersFunctionread
(relativePath)
test/architecture/uiBoundary.test.js:8
↓ 12 callersMethodsetState
(patch)
chat/services/accountService.js:716
↓ 12 callersMethodupdateActivePromptScrollSpacer
* Maintains just enough temporary bottom runway to keep the active prompt * at the target viewport position. As assistant output grows, the space
chat/app.js:967
↓ 12 callersMethodupdateStatus
()
chat/services/accountService.js:703
↓ 11 callersFunctioncreateVectorStore
(options = {})
vector/index.js:139
↓ 11 callersMethoddeleteMessage
(messageId)
chat/db.js:595
↓ 11 callersMethodemitChange
()
chat/services/networkProxy.js:366
↓ 11 callersMethodisCurrentSessionStreaming
* Checks if current session is streaming * @returns {boolean}
chat/app.js:3648
↓ 11 callersMethodmergeTickets
(existing, incoming)
chat/services/ticketStore.js:235
↓ 11 callersMethodonChange
(callback)
chat/services/networkProxy.js:375
↓ 11 callersMethodpersistTickets
(activeTickets, archivedTickets, options = {})
chat/services/ticketStore.js:270
↓ 11 callersMethodrenderRow
(label, value, valueClass = 'text-foreground', truncate = false)
chat/components/VerifierAttestationModal.js:1528
↓ 11 callersFunctionrunAbortable
(operation, options = {})
chat/services/memoryInstances.js:26
↓ 11 callersMethodshowMessage
(text, type = 'info', duration = 0)
chat/components/FloatingPanel.js:103
↓ 11 callersMethodstop
()
chat/services/smoothProgress.js:73
↓ 11 callersFunctionthrowIfAborted
(signal)
chat/services/memoryInstances.js:20
↓ 10 callersMethodcleanup
* Clean up current modal
chat/components/ShareModals.js:375
↓ 10 callersMethodclose
()
chat/components/ThanksPanel.js:92
↓ 10 callersMethodcloseAllMenus
(exceptMenu = null)
chat/components/Sidebar.js:535
↓ 10 callersMethodescapeHtml
(text)
chat/components/AccountModal.js:145
↓ 10 callersMethodgetAllSessions
()
chat/db.js:327
↓ 10 callersMethodhasActiveSessionListCriteria
()
chat/app.js:7268
↓ 10 callersMethodhideSidebar
(options = {})
chat/app.js:7789
↓ 10 callersMethodonSessionChange
(session)
chat/components/RightPanel.js:220
↓ 10 callersMethodpersistLocalAssistantStatus
(message)
chat/app.js:4062
↓ 10 callersFunctionrunAbortable
(operation, signal)
chat/services/omfImporter.js:18
↓ 10 callersMethodsetError
(error)
chat/services/accountService.js:803
↓ 10 callersMethodupdateMessage
* Updates a specific message in the DOM without full re-render. * @param {Object} message - The message object to update
chat/components/ChatArea.js:1869
↓ 10 callersMethodupdateUrlWithSession
* Update URL to include current session ID * @param {string} sessionId - Session ID (local or share)
chat/app.js:2553
↓ 9 callersMethod_loadFileTree
(operation = null)
chat/components/MemoryEditor.js:223
↓ 9 callersMethod_resolvePending
(value)
chat/components/TurnstileBubble.js:449
↓ 9 callersMethod_showMemoryOffToast
()
chat/components/MemoryEditor.js:169
↓ 9 callersMethodaddMessage
* Adds a message to the current session. * @param {string} role - Message role ('user' or 'assistant') * @param {string} content - Message c
chat/app.js:3970
↓ 9 callersFunctionescapeHtml
* Escape HTML special characters
chat/components/ShareModals.js:20
↓ 9 callersMethodisPreviewMode
()
chat/components/WelcomePanel.js:196
↓ 9 callersMethodloadNextTicket
()
chat/components/RightPanel.js:226
↓ 9 callersFunctionpathExists
(target)
scripts/build.mjs:19
↓ 9 callersMethodrender
()
chat/components/ChatHistoryImportModal.js:86
next →1–100 of 2,047, ranked by callers