dimcode-darwin-x64 0.1.2-beta.1 → 0.1.2

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.
Files changed (148) hide show
  1. package/bin/dimcode +0 -0
  2. package/package.json +1 -1
  3. package/bin/runtime/sandbox/dim-sandbox-runner +0 -0
  4. package/bin/runtime/sandbox/manifest.json +0 -15
  5. package/bin/skills-assets/deep-investigate/SKILL.md +0 -101
  6. package/bin/skills-assets/deep-investigate/references/prompts.md +0 -75
  7. package/bin/skills-assets/deep-investigate/references/templates.md +0 -73
  8. package/bin/skills-assets/deep-investigate/references/thinking-tools.md +0 -36
  9. package/bin/skills-assets/docs-sprint/SKILL.md +0 -73
  10. package/bin/skills-assets/docs-sprint/agents/openai.yaml +0 -4
  11. package/bin/skills-assets/docs-sprint/references/contract-discipline.md +0 -30
  12. package/bin/skills-assets/docs-sprint/references/delivery-plan.md +0 -162
  13. package/bin/skills-assets/docs-sprint/references/documentation-system.md +0 -109
  14. package/bin/skills-assets/docs-sprint/references/ui-layout.md +0 -73
  15. package/bin/skills-assets/docs-sprint/references/worktree-guide.md +0 -45
  16. package/bin/skills-assets/docx/SKILL.md +0 -273
  17. package/bin/skills-assets/docx/assets/styles/academic_styles.xml +0 -250
  18. package/bin/skills-assets/docx/assets/styles/corporate_styles.xml +0 -284
  19. package/bin/skills-assets/docx/assets/styles/default_styles.xml +0 -449
  20. package/bin/skills-assets/docx/assets/xsd/aesthetic-rules.xsd +0 -470
  21. package/bin/skills-assets/docx/assets/xsd/business-rules.xsd +0 -130
  22. package/bin/skills-assets/docx/assets/xsd/common-types.xsd +0 -159
  23. package/bin/skills-assets/docx/assets/xsd/wml-subset.xsd +0 -589
  24. package/bin/skills-assets/docx/references/cjk_typography.md +0 -357
  25. package/bin/skills-assets/docx/references/cjk_university_template_guide.md +0 -184
  26. package/bin/skills-assets/docx/references/comments_guide.md +0 -191
  27. package/bin/skills-assets/docx/references/design_good_bad_examples.md +0 -829
  28. package/bin/skills-assets/docx/references/design_principles.md +0 -819
  29. package/bin/skills-assets/docx/references/openxml_element_order.md +0 -308
  30. package/bin/skills-assets/docx/references/openxml_encyclopedia_part1.md +0 -4061
  31. package/bin/skills-assets/docx/references/openxml_encyclopedia_part2.md +0 -2820
  32. package/bin/skills-assets/docx/references/openxml_encyclopedia_part3.md +0 -3381
  33. package/bin/skills-assets/docx/references/openxml_namespaces.md +0 -82
  34. package/bin/skills-assets/docx/references/openxml_units.md +0 -72
  35. package/bin/skills-assets/docx/references/scenario_a_create.md +0 -284
  36. package/bin/skills-assets/docx/references/scenario_b_edit_content.md +0 -295
  37. package/bin/skills-assets/docx/references/scenario_c_apply_template.md +0 -456
  38. package/bin/skills-assets/docx/references/track_changes_guide.md +0 -200
  39. package/bin/skills-assets/docx/references/troubleshooting.md +0 -506
  40. package/bin/skills-assets/docx/references/typography_guide.md +0 -294
  41. package/bin/skills-assets/docx/references/xsd_validation_guide.md +0 -158
  42. package/bin/skills-assets/docx/scripts/doc_to_docx.sh +0 -40
  43. package/bin/skills-assets/docx/scripts/docx_preview.sh +0 -37
  44. package/bin/skills-assets/docx/scripts/dotnet/Docx.Cli/Docx.Cli.csproj +0 -19
  45. package/bin/skills-assets/docx/scripts/dotnet/Docx.Cli/Program.cs +0 -18
  46. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/AnalyzeCommand.cs +0 -147
  47. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/ApplyTemplateCommand.cs +0 -322
  48. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/CreateCommand.cs +0 -324
  49. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/DiffCommand.cs +0 -155
  50. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/EditContentCommand.cs +0 -487
  51. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/FixOrderCommand.cs +0 -108
  52. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/MergeRunsCommand.cs +0 -122
  53. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/ValidateCommand.cs +0 -107
  54. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Docx.Core.csproj +0 -15
  55. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/CommentSynchronizer.cs +0 -169
  56. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/ElementOrder.cs +0 -80
  57. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/NamespaceConstants.cs +0 -42
  58. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/RunMerger.cs +0 -81
  59. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/StyleAnalyzer.cs +0 -81
  60. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/TrackChangesHelper.cs +0 -99
  61. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/UnitConverter.cs +0 -23
  62. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples.cs +0 -1832
  63. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch1.cs +0 -910
  64. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch2.cs +0 -999
  65. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch3.cs +0 -1048
  66. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch4.cs +0 -1038
  67. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/CharacterFormattingSamples.cs +0 -1020
  68. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/DocumentCreationSamples.cs +0 -1121
  69. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/FieldAndTocSamples.cs +0 -624
  70. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/FootnoteAndCommentSamples.cs +0 -675
  71. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/HeaderFooterSamples.cs +0 -838
  72. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/ImageSamples.cs +0 -917
  73. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/ListAndNumberingSamples.cs +0 -826
  74. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/ParagraphFormattingSamples.cs +0 -1199
  75. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/StyleSystemSamples.cs +0 -1487
  76. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/TableSamples.cs +0 -1163
  77. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/TrackChangesSamples.cs +0 -595
  78. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Typography/CjkHelper.cs +0 -39
  79. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Typography/FontDefaults.cs +0 -24
  80. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Typography/PageSizes.cs +0 -20
  81. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/BusinessRuleValidator.cs +0 -224
  82. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/GateCheckValidator.cs +0 -148
  83. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/ValidationResult.cs +0 -23
  84. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/XsdValidator.cs +0 -69
  85. package/bin/skills-assets/docx/scripts/dotnet/Docx.slnx +0 -4
  86. package/bin/skills-assets/docx/scripts/env_check.sh +0 -196
  87. package/bin/skills-assets/docx/scripts/setup.ps1 +0 -274
  88. package/bin/skills-assets/docx/scripts/setup.sh +0 -504
  89. package/bin/skills-assets/pdf/README.md +0 -222
  90. package/bin/skills-assets/pdf/SKILL.md +0 -191
  91. package/bin/skills-assets/pdf/design/design.md +0 -381
  92. package/bin/skills-assets/pdf/scripts/cover.py +0 -1579
  93. package/bin/skills-assets/pdf/scripts/fill_inspect.py +0 -200
  94. package/bin/skills-assets/pdf/scripts/fill_write.py +0 -242
  95. package/bin/skills-assets/pdf/scripts/make.sh +0 -491
  96. package/bin/skills-assets/pdf/scripts/merge.py +0 -112
  97. package/bin/skills-assets/pdf/scripts/palette.py +0 -521
  98. package/bin/skills-assets/pdf/scripts/reformat_parse.py +0 -374
  99. package/bin/skills-assets/pdf/scripts/render_body.py +0 -1052
  100. package/bin/skills-assets/pdf/scripts/render_cover.js +0 -111
  101. package/bin/skills-assets/pptx-generator/SKILL.md +0 -248
  102. package/bin/skills-assets/pptx-generator/references/design-system.md +0 -392
  103. package/bin/skills-assets/pptx-generator/references/editing.md +0 -162
  104. package/bin/skills-assets/pptx-generator/references/pitfalls.md +0 -112
  105. package/bin/skills-assets/pptx-generator/references/pptxgenjs.md +0 -420
  106. package/bin/skills-assets/pptx-generator/references/slide-types.md +0 -413
  107. package/bin/skills-assets/skill-creator/SKILL.md +0 -368
  108. package/bin/skills-assets/skill-creator/agents/openai.yaml +0 -5
  109. package/bin/skills-assets/skill-creator/assets/skill-creator-small.svg +0 -3
  110. package/bin/skills-assets/skill-creator/assets/skill-creator.png +0 -0
  111. package/bin/skills-assets/skill-creator/license.txt +0 -202
  112. package/bin/skills-assets/skill-creator/references/openai_yaml.md +0 -49
  113. package/bin/skills-assets/skill-creator/scripts/generate_openai_yaml.py +0 -226
  114. package/bin/skills-assets/skill-creator/scripts/init_skill.py +0 -397
  115. package/bin/skills-assets/skill-creator/scripts/quick_validate.py +0 -101
  116. package/bin/skills-assets/skill-installer/LICENSE.txt +0 -202
  117. package/bin/skills-assets/skill-installer/SKILL.md +0 -58
  118. package/bin/skills-assets/skill-installer/agents/openai.yaml +0 -5
  119. package/bin/skills-assets/skill-installer/assets/skill-installer-small.svg +0 -3
  120. package/bin/skills-assets/skill-installer/assets/skill-installer.png +0 -0
  121. package/bin/skills-assets/skill-installer/scripts/github_utils.py +0 -21
  122. package/bin/skills-assets/skill-installer/scripts/install-skill-from-github.py +0 -308
  123. package/bin/skills-assets/skill-installer/scripts/list-skills.py +0 -107
  124. package/bin/skills-assets/xlsx/SKILL.md +0 -137
  125. package/bin/skills-assets/xlsx/references/create.md +0 -691
  126. package/bin/skills-assets/xlsx/references/edit.md +0 -684
  127. package/bin/skills-assets/xlsx/references/fix.md +0 -37
  128. package/bin/skills-assets/xlsx/references/format.md +0 -768
  129. package/bin/skills-assets/xlsx/references/ooxml-cheatsheet.md +0 -231
  130. package/bin/skills-assets/xlsx/references/read-analyze.md +0 -97
  131. package/bin/skills-assets/xlsx/references/validate.md +0 -772
  132. package/bin/skills-assets/xlsx/scripts/formula_check.py +0 -422
  133. package/bin/skills-assets/xlsx/scripts/libreoffice_recalc.py +0 -248
  134. package/bin/skills-assets/xlsx/scripts/shared_strings_builder.py +0 -163
  135. package/bin/skills-assets/xlsx/scripts/style_audit.py +0 -575
  136. package/bin/skills-assets/xlsx/scripts/xlsx_add_column.py +0 -395
  137. package/bin/skills-assets/xlsx/scripts/xlsx_insert_row.py +0 -274
  138. package/bin/skills-assets/xlsx/scripts/xlsx_pack.py +0 -87
  139. package/bin/skills-assets/xlsx/scripts/xlsx_reader.py +0 -362
  140. package/bin/skills-assets/xlsx/scripts/xlsx_shift_rows.py +0 -396
  141. package/bin/skills-assets/xlsx/scripts/xlsx_unpack.py +0 -130
  142. package/bin/skills-assets/xlsx/templates/minimal_xlsx/[Content_Types].xml +0 -9
  143. package/bin/skills-assets/xlsx/templates/minimal_xlsx/_rels/.rels +0 -6
  144. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +0 -19
  145. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +0 -33
  146. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/styles.xml +0 -160
  147. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/workbook.xml +0 -30
  148. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +0 -70
