mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-01 09:39:36 +08:00
Rename dsh-tool-office to dsh-tool-document and office_render/convert/recalculate to document_*, keep the old names readable for pre-rename Sessions, and fix the Poppler page-count forgery, per-run pdfinfo, and real-Poppler test provider reported in review. Refs #9015
1.8 KiB
1.8 KiB
description, kind
| description | kind |
|---|---|
| Host Office 渲染、转换以及面向模型的 office 工具的包索引。 | package-group |
document/ — Office 文档
English | 中文
摘要
在宿主上为预览和模型的 Office 工具渲染、转换已授权的 Office 文件并重算工作簿。共享服务运行 LibreOffice kit。声明了原生引擎的目标使用原生引擎,其余目标使用 Node WASM。
目录
包
每个包负责自身配置和生命周期规则;子系统参考描述共享转换操作。
| 包 | 职责 | ctx 键 |
|---|---|---|
| office-kit | 将已授权 Office 字节转换为完整 PDF、PNG 图片、转换后的文件和重算后的工作簿,并提供有界队列和缓存;提供方自行解析 Kit 入口、引擎清单和 ASAR 解包后的引擎路径 | ctx.officeKit |
| tool-document | 加载 Office 技能后声明的 document_render、document_convert 和 document_recalculate:在工具结果中把页面渲染为图片、转换文档、重算工作簿 |
— |
相关文档
消费者负责源文件授权与展示。
- 文档转换 — 共享操作和生成的服务参考。
- 独立 kit 所有权 — 引擎分发与应用集成。
- 工作区文件 — 已授权的有界源文件读取。
开发备注
维护者工作上下文 — 点击展开
无。