MCPcopy Create free account

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

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

↓ 4 callersFunctionmapToDeeplxLangCode
(targetLang)
js/process/translation.js:271
↓ 4 callersFunctionmeasureDiff
(flex, leftEl, rightEl, ratio)
js/history/history_detail_show_tab.js:1195
↓ 4 callersFunctionnormalizeHtml
(html)
js/history/history_detail_show_tab.js:439
↓ 4 callersFunctionparseDomainList
(input)
server/src/utils/configCenter.js:37
↓ 4 callersFunctionprotectRenderedFormula
(renderedHtml)
js/processing/markdown_processor_enhanced.js:314
↓ 4 callersMethodrenderAlignBlock
(blockEl, availableWidthTwip, context = {})
js/history/exporter/history_exporter_docx.js:754
↓ 4 callersFunctionrenderFormula
* Render individual formula with enhanced error handling * @param {string} content - Formula content * @param {boolean} displayModeHint -
js/processing/markdown_processor_enhanced.js:429
↓ 4 callersFunctionrenderFormulaLegacy
(content, displayHint)
js/processing/markdown_processor.js:164
↓ 4 callersFunctionrenderSourceSitesList
()
js/ui/ui.js:837
↓ 4 callersMethodrenderTable
* 渲染表格
js/ui/reference-manager-ui.js:321
↓ 4 callersFunctionsafeMargin
(value, fallback)
js/history/history_exporter.js:743
↓ 4 callersFunctionsanitizeText
* 清理文本内容,移除潜在的危险字符和HTML标签 * @param {string} text - 待清理的文本 * @returns {string} - 清理后的文本
js/chatbot/ui/chatbot-tooltrace-ui.js:1155
↓ 4 callersFunctionsaveAnnotationToDB
* 将高亮/批注对象保存到 IndexedDB。 * @param {Object} annotation - 高亮/批注对象,应包含 id, docId 等属性。 * @returns {Promise<void>}
js/storage/storage.js:1342
↓ 4 callersFunctionsaveCustomModelParams
()
js/chatbot/ui/chatbot-model-selector-ui.js:397
↓ 4 callersFunctionsaveGlossarySets
* 保存术语库集合(同步兼容接口)
js/storage/storage.js:663
↓ 4 callersFunctionsaveModelConfig
* 保存某个模型的配置 * @param {string} model * @param {Object} config
js/storage/storage.js:458
↓ 4 callersMethodsaveSettings
* 保存当前设置
js/ui/prompt-pool-ui.js:119
↓ 4 callersMethodsaveSettings
* 保存所有 OCR 配置
js/ui/ocr-settings.js:262
↓ 4 callersMethodselectModel
* 选择模型 * @param {string} modelKey - 模型键名
js/ui/ui_model_manager_core.js:351
↓ 4 callersMethodshow
* 显示管理界面 * @param {string} documentId - 文档ID
js/ui/reference-manager-ui.js:276
↓ 4 callersMethodshowGenerationProgress
* 显示生成进度
js/ui/prompt-pool-ui.js:712
↓ 4 callersFunctionstripInstructionBlocks
(text)
js/process/translation.js:72
↓ 4 callersFunctionupdateConcurrentProgress
(count)
js/ui/ui-processing.js:375
↓ 4 callersMethodupdateProgress
* 更新进度
js/ui/reference-manager-ui.js:1177
↓ 4 callersMethodwrapText
* 文本换行(根据宽度)
js/history/pdf-compare-renderer.js:281
↓ 3 callersFunctionK
(e)
js/lib/jszip.min.js:13
↓ 3 callersMethod_init
* 初始化事件管理器 * @private
js/chatbot/core/chat-message-event-manager.js:43
↓ 3 callersMethod_normalizeDecision
* 规范化决策对象,确保字段完整
js/chatbot/react/json-parser.js:110
↓ 3 callersMethod_notifyUpdated
()
js/process/prompt-pool.js:1200
↓ 3 callersMethod_persistLocalOnly
()
js/process/prompt-pool.js:1162
↓ 3 callersFunction_updateReadingProgress
()
js/ui/dock/dock_logic.js:121
↓ 3 callersFunctiona
()
js/lib/jszip.min.js:13
↓ 3 callersMethodaddSystemMessage
(text)
js/ui/react_visualization.js:165
↓ 3 callersFunctionaddToTOC
* 添加到TOC - 点击打开悬浮面板
js/ui/reference-manager-detail.js:1205
↓ 3 callersFunctionappendModelsToMainSelect
(ids)
js/chatbot/ui/chatbot-model-selector-ui.js:276
↓ 3 callersFunctionappendPathSegment
(base, segment)
js/chatbot/core/api-config-builder.js:87
↓ 3 callersFunctionapplyNamingTemplate
(template, context)
js/history/history.js:1931
↓ 3 callersFunctionarrayBufferToBase64
(buffer)
js/process/main.js:88
↓ 3 callersFunctionautoscaleFormulasInContainer
* 对表格内的 KaTeX 公式做简单的自适应:若宽度超出单元格,则按比例缩小字体。 * 仅用于导出/打印场景,避免公式挤压覆盖。
js/history/history_exporter.js:1401
↓ 3 callersFunctionbindScrollForCurrentScrollable
()
js/ui/sidebar-integration.js:636
↓ 3 callersFunctionbindStandardAnnotationEvents
(element, annotation, elementType, elementIdentifier)
js/annotations/annotation_highlighter.js:800
↓ 3 callersFunctionbuildCspHeader
(directives)
server/src/index.js:124
↓ 3 callersFunctionbuildCustomApiConfig
(key, customApiEndpoint, customModelId, customRequestFormat, temperature, max_tokens, options = {})
js/chatbot/core/api-config-builder.js:147
↓ 3 callersFunctionbuildFallbackSemanticContext
(userQuestion, groups)
js/chatbot/core/streaming-multi-hop.js:1776
↓ 3 callersFunctionbuildTemplateContext
(record, format, variant = 'translation')
js/history/history.js:1904
↓ 3 callersFunctioncalculateStats
* 计算统计数据
js/chatbot/utils/performance-monitor.js:182
↓ 3 callersMethodcheckBboxCollision
* 检查两个矩形是否碰撞
js/history/history_pdf_compare.js:1242
↓ 3 callersFunctioncleanMarkdownInline
(text)
js/history/exporter/history_exporter_docx.js:1792
↓ 3 callersFunctioncleanMarkdownInline
* 清理行内 Markdown 格式 * @param {string} text - 包含 Markdown 的文本 * @returns {string} 清理后的纯文本
js/history/exporter/docx_helpers.js:102
↓ 3 callersMethodcleanup
* 清理资源
js/ui/chunk_compare_optimizer.js:959
↓ 3 callersMethodclearCache
* 清空缓存
js/storage/reference-storage.js:381
↓ 3 callersFunctioncloseAnnotationsSummaryModal
()
js/annotations/annotations_summary_modal.js:930
↓ 3 callersFunctioncloseModelSearchOverlay
()
js/ui/ui-model-search.js:104
↓ 3 callersMethodcloseReport
* 关闭性能报告
js/ui/chunk_compare_performance_tester.js:589
↓ 3 callersFunctioncomputeRelativeDirectory
(record, variant, format, structure)
js/history/history.js:2012
↓ 3 callersMethodconvertGenericContainer
(el, context = {})
js/history/exporter/history_exporter_docx.js:688
↓ 3 callersFunctionconvertHtmlToMarkdown
* 处理单个 PDF 文件或 Markdown/TXT 文件的核心函数。 * 该函数封装了从文件上传、OCR(如果需要)、内容提取、分段翻译(如果需要)、 * 错误处理到结果保存的完整流程。 * * 主要流程: * 1. **初始化与日志**: * - 记录文件处理开始的日志,包括
js/process/main.js:71
↓ 3 callersFunctionconvertOpenAIToAnthropicContent
(userContent)
js/chatbot/core/api-config-builder.js:70
↓ 3 callersFunctionconvertOpenAIToGeminiParts
(userContent)
js/chatbot/core/api-config-builder.js:52
↓ 3 callersFunctioncreateCustomMarkdownRenderer
* 创建一个自定义的 marked.js 渲染器,用于在HTML输出中嵌入批注ID。 * @param {Array<Object>} annotations - 当前文档的批注列表。 * @param {string} contentIdentifier - 当前内容类型的标识符 ('oc
js/annotations/custom_markdown_renderer.js:8
↓ 3 callersMethodcreateRelationship
(type, target, options = {})
js/history/exporter/history_exporter_docx.js:1392
↓ 3 callersFunctiondebouncedUpdateUI
()
js/chatbot/core/message-sender.js:873
↓ 3 callersMethoddelay
* 延迟函数
js/ui/chunk_compare_performance_tester.js:663
↓ 3 callersMethoddequeueRequest
* 请求出队(在任务开始执行时或完成时调用,防止被当作待迁移)。 * @param {string} promptId * @param {string} requestId
js/process/prompt-pool.js:740
↓ 3 callersFunctiondoActualExport
* 实际执行导出的函数
js/chatbot/utils/chatbot-utils.js:371
↓ 3 callersFunctionensureFileExtension
(name, ext)
js/history/history_exporter.js:1346
↓ 3 callersFunctionensureIndexesBuilt
* 确保向量索引和BM25索引已建立 * @param {Array} chunks - chunks数组 * @param {Array} groups - 意群数组 * @param {string} docId - 文档ID * @param {boolean} async -
js/chatbot/core/semantic-groups-manager.js:517
↓ 3 callersFunctionensureUniqueFileName
(fileName, dir, set, variant)
js/history/history.js:2026
↓ 3 callersFunctionescapeHtml
* HTML转义
js/chatbot/ui/chatbot-tooltrace-ui.js:1180
↓ 3 callersFunctionescapeXml
(str)
js/history/exporter/history_exporter_docx.js:2151
↓ 3 callersMethodestimateSize
* 估算数据大小(KB)
js/chatbot/utils/katex-cache-persistence.js:230
↓ 3 callersFunctionextractFirstMatch
(html, regex)
js/history/history_detail_show_tab.js:445
↓ 3 callersFunctionextractTableFromTranslation
* 从大语言模型翻译返回的文本中提取并清理出 Markdown 表格内容。 * 模型返回的表格有时可能被包裹在代码块中,或者包含额外的解释性文字,此函数旨在尽可能准确地提取核心表格。 * * 主要步骤: * 1. **初步清理**:移除字符串首尾的空格。 * 2. **移除代码块
js/process/tables.js:198
↓ 3 callersFunctionfallbackRegexExtraction
* 降级方案:使用正则提取(不保证顺序)
js/chatbot/agents/semantic-grouper.js:484
↓ 3 callersMethodfindTextPosition
* 在文本中查找指定字符串的位置 * @param {string} text - 文本 * @param {string} searchText - 搜索文本 * @returns {Object|null} { lineStart, l
js/processing/reference-indexer.js:95
↓ 3 callersFunctionflushPlain
()
js/chatbot/utils/markdown-katex-render-cached.js:322
↓ 3 callersFunctionflushPlain
()
js/chatbot/utils/markdown-katex-render.js:296
↓ 3 callersFunctionformatDateTime
(date)
js/history/history_exporter.js:1447
↓ 3 callersFunctionformatDetail
* 格式化详情
js/chatbot/ui/chatbot-tooltrace-ui.js:898
↓ 3 callersMethodformatFormulaFallbackText
(text)
js/history/exporter/history_exporter_docx.js:1423
↓ 3 callersFunctionfragmentTextLength
(frag)
js/annotations/annotation_logic.js:2054
↓ 3 callersFunctiongateIfBackendKnown
()
js/boot/backend-gate.js:92
↓ 3 callersFunctiongetActiveProcessor
()
js/processing/markdown_processor.js:390
↓ 3 callersFunctiongetBuiltInPrompts
* 根据指定的目标语言名称,获取内置的翻译系统提示和用户提示模板。 * @param {string} languageName - 目标语言的名称 (例如 'chinese', 'english', 'japanese', 或自定义语言名)。 * @returns {{systemProm
js/app.js:2165
↓ 3 callersMethodgetConfig
* 获取配置
js/chatbot/core/llm-caller.js:70
↓ 3 callersMethodgetDefaultEnrichmentConfig
* 获取默认元数据更新策略
js/ui/reference-manager-ui.js:1348
↓ 3 callersMethodgetPromptForTranslation
* 获取用于翻译的提示词 * 根据当前模式返回相应的提示词
js/ui/prompt-pool-ui.js:1578
↓ 3 callersFunctiongetProxyHeaders
* 添加代理认证头 * @param {string} service - 服务名称(用于选择正确的 API Key)
js/processing/reference-doi-resolver.js:129
↓ 3 callersFunctiongetStats
* 获取性能统计数据
js/chatbot/utils/performance-monitor.js:208
↓ 3 callersFunctiongetUpdateInterval
()
js/chatbot/core/message-sender.js:828
↓ 3 callersMethodgetVariationKey
* 生成用于去重的提示词键
js/process/prompt-pool.js:515
↓ 3 callersMethodhandlePromptModeChange
* 处理提示词模式切换
js/ui/prompt-pool-ui.js:455
↓ 3 callersFunctionhidePredefinedModelInfo
* 隐藏预设模型信息
js/chatbot/ui/chatbot-model-config-modal.js:664
↓ 3 callersFunctionhideSourceSiteInfo
* 隐藏源站点信息
js/chatbot/ui/chatbot-model-config-modal.js:631
↓ 3 callersFunctionisInFormula
(n)
js/annotations/annotation_highlighter.js:1630
↓ 3 callersFunctionisSupportedFileExtension
(ext)
js/app.js:955
↓ 3 callersFunctionisWhitespaceText
(n)
js/history/history_detail_show_tab.js:1931
↓ 3 callersFunctionjoinUrlSegments
(base, segment)
js/process/translation.js:78
↓ 3 callersFunctionloadGlossarySetsAsync
* 加载所有术语库集合(推荐使用的异步版本)
js/storage/storage.js:601
↓ 3 callersMethodloadSettings
* 加载所有 OCR 配置
js/ui/ocr-settings.js:106
← previousnext →301–400 of 2,373, ranked by callers