- 路由与三个创作技能改为“工具不在工具列表时加载 office”,避免与错误码 unavailable 混淆 - 路由补充“除非用户要求,不覆盖已有文件”,压缩正文保持 200 token 预算 - officeFailure 改用 instanceof OfficeKitError;unavailable 提示允许暂时性失败稍后重试 - outputOwner 在树根已失效(UNAUTHORIZED)时由调用方 Session 持有输出 - 转换结果文本说明保留期与容量淘汰 - 刷新 office 会话快照
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 |
— |
Related documentation
Consumers own source authorization and presentation.
- Document conversion — shared operation and generated service reference.
- Independent kit ownership — engine distribution and application integration.
- Workspace Files — authorized bounded source reads.
Dev Note
Working context for maintainers — click to expand
None.