dknowc-dsh 2.3.0 → 2.4.0

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 (270) hide show
  1. package/README.md +14 -50
  2. package/package.json +2 -2
  3. package/skills/dk-trace-report/SKILL.md +288 -0
  4. package/skills/dk-trace-report/config/examples/doc.json +56 -0
  5. package/skills/dk-trace-report/config/examples/legal.json +51 -0
  6. package/skills/dk-trace-report/config/examples/ppt.json +47 -0
  7. package/skills/dk-trace-report/config/examples/tax.json +46 -0
  8. package/skills/dk-trace-report/config/examples/trusted.json +122 -0
  9. package/skills/dk-trace-report/reference/sample_input.json +60 -0
  10. package/skills/dk-trace-report/resources/ECHARTS-NOTICE.txt +10 -0
  11. package/skills/dk-trace-report/resources/echarts.custom.min.js +48 -0
  12. package/skills/dk-trace-report/scripts/build_report_input.py +333 -0
  13. package/skills/{dknowc-trusted-search → dk-trace-report}/scripts/chart_embed.py +4 -1
  14. package/skills/{dknowc-trusted-search → dk-trace-report}/scripts/render_trace_html.py +1072 -537
  15. package/skills/dk-trace-report/scripts/run_paths.py +95 -0
  16. package/skills/dk-trace-report/scripts/trust_digest.py +77 -0
  17. package/skills/dknowc-legal-assistant/README.md +95 -0
  18. package/skills/dknowc-legal-assistant/SKILL.md +122 -0
  19. package/skills/dknowc-legal-assistant/attribution.json +5 -0
  20. package/skills/dknowc-legal-assistant/reference/answer-and-report.md +221 -0
  21. package/skills/dknowc-legal-assistant/reference/capability-layer.md +143 -0
  22. package/skills/dknowc-legal-assistant/reference/legal_claims.example.json +96 -0
  23. package/skills/dknowc-legal-assistant/reference/onboarding_scripts.md +198 -0
  24. package/skills/dknowc-legal-assistant/reference/policy_tags.json +2002 -0
  25. package/skills/dknowc-legal-assistant/reference/retrieval-statute.md +81 -0
  26. package/skills/dknowc-legal-assistant/reference/retrieval-v2.md +133 -0
  27. package/skills/dknowc-legal-assistant/reference/sample_search_result.md +33 -0
  28. package/skills/dknowc-legal-assistant/reference/sample_trace_report.html +940 -0
  29. package/skills/dknowc-legal-assistant/reference/tags.md +53 -0
  30. package/skills/dknowc-legal-assistant/reference/troubleshooting.md +50 -0
  31. package/skills/dknowc-legal-assistant/reference/verification-pass.md +59 -0
  32. package/skills/dknowc-legal-assistant/resources/echarts.custom.min.js +48 -0
  33. package/skills/dknowc-legal-assistant/scripts/api_key.py +68 -0
  34. package/skills/dknowc-legal-assistant/scripts/attribution.py +61 -0
  35. package/skills/dknowc-legal-assistant/scripts/calc_legal.py +375 -0
  36. package/skills/dknowc-legal-assistant/scripts/calc_period.py +155 -0
  37. package/skills/dknowc-legal-assistant/scripts/check_answer.py +664 -0
  38. package/skills/dknowc-legal-assistant/scripts/initialize.py +188 -0
  39. package/skills/dknowc-legal-assistant/scripts/legal_client.py +208 -0
  40. package/skills/dknowc-legal-assistant/scripts/legal_search.py +1059 -0
  41. package/skills/dknowc-legal-assistant/scripts/merge_search_results.py +630 -0
  42. package/skills/dknowc-legal-assistant/scripts/path_guard.py +92 -0
  43. package/skills/dknowc-legal-assistant/scripts/question_profile.py +215 -0
  44. package/skills/dknowc-legal-assistant/scripts/register_key.mjs +1152 -0
  45. package/skills/dknowc-legal-assistant/scripts/run_eval.py +109 -0
  46. package/skills/dknowc-legal-assistant/scripts/source_cards.py +321 -0
  47. package/skills/dknowc-legal-assistant/scripts/tag_catalog.py +162 -0
  48. package/skills/dknowc-legal-assistant/scripts/trace_report.config.json +66 -0
  49. package/skills/dknowc-legal-assistant/scripts/verify_claims.py +448 -0
  50. package/skills/dknowc-legal-assistant/scripts/websearch_convert.py +396 -0
  51. package/skills/dknowc-official-doc-writer/README.md +45 -25
  52. package/skills/dknowc-official-doc-writer/SKILL.md +28 -14
  53. package/skills/dknowc-official-doc-writer/config/trace_report.config.json +56 -0
  54. package/skills/dknowc-official-doc-writer/official-docs/input//345/274/225/347/224/250/345/257/271/347/205/247_/351/252/214/346/224/266_materials.json +628 -0
  55. package/skills/dknowc-official-doc-writer/official-docs/search-results/baseline_1555.json +345 -0
  56. package/skills/dknowc-official-doc-writer/official-docs/search-results/baseline_my.json +728 -0
  57. package/skills/dknowc-official-doc-writer/official-docs/search-results/baseline_wp.json +159 -0
  58. package/skills/dknowc-official-doc-writer/official-docs/search-results/baseline_wp2.json +1006 -0
  59. package/skills/dknowc-official-doc-writer/official-docs/search-results/test_tz.json +28 -0
  60. package/skills/dknowc-official-doc-writer/official-docs/search-results/tmp_q.json +1419 -0
  61. package/skills/dknowc-official-doc-writer/reference/anti_ai_patterns.md +13 -1
  62. package/skills/dknowc-official-doc-writer/reference/fact_discipline.md +4 -0
  63. package/skills/dknowc-official-doc-writer/reference/genre_writing_notes.md +4 -0
  64. package/skills/dknowc-official-doc-writer/reference/initialization.md +28 -20
  65. package/skills/dknowc-official-doc-writer/reference/material_usage_guidance.md +21 -0
  66. package/skills/dknowc-official-doc-writer/reference/materials_pipeline.md +64 -7
  67. package/skills/dknowc-official-doc-writer/reference/onboarding_scripts.md +43 -32
  68. package/skills/dknowc-official-doc-writer/reference/outline_rules.md +1 -1
  69. package/skills/dknowc-official-doc-writer/reference/output_guide.md +19 -20
  70. package/skills/dknowc-official-doc-writer/reference/research_notes.md +5 -3
  71. package/skills/dknowc-official-doc-writer/reference/review_checklist.md +6 -2
  72. package/skills/dknowc-official-doc-writer/reference/revision_workflow.md +2 -2
  73. package/skills/dknowc-official-doc-writer/reference/search_guide.md +45 -33
  74. package/skills/dknowc-official-doc-writer/reference/search_intro.md +4 -4
  75. package/skills/dknowc-official-doc-writer/reference/search_policy.md +63 -36
  76. package/skills/dknowc-official-doc-writer/reference/standards/00_index.md +63 -77
  77. package/skills/dknowc-official-doc-writer/reference/standards/01_report.md +3 -3
  78. package/skills/dknowc-official-doc-writer/reference/standards/02_qingshi.md +6 -3
  79. package/skills/dknowc-official-doc-writer/reference/standards/03_pifu.md +2 -2
  80. package/skills/dknowc-official-doc-writer/reference/standards/04_tongzhi.md +12 -3
  81. package/skills/dknowc-official-doc-writer/reference/standards/05_yijian.md +8 -2
  82. package/skills/dknowc-official-doc-writer/reference/standards/06_han.md +2 -2
  83. package/skills/dknowc-official-doc-writer/reference/standards/08_tongbao.md +2 -2
  84. package/skills/dknowc-official-doc-writer/reference/standards/09_tonggao.md +2 -2
  85. package/skills/dknowc-official-doc-writer/reference/standards/10_gonggao.md +2 -2
  86. package/skills/dknowc-official-doc-writer/reference/standards/11_fuhan_approve.md +2 -2
  87. package/skills/dknowc-official-doc-writer/reference/standards/12_fuhan_objection.md +2 -2
  88. package/skills/dknowc-official-doc-writer/reference/standards/13_reminder.md +3 -3
  89. package/skills/dknowc-official-doc-writer/reference/standards/14_generic.md +1 -1
  90. package/skills/dknowc-official-doc-writer/reference/standards/16_decision.md +2 -2
  91. package/skills/dknowc-official-doc-writer/reference/standards/18_order.md +1 -1
  92. package/skills/dknowc-official-doc-writer/reference/standards/19_gazette.md +1 -1
  93. package/skills/dknowc-official-doc-writer/reference/standards/20_motion.md +2 -2
  94. package/skills/dknowc-official-doc-writer/reference/standards/22_application.md +2 -2
  95. package/skills/dknowc-official-doc-writer/reference/standards/23_publicity.md +1 -1
  96. package/skills/dknowc-official-doc-writer/reference/standards/25_plan.md +2 -1
  97. package/skills/dknowc-official-doc-writer/reference/standards/26_summary.md +7 -1
  98. package/skills/dknowc-official-doc-writer/reference/standards/27_speech.md +4 -1
  99. package/skills/dknowc-official-doc-writer/reference/standards/99_expressions.md +1 -2
  100. package/skills/dknowc-official-doc-writer/reference/task_router.md +5 -5
  101. package/skills/dknowc-official-doc-writer/reference/working_principles.md +4 -4
  102. package/skills/dknowc-official-doc-writer/reference/writing_method.md +166 -0
  103. package/skills/dknowc-official-doc-writer/reference/writing_rules.md +11 -5
  104. package/skills/dknowc-official-doc-writer/scripts/api_key.py +30 -3
  105. package/skills/dknowc-official-doc-writer/scripts/attribution.py +1 -1
  106. package/skills/dknowc-official-doc-writer/scripts/build_trace_json.py +216 -22
  107. package/skills/dknowc-official-doc-writer/scripts/check_materials.py +375 -27
  108. package/skills/dknowc-official-doc-writer/scripts/deep_convert.py +9 -4
  109. package/skills/dknowc-official-doc-writer/scripts/deep_query.py +3 -2
  110. package/skills/dknowc-official-doc-writer/scripts/dkag_search.py +23 -9
  111. package/skills/dknowc-official-doc-writer/scripts/extract_reference.py +2 -1
  112. package/skills/dknowc-official-doc-writer/scripts/format_document.py +116 -41
  113. package/skills/dknowc-official-doc-writer/scripts/initialize.py +246 -12
  114. package/skills/dknowc-official-doc-writer/scripts/local_memory.py +2 -6
  115. package/skills/dknowc-official-doc-writer/scripts/mcp_direct.py +2 -3
  116. package/skills/dknowc-official-doc-writer/scripts/merge_search_results.py +113 -13
  117. package/skills/dknowc-official-doc-writer/scripts/outline_reference.py +3 -2
  118. package/skills/dknowc-official-doc-writer/scripts/prose_lint.py +7 -2
  119. package/skills/dknowc-official-doc-writer/scripts/register.mjs +782 -216
  120. package/skills/dknowc-official-doc-writer/scripts/review_document.py +2 -1
  121. package/skills/dknowc-official-doc-writer/scripts/source_note_html.py +120 -13
  122. package/skills/dknowc-official-doc-writer/scripts/template_generator.py +2 -1
  123. package/skills/dknowc-official-doc-writer/scripts/update_skill.py +339 -0
  124. package/skills/dknowc-official-doc-writer/scripts/websearch_convert.py +326 -0
  125. package/skills/dknowc-ppt-assistant/README.md +21 -9
  126. package/skills/dknowc-ppt-assistant/SKILL.md +29 -20
  127. package/skills/dknowc-ppt-assistant/THIRD_PARTY_NOTICES.md +3 -2
  128. package/skills/dknowc-ppt-assistant/config/trace_report.config.json +65 -0
  129. package/skills/dknowc-ppt-assistant/references/initialization.md +58 -7
  130. package/skills/dknowc-ppt-assistant/references/material_usage.md +51 -14
  131. package/skills/dknowc-ppt-assistant/references/onboarding_scripts.md +51 -18
  132. package/skills/dknowc-ppt-assistant/references/sample_trace_report.html +372 -920
  133. package/skills/dknowc-ppt-assistant/references/search_intro.md +2 -2
  134. package/skills/dknowc-ppt-assistant/references/svg-authoring.md +3 -3
  135. package/skills/dknowc-ppt-assistant/references/upstream-example/README.md +2 -0
  136. package/skills/dknowc-ppt-assistant/scripts/api_key.py +11 -27
  137. package/skills/dknowc-ppt-assistant/scripts/attribution.py +2 -2
  138. package/skills/dknowc-ppt-assistant/scripts/build_trace_input.py +188 -0
  139. package/skills/dknowc-ppt-assistant/scripts/compact_svg_coordinates.py +1 -1
  140. package/skills/dknowc-ppt-assistant/scripts/config.py +9 -9
  141. package/skills/dknowc-ppt-assistant/scripts/console_encoding.py +1 -2
  142. package/skills/dknowc-ppt-assistant/scripts/error_helper.py +3 -3
  143. package/skills/dknowc-ppt-assistant/scripts/hyperlink_contract.py +1 -1
  144. package/skills/dknowc-ppt-assistant/scripts/initialize.py +248 -15
  145. package/skills/dknowc-ppt-assistant/scripts/language_tags.py +1 -1
  146. package/skills/dknowc-ppt-assistant/scripts/mcp_convert.py +7 -14
  147. package/skills/dknowc-ppt-assistant/scripts/mcp_direct.py +3 -2
  148. package/skills/dknowc-ppt-assistant/scripts/merge_search_results.py +604 -0
  149. package/skills/dknowc-ppt-assistant/scripts/native_payloads.py +1 -1
  150. package/skills/dknowc-ppt-assistant/scripts/pptx_animations.py +1 -1
  151. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/__init__.py +1 -1
  152. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/errors.py +1 -1
  153. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/formula.py +1 -1
  154. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/loader.py +1 -1
  155. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/models.py +1 -1
  156. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/registry.py +2 -2
  157. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/semantic_hash.py +1 -1
  158. package/skills/dknowc-ppt-assistant/scripts/pptx_shapes/semantics.py +3 -3
  159. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/animation_import.py +1 -1
  160. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/formula_import.py +1 -1
  161. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/hyperlinks.py +2 -2
  162. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/preset_authoring.py +2 -2
  163. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/preset_registry_to_svg.py +2 -2
  164. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/preset_svg_markup.py +2 -2
  165. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/slide_to_svg.py +1 -1
  166. package/skills/dknowc-ppt-assistant/scripts/pptx_to_svg/transition_import.py +1 -1
  167. package/skills/dknowc-ppt-assistant/scripts/pptx_transitions.py +2 -2
  168. package/skills/dknowc-ppt-assistant/scripts/preset_shape_svg.py +2 -2
  169. package/skills/dknowc-ppt-assistant/scripts/preview_slide_html.py +4 -11
  170. package/skills/dknowc-ppt-assistant/scripts/project_utils.py +2 -2
  171. package/skills/dknowc-ppt-assistant/scripts/register_key.mjs +890 -341
  172. package/skills/dknowc-ppt-assistant/scripts/resource_paths.py +1 -1
  173. package/skills/dknowc-ppt-assistant/scripts/shape_boolean_svg.py +2 -2
  174. package/skills/dknowc-ppt-assistant/scripts/slide_roster.py +1 -1
  175. package/skills/dknowc-ppt-assistant/scripts/svg_finalize/__init__.py +2 -9
  176. package/skills/dknowc-ppt-assistant/scripts/svg_finalize/align_embed_images.py +1 -1
  177. package/skills/dknowc-ppt-assistant/scripts/svg_finalize/crop_images.py +3 -3
  178. package/skills/dknowc-ppt-assistant/scripts/svg_quality/__init__.py +2 -2
  179. package/skills/dknowc-ppt-assistant/scripts/svg_quality/checker.py +9 -10
  180. package/skills/dknowc-ppt-assistant/scripts/svg_quality/cli.py +4 -4
  181. package/skills/dknowc-ppt-assistant/scripts/svg_quality/svg_contracts.py +2 -2
  182. package/skills/dknowc-ppt-assistant/scripts/svg_quality/xml_support.py +1 -1
  183. package/skills/dknowc-ppt-assistant/scripts/svg_quality_checker.py +1 -1
  184. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/drawingml/hyperlinks.py +2 -2
  185. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/drawingml/theme_colors.py +1 -1
  186. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/drawingml/theme_fonts.py +1 -1
  187. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/geometry_properties.py +1 -1
  188. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/formula.py +2 -2
  189. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/formula_ast.py +1 -1
  190. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/formula_compiler.py +2 -2
  191. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/formula_omml.py +2 -2
  192. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/formula_parser.py +2 -2
  193. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/formula_profile.py +1 -1
  194. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/formula_run_properties.py +1 -1
  195. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/native_objects/inline_formula.py +2 -2
  196. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/pptx_package/builder.py +9 -11
  197. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/pptx_package/cli.py +7 -5
  198. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/pptx_package/template_structure.py +1 -1
  199. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/pptx_package/template_validation.py +1 -1
  200. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/semantic_markers.py +1 -1
  201. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/shape_boolean.py +2 -2
  202. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx/text_outline.py +2 -2
  203. package/skills/dknowc-ppt-assistant/scripts/svg_to_pptx.py +1 -1
  204. package/skills/dknowc-ppt-assistant/scripts/trusted_search.py +51 -17
  205. package/skills/dknowc-ppt-assistant/scripts/update_skill.py +314 -0
  206. package/skills/dknowc-ppt-assistant/scripts/update_spec.py +25 -1
  207. package/skills/dknowc-ppt-assistant/scripts/websearch_convert.py +326 -0
  208. package/skills/dknowc-ppt-assistant/workflows/generate-pptx.md +99 -34
  209. package/skills/dknowc-tax-assistant/README.md +54 -0
  210. package/skills/dknowc-tax-assistant/SKILL.md +99 -0
  211. package/skills/dknowc-tax-assistant/attribution.json +5 -0
  212. package/skills/dknowc-tax-assistant/reference/answer-and-report.md +100 -0
  213. package/skills/dknowc-tax-assistant/reference/capability-layer.md +205 -0
  214. package/skills/dknowc-tax-assistant/reference/onboarding_scripts.md +68 -0
  215. package/skills/dknowc-tax-assistant/reference/policy_tags.json +2002 -0
  216. package/skills/dknowc-tax-assistant/reference/retrieval-policy.md +43 -0
  217. package/skills/dknowc-tax-assistant/reference/retrieval-v2.md +58 -0
  218. package/skills/dknowc-tax-assistant/reference/tags.md +53 -0
  219. package/skills/dknowc-tax-assistant/reference/tax_claims.example.json +76 -0
  220. package/skills/dknowc-tax-assistant/reference/trace_report.config.json +46 -0
  221. package/skills/dknowc-tax-assistant/reference/troubleshooting.md +70 -0
  222. package/skills/dknowc-tax-assistant/reference/websearch-fallback.md +59 -0
  223. package/skills/dknowc-tax-assistant/resources/THIRD_PARTY_NOTICES.md +9 -0
  224. package/skills/dknowc-tax-assistant/resources/echarts.custom.min.js +48 -0
  225. package/skills/dknowc-tax-assistant/scripts/api_key.py +60 -0
  226. package/skills/dknowc-tax-assistant/scripts/attribution.py +61 -0
  227. package/skills/dknowc-tax-assistant/scripts/calc_period.py +156 -0
  228. package/skills/dknowc-tax-assistant/scripts/calc_tax.py +179 -0
  229. package/skills/dknowc-tax-assistant/scripts/check_answer.py +210 -0
  230. package/skills/dknowc-tax-assistant/scripts/initialize.py +208 -0
  231. package/skills/dknowc-tax-assistant/scripts/merge_search_results.py +631 -0
  232. package/skills/dknowc-tax-assistant/scripts/path_guard.py +23 -0
  233. package/skills/dknowc-tax-assistant/scripts/question_profile.py +444 -0
  234. package/skills/dknowc-tax-assistant/scripts/register_key.mjs +1173 -0
  235. package/skills/dknowc-tax-assistant/scripts/run_dir.py +149 -0
  236. package/skills/dknowc-tax-assistant/scripts/source_cards.py +372 -0
  237. package/skills/dknowc-tax-assistant/scripts/tag_catalog.py +164 -0
  238. package/skills/dknowc-tax-assistant/scripts/tax_client.py +218 -0
  239. package/skills/dknowc-tax-assistant/scripts/tax_search.py +403 -0
  240. package/skills/dknowc-tax-assistant/scripts/verify_claims.py +587 -0
  241. package/skills/dknowc-tax-assistant/scripts/websearch_convert.py +352 -0
  242. package/skills/dknowc-trusted-search/README.md +29 -23
  243. package/skills/dknowc-trusted-search/SKILL.md +257 -107
  244. package/skills/dknowc-trusted-search/config/trace_report.config.json +119 -0
  245. package/skills/dknowc-trusted-search/reference/onboarding_scripts.md +40 -15
  246. package/skills/dknowc-trusted-search/reference/sample_trace_report.html +286 -191
  247. package/skills/dknowc-trusted-search/resources/ECHARTS-NOTICE.txt +10 -0
  248. package/skills/dknowc-trusted-search/scripts/api_key.py +10 -26
  249. package/skills/dknowc-trusted-search/scripts/attribution.py +1 -1
  250. package/skills/dknowc-trusted-search/scripts/build_trace_input.py +173 -0
  251. package/skills/dknowc-trusted-search/scripts/deep_convert.py +79 -30
  252. package/skills/dknowc-trusted-search/scripts/deep_query.py +23 -34
  253. package/skills/dknowc-trusted-search/scripts/initialize.py +353 -12
  254. package/skills/dknowc-trusted-search/scripts/mcp_direct.py +3 -2
  255. package/skills/dknowc-trusted-search/scripts/merge_search_results.py +222 -35
  256. package/skills/dknowc-trusted-search/scripts/register_key.mjs +845 -291
  257. package/skills/dknowc-trusted-search/scripts/source_display.py +59 -0
  258. package/skills/dknowc-trusted-search/scripts/trusted_search.py +69 -36
  259. package/skills/dknowc-trusted-search/scripts/update_skill.py +300 -0
  260. package/skills/dknowc-trusted-search/scripts/websearch_convert.py +328 -0
  261. package/src/index.js +15 -0
  262. package/skills/dknowc-official-doc-writer/scripts/mcp_convert.py +0 -287
  263. package/skills/dknowc-official-doc-writer/scripts/render_trace_html.py +0 -2574
  264. package/skills/dknowc-ppt-assistant/references/upstream-docs/svg-pipeline.md +0 -842
  265. package/skills/dknowc-ppt-assistant/scripts/finalize_svg.py +0 -507
  266. package/skills/dknowc-ppt-assistant/scripts/render_trace_html.py +0 -2642
  267. package/skills/dknowc-ppt-assistant/scripts/svg_finalize/svg_rect_to_path.py +0 -346
  268. package/skills/dknowc-trusted-search/official-docs/output/.gitkeep +0 -0
  269. package/skills/dknowc-trusted-search/official-docs/search-results/.gitkeep +0 -0
  270. package/skills/dknowc-trusted-search/scripts/mcp_convert.py +0 -198
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Shared SVG Resource Helpers
3
+ 深知可信PPT - Shared SVG Resource Helpers
4
4
 
