@deepseek-ai/dsh-skill-office 0.2.1-alpha.3 → 0.2.1-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.i18n.yaml CHANGED
@@ -18,8 +18,8 @@
18
18
  en: bc0460f837676d8a
19
19
  zh: be1692483d7f5daf
20
20
  /deepseek-ai-dsh-skill-office/use-this-package/progressive-loading:
21
- en: b20b58bfaab4d3f6
22
- zh: 084528c543b8746e
21
+ en: d251c551dc229a2b
22
+ zh: 82201ee78d37948a
23
23
  /deepseek-ai-dsh-skill-office/understand-the-implementation:
24
24
  en: 6946e30f3663c72f
25
25
  zh: 81dd5de9c7e61562
package/README.md CHANGED
@@ -75,7 +75,7 @@ flowchart TD
75
75
  PC --> F
76
76
  ```
77
77
 
78
- New files and content, data, or formula edits do not require rendering solely because they include incidental basic formatting. Preview images use a private, randomly named temporary directory inside the workspace and are removed after inspection. Loaded instructions remain in session history after an operation finishes. The diagram describes ordinary presets across supported clients; it does not change the shell-only definition of minimal or sdk-minimal.
78
+ New files and content, data, or formula edits do not require rendering solely because they include incidental basic formatting. Preview images use a private, randomly named temporary directory inside the workspace and are removed after inspection; replies report the inspection in text without linking them. PDF export validates the command result and `%PDF-` signature without searching for PDF readers. Loaded instructions remain in session history after an operation finishes. The diagram describes ordinary presets across supported clients; it does not change the shell-only definition of minimal or sdk-minimal.
79
79
 
80
80
  -----
81
81
 
package/README.zh.md CHANGED
@@ -75,7 +75,7 @@ flowchart TD
75
75
  PC --> F
76
76
  ```
77
77
 
78
- 新建文件以及内容、数据或公式修改,不会仅因附带基础格式调整而需要渲染。预览图片保存在工作区内随机命名的私有临时目录中,并在检查后删除。操作结束后,已加载的说明仍属于会话历史。图中描述各端常规预设,不改变 minimal 或 sdk-minimal 的纯 shell 定义。
78
+ 新建文件以及内容、数据或公式修改,不会仅因附带基础格式调整而需要渲染。预览图片保存在工作区内随机命名的私有临时目录中,并在检查后删除;回复以文字说明检查结果,不链接这些图片。PDF 导出校验命令结果和 `%PDF-` 签名,不另外查找 PDF 阅读工具。操作结束后,已加载的说明仍属于会话历史。图中描述各端常规预设,不改变 minimal 或 sdk-minimal 的纯 shell 定义。
79
79
 
80
80
  -----
81
81
 
@@ -13,6 +13,6 @@ Convert the final saved Office file to a new PDF in the task workspace. Preserve
13
13
  "<node>" "<cli>" convert --input <final-office-file> --output <new-file.pdf>
14
14
  ```
15
15
 
16
- Check the command result, nonempty output, and `%PDF-` file signature. If a PDF reader library is already available, compare page count and extractable text with the requested content. If it is unavailable, report the extent of validation; do not generate images or install extra tools to validate a conversion. Spreadsheet PDF pages follow workbook print settings; change those settings only when requested. Conversion may differ from the native application's pagination or fonts.
16
+ Check the command result, nonempty output, and `%PDF-` file signature, then report that extent of validation. Unless the user requests deeper checks, do not search for PDF readers, generate images, or install tools to validate a conversion. Spreadsheet PDF pages follow workbook print settings; change those settings only when requested. Conversion may differ from the native application's pagination or fonts.
17
17
 
18
18
  If export fails, preserve the usable source and report the export limitation. Do not repeatedly convert an unchanged source or use conversion to investigate a failed preview. For PDF export alone, stop after these checks. Only a request for images or visual inspection calls for `office-render`; load it before that separate operation. Deliver the requested PDF through `present` when available, keeping the file in place.
@@ -11,7 +11,7 @@ Before generating images only for inspection, establish that the current model a
11
11
 
12
12
  ## Render the saved deliverable
13
13
 
14
- Keep the saved deliverable in the task workspace. For requested image exports, use the requested output directory and retain the images. For inspection-only previews, create a private, uniquely named temporary parent inside that workspace and pass a child path that does not yet exist as `--output-dir`; the CLI creates that child. On POSIX, use `preview_root=$(mktemp -d "./.dsh-office.XXXXXXXX")` (owner-only permissions) and `--output-dir "$preview_root/render"`. On PowerShell, create a parent named `.dsh-office-` plus `[guid]::NewGuid().ToString('N')` under the task workspace and pass an uncreated `render` child; it inherits the workspace ACL. Quote each input and output path. Retain the parent until image inspection finishes, then remove only that parent, including after a failed render. Never use a fixed directory name or remove the workspace itself.
14
+ Keep the saved deliverable in the task workspace. For requested image exports, use the requested output directory and retain the images. For inspection-only previews, create a private, uniquely named temporary parent inside that workspace and pass a child path that does not yet exist as `--output-dir`; the CLI creates that child. On POSIX, use `preview_root=$(mktemp -d "./.dsh-office.XXXXXXXX")` (owner-only permissions) and `--output-dir "$preview_root/render"`. On PowerShell, create a parent named `.dsh-office-` plus `[guid]::NewGuid().ToString('N')` under the task workspace and pass an uncreated `render` child; it inherits the workspace ACL. Quote each input and output path. Retain the parent until image inspection finishes, then remove only that parent, including after a failed render. Never use a fixed directory name or remove the workspace itself. Report inspection results in text; the reply must not link or embed removed previews.
15
15
 
16
16
  ```text
17
17
  "<node>" "<cli>" render --input <final-file> --output-dir <new-directory> --pages "1,3,4"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-skill-office",
3
- "description": "Bundled Word, PowerPoint, and Excel workflows and structural checks",
4
- "version": "0.2.1-alpha.3",
3
+ "description": "Bundled Word, PowerPoint, and Excel workflows and LibreOffice Kit operations",
4
+ "version": "0.2.1-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,11 +27,11 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-skill": "0.2.1-alpha.3",
30
+ "@deepseek-ai/dsh-skill": "0.2.1-alpha.4",
31
31
  "@deepseek-ai/cordis": "~4.0.5-alpha.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@deepseek-ai/dsh-skill": "0.2.1-alpha.3",
34
+ "@deepseek-ai/dsh-skill": "0.2.1-alpha.4",
35
35
  "@deepseek-ai/cordis": "~4.0.5-alpha.2",
36
36
  "@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.2",
37
37
  "@deepseek-ai/cordis-plugin-include": "~1.0.10-alpha.2"