@@ -1,191 +0,0 @@
1
- # Comments System Guide (4-File Architecture)
2
-
3
- ## Overview
4
-
5
- Word comments require coordination across **four XML files** plus references in `document.xml`, `[Content_Types].xml`, and `document.xml.rels`.
6
-
7
- ---
8
-
9
- ## The Four Comment Files
10
-
11
- ### 1. `word/comments.xml` — Main Comment Content
12
-
13
- Contains the actual comment text:
14
-
15
- ```xml
16
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
17
- <w:comments xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
18
- xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
19
- <w:comment w:id="1" w:author="Alice" w:date="2026-03-21T09:00:00Z" w:initials="A">
20
- <w:p>
21
- <w:pPr><w:pStyle w:val="CommentText" /></w:pPr>
22
- <w:r>
23
- <w:rPr><w:rStyle w:val="CommentReference" /></w:rPr>
24
- <w:annotationRef />
25
- </w:r>
26
- <w:r>
27
- <w:t>This needs clarification.</w:t>
28
- </w:r>
29
- </w:p>
30
- </w:comment>
31
- </w:comments>
32
- ```
33
-
34
- Key attributes: `w:id` (unique integer), `w:author`, `w:date` (ISO 8601), `w:initials`.
35
-
36
- ### 2. `word/commentsExtended.xml` — W15 Extensions
37
-
38
- Links comments to paragraphs and tracks resolved status:
39
-
40
- ```xml
41
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
42
- <w15:commentsEx xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml">
43
- <w15:commentEx w15:paraId="1A2B3C4D" w15:done="0" />
44
- </w15:commentsEx>
45
- ```
46
-
47
- - `w15:paraId` — matches the `w14:paraId` of the comment's paragraph in `comments.xml`
48
- - `w15:done` — `"0"` = open, `"1"` = resolved
49
-
50
- ### 3. `word/commentsIds.xml` — Persistent ID Mapping
51
-
52
- Provides durable IDs that survive copy/paste across documents:
53
-
54
- ```xml
55
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
56
- <w16cid:commentsIds xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid">
57
- <w16cid:commentId w16cid:paraId="1A2B3C4D" w16cid:durableId="12345678" />
58
- </w16cid:commentsIds>
59
- ```
60
-
61
- - `w16cid:paraId` — same as `w15:paraId`
62
- - `w16cid:durableId` — globally unique identifier (8-digit hex)
63
-
64
- ### 4. `word/commentsExtensible.xml` — W16 Extensions
65
-
66
- Modern comment extensions (used in newer Word versions):
67
-
68
- ```xml
69
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
70
- <w16cex:commentsExtensible xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex">
71
- <w16cex:commentExtensible w16cex:durableId="12345678" w16cex:dateUtc="2026-03-21T09:00:00Z" />
72
- </w16cex:commentsExtensible>
73
- ```
74
-
75
- ---
76
-
77
- ## Document.xml References
78
-
79
- Comments are anchored in document content using three elements:
80
-
81
- ```xml
82
- <w:p>
83
- <w:commentRangeStart w:id="1" />
84
- <w:r><w:t>This text has a comment.</w:t></w:r>
85
- <w:commentRangeEnd w:id="1" />
86
- <w:r>
87
- <w:rPr><w:rStyle w:val="CommentReference" /></w:rPr>
88
- <w:commentReference w:id="1" />
89
- </w:r>
90
- </w:p>
91
- ```
92
-
93
- - `w:commentRangeStart` — marks where the commented text begins
94
- - `w:commentRangeEnd` — marks where the commented text ends
95
- - `w:commentReference` — the visible comment marker (superscript number), placed in a run after the range end
96
-
97
- The `w:id` on all three must match the `w:id` in `comments.xml`.
98
-
99
- ---
100
-
101
- ## Content Types Registration
102
-
103
- Add to `[Content_Types].xml`:
104
-
105
- ```xml
106
- <Override PartName="/word/comments.xml"
107
- ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml" />
108
- <Override PartName="/word/commentsExtended.xml"
109
- ContentType="application/vnd.ms-word.commentsExtended+xml" />
110
- <Override PartName="/word/commentsIds.xml"
111
- ContentType="application/vnd.ms-word.commentsIds+xml" />
112
- <Override PartName="/word/commentsExtensible.xml"
113
- ContentType="application/vnd.ms-word.commentsExtensible+xml" />
114
- ```
115
-
116
- ---
117
-
118
- ## Relationship Registration
119
-
120
- Add to `word/_rels/document.xml.rels`:
121
-
122
- ```xml
123
- <Relationship Id="rId20" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"
124
- Target="comments.xml" />
125
- <Relationship Id="rId21" Type="http://schemas.microsoft.com/office/2011/relationships/commentsExtended"
126
- Target="commentsExtended.xml" />
127
- <Relationship Id="rId22" Type="http://schemas.microsoft.com/office/2016/09/relationships/commentsIds"
128
- Target="commentsIds.xml" />
129
- <Relationship Id="rId23" Type="http://schemas.microsoft.com/office/2018/08/relationships/commentsExtensible"
130
- Target="commentsExtensible.xml" />
131
- ```
132
-
133
- ---
134
-
135
- ## Step-by-Step: Adding a New Comment
136
-
137
- 1. **Choose a unique comment ID** (scan existing `w:id` values, use max + 1)
138
- 2. **Generate a paraId** (8-character hex, e.g., `"1A2B3C4D"`) and durableId (8-digit hex)
139
- 3. **Add to `comments.xml`**: Create `w:comment` element with content
140
- 4. **Add to `commentsExtended.xml`**: Create `w15:commentEx` with `paraId`, `done="0"`
141
- 5. **Add to `commentsIds.xml`**: Create `w16cid:commentId` with `paraId` and `durableId`
142
- 6. **Add to `commentsExtensible.xml`**: Create `w16cex:commentExtensible` with `durableId` and `dateUtc`
143
- 7. **Add to `document.xml`**: Insert `w:commentRangeStart`, `w:commentRangeEnd`, and `w:commentReference` around target text
144
- 8. **Verify `[Content_Types].xml`** and `document.xml.rels` have entries for all 4 files
145
-
146
- ---
147
-
148
- ## Step-by-Step: Adding a Reply
149
-
150
- Replies are comments whose paragraph's `w14:paraId` links to a parent comment:
151
-
152
- 1. Create a new `w:comment` in `comments.xml` with a new `w:id`
153
- 2. In `commentsExtended.xml`, add `w15:commentEx` with:
154
- - `w15:paraId` = new paragraph ID
155
- - `w15:paraIdParent` = the `paraId` of the comment being replied to
156
- - `w15:done="0"`
157
- 3. Add entries in `commentsIds.xml` and `commentsExtensible.xml`
158
- 4. In `document.xml`, the reply does NOT need its own range markers — it shares the parent's range
159
-
160
- ```xml
161
- <!-- In commentsExtended.xml -->
162
- <w15:commentEx w15:paraId="5E6F7A8B" w15:paraIdParent="1A2B3C4D" w15:done="0" />
163
- ```
164
-
165
- ---
166
-
167
- ## Step-by-Step: Resolving a Comment
168
-
169
- Set `w15:done="1"` on the comment's `w15:commentEx` entry:
170
-
171
- ```xml
172
- <!-- Before -->
173
- <w15:commentEx w15:paraId="1A2B3C4D" w15:done="0" />
174
-
175
- <!-- After -->
176
- <w15:commentEx w15:paraId="1A2B3C4D" w15:done="1" />
177
- ```
178
-
179
- This marks the comment (and all its replies) as resolved. The comment remains visible but appears grayed out in Word.
180
-
181
- ---
182
-
183
- ## Minimum Viable Comment
184
-
185
- At minimum, a working comment requires:
186
- 1. `comments.xml` with the `w:comment` element
187
- 2. `document.xml` with range markers and reference
188
- 3. Relationship in `document.xml.rels`
189
- 4. Content type in `[Content_Types].xml`
190
-
191
- The extended files (`commentsExtended`, `commentsIds`, `commentsExtensible`) are optional but recommended for full compatibility with modern Word.