5
5
  Centralizes project-relative resource lookup and nested-SVG closure validation
6
6
  used by the checker, finalizer, and SVG-to-PPTX exporter.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Shape Boolean SVG Fragment Tool
3
+ 深知可信PPT - Shape Boolean SVG Fragment Tool
4
4
 
5
5
  Combine closed SVG shapes or resolvable text outlines and print the resulting
6
6
  canonical SVG path fragment to stdout. Result geometry is in SVG-root coordinate
@@ -22,7 +22,7 @@ Examples:
22
22
  --operation subtract --source scrim --source chapter-number --id reveal
23
23
 
24
24
  Dependencies:
25
- skia-pathops, local PPT Master modules, and uharfbuzz for text operands
25
+ skia-pathops, local 深知可信PPT modules, and uharfbuzz for text operands
26
26
  """
27
27
 
28
28
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Slide Roster Helpers
3
+ 深知可信PPT - Slide Roster Helpers
4
4
 
5
5
  Orders slide SVG filenames by numeric segments for consistent page rosters.
6
6
 
@@ -1,12 +1,5 @@
1
1
  """svg_finalize — shared self-containment + DrawingML-compat utilities.
2
2
 
3
- Used by two consumers:
4
-
5
- 1. finalize_svg.py — writes svg_output/ → svg_final/ on disk
6
- 2. svg_to_pptx (use_expander, tspan_flattener) — reuses these modules
7
- in memory during native pptx conversion
8
-
9
- Deleting any module here is likely to break native pptx output, not just
10
- svg_final/. See scripts/docs/svg-pipeline.md for the full per-module consumer
11
- table.
3
+ Used by svg_to_pptx (use_expander, tspan_flattener) in memory during native pptx
4
+ conversion.
12
5
  """
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master — single-pass image alignment + Base64 embedding.
2
+ """深知可信PPT — single-pass image alignment + Base64 embedding.
3
3
 
