Files
deepseek-harness/packages/document
yudshj edd38f1d66 refactor(office): office 工具拆成 office_render/office_convert/office_recalculate,加载 Office 技能后按需声明
- tool-office 注册三个工具,参数规则由各自 schema 表达,运行时拒绝其他工具的参数
- 三个工具共用 when:本 agent 成功加载过 activationSkills 中的技能(内存标记),或上一次请求头已声明 office_*;加载后下一步声明,之后不移除
- Office 技能改用新工具名,加入工具不可用时重新加载 office 的说明和旧格式先转换的说明
- Client 卡片按工具名分派,图片子槽改为 tool.call.office_render.images
- 删除未发布 office 工具的两份升级指南,新增 office-operation-tools 指南,只记录已发布版本的变化
- 刷新 catalog、snapshot、SDK expected 与 Agent Note
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; consumer-anchored Kit entry and engine manifests through /locate 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.