MCPcopy Create free account

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

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

MethodselectTranslationItem
* 选中翻译项,高亮对应 PDF 区域(已废弃)
js/history/history_pdf_compare.js:1042
FunctionsendChatbotMessage
* 发送消息到大语言模型并处理响应,支持思维导图生成请求。 * * @param {string|Array<object>} userInput 用户输入的查询或指令 (can be a string for text, or an array for multimodal content
js/chatbot/core/message-sender.js:100
FunctionsendChatbotMessage
* 包装 sendChatbotMessage,注入依赖
js/chatbot/core/chatbot-core.js:64
Functionset
* 设置缓存值 * @param {*} key - 缓存键 * @param {*} value - 缓存值
js/utils/performance-helpers.js:157
FunctionsetAttribute
* 安全地设置属性 * @param {HTMLElement} element - 目标元素 * @param {string} attr - 属性名 * @param {string} value - 属性值
js/utils/dom-safe.js:72
MethodsetChk
(el, val)
js/ui/ocr-settings.js:203
FunctionsetDebug
(enabled)
js/processing/markdown_processor_ast.js:1019
MethodsetEmail
* 设置邮箱(用于API礼貌池)
js/processing/reference-doi-resolver.js:1408
FunctionsetHTML
* 安全地添加 HTML(使用白名单) * 仅用于必须使用 HTML 的场景(如渲染 Markdown) * @param {HTMLElement} element - 目标元素 * @param {string} html - HTML 字符串 * @param {Arr
js/utils/dom-safe.js:107
FunctionsetText
* 安全地设置文本内容(推荐) * @param {HTMLElement} element - 目标元素 * @param {string} text - 要设置的文本
js/utils/dom-safe.js:23
MethodsetToken
(token)
js/storage/storage-adapter.js:52
MethodsetVal
(el, val)
js/ui/ocr-settings.js:202
FunctionshouldEnableGlossary
* 检查是否应启用术语库(性能预警)
js/process/glossary-config.js:64
FunctionshowEmbeddingModelSelector
(models, targetInput)
js/ui/ui.js:213
FunctionshowImportComplete
* 显示完成消息 * @param {string} message - 消息内容 * @param {boolean} success - 是否成功
js/ui/glossary-progress.js:154
FunctionshowImportProgress
* 显示导入进度条 * @param {string} title - 标题
js/ui/glossary-progress.js:13
FunctionshowPerformanceRecommendation
* 显示性能建议
js/process/glossary-config.js:87
MethodshowProcessingOptions
* 显示处理选项
js/ui/reference-manager-ui.js:674
FunctionshowProgressToast
* 显示带进度条的Toast提示 * @param {string} message 初始消息 * @param {number} percent 初始进度 (0-100) * @returns {object} 包含update和close方法的对象
js/chatbot/utils/chatbot-utils.js:832
FunctionshowReferenceDetailCard
* 显示参考文献详细卡片(模态框)
js/ui/reference-manager-detail.js:1052
FunctionshowRerankModelSelector
(models, targetInput)
js/ui/ui.js:292
MethodsimpleEscape
(s)
js/process/ocr-adapters/doc2x-adapter.js:397
MethodsimpleEscape
(s)
js/process/ocr-adapters/mineru-adapter.js:349
FunctionsimpleSplit
* 简单分割(备用)
js/processing/content-list-to-chunks.js:208
FunctionsingleAreaProcessed
()
js/history/history_detail_show_tab.js:1981
Functionsize
* 获取当前大小 * @returns {number}
js/utils/performance-helpers.js:206
FunctionsmartProcessReferences
* 智能处理文献(自动选择正则或AI) * @param {Array} entries - 文献条目(已经过正则提取) * @param {Object} apiConfig - API配置 * @param {string} sourceLang - 源语言
js/processing/reference-ai-processor.js:361
FunctionsplitContentSmart
* 智能分段函数,用于将长文本内容分割成适合模型处理的块。 * * 主要策略: * 1. 限制总长度:如果内容超过 50000 字符,则截取前 50000 字符。 * 2. 短内容直接返回:如果内容长度小于等于 `maxChunk`,则直接返回包含单个块的数组。 * 3. 长内容
js/chatbot/core/content-processor.js:58
Functionstart
* 启动监控
js/chatbot/utils/performance-monitor.js:283
Functionstart
* 启动轮询
js/utils/performance-helpers.js:363
MethodstartNewSegment
()
js/history/history_pdf_compare.js:577
MethodstartNewSegment
()
js/history/modules/SegmentManager.js:117
FunctionstartSession
* 开始新的工具调用会话
js/chatbot/ui/chatbot-tooltrace-ui.js:309
Functionstop
* 停止监控
js/chatbot/utils/performance-monitor.js:309
Functionstop
* 停止轮询
js/utils/performance-helpers.js:377
Functionstop
()
js/annotations/annotations_summary_modal.js:1015
MethodstopAutoSave
* 停止自动保存
js/chatbot/utils/katex-cache-persistence.js:219
FunctionstreamingMultiHopRetrieve
* 流式多轮取材 * 使用 Generator 函数实现流式输出,每个步骤都实时反馈给UI * * @param {string} userQuestion - 用户问题 * @param {Object} docContentInfo - 文档内容信息 * @para
js/chatbot/core/streaming-multi-hop.js:39
MethodstripProtocols
js/history/exporter/history_exporter_docx.js:255
Functionsync
* 测量函数执行时间 * @param {string} label - 标签 * @param {Function} fn - 要测量的函数 * @returns {*} 函数返回值
js/utils/performance-helpers.js:442
MethodsyncScroll
(source, target)
js/history/history_pdf_compare.js:2115
FunctionsyncTocModeSettings
()
js/ui/dock/dock_settings_modal.js:125
FunctiontableFixPlugin
(md)
js/processing/markdown_processor_ast.js:170
FunctiontestFormula
* Test formula rendering capability * @param {string} formula - Formula to test * @param {boolean} displayMode - Display mode * @ret
js/processing/markdown_processor_enhanced.js:676
Functionthrottle
* 节流函数 * 在指定时间内只执行一次,无论触发多少次 * * @param {Function} fn - 要执行的函数 * @param {number} delay - 时间间隔(毫秒) * @param {Object} options -
js/utils/performance-helpers.js:66
Functiontoggle
()
js/chatbot/ui/semantic-groups-ui.js:300
FunctiontoggleSelectAll
* 全选/取消全选 * @param {boolean} checked - 是否选中
js/ui/glossary-editor-enhanced.js:476
FunctiontoggleSelection
* 切换选择 * @param {string} entryId - 条目 ID
js/ui/glossary-editor-enhanced.js:453
FunctiontoggleSmartFilter
* 切换智能过滤开关 * @param {boolean} enabled - 是否启用智能过滤
js/ui/glossary-editor-enhanced.js:665
MethodtranslateBatch
(batch, batchIndex)
js/process/mineru-structured-translation.js:250
MethodtryLoad
(idx)
js/chatbot/agents/semantic-vector-search.js:418
FunctiontryPopulateCustomSourceSitesDropdown
()
js/ui/ui-key-manager-modal.js:342
FunctionunbindScrollForCurrentScrollable
()
js/ui/sidebar-integration.js:657
FunctionunbindScrollForCurrentScrollable
()
js/ui/dock/dock_logic.js:105
FunctionunbindScrollForSavePosition
()
js/history/history_detail_globals.js:275
Functionupdate
()
js/chatbot/ui/semantic-groups-ui.js:305
FunctionupdateApiKeyStorage
* 更新 localStorage 中的 API Key * @param {string} keyName - 存储键名(如 'mistralApiKeys') * @param {string} value - 密钥内容 * @param {boolean} shouldRememb
js/storage/storage.js:124
MethodupdateBatchProgress
()
js/ui/prompt-pool-ui.js:567
FunctionupdateCustomApiConfig
* (旧版更新配置) * 收集当前在旧版全局自定义模型 UI 中设置的模型 ID 和完整 API 端点, * 并将选择的模型 ID 保存到 localStorage (`lastSelectedCustomModel`)。 * * @returns {{modelId: string
js/api/model-detector.js:601
FunctionupdateDeeplxTargetLangHint
()
js/app.js:1629
FunctionupdateEntry
* 更新条目 * @param {string} entryId - 条目 ID * @param {string} field - 字段名 * @param {any} value - 新值
js/ui/glossary-editor-enhanced.js:518
FunctionupdateImportProgress
* 更新进度条 * @param {number} current - 当前进度 * @param {number} total - 总数 * @param {string} message - 自定义消息
js/ui/glossary-progress.js:91
FunctionupdateMaxTerms
* 更新术语数量限制 * @param {number} maxTerms - 最大术语数量
js/ui/glossary-editor-enhanced.js:700
MethodupdateProgress
* 更新进度
js/ui/chunk_compare_optimizer.js:938
FunctionupdateTranslationUIVisibility
(isProcessing)
js/ui/ui-key-manager-modal.js:226
FunctionupgradeOrFetchGroups
(groupIds, targetGranularity = 'digest')
js/chatbot/core/streaming-multi-hop.js:83
FunctionuploadToMistral
* 上传文件到 Mistral API。 * 该函数用于将本地文件发送到 Mistral 的文件服务,通常是进行 OCR 等操作的前置步骤。 * * @param {File} fileToProcess - 需要上传的 File 对象。 * @param {string} mist
js/api/api.js:61
FunctionvalidateBasicXml
* 基础 XML 验证 * @param {string} xmlString - XML 字符串 * @param {string} fileName - 文件名(用于错误提示) * @returns {boolean} 验证是否通过
js/history/exporter/docx_xml_utils.js:183
MethodvalidateConfig
* 验证配置 * 本地解析不需要任何配置
js/process/ocr-adapters/local-adapter.js:27
FunctionvalidateXmlStructure
* 验证 XML 结构 * @param {string} xmlString - XML 字符串 * @returns {boolean} 验证是否通过
js/history/exporter/docx_xml_utils.js:131
Functionvalue
()
js/chatbot/core/chatbot-core.js:10
Functionwarn
(...args)
js/chatbot/config/performance-config.js:182
FunctionwarnUnsafeInnerHTML
* 记录不安全的 innerHTML 使用(开发模式) * 用于迁移期间的监控
js/utils/dom-safe.js:173
← previous2,301–2,373 of 2,373, ranked by callers