4
4
  Replaces the previous three independent finalize_svg steps:
5
5
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Smart Image Cropping Tool
3
+ 深知可信PPT - Smart Image Cropping Tool
4
4
 
5
5
  Smartly crops images based on the preserveAspectRatio attribute of <image> elements in SVG:
6
6
  - slice: Crop to fill (similar to CSS object-fit: cover)
@@ -325,7 +325,7 @@ def process_directory(directory: str, dry_run: bool = False, verbose: bool = Tru
325
325
  def main() -> None:
326
326
  """Run the CLI entry point."""
327
327
  parser = argparse.ArgumentParser(
328
- description='PPT Master - Smart Image Cropping Tool',
328
+ description='深知可信PPT - Smart Image Cropping Tool',
329
329
  formatter_class=argparse.RawDescriptionHelpFormatter,
330
330
  epilog='''
331
331
  Examples:
@@ -352,7 +352,7 @@ preserveAspectRatio usage:
352
352
  print(f"[ERROR] Path not found: {args.path}")
353
353
  sys.exit(1)
354
354
 
355
- print("PPT Master - Smart Image Cropping")
355
+ print("深知可信PPT - Smart Image Cropping")
356
356
  print("=" * 50)
357
357
 
358
358
  if args.path.is_file():
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master SVG quality-check internals.
2
+ """深知可信PPT SVG quality-check internals.
3
3
 
4
4
  Use the stable ``scripts/svg_quality_checker.py`` entry point for CLI execution
5
5
  and compatibility imports.
@@ -11,5 +11,5 @@ Examples:
11
11
  from svg_quality_checker import SVGQualityChecker
12
12
 
13
13
  Dependencies:
14
- Local PPT Master validation modules.
14
+ Local 深知可信PPT validation modules.
15
15
  """
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master SVG quality-check implementation.
2
+ """深知可信PPT SVG quality-check implementation.
3
3
 
4
4
  Owns SVG, project-contract, template, and report validation. The stable CLI and
5
5
  compatibility import surface remain in ``scripts/svg_quality_checker.py``.
@@ -11,7 +11,7 @@ Examples:
11
11
  from svg_quality_checker import SVGQualityChecker
12
12
 
13
13
  Dependencies:
14
- Standard library plus local PPT Master validation modules.
14
+ Standard library plus local 深知可信PPT validation modules.
15
15
  """
16
16
 
17
17
  import copy
@@ -5516,8 +5516,8 @@ class SVGQualityChecker:
5516
5516
  'release SVG projects require an explicit spec_lock.md '
5517
5517
  'pptx_structure.mode: flat (free design / brand-only) or '
5518
5518
  f'structured (deck/layout template); found {label}. New '
5519
- 'free-design projects use mode: flat; create a new template '
5520
- 'workspace through skills/ppt-master/workflows/create-template.md, '
5519
+ 'free-design projects use mode: flat; follow the SVG authoring contract '
5520
+ 'in references/svg-authoring.md, '
5521
5521
  'then generate new structured SVG pages before export. Existing '
5522
5522
  'PPTX/SVG files are not upgraded in place.',
5523
5523
  ))
@@ -6775,7 +6775,7 @@ class SVGQualityChecker:
6775
6775
  - **Explicit structure gaps** are errors when positive structure checks
6776
6776
  are enabled: every current reusable SVG declares its Master and Layout
6777
6777
  identity. Zero-placeholder Layouts are valid. Legacy template-mode
6778
- packages fail and must be replaced by a new create-template workspace.
6778
+ packages fail and must be migrated to a structured workspace.
6779
6779
  - **Placeholder gaps** are reported as *warnings*. Templates may
6780
6780
  legitimately omit conventional placeholders or swap them out (e.g.
6781
6781
  ``{{CLOSING_MESSAGE}}`` instead of ``{{THANK_YOU}}``), and a content
@@ -6797,7 +6797,7 @@ class SVGQualityChecker:
6797
6797
  'explicit_structure_mode',
6798
6798
  "design_spec.md frontmatter must declare "
6799
6799
  "native_structure_mode: structured; legacy template-mode "
6800
- "workspaces must be re-created through create-template",
6800
+ "workspaces must be re-created as structured workspaces",
6801
6801
  ))
6802
6802
  if check_structure:
6803
6803
  native_contract_path = dir_path / 'native_structure.json'
@@ -6874,7 +6874,7 @@ class SVGQualityChecker:
6874
6874
  'legacy_native_structure_pair',
6875
6875
  "legacy native_structure.json/source_template.pptx template "
6876
6876
  "contracts must be replaced through "
6877
- "skills/ppt-master/workflows/create-template.md",
6877
+ "references/svg-authoring.md",
6878
6878
  ))
6879
6879
 
6880
6880
  if declared_structure_mode != 'structured':
@@ -6891,8 +6891,7 @@ class SVGQualityChecker:
6891
6891
  'error',
6892
6892
  'legacy_structure_contract',
6893
6893
  "legacy template structure detected; create a new current "
6894
- "workspace through skills/ppt-master/workflows/"
6895
- "create-template.md before Step 3 consumption",
6894
+ "workspace per references/svg-authoring.md before Step 3 consumption",
6896
6895
  ))
6897
6896
  spec_pages = self._extract_spec_roster(spec_text) if spec_text else []
6898
6897
  custom_contract = self._extract_frontmatter_placeholders(spec_text) if spec_text else {}
@@ -7578,7 +7577,7 @@ class SVGQualityChecker:
7578
7577
  def export_report(self, output_file: str = 'svg_quality_report.txt'):
7579
7578
  """Export check report"""
7580
7579
  with open(output_file, 'w', encoding='utf-8') as f:
7581
- f.write("PPT Master SVG Quality Check Report\n")
7580
+ f.write("深知可信PPT SVG Quality Check Report\n")
7582
7581
  f.write("=" * 80 + "\n\n")
7583
7582
 
7584
7583
  for result in self.results:
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master SVG quality-check CLI implementation.
2
+ """深知可信PPT SVG quality-check CLI implementation.
3
3
 
4
4
  Parses the legacy command-line contract and delegates validation to the checker.
5
5
 
@@ -10,7 +10,7 @@ Examples:
10
10
  python3 scripts/svg_quality_checker.py projects/demo --stage final --json
11
11
 
12
12
  Dependencies:
13
- Standard library plus local PPT Master validation modules.
13
+ Standard library plus local 深知可信PPT validation modules.
14
14
  """
15
15
 
16
16
  import sys
@@ -55,7 +55,7 @@ def _default_json_report_path(
55
55
 
56
56
  def print_usage() -> None:
57
57
  """Print CLI usage information."""
58
- print("PPT Master - SVG Quality Check Tool\n")
58
+ print("深知可信PPT - SVG Quality Check Tool\n")
59
59
  print("Usage:")
60
60
  print(" python3 scripts/svg_quality_checker.py <svg_file>")
61
61
  print(" python3 scripts/svg_quality_checker.py <directory>")
@@ -85,7 +85,7 @@ def print_usage() -> None:
85
85
  print(" native_structure_mode: structured also enables complete")
86
86
  print(" per-file and cross-page structure validation. Legacy")
87
87
  print(" native_structure_mode: template fails and must be")
88
- print(" re-created through create-template before validation.")
88
+ print(" re-created as a structured workspace before validation.")
89
89
  print(" Warnings are advisory: they require no modification and do not affect exit status;")
90
90
  print(" only errors make the command exit with status 1.")
91
91
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master stateless SVG contract checks.
2
+ """深知可信PPT stateless SVG contract checks.
3
3
 
4
4
  Validates the SVG property surface shared with the native DrawingML exporter.
5
5
  Each check receives an explicit XML root or source string and appends findings
@@ -12,7 +12,7 @@ Examples:
12
12
  from svg_quality.svg_contracts import check_paint_compatibility
13
13
 
14
14
  Dependencies:
15
- Standard library plus local PPT Master SVG-to-PPTX modules.
15
+ Standard library plus local 深知可信PPT SVG-to-PPTX modules.
16
16
  """
17
17
 
18
18
  import copy
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master SVG quality XML helpers.
2
+ """深知可信PPT SVG quality XML helpers.
3
3
 
4
4
  Provides namespace constants and compact element labels shared by quality-check
5
5
  domains.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master - SVG Quality Check Tool
2
+ """深知可信PPT - SVG Quality Check Tool
3
3
 
4
4
  Stable CLI entry point and compatibility import surface for SVG validation.
5
5
  Implementation lives in ``svg_quality/``.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - DrawingML Hyperlink Lowering
3
+ 深知可信PPT - DrawingML Hyperlink Lowering
4
4
 
5
5
  Register native PowerPoint hyperlink relationships and attach click actions to
6
6
  text runs or clickable leaf shapes produced by the SVG converter.
@@ -13,7 +13,7 @@ Examples:
13
13
  linked = apply_shape_hyperlink(result, ctx, "#slide-2")
14
14
 
15
15
  Dependencies:
16
- PPT Master hyperlink contract and DrawingML conversion context.
16
+ 深知可信PPT hyperlink contract and DrawingML conversion context.
17
17
  """
18
18
 
19
19
  from __future__ import annotations
@@ -250,7 +250,7 @@ def apply_theme_color_spec(extract_dir: Path, spec: ThemeColorSpec) -> None:
250
250
  color_scheme = tree.getroot().find(f".//{{{DML_NS}}}clrScheme")
251
251
  if color_scheme is None:
252
252
  raise ThemeColorError(f"Theme has no clrScheme: {theme_path}")
253
- color_scheme.set("name", "PPT Master")
253
+ color_scheme.set("name", "深知可信PPT")
254
254
  for slot, color in spec.slots.items():
255
255
  _set_scheme_color(color_scheme, slot, color)
256
256
  tree.write(theme_path, encoding="utf-8", xml_declaration=True)
@@ -204,7 +204,7 @@ def apply_theme_font_spec(extract_dir: Path, spec: ThemeFontSpec) -> None:
204
204
  minor = font_scheme.find(f"{{{DML_NS}}}minorFont")
205
205
  if major is None or minor is None:
206
206
  raise ThemeFontError(f"Theme has no major/minor font collection: {theme_path}")
207
- font_scheme.set("name", "PPT Master")
207
+ font_scheme.set("name", "深知可信PPT")
208
208
  _patch_font_collection(major, spec.major)
209
209
  _patch_font_collection(minor, spec.minor)
210
210
  tree.write(theme_path, encoding="utf-8", xml_declaration=True)
@@ -1,6 +1,6 @@
1
1
  """Materialize the supported inline SVG geometry-property subset.
2
2
 
3
- SVG 2 lets selected geometry values participate in CSS. PPT Master does not
3
+ SVG 2 lets selected geometry values participate in CSS. 深知可信PPT does not
4
4
  run a CSS engine, but it can safely compile literal per-element ``style``
5
5
  declarations into the equivalent XML geometry attributes before any existing
6
6
  SVG post-processing or DrawingML conversion runs.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Native Formula Shape Builder
3
+ 深知可信PPT - Native Formula Shape Builder
4
4
 
5
5
  Build editable PowerPoint formula shapes from explicit LaTeX markers.
6
6
 
@@ -13,7 +13,7 @@ Examples:
13
13
  from svg_to_pptx.native_objects.formula import build_native_formula
14
14
 
15
15
  Dependencies:
16
- None (only uses standard library and local PPT Master modules)
16
+ None (only uses standard library and local 深知可信PPT modules)
17
17
  """
18
18
 
19
19
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Native Formula Abstract Syntax Tree
3
+ 深知可信PPT - Native Formula Abstract Syntax Tree
4
4
 
5
5
  Define the internal math nodes shared by the Microsoft 365 LaTeX parser,
6
6
  chemistry parser, and OMML emitter.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  r"""
3
- PPT Master - Native Formula Compiler
3
+ 深知可信PPT - Native Formula Compiler
4
4
 
5
5
  Compile the documented Microsoft 365 LaTeX input profile into editable block
6
6
  or inline Office Math XML.
@@ -15,7 +15,7 @@ Examples:
15
15
  compile_latex_to_omml(r"\frac{-b \pm \sqrt{b^2-4ac}}{2a}")
16
16
 
17
17
  Dependencies:
18
- None (only uses standard library and local PPT Master modules)
18
+ None (only uses standard library and local 深知可信PPT modules)
19
19
  """
20
20
 
21
21
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Native Formula OMML Emitter
3
+ 深知可信PPT - Native Formula OMML Emitter
4
4
 
5
5
  Emit the Microsoft 365 LaTeX profile AST as editable Office Math XML and
6
6
  validate the narrow XML vocabulary produced by this module.
@@ -14,7 +14,7 @@ Examples:
14
14
  emit_omml(expression, display=True)
15
15
 
16
16
  Dependencies:
17
- None (only uses standard library and local PPT Master modules)
17
+ None (only uses standard library and local 深知可信PPT modules)
18
18
  """
19
19
 
20
20
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  r"""
3
- PPT Master - Microsoft 365 LaTeX Formula Parser
3
+ 深知可信PPT - Microsoft 365 LaTeX Formula Parser
4
4
 
5
5
  Parse the documented Microsoft 365 LaTeX import profile into the internal
6
6
  native-formula AST. Unknown commands remain fail-closed.
@@ -14,7 +14,7 @@ Examples:
14
14
  parse_latex_formula(r"\binom{n}{k}", display=True)
15
15
 
16
16
  Dependencies:
17
- None (only uses standard library and local PPT Master modules)
17
+ None (only uses standard library and local 深知可信PPT modules)
18
18
  """
19
19
 
20
20
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Microsoft 365 LaTeX Formula Profile
3
+ 深知可信PPT - Microsoft 365 LaTeX Formula Profile
4
4
 
5
5
  Keep the documented Microsoft 365 LaTeX command vocabulary and normalization
6
6
  tables separate from the native formula parser.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Native Formula Run Property Merge
3
+ 深知可信PPT - Native Formula Run Property Merge
4
4
 
5
5
  Merge marker-level DrawingML defaults with compiler-owned local formula style
6
6
  without discarding either source.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Native Inline Formula Contract
3
+ 深知可信PPT - Native Inline Formula Contract
4
4
 
5
5
  Validate SVG inline-formula markers and build editable PowerPoint math runs.
6
6
 
@@ -13,7 +13,7 @@ Examples:
13
13
  <tspan data-pptx-inline-formula="x_i^2">xᵢ²</tspan>
14
14
 
15
15
  Dependencies:
16
- None (only uses standard library and local PPT Master modules)
16
+ None (only uses standard library and local 深知可信PPT modules)
17
17
  """
18
18
 
19
19
  from __future__ import annotations
@@ -3948,20 +3948,18 @@ def _create_writable_work_dir(output_path: Path) -> Path:
3948
3948
  )
3949
3949
 
3950
3950
 
3951
- def _relax_output_permissions(output_path: Path) -> list[str]:
3952
- """Make exported files readable outside the sandbox owner where possible."""
3951
+ def _restrict_output_permissions(output_path: Path) -> list[str]:
3952
+ """Restrict exported files to the owner (no group/other access)."""
3953
3953
  warnings: list[str] = []
3954
3954
 
3955
3955
  try:
3956
3956
  current_mode = output_path.stat().st_mode
3957
- readable_mode = (
3958
- current_mode
3959
- | stat.S_IRUSR
3960
- | stat.S_IWUSR
3961
- | stat.S_IRGRP
3962
- | stat.S_IROTH
3963
- )
3964
- os.chmod(output_path, readable_mode)
3957
+ # 显式清除组/其他读位:umask 决定创建权限(常见 644),仅"不追加"不足以收紧
3958
+ owner_only_mode = (
3959
+ (current_mode | stat.S_IRUSR | stat.S_IWUSR)
3960
+ & ~(stat.S_IRGRP | stat.S_IROTH | stat.S_IWGRP | stat.S_IWOTH)
3961
+ )
3962
+ os.chmod(output_path, owner_only_mode)
3965
3963
  except OSError as exc:
3966
3964
  warnings.append(f"chmod skipped for {output_path}: {exc}")
3967
3965
 
@@ -6233,7 +6231,7 @@ def create_pptx_with_native_svg(
6233
6231
  f'PPTX animation package validation failed: {exc}'
6234
6232
  ) from exc
6235
6233
  shutil.move(str(temp_output_path), str(output_path))
6236
- permission_warnings = _relax_output_permissions(output_path)
6234
+ permission_warnings = _restrict_output_permissions(output_path)
6237
6235
 
6238
6236
  if conversion_trace_path and conversion_trace is not None:
6239
6237
  conversion_trace_path.parent.mkdir(parents=True, exist_ok=True)
@@ -633,7 +633,7 @@ def _print_structure_contract_error(
633
633
  print(
634
634
  " A legacy lock without pptx_structure.mode defaults only to flat. "
635
635
  "Mirror/layout reuse must first create a current template workspace "
636
- "through skills/ppt-master/workflows/create-template.md, then generate "
636
+ "following references/svg-authoring.md, then generate "
637
637
  "new structured SVG pages.",
638
638
  file=sys.stderr,
639
639
  )
@@ -648,7 +648,7 @@ def _print_structure_contract_error(
648
648
  " A legacy lock with no pptx_structure.mode defaults to flat. "
649
649
  "Explicit legacy or unknown values are not inferred. Mirror/layout reuse "
650
650
  "must first create a current template workspace "
651
- "through skills/ppt-master/workflows/create-template.md, then generate "
651
+ "following references/svg-authoring.md, then generate "
652
652
  "new structured SVG pages.",
653
653
  file=sys.stderr,
654
654
  )
@@ -811,7 +811,7 @@ def main(argv: list[str] | None = None) -> int:
811
811
  animation_choices = ['none', *ANIMATIONS, 'auto', 'mixed', 'random']
812
812
 
813
813
  parser = argparse.ArgumentParser(
814
- description='PPT Master - SVG to native DrawingML PPTX Tool',
814
+ description='深知可信PPT - SVG to native DrawingML PPTX Tool',
815
815
  formatter_class=argparse.RawDescriptionHelpFormatter,
816
816
  epilog=f'''
817
817
  Examples:
@@ -1346,7 +1346,7 @@ Recorded narration:
1346
1346
  )
1347
1347
  quick_flag = ' --quick-generate' if args.quick_generate else ''
1348
1348
  print(
1349
- "Run: python3 skills/ppt-master/scripts/svg_quality_checker.py "
1349
+ "Run: python3 scripts/svg_quality_checker.py "
1350
1350
  f'"{project_path}"{quick_flag} --stage final --json',
1351
1351
  file=sys.stderr,
1352
1352
  )
@@ -1453,7 +1453,9 @@ Recorded narration:
1453
1453
 
1454
1454
  backup_dir: Path | None = None
1455
1455
  if args.output:
1456
+ # 显式 -o:使用调用方给定的固定文件名,同时保留 svg_output 备份(与默认分支一致)
1456
1457
  native_path = Path(args.output)
1458
+ backup_dir = project_path / "backup" / timestamp
1457
1459
  else:
1458
1460
  exports_dir = project_path / "exports"
1459
1461
  exports_dir.mkdir(parents=True, exist_ok=True)
@@ -1954,7 +1956,7 @@ Recorded narration:
1954
1956
  )
