dimcode-darwin-arm64 0.2.26 → 0.2.27

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/bin/dimcode CHANGED
Binary file
@@ -370,6 +370,16 @@ officecli add-part <file> <parent> # create new document part
370
370
 
371
371
  ---
372
372
 
373
+ ## DimCode DOCX Safety Overrides
374
+
375
+ These rules override conflicting upstream specialized skills.
376
+
377
+ - Use exactly one page-break mechanism per chapter boundary. Default to `pageBreakBefore=true` on the heading; never combine it with an explicit `pagebreak`, or apply it to `p[last()]` immediately after adding a pagebreak.
378
+ - Before adding a TOC, verify at least one eligible heading source. Sources need a Heading style or a custom style with `outlineLvl`; otherwise stop instead of creating a TOC.
379
+ - Set `updateFields=true` for a dynamic TOC. Without a Word-compatible field engine, report it as uncomputed; do not claim ready page numbers or guess static ones.
380
+
381
+ ---
382
+
373
383
  ## Specialized Skills
374
384
 
375
385
  `officecli load_skill <name>` — output is a SKILL.md, follow its rules.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dimcode-darwin-arm64",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "dimcode binary for macOS ARM64 (Apple Silicon)",
5
5
  "os": [
6
6
  "darwin"