MCPcopy Create free account

hub / github.com/Feather-2/Burner-X / functions

Functions2,373 in github.com/Feather-2/Burner-X

↓ 2 callersFunctionflushCurrentSpan
(isEndOfBlock = false)
js/processing/sub_block_segmenter.js:91
↓ 2 callersFunctionformatDisplayTime
(timeValue)
js/history/history.js:1478
↓ 2 callersFunctionformatProcessingTime
(timeValue, pattern = 'YYYYMMDD-HHmmss')
js/history/history.js:1954
↓ 2 callersFunctionfragTextLenExclFormula
(frag)
js/annotations/annotation_logic.js:1011
↓ 2 callersFunctiong
(e)
js/lib/jszip.min.js:13
↓ 2 callersFunctiongeneratePageXml
* 生成单个图表页面的 XML
js/chatbot/utils/drawio-lite-parser.js:194
↓ 2 callersMethodgenerateTestContent
* 生成测试内容
js/ui/chunk_compare_performance_tester.js:132
↓ 2 callersMethodgetAPIConfig
* 获取API配置(使用与Chatbot相同的配置获取方式)
js/ui/reference-manager-ui.js:782
↓ 2 callersFunctiongetActiveArchitecture
* 检测当前使用的渲染架构
js/processing/markdown_processor_integration.js:101
↓ 2 callersFunctiongetActiveFiles
()
js/app.js:1126
↓ 2 callersMethodgetActivePrompts
* 获取激活的提示词列表(健康状态感知)
js/process/prompt-pool.js:952
↓ 2 callersMethodgetCharPosition
* 获取指定行号的字符位置 * @param {Array} lines - 文本行数组 * @param {number} lineNumber - 行号 * @returns {number} 字符位置
js/processing/reference-indexer.js:143
↓ 2 callersFunctiongetChatbotConfig
* 获取聊天机器人配置 * 该函数负责从用户设置中加载并返回当前聊天机器人所需的配置信息。 * 主要包括模型选择、API Key 加载、自定义模型设置的处理等。 * * 主要逻辑: * 1. 如果提供了 `externalConfig`,则直接返回该配置,用于
js/chatbot/core/message-sender.js:23
↓ 2 callersMethodgetConfig
* 获取当前 OCR 配置 * @returns {Object} 配置对象
js/process/ocr-manager.js:41
↓ 2 callersMethodgetCurrentDocumentContent
* 获取当前文档内容
js/ui/reference-manager-ui.js:759
↓ 2 callersFunctiongetCurrentMarkdownContent
* 获取当前Markdown内容
js/ui/reference-manager-detail.js:1396
↓ 2 callersFunctiongetCurrentScrollableElement
* 获取当前滚动容器(从 main 分支的 DockLogic 移植 + 非沉浸模式修正)
js/ui/sidebar-integration.js:427
↓ 2 callersFunctiongetCurrentScrollableElement
()
js/ui/dock/dock_logic.js:31
↓ 2 callersMethodgetCurrentVisiblePageNum
* 获取当前可见区所处的页号(连续模式)
js/history/history_pdf_compare.js:2269
↓ 2 callersFunctiongetEncryptionKey
* 从环境变量获取加密密钥,如果不存在则使用默认值(仅用于开发)
server/src/utils/crypto.js:36
↓ 2 callersMethodgetEnrichmentConfig
* 获取元数据更新策略配置
js/ui/reference-manager-ui.js:1362
↓ 2 callersFunctiongetFileRelativePath
(file)
js/app.js:959
↓ 2 callersFunctiongetGlossaryStats
* 获取术语库性能统计
js/process/glossary-config.js:38
↓ 2 callersMethodgetHealthConfig
* 获取健康管理配置
js/process/prompt-pool.js:1101
↓ 2 callersFunctiongetModelSearchCache
(key)
js/ui/ui-model-search.js:174
↓ 2 callersMethodgetNextKey
* 获取下一个可用的API Key对象。 * 实现轮询机制,循环使用 `availableKeys` 列表中的密钥。 * @returns {Object|null} 返回一个密钥对象 {id, value, status, remark, order},如果没有可用密钥则返
js/app.js:207
↓ 2 callersFunctiongetPaperDimensions
(paper)
js/history/history_exporter.js:629
↓ 2 callersFunctiongetQueryModeOverride
()
js/storage/storage-adapter.js:13
↓ 2 callersFunctiongetSelectValue
(id)
admin/admin-enhanced.js:796
↓ 2 callersFunctiongetSelectValue
(id)
admin/modules/system.js:7
↓ 2 callersFunctiongetSettingsObj
()
js/chatbot/ui/semantic-groups-ui.js:129
↓ 2 callersMethodgetSimilarityDescription
* 获取相似度描述
js/process/prompt-pool.js:245
↓ 2 callersMethodgetStats
* 获取统计信息
js/chatbot/utils/katex-cache.js:91
↓ 2 callersMethodgetStats
* 获取持久化统计信息
js/chatbot/utils/katex-cache-persistence.js:238
↓ 2 callersFunctiongetSubBlocksInRange
(range, startSubBlock, endSubBlock)
js/annotations/annotation_logic.js:1504
↓ 2 callersFunctiongetTextOffsetInElement
(element, parentElement)
js/annotations/annotation_logic.js:1318
↓ 2 callersMethodgetToken
()
js/storage/storage-adapter.js:48
↓ 2 callersFunctiongetUploadBody
(file)
server/src/routes/ocr.js:162
↓ 2 callersFunctiongroupByPage
* 按页面分组
js/processing/content-list-to-chunks.js:50
↓ 2 callersFunctiongroupBySection
* 按section分组(相邻的相同类型元素合并)
js/processing/content-list-to-chunks.js:118
↓ 2 callersFunctionguessMimeType
(ext, isText)
js/history/history_exporter.js:1509
↓ 2 callersFunctionhandleChunkSwap
* 处理分块位置切换
js/ui/chunk_compare_integration.js:63
↓ 2 callersFunctionhandleProxyDownload
(req, res, downloadUrl, origin)
local-proxy/server.js:536
↓ 2 callersFunctionhandleProxyZip
* 代理下载远端 ZIP 并返回,附带 CORS 头部 * 支持 Range 请求以实现分片下载
workers/pb-ocr-proxy/src/index.js:695
↓ 2 callersFunctionhideImportProgress
* 隐藏进度条
js/ui/glossary-progress.js:142
↓ 2 callersFunctionhideReferenceDetailTooltip
* 隐藏详细悬浮卡片
js/ui/reference-manager-detail.js:1006
↓ 2 callersFunctionhighlightKeyword
(text, keyword)
js/ui/ui-helpers.js:33
↓ 2 callersMethodimport
* 导入缓存(从持久化恢复)
js/chatbot/utils/katex-cache.js:235
↓ 2 callersFunctionimportGlossarySetAsync
(jsonText, onProgress)
js/storage/storage.js:871
↓ 2 callersMethodindexGroups
* 为意群建立BM25索引
js/chatbot/agents/bm25-search.js:387
↓ 2 callersMethodinit
* 初始化优化器
js/ui/chunk_compare_optimizer.js:22
↓ 2 callersFunctioninitModal
* 初始化弹窗
js/chatbot/ui/chatbot-model-config-modal.js:261
↓ 2 callersFunctioninitModelDetectorUI
* 初始化与旧版自定义模型检测相关的UI元素。 * 主要操作: * - 获取必要的 DOM 元素 (如 Base URL 输入框, 模型ID选择器/输入框, 完整端点显示区域)。 * - 初始状态下,隐藏模型ID下拉选择框 (`customModelId`),显示模型ID手动输入框 (`
js/api/model-detector.js:242
↓ 2 callersFunctioninitOverviewStatsModule
()
admin/admin-enhanced.js:635
↓ 2 callersMethodinitialize
* 初始化UI
js/ui/reference-manager-ui.js:23
↓ 2 callersMethodinitialize
* 初始化适配器 * @returns {Promise<void>}
js/process/ocr-manager.js:20
↓ 2 callersMethodinitialize
* 初始化 PDF 对照视图 * @param {string} pdfBase64 - PDF 文件的 base64 字符串 * @param {Array} contentListJson - content_list.json 数据 * @param {Array} tran
js/history/history_pdf_compare.js:312
↓ 2 callersFunctioninitializeChunkCompareOptimization
()
js/ui/chunk_compare_integration.js:10
↓ 2 callersFunctioninjectStyles
()
js/chatbot/ui/chatbot-tooltrace-ui.js:15
↓ 2 callersFunctionisExtensionExcluded
(ext)
js/app.js:949
↓ 2 callersFunctionisInFormula
(n)
js/annotations/annotation_logic.js:998
↓ 2 callersFunctionisLikelyReferenceEntry
* 检测一行文本是否可能是参考文献条目 * 常见格式: * - [1] Author. Title. Journal, Year. * - 1. Author. Title. Journal, Year. * - Author. (Year). Tit
js/processing/reference-detector.js:47
↓ 2 callersFunctionisNewEntryStart
(line)
js/processing/reference-detector.js:177
↓ 2 callersFunctionisReferenceSectionTitle
* 检测文本是否为参考文献部分的标题
js/processing/reference-detector.js:36
↓ 2 callersFunctionloadAndDisplayReferences
* 加载并显示参考文献
js/ui/reference-manager-detail.js:80
↓ 2 callersFunctionloadAvailableModels
* 加载可用模型列表
js/chatbot/ui/chatbot-model-config-modal.js:852
↓ 2 callersFunctionloadChatbotConfig
* 从localStorage加载chatbot配置 * @returns {Object|null} - chatbot配置对象,如果不存在则返回null
js/chatbot/core/chatbot-config-manager.js:52
↓ 2 callersMethodloadConfig
* 从localStorage加载配置
js/chatbot/agents/rerank-client.js:21
↓ 2 callersFunctionloadDetailedStats
()
admin/modules/stats.js:34
↓ 2 callersMethodloadFullChunk
* 加载完整分块内容 * @param {number} index 分块索引
js/ui/chunk_compare_optimizer.js:641
↓ 2 callersMethodloadPage
* 加载指定页面 * @param {number} pageIndex 页索引
js/ui/chunk_compare_optimizer.js:252
↓ 2 callersMethodloadPromptPool
* 从本地存储加载提示词池
js/process/prompt-pool.js:88
↓ 2 callersFunctionloadTrendsChart
()
admin/modules/stats.js:126
↓ 2 callersFunctionloadUserQuota
()
admin/admin-enhanced.js:412
↓ 2 callersFunctionloadUserQuota
()
admin/modules/quotas.js:44
↓ 2 callersFunctionlogUsage
(userId, action, resourceId = null, metadata = null)
server/src/utils/quota.js:10
↓ 2 callersFunctionlogWarn
(message, meta = {})
server/src/utils/logger.js:51
↓ 2 callersFunctionmapOffsetToNode
(root, charOffset)
js/annotations/annotation_highlighter.js:1658
↓ 2 callersMethodmarkKeyAsInvalid
* 将指定的API Key标记为无效。 * 这会更新该密钥在 `this.keys` 中的状态,并将其从 `this.availableKeys` 中移除。 * 同时,会尝试异步保存更新后的密钥列表到 localStorage,并刷新Key管理界面的UI(如果存在)。
js/app.js:223
↓ 2 callersFunctionmaybeSuggestSmartRatio
(docId, promptFlagKey)
js/history/history_detail_show_tab.js:1289
↓ 2 callersFunctionmigrateLegacyCustomConfig
* 迁移旧的单一自定义模型配置到新的多源站结构。 * 这应该只运行一次。 * @returns {boolean} - 如果执行了迁移则返回 true,否则返回 false。
js/storage/storage.js:1082
↓ 2 callersFunctionmodeFrontendForced
()
js/boot/backend-gate.js:55
↓ 2 callersMethodnormalizeImageKey
(key)
js/history/exporter/history_exporter_docx.js:235
↓ 2 callersFunctionnormalizeOpenAIEndpointForChatbot
(baseApiUrlInput, format, endpointMode = 'auto', targetSegment)
js/chatbot/core/api-config-builder.js:101
↓ 2 callersFunctionnow
()
server/src/utils/configCenter.js:7
↓ 2 callersMethodobserveChunks
* 观察分块元素
js/ui/chunk_compare_optimizer.js:913
↓ 2 callersMethodonDOMReady
* DOM 加载完成后的初始化
js/ui/ocr-settings.js:61
↓ 2 callersFunctionopenGlossaryExportModal
(setId)
js/ui/glossary-ui.js:369
↓ 2 callersFunctionopenGlossaryImportModal
(setId)
js/ui/glossary-ui.js:477
↓ 2 callersMethodoptimizeChunkComparison
* 优化分块对比的渲染性能 * @param {Array} ocrChunks OCR分块数据 * @param {Array} translatedChunks 翻译分块数据 * @param {Object} options 渲染选项 * @re
js/ui/chunk_compare_optimizer.js:34
↓ 2 callersFunctionoptimizeConnections
* 智能连接优化(增强版 - 包含理线功能) * 自动设置连接线的出入点,并尝试减少交叉 * * @param {Document} xmlDoc - XML 文档对象 * @param {string} layoutDirection - 布局方向:'LR' 或 'TB',默认 'LR'
js/chatbot/utils/drawio-layout-optimizer.js:772
↓ 2 callersFunctionoptimizeDrawioLayout
* 主优化函数 * 依次执行所有优化步骤 * * @param {string} xmlString - 原始 draw.io XML 字符串 * @param {Object} options - 优化选项 * @param {boolean} options.gridAlignment
js/chatbot/utils/drawio-layout-optimizer.js:973
↓ 2 callersFunctionoptimizeEdgeNodeAvoidance
* 避免连线穿过节点的优化 * 检测连线路径是否穿过其他节点,并调整节点位置来避让 * * @param {Document} xmlDoc - XML 文档对象 * @returns {number} 调整的节点数量
js/chatbot/utils/drawio-layout-optimizer.js:648
↓ 2 callersFunctionoptimizeGridAlignment
* 网格对齐优化 * 确保所有坐标都对齐到网格(默认 10px) * * @param {Document} xmlDoc - XML 文档对象 * @param {number} gridSize - 网格大小,默认 10
js/chatbot/utils/drawio-layout-optimizer.js:91
↓ 2 callersFunctionoptimizeSpacing
* 自动间距优化(增强版 - 考虑连线关系) * 检测并修复节点重叠问题,同时尽量减少连线交叉 * * @param {Document} xmlDoc - XML 文档对象 * @param {number} minSpacing - 最小间距,默认 30px
js/chatbot/utils/drawio-layout-optimizer.js:422
↓ 2 callersFunctionoptimizeStyles
* 样式统一优化 * 为相同类型的节点应用一致的样式 * * @param {Document} xmlDoc - XML 文档对象
js/chatbot/utils/drawio-layout-optimizer.js:889
↓ 2 callersFunctionparseCSVFormat
(text)
js/ui/glossary-ui.js:131
↓ 2 callersFunctionparseDrawioXml
* 从 XML 字符串解析出 mxCell 节点 * @param {string} xmlString - draw.io XML 字符串 * @returns {Document} 解析后的 XML 文档对象
js/chatbot/utils/drawio-layout-optimizer.js:25
↓ 2 callersMethodparseMarkdownAsync
* 异步解析Markdown * @param {string} markdown Markdown内容 * @returns {Promise<Array>} 解析结果
js/ui/chunk_compare_optimizer.js:740
↓ 2 callersFunctionparseMarkdownBlocks
* 解析Markdown文本为逻辑块数组,主要基于标题进行分割。 * 代码块 (```...```) 会被视为单个块的一部分,不会被分割。 * @param {string} md - Markdown文本。 * @returns {Arr
js/history/history_detail_show_tab.js:339
← previousnext →601–700 of 2,373, ranked by callers