1955
1957
 
1956
1958
  if verbose:
1957
- print("PPT Master - SVG to native DrawingML PPTX Tool")
1959
+ print("深知可信PPT - SVG to native DrawingML PPTX Tool")
1958
1960
  print("=" * 50)
1959
1961
  print(f" Project path: {project_path}")
1960
1962
  print(f" SVG directory: {native_source_dir}")
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Template Structure Metadata
3
+ 深知可信PPT - Template Structure Metadata
4
4
 
5
5
  Parse and validate explicit SVG metadata consumed by structured PPTX export.
6
6
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Template Package Validation
3
+ 深知可信PPT - Template Package Validation
4
4
 
5
5
  Read a generated structured PPTX back and verify its reusable Master/Layout graph.
6
6
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Semantic SVG Markers
3
+ 深知可信PPT - Semantic SVG Markers
4
4
 
5
5
  Owns the minimal page and structural-role marker vocabulary used by SVG
6
6
  authoring, validation, conversion traces, and native PPTX structure
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Shape Boolean Core
3
+ 深知可信PPT - Shape Boolean Core
4
4
 
5
5
  Resolve closed SVG or text-outline operands into SVG-root-coordinate paths and
6
6
  apply PowerPoint-compatible merge-shapes operations without mutating the source.
@@ -19,7 +19,7 @@ Examples:
19
19
  )
20
20
 
21
21
  Dependencies:
22
- skia-pathops, local PPT Master modules, and uharfbuzz for text operands
22
+ skia-pathops, local 深知可信PPT modules, and uharfbuzz for text operands
23
23
  """
24
24
 
25
25
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env python3
2
2
  """
3
- PPT Master - Text Outline Materialization
3
+ 深知可信PPT - Text Outline Materialization
4
4
 
5
5
  Resolve one supported SVG ``<text>`` operand into closed glyph-outline path
6
6
  commands for the Shape Boolean geometry pipeline.
@@ -9,7 +9,7 @@ Usage:
9
9
  Import text_element_to_path_commands from svg_to_pptx.text_outline.
10
10
 
11
11
  Dependencies:
12
- uharfbuzz and local PPT Master modules
12
+ uharfbuzz and local 深知可信PPT modules
13
13
  """
14
14
 
15
15
  from __future__ import annotations
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python3
2
- """PPT Master - SVG to PPTX Tool (thin wrapper).
2
+ """深知可信PPT - SVG to PPTX Tool (thin wrapper).
3
3
 
4
4
  Delegates to the svg_to_pptx package. ``-s final`` remains a native-export
5
5
  diagnostic override; the standard pipeline reads ``svg_output/``: