Files
deepseek-harness/packages/document
yudshj faa25da88f fix(office): 技能路由补充不覆盖已有文件,统一工具缺失措辞,收紧 office 工具失败提示
- 路由与三个创作技能改为“工具不在工具列表时加载 office”,避免与错误码 unavailable 混淆
- 路由补充“除非用户要求,不覆盖已有文件”,压缩正文保持 200 token 预算
- officeFailure 改用 instanceof OfficeKitError;unavailable 提示允许暂时性失败稍后重试
- outputOwner 在树根已失效(UNAUTHORIZED)时由调用方 Session 持有输出
- 转换结果文本说明保留期与容量淘汰
- 刷新 office 会话快照
2026-11-04 18:17:59 +08:00
..

description, kind
description kind
Package map for Host Office rendering, conversion, and the model-facing Office tools. package-group

document/ — Office documents

English | 中文

Summary

Render, convert, and recalculate authorized Office files on the Host, for previews and for the model's Office tools. The shared service runs LibreOffice kit. Targets with a declared native engine use it; other targets use Node WASM.

Table of Contents


Packages

Each package owns its configuration and lifetime rules; the subsystem reference describes their shared conversion operation.

Package Role ctx key
office-kit Authorized Office bytes to complete PDFs, PNG images, converted files, and recalculated workbooks with bounded queues and caching; the provider resolves its own Kit entry, engine manifests, and ASAR-unpacked engine paths ctx.officeKit
tool-office office_render, office_convert, and office_recalculate, declared after an Office skill loads: render pages as images in the tool result, convert documents, and recalculate workbooks —

Consumers own source authorization and presentation.

Dev Note

Working context for maintainers — click to expand

None.