yudshj
|
9df26413ee
|
refactor(office): Office 技能统一读取包内 assets,移除包外 office-skills 拷贝与 DSH_BUNDLED_OFFICE_SKILLS
- web-app、sdk-app 的 skill-office 不再覆盖 assetRoot;pythonEnvironment 不变
- Desktop 与 Python SDK 打包不再生成 office-skills 资源目录,删除 prepareOfficeSkillAssets 与 skillSource
- Desktop 打包 smoke 校验 4 个 Office 技能可从运行时归档列出并加载
- 同步测试、README、Agent Note,新增升级指南 office-skill-resources
|
2026-11-04 13:25:24 +00:00 |
|
yudshj
|
78da437976
|
refactor(office): 移除 render/recalculate/export-pdf 技能,改为直接调用 office 工具
|
2026-11-04 18:17:58 +08:00 |
|
yudshj
|
50ba635949
|
feat(office): Office 操作改为常驻的原生 office 工具
- 新包 @deepseek-ai/dsh-tool-office 提供常驻的 office 工具(render / convert / recalculate),由 office-kit 在 Host 中直接调用 Kit 的 JS API;标准模式与 PTC 通过同一个工具调用
- render 的页面图片直接进入工具结果(有数量、像素与字节上限);convert / recalculate 的结果写入 office-kit 按 Session 划分的私有输出目录,由模型用 shell 复制到工作区,fs 与 Host 代码不写用户工作区
- 删除为 shell 执行 Kit CLI 而存在的代码:skill-office 的 node / cli / kitRoot、resolveKitCli、DSH_BUNDLED_OFFICE_CLI / DSH_BUNDLED_OFFICE_NODE / DSH_BUNDLED_RUNTIME_ROOT 与 Electron 下的独立 Node 检查;打包 smoke 改为经 office-kit 真实渲染、转换与重算
- office 由 web-app 的 standard / ptc 预设与 sdk-app 挂载,minimal 不挂载;操作技能正文与目录描述指向 office 工具
- 新增 Agent Note,部分取代 progressive-office-skills 的 shell 执行决定;同步 README、子系统页、catalog 与升级指南(含已保存预设的迁移步骤)
本 PR 的 snapshot 统一在这个提交里重新生成,前 4 个提交中的 snapshot 不一定和那一步的代码对应。
|
2026-11-04 18:17:58 +08:00 |
|
yudshj
|
a220e017b5
|
refactor(office): 合并为 office-kit,Kit 缺失时降级而非加载失败
- Kit CLI 由 office-kit/locate 在 Host 中定位(含 ASAR 映射与可选 root 越界检查),删除 Desktop 壳的 office-cli 与诊断文件;生产版 Desktop 由壳通过 DSH_BUNDLED_RUNTIME_ROOT 显式传入 Kit 根目录,开发版与 Web 不检查
- office-to-pdf 与 office-kit-resolver 合并为 @deepseek-ai/dsh-office-kit,由同一包定位 Kit 并提供转换服务
- Kit 缺失时 provider 照常注册,转换请求以 OfficeKitError unavailable 拒绝,之后安装 Kit 无需重载
- 类型统一使用 OfficeKit 前缀(OfficeKitRequest/Result/Priority/Key),同步消费方、文档、升级指南与 catalog
- 处理 ds-review-bot 意见,并更新 unknown 断言基线
本 PR 的 snapshot 统一在这个提交里用 keyless refresh 重新生成,前 3 个提交中的 snapshot 不一定和那一步的代码对应。
|
2026-11-04 18:17:57 +08:00 |
|
yudshj
|
4a41d3ad1f
|
feat(office): Office 技能在 Desktop、Web、SDK 均可用
- Office 技能从 Desktop 专属改为在 Web、SDK 与 Desktop profile 中均可挂载
- skill-office 新增 pythonEnvironment 配置,按部署显式选择内置依赖或用户已有的 Python
- Python 类技能末尾追加固定的 Python 环境说明,技能正文不再写死 load_workspace_dependencies
- 去掉 node:sea 探测,避免 Web 预览镜像依赖 webworker stub
|
2026-11-04 18:17:57 +08:00 |
|
yudshj
|
498d436db5
|
fix(office): 技能文件缺失时不再阻止 Desktop Host 启动,Office 改由 Desktop profile 挂载
- skill-office 在技能文件缺失或元数据解析失败时降级为持久失败,不再阻止 Desktop Host 启动
- Office 改由 Desktop profile 的 yaml 挂载,载体路径由 Desktop 壳通过 Host 环境传入
- 升级 LibreOffice Kit 到 rc.4,移除 Desktop Host 的引擎钩子,runtimeArchivePath 内联到 cli.ts 并删除 office-engine.ts
- 按平台原生路径和当前 Host 参数布局更新 web-app 与 desktop-host 测试夹具
|
2026-11-04 18:17:57 +08:00 |
|
yudshj
|
fb2a554cd3
|
refactor(office): remove the bundled structural checker
|
2026-10-12 16:07:23 +08:00 |
|
yudshj
|
bfcc6d50d0
|
refactor(office): remove command launchers and shell compatibility changes
|
2026-10-12 12:45:09 +08:00 |
|
yudshj
|
88f5ed353e
|
refactor(office): keep skill API and carrier composition unchanged
|
2026-10-12 11:57:13 +08:00 |
|
yudshj
|
310596f4aa
|
refactor(office): trim unused skill metadata and launcher input forwarding
|
2026-10-09 23:05:26 +08:00 |
|
yudshj
|
908763515e
|
refactor(office): run Python checker directly
|
2026-10-09 19:20:22 +08:00 |
|
yudshj
|
379f9cd47b
|
feat(office): add progressive skills and direct dsoffice commands
|
2026-10-09 19:14:55 +08:00 |
|
Yudong Han
|
5e25475857
|
fix(office): use bundled LibreOffice Kit 0.1.0 CLI across deployments (#4902)
* chore(office): upgrade libreoffice kit to 0.0.1-2
* fix(office): guide bounded CLI rendering and preview reuse
* chore(office): consume published LibreOffice Kit 0.0.3
* test(office): mock the complete LibreOffice converter interface
* chore(office): upgrade LibreOffice Kit to 0.0.4
* fix(office): expose bundled LibreOffice Kit 0.1.0 CLI across deployments
* fix(office): inspect Excel visuals only for layout tasks
* fix(office): allow compatible LibreOffice Kit 0.1 updates
* fix(office): stop Excel QA on blank previews and run regressions in CI
* fix(office): end workbook visual QA after an empty preview
|
2026-09-23 08:32:15 +00:00 |
|
yudshj
|
fa518ecd89
|
feat(desktop): enable standalone Office skills
|
2026-09-16 15:21:18 +08:00 |
|