MCPcopy Create free account

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

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

↓ 1 callersFunctionbuildStatusBadge
(status)
js/history/history.js:1452
↓ 1 callersFunctionbuildStylesXml
()
js/history/exporter/history_exporter_docx.js:1967
↓ 1 callersFunctionbuildSystemPrompt
* Builds the system prompt string based on document information and request type. * @param {object} docContentInfo - Object containing document de
js/chatbot/prompt/prompt-constructor.js:14
↓ 1 callersFunctionbuildTocHtml
(items, parentElement)
js/ui/toc_logic.js:1118
↓ 1 callersFunctionbuildTocStructure
* 构建TOC层级结构
js/ui/toc_logic_enhanced.js:636
↓ 1 callersMethodbuildToolGuidelines
* 构建工具使用指南(详细参数说明) * @param {Array} toolDefs - 工具定义数组 * @returns {string} 工具使用指南
js/chatbot/react/system-prompt.js:149
↓ 1 callersFunctionbuildWrappedTeX
(tex, maxLen)
js/history/history_detail_show_tab.js:542
↓ 1 callersFunctioncacheDelByPrefix
(prefix)
server/src/utils/cache.js:98
↓ 1 callersFunctioncacheElements
* 初始化 DOM 元素缓存
js/ui/sidebar-integration.js:88
↓ 1 callersMethodcacheElements
* 缓存 DOM 元素引用
js/ui/ocr-settings.js:75
↓ 1 callersMethodcalculateAverageResponseTime
* 计算平均响应时间
js/process/prompt-pool.js:836
↓ 1 callersFunctioncalculateConfidence
* 计算提取置信度(0-1)
js/processing/reference-extractor.js:230
↓ 1 callersFunctioncalculateCrossBlockRange
(affectedSubBlockIds)
js/annotations/annotation_logic.js:2021
↓ 1 callersMethodcalculateIDF
* 计算IDF (Inverse Document Frequency) * IDF(q) = log((N - df(q) + 0.5) / (df(q) + 0.5) + 1)
js/chatbot/agents/bm25-search.js:164
↓ 1 callersFunctioncalculateOptimalConnection
* 计算两个节点的最佳连接边缘 * 根据相对位置判断应该从哪条边连接 * * 对于 LR 布局(从左到右):强制从左右边连接,不使用上下边 * * @param {Object} sourceGeometry - 源节点几何信息 * @param {Object} targetGeome
js/chatbot/utils/drawio-layout-optimizer.js:538
↓ 1 callersMethodcalculateOverallGrade
* 计算总体评分
js/ui/chunk_compare_performance_tester.js:605
↓ 1 callersMethodcalculatePdfTextLayout
* 为PDF导出计算文本布局(使用与canvas渲染相同的算法) * @param {Object} font - pdf-lib字体对象 * @param {string} text - 要渲染的文本 * @param {number} boxWidth - bbox宽度(PDF
js/history/history_pdf_compare.js:2581
↓ 1 callersMethodcalculatePdfTextLayout
* 计算PDF文本布局(与Canvas渲染算法一致) * @param {Object} font - pdf-lib字体对象 * @param {string} text - 文本内容 * @param {number} boxWidth - 区域宽度 * @param {
js/history/modules/PDFExporter.js:354
↓ 1 callersMethodcalculatePromptWeights
* 计算提示词的权重(基于健康状态和成功率)
js/process/prompt-pool.js:1038
↓ 1 callersFunctioncallAIExtraction
* 调用AI API提取文献信息(带指数退避重试)
js/processing/reference-ai-processor.js:69
↓ 1 callersMethodcallAIForGeneration
* 调用AI API生成变体(复用现有的翻译API调用逻辑)
js/process/prompt-pool.js:256
↓ 1 callersMethodcallApi
* 调用API(非流式)
js/chatbot/core/llm-caller.js:196
↓ 1 callersMethodcallApiStream
* 调用API(流式)
js/chatbot/core/llm-caller.js:259
↓ 1 callersMethodcallLLM
* 调用 LLM
js/chatbot/react/engine.js:373
↓ 1 callersMethodcallMistralOcr
* 调用 Mistral OCR API * @param {File} file * @param {Function} onProgress * @returns {Promise<Object>} OCR 响应
js/process/ocr-adapters/mistral-adapter.js:53
↓ 1 callersMethodcallOcrApi
* 调用 OCR API * @param {string} signedUrl * @param {string} apiKey * @returns {Promise<Object>} OCR 数据
js/process/ocr-adapters/mistral-adapter.js:168
↓ 1 callersFunctioncheckCrossBlockHighlight
(affectedSubBlocks)
js/annotations/annotation_logic.js:1730
↓ 1 callersFunctioncheckCrossBlockNote
(affectedSubBlocks)
js/annotations/annotation_logic.js:1757
↓ 1 callersMethodcheckEmptyResults
* 检测最后一次工具调用是否返回空结果
js/chatbot/react/engine.js:140
↓ 1 callersFunctioncheckForFormulas
(blockElement, rawText)
js/processing/sub_block_segmenter.js:241
↓ 1 callersFunctioncheckForNewColors
()
js/annotations/annotations_summary_modal.js:962
↓ 1 callersMethodcheckForResurrection
* 检查复活条件
js/process/prompt-pool.js:785
↓ 1 callersFunctioncheckIfTargetHasNote
* 通用函数:检查指定目标是否已有批注内容。 * @param {string} [annotationId=null] - 可选的批注ID。 * @param {string} contentIdentifier - 当前内容的标识符 ('ocr' 或 'translation')。
js/annotations/annotation_logic.js:198
↓ 1 callersMethodcheckModelHasValidKey
* 检查模型是否有可用的 Key * @param {string} modelKey - 模型键名 * @returns {boolean} 是否有可用 Key
js/ui/ui_model_manager_core.js:115
↓ 1 callersFunctioncheckQuota
(userId)
server/src/utils/quota.js:31
↓ 1 callersFunctioncheckRateLimit
* 速率限制检查
workers/academic-search-proxy/src/index.js:225
↓ 1 callersMethodcheckRectOverlap
* 检查两个矩形是否重叠 * @param {Object} rect1 - { x, y, w, h } * @param {Object} rect2 - { x, y, w, h } * @returns {boolean}
js/history/history_pdf_compare.js:296
↓ 1 callersFunctionchunkPageContent
* 将单页内容分块
js/processing/content-list-to-chunks.js:67
↓ 1 callersMethodclear
* 清空当前namespace的所有数据
js/chatbot/agents/vector-store.js:316
↓ 1 callersMethodclearAllFormulaElements
* 清理所有由我们创建的公式 DOM
js/history/history_pdf_compare.js:1790
↓ 1 callersFunctionclearAllResultsFromDB
()
js/storage/storage.js:360
↓ 1 callersMethodclearCache
* 清除缓存
js/history/modules/TextFitting.js:662
↓ 1 callersMethodclearChatHistory
(docId)
js/storage/storage-adapter.js:264
↓ 1 callersFunctionclearCurrentDocChatHistory
* 清空当前文档的聊天历史(内存和存储),并刷新UI * @param {function} updateChatbotUI - 更新UI的回调函数 * @param {function} getCurrentDocId - 获取当前文档ID的函数 * @param {Array}
js/chatbot/core/chat-history-manager.js:151
↓ 1 callersFunctionclearFolderAssignments
()
js/history/history.js:657
↓ 1 callersMethodclearPool
* 清空提示词池
js/ui/prompt-pool-ui.js:1478
↓ 1 callersFunctionclearTocUi
()
js/ui/toc_scroll_sync.js:95
↓ 1 callersFunctionclose
()
js/chatbot/ui/semantic-groups-ui.js:296
↓ 1 callersFunctionclose
()
js/ui/glossary-ui.js:358
↓ 1 callersFunctioncloseModalAndRefresh
* 关闭弹窗并刷新
js/chatbot/ui/chatbot-model-config-modal.js:1033
↓ 1 callersFunctioncloseNotification
* 关闭指定的通知消息元素。 * 此函数会清除通知的自动关闭定时器,并应用 CSS 过渡效果使其平滑消失, * 然后从 DOM 中移除该通知元素。 * * @param {HTMLElement} notification - 要关闭的通知 DOM 元
js/ui/ui-notifications.js:85
↓ 1 callersMethodcollectFormulas
* 扫描元素中的所有公式(不渲染,只收集) * 包括:1. 纯文本中的 $...$ 公式 2. 渲染失败的 .katex-fallback 元素 * @param {HTMLElement} rootElement - 要扫描的根元素 * @r
js/processing/formula_post_processor_async.js:166
↓ 1 callersFunctioncollectIntroCardInfo
(payload, helpers = {})
js/history/exporter/history_exporter_docx.js:1730
↓ 1 callersMethodconstructPrompt
(goal)
js/processing/react_engine.js:174
↓ 1 callersMethodconvertBlockquote
(el, context = {})
js/history/exporter/history_exporter_docx.js:809
↓ 1 callersMethodconvertEnclose
* 转换包围符号 (新增) * @param {Element} node - menclose 元素 * @param {NodeList} childNodes - 子节点 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:406
↓ 1 callersMethodconvertFenced
* 转换括号
js/history/exporter/docx_mathml_converter_enhanced.js:285
↓ 1 callersMethodconvertFrac
* 转换分数
js/history/exporter/docx_mathml_converter_enhanced.js:252
↓ 1 callersMethodconvertMultiscripts
* 转换多行脚本 (新增) * @param {Element} node - mmultiscripts 元素 * @param {NodeList} childNodes - 子节点 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:442
↓ 1 callersMethodconvertNode
(node)
js/history/exporter/history_exporter_docx.js:1641
↓ 1 callersMethodconvertNode
* 转换单个节点 * @param {Node} node - DOM 节点 * @returns {string} 转换后的 OMML
js/history/exporter/docx_mathml_converter.js:68
↓ 1 callersMethodconvertOperator
* 转换运算符 (增强支持 stretchy 属性) * @param {Element} node - mo 元素 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:177
↓ 1 callersMethodconvertOver
* 转换上装饰
js/history/exporter/docx_mathml_converter_enhanced.js:294
↓ 1 callersMethodconvertPadded
* 转换填充 (新增) * @param {Element} node - mpadded 元素 * @param {NodeList} childNodes - 子节点 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:431
↓ 1 callersMethodconvertRoot
* 转换根式
js/history/exporter/docx_mathml_converter_enhanced.js:277
↓ 1 callersMethodconvertSpace
* 转换空格 (新增) * @param {Element} node - mspace 元素 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:382
↓ 1 callersMethodconvertSqrt
* 转换平方根
js/history/exporter/docx_mathml_converter_enhanced.js:270
↓ 1 callersMethodconvertStyle
* 转换样式 (新增) * @param {Element} node - mstyle 元素 * @param {NodeList} childNodes - 子节点 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:394
↓ 1 callersMethodconvertSub
* 转换下标
js/history/exporter/docx_mathml_converter_enhanced.js:236
↓ 1 callersMethodconvertSubSup
* 转换上下标
js/history/exporter/docx_mathml_converter_enhanced.js:244
↓ 1 callersMethodconvertSup
* 转换上标
js/history/exporter/docx_mathml_converter_enhanced.js:228
↓ 1 callersMethodconvertTable
(tableEl, parentWidthTwip, context = {})
js/history/exporter/history_exporter_docx.js:863
↓ 1 callersMethodconvertTable
* 转换矩阵 (新增 - 最重要的功能!) * @param {Element} node - mtable 元素 * @param {NodeList} childNodes - 子节点 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:338
↓ 1 callersMethodconvertUnder
* 转换下装饰
js/history/exporter/docx_mathml_converter_enhanced.js:311
↓ 1 callersMethodconvertUnderOver
* 转换上下装饰
js/history/exporter/docx_mathml_converter_enhanced.js:327
↓ 1 callersFunctioncopyComputedStyles
(source, target)
js/chatbot/renderers/chatbot-mermaid-renderer.js:263
↓ 1 callersMethodcosineSimilarity
* 余弦相似度
js/chatbot/agents/vector-store.js:191
↓ 1 callersMethodcreateAdapter
* 创建适配器 * @param {Object} config - 配置对象 * @returns {OcrAdapter} 适配器实例
js/process/ocr-manager.js:128
↓ 1 callersFunctioncreateAnnotationToken
* 创建注释 HTML token
js/processing/annotation_plugin_ast.js:248
↓ 1 callersMethodcreateBlockFormula
(element, context = {})
js/history/exporter/history_exporter_docx.js:1557
↓ 1 callersMethodcreateChunkPlaceholder
* 创建分块占位符 * @param {number} index 分块索引 * @param {string} ocrChunk OCR内容 * @param {string} translatedChunk 翻译内容 * @returns {str
js/ui/chunk_compare_optimizer.js:603
↓ 1 callersFunctioncreateCrossBlockAnnotation
(docId, affectedSubBlockIds, contentIdentifier, color, note = '', selectedText = '')
js/annotations/annotation_logic.js:1962
↓ 1 callersMethodcreateEditModal
* 创建编辑模态框
js/ui/reference-manager-ui.js:127
↓ 1 callersFunctioncreateFloatingPanel
* 创建悬浮面板(类似chatbot)
js/ui/reference-manager-detail.js:1248
↓ 1 callersFunctioncreateGlossarySet
(name)
js/storage/storage.js:704
↓ 1 callersFunctioncreateGlossarySetAsync
(name)
js/storage/storage.js:690
↓ 1 callersMethodcreateHorizontalRule
()
js/history/exporter/history_exporter_docx.js:1595
↓ 1 callersMethodcreateHyperlinkRun
(text, url, context = {})
js/history/exporter/history_exporter_docx.js:1178
↓ 1 callersMethodcreateImageParagraph
(imgEl, context = {})
js/history/exporter/history_exporter_docx.js:1194
↓ 1 callersMethodcreateManagerModal
* 创建管理界面模态框
js/ui/reference-manager-ui.js:32
↓ 1 callersFunctioncreateModal
()
js/chatbot/ui/embedding-config-ui.js:35
↓ 1 callersFunctioncreateModalHTML
* 创建弹窗HTML
js/chatbot/ui/chatbot-model-config-modal.js:19
↓ 1 callersMethodcreateNaryOperator
* 创建 N-ary 运算符 (求和、积分等) * @param {string} operator - 运算符文本 * @returns {string} OMML
js/history/exporter/docx_mathml_converter_enhanced.js:206
↓ 1 callersFunctioncreateOcrLimiter
({ windowMs = 60 * 1000, maxPerIp = 30, maxPerUser = 30 } = {})
server/src/middleware/rateLimit.js:22
↓ 1 callersMethodcreatePromptItemHTML
* 创建提示词项目的HTML
js/ui/prompt-pool-ui.js:1143
↓ 1 callersFunctioncreateRangeByTextSearch
(element, targetText, startOffset = 0)
js/annotations/annotation_highlighter.js:686
↓ 1 callersMethodcreateSegmentDom
* 创建一个段的左右 DOM 和上下文
js/history/history_pdf_compare.js:624
↓ 1 callersMethodcreateSegmentDom
* 创建一个段的左右 DOM 和上下文
js/history/modules/SegmentManager.js:170
↓ 1 callersMethodcreateSkeletonContainer
* 创建带骨架屏的容器 * @param {number} chunkCount 分块数量 * @returns {string} 容器HTML
js/ui/chunk_compare_optimizer.js:58
↓ 1 callersMethodcreateTestContainer
* 创建测试容器
js/ui/chunk_compare_performance_tester.js:160
← previousnext →1,001–1,100 of 2,373, ranked by callers