fix(office): 清理 /locate 残留文档,收窄 office 工具输出 schema

- 打包、document 分组、office-kit 子系统页与 Agent Note 改为提供方内部解析 Kit,不再引用已删除的 /locate 入口
- office_recalculate 输出 format 收窄为 xlsx/ods;office_render 图片 mediaType 去掉 GIF,存储返回 GIF 时明确报错
- 修正 office-kit 输出位置、技能数量、token 预算说明,补充 /office 直接调用的激活时机限制
- 升级指南说明继承的 DSH_PRIMARY_RUNTIME 优先于 SDK 下载缓存,刷新 office-progressive-ptc 系统提示快照
This commit is contained in:
yudshj committed 2026-11-04 18:17:59 +08:00
1 parent d7ae76a92b
commit 9d01969217
32 files changed
+116 -85

No files matched your search

+2 -1
View File
@@ -89,7 +89,8 @@ if (resource !== undefined) {
Reflect.deleteProperty(process.env, 'DSH_PTC_RUNTIME_NODE')
await import('@deepseek-ai/dsh-ptc-runtime-node/process')
} else if (selection === undefined) {
// A user-set DSH_PRIMARY_RUNTIME, including the empty opt-out, takes precedence over the downloaded cache.
// A DSH_PRIMARY_RUNTIME set or inherited from the environment, including the empty opt-out, takes precedence over the
// downloaded cache.
if (cache !== undefined && existsSync(join(cache, 'primary', 'complete'))) {
process.env.DSH_PRIMARY_RUNTIME ??= join(cache, 'primary', 'primary-runtime')
}