@capyclaw/ppt-suite 2.4.9 → 2.5.67

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 (766) hide show
  1. package/README.md +45 -42
  2. package/composition.lock.json +46 -70
  3. package/contract/ppt-contract.json +310 -11
  4. package/cordis.patch.yml +5 -25
  5. package/dsh-suite.json +108 -194
  6. package/lib/index.mjs +1 -1
  7. package/node_modules/@capyclaw/asset-service/README.md +48 -0
  8. package/node_modules/@capyclaw/asset-service/cordis.patch.yml +4 -0
  9. package/node_modules/@capyclaw/asset-service/dsh-suite.json +29 -0
  10. package/node_modules/@capyclaw/asset-service/lib/host.mjs +14 -0
  11. package/node_modules/@capyclaw/asset-service/package.json +59 -0
  12. package/node_modules/@capyclaw/asset-service/src/index.mjs +223 -0
  13. package/node_modules/@capyclaw/document-workbench/README.md +125 -0
  14. package/node_modules/@capyclaw/document-workbench/package.json +44 -0
  15. package/node_modules/@capyclaw/document-workbench/src/bridge/index.mjs +321 -0
  16. package/node_modules/@capyclaw/document-workbench/src/client/index.mjs +625 -0
  17. package/node_modules/@capyclaw/document-workbench/src/client/screenshot.mjs +98 -0
  18. package/node_modules/@capyclaw/document-workbench/src/index.mjs +9 -0
  19. package/node_modules/@capyclaw/document-workbench/src/model/audit.mjs +101 -0
  20. package/node_modules/@capyclaw/document-workbench/src/model/conformance.mjs +92 -0
  21. package/node_modules/@capyclaw/document-workbench/src/model/ids.mjs +56 -0
  22. package/node_modules/@capyclaw/document-workbench/src/model/index.mjs +18 -0
  23. package/node_modules/@capyclaw/document-workbench/src/model/locate.mjs +118 -0
  24. package/node_modules/@capyclaw/document-workbench/src/model/manifest.mjs +148 -0
  25. package/node_modules/@capyclaw/document-workbench/src/model/ops.mjs +160 -0
  26. package/node_modules/@capyclaw/document-workbench/src/model/validate.mjs +72 -0
  27. package/node_modules/@capyclaw/document-workbench/src/ops/index.mjs +93 -0
  28. package/node_modules/@capyclaw/document-workbench/src/session/context.mjs +91 -0
  29. package/node_modules/@capyclaw/document-workbench/src/session/index.mjs +394 -0
  30. package/node_modules/@capyclaw/document-workbench/src/session/lease.mjs +105 -0
  31. package/node_modules/@capyclaw/document-workbench/src/session/mode.mjs +80 -0
  32. package/node_modules/@capyclaw/document-workbench/src/session/sanitize.mjs +107 -0
  33. package/node_modules/@capyclaw/document-workbench/src/session/state.mjs +159 -0
  34. package/node_modules/@capyclaw/document-workbench/src/session/watch.mjs +63 -0
  35. package/node_modules/@capyclaw/document-workbench/src/store/file-backend.mjs +158 -0
  36. package/node_modules/@capyclaw/document-workbench/src/testing/index.mjs +75 -0
  37. package/node_modules/@capyclaw/editor-host/README.md +37 -0
  38. package/node_modules/@capyclaw/editor-host/cordis.patch.yml +4 -0
  39. package/node_modules/@capyclaw/editor-host/dsh-suite.json +29 -0
  40. package/node_modules/@capyclaw/editor-host/lib/host.mjs +14 -0
  41. package/node_modules/@capyclaw/editor-host/package.json +59 -0
  42. package/node_modules/@capyclaw/editor-host/src/index.mjs +159 -0
  43. package/node_modules/@capyclaw/foundation/README.md +51 -0
  44. package/node_modules/@capyclaw/foundation/abi/bridge.mjs +86 -0
  45. package/node_modules/@capyclaw/foundation/abi/errors.mjs +63 -0
  46. package/node_modules/@capyclaw/foundation/abi/index.mjs +35 -0
  47. package/node_modules/@capyclaw/foundation/abi/kinds.mjs +271 -0
  48. package/node_modules/@capyclaw/foundation/abi/loader.mjs +345 -0
  49. package/node_modules/@capyclaw/foundation/abi/schema.mjs +98 -0
  50. package/node_modules/@capyclaw/foundation/abi/spec.mjs +255 -0
  51. package/node_modules/@capyclaw/foundation/abi/validate.mjs +24 -0
  52. package/node_modules/@capyclaw/foundation/abi/version.mjs +82 -0
  53. package/node_modules/@capyclaw/foundation/cordis.patch.yml +5 -0
  54. package/node_modules/@capyclaw/foundation/kit/index.mjs +6 -0
  55. package/node_modules/@capyclaw/foundation/lib/adapters/client-panel.mjs +98 -0
  56. package/node_modules/@capyclaw/foundation/lib/adapters/host-event.mjs +35 -0
  57. package/node_modules/@capyclaw/foundation/lib/adapters/http-router.mjs +69 -0
  58. package/node_modules/@capyclaw/foundation/lib/adapters/lifecycle-hook.mjs +55 -0
  59. package/node_modules/@capyclaw/foundation/lib/adapters/own-server.mjs +113 -0
  60. package/node_modules/@capyclaw/foundation/lib/adapters/raw.mjs +68 -0
  61. package/node_modules/@capyclaw/foundation/lib/adapters/runtime-driver.mjs +113 -0
  62. package/node_modules/@capyclaw/foundation/lib/adapters/service-provider.mjs +77 -0
  63. package/node_modules/@capyclaw/foundation/lib/adapters/skill-provider.mjs +56 -0
  64. package/node_modules/@capyclaw/foundation/lib/adapters/tool-provider.mjs +50 -0
  65. package/node_modules/@capyclaw/foundation/lib/adapters/ui-panel.mjs +64 -0
  66. package/node_modules/@capyclaw/foundation/lib/ctx-service.mjs +42 -0
  67. package/node_modules/@capyclaw/foundation/lib/host/caps.mjs +34 -0
  68. package/node_modules/@capyclaw/foundation/lib/host/contract.mjs +85 -0
  69. package/node_modules/@capyclaw/foundation/lib/host/dsh.mjs +50 -0
  70. package/node_modules/@capyclaw/foundation/lib/host/memory.mjs +160 -0
  71. package/node_modules/@capyclaw/foundation/lib/host.mjs +23 -0
  72. package/node_modules/@capyclaw/foundation/lib/kernel.mjs +185 -0
  73. package/node_modules/@capyclaw/foundation/lib/skill/scan.mjs +87 -0
  74. package/node_modules/@capyclaw/foundation/lib/subsystems/events.mjs +60 -0
  75. package/node_modules/@capyclaw/foundation/lib/subsystems/log.mjs +51 -0
  76. package/node_modules/@capyclaw/foundation/lib/subsystems/net.mjs +188 -0
  77. package/node_modules/@capyclaw/foundation/package.json +53 -0
  78. package/node_modules/@capyclaw/foundation/runtime/index.mjs +20 -0
  79. package/node_modules/@capyclaw/plugin-kit/INTEGRATION.md +100 -0
  80. package/node_modules/@capyclaw/plugin-kit/README.md +70 -0
  81. package/node_modules/@capyclaw/plugin-kit/bin/sync.mjs +103 -0
  82. package/node_modules/@capyclaw/plugin-kit/package.json +69 -0
  83. package/node_modules/@capyclaw/plugin-kit/src/cli.mjs +56 -0
  84. package/node_modules/@capyclaw/plugin-kit/src/config.mjs +142 -0
  85. package/node_modules/@capyclaw/plugin-kit/src/editor/heartbeat-worker.js +129 -0
  86. package/node_modules/@capyclaw/plugin-kit/src/editor/lease.mjs +139 -0
  87. package/node_modules/@capyclaw/plugin-kit/src/editor/shadow.mjs +219 -0
  88. package/node_modules/@capyclaw/plugin-kit/src/editor/transport.js +13 -0
  89. package/node_modules/@capyclaw/plugin-kit/src/index.mjs +13 -0
  90. package/node_modules/@capyclaw/plugin-kit/src/pack.mjs +230 -0
  91. package/node_modules/@capyclaw/plugin-kit/src/runtime/context.mjs +128 -0
  92. package/node_modules/@capyclaw/plugin-kit/src/self-contained.mjs +307 -0
  93. package/node_modules/@capyclaw/plugin-kit/src/service/api.mjs +45 -0
  94. package/node_modules/@capyclaw/plugin-kit/src/service/http.mjs +113 -0
  95. package/node_modules/@capyclaw/plugin-kit/src/service/mcp-http.mjs +143 -0
  96. package/node_modules/@capyclaw/plugin-kit/src/service/server.mjs +131 -0
  97. package/node_modules/@capyclaw/plugin-kit/src/skills/provider.mjs +82 -0
  98. package/node_modules/@capyclaw/plugin-kit/src/store/blob-store.mjs +109 -0
  99. package/node_modules/@capyclaw/plugin-kit/src/store/content-store.mjs +17 -0
  100. package/node_modules/@capyclaw/plugin-kit/src/store/journal-store.mjs +89 -0
  101. package/node_modules/@capyclaw/plugin-kit/src/tools/result.mjs +41 -0
  102. package/node_modules/@capyclaw/plugin-kit/src/tools/validate.mjs +150 -0
  103. package/node_modules/@capyclaw/plugin-kit/src/tuning.mjs +82 -0
  104. package/node_modules/@capyclaw/plugin-kit/src/util/fs-lock.mjs +132 -0
  105. package/node_modules/@capyclaw/plugin-kit/src/util/http.mjs +130 -0
  106. package/node_modules/@capyclaw/plugin-kit/src/workspace/manager.mjs +656 -0
  107. package/node_modules/@capyclaw/plugin-kit/src/zip.mjs +181 -0
  108. package/node_modules/@capyclaw/portal/README.md +70 -0
  109. package/node_modules/@capyclaw/portal/lib/index.mjs +387 -0
  110. package/node_modules/@capyclaw/portal/lib/ledger.mjs +194 -0
  111. package/node_modules/@capyclaw/portal/lib/portal-agent.ps1 +811 -0
  112. package/node_modules/@capyclaw/portal/lib/portal-darwin.mjs +183 -0
  113. package/node_modules/@capyclaw/portal/package.json +40 -0
  114. package/node_modules/@capyclaw/ppt-editor/LICENSE +661 -0
  115. package/node_modules/@capyclaw/ppt-editor/README.md +86 -0
  116. package/node_modules/@capyclaw/ppt-editor/THIRD_PARTY_NOTICES.md +21 -0
  117. package/node_modules/@capyclaw/ppt-editor/app.js +6298 -0
  118. package/node_modules/@capyclaw/ppt-editor/contract/ppt-contract.json +1828 -0
  119. package/node_modules/@capyclaw/ppt-editor/heartbeat-worker.js +129 -0
  120. package/node_modules/@capyclaw/ppt-editor/index.html +176 -0
  121. package/node_modules/@capyclaw/ppt-editor/lib/index.mjs +8 -0
  122. package/node_modules/@capyclaw/ppt-editor/package.json +57 -0
  123. package/node_modules/@capyclaw/ppt-editor/ppt-full-app.js +381 -0
  124. package/node_modules/@capyclaw/ppt-skill-api/README.md +3 -0
  125. package/node_modules/@capyclaw/ppt-skill-api/contract/ppt-contract.json +1828 -0
  126. package/node_modules/@capyclaw/ppt-skill-api/cordis.patch.yml +4 -0
  127. package/node_modules/@capyclaw/ppt-skill-api/package.json +49 -0
  128. package/node_modules/@capyclaw/ppt-skill-api/plugin.mjs +15 -0
  129. package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/SKILL.md +137 -0
  130. package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/references/tool-contract.md +1646 -0
  131. package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/references/visual-qa.md +28 -0
  132. package/node_modules/@capyclaw/ppt-skill-proposal/README.md +3 -0
  133. package/node_modules/@capyclaw/ppt-skill-proposal/contract/ppt-contract.json +1828 -0
  134. package/node_modules/@capyclaw/ppt-skill-proposal/cordis.patch.yml +4 -0
  135. package/node_modules/@capyclaw/ppt-skill-proposal/package.json +49 -0
  136. package/node_modules/@capyclaw/ppt-skill-proposal/plugin.mjs +15 -0
  137. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/SKILL.md +83 -0
  138. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/anti-ai-slop.md +18 -0
  139. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/deck-structure.md +42 -0
  140. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/design-tokens.md +36 -0
  141. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/layout-system.md +30 -0
  142. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/page-craft.md +31 -0
  143. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/scqa-pyramid.md +26 -0
  144. package/node_modules/@capyclaw/ppt-workbench/LICENSE +661 -0
  145. package/node_modules/@capyclaw/ppt-workbench/README.md +173 -0
  146. package/node_modules/@capyclaw/ppt-workbench/THIRD_PARTY_NOTICES.md +21 -0
  147. package/node_modules/@capyclaw/ppt-workbench/contract/ppt-contract.json +1828 -0
  148. package/node_modules/@capyclaw/ppt-workbench/core/audit.js +507 -0
  149. package/node_modules/@capyclaw/ppt-workbench/core/chart.js +199 -0
  150. package/node_modules/@capyclaw/ppt-workbench/core/color.js +170 -0
  151. package/node_modules/@capyclaw/ppt-workbench/core/deck-layout.js +375 -0
  152. package/node_modules/@capyclaw/ppt-workbench/core/formula.js +80 -0
  153. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/hershey.js +1763 -0
  154. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/index.js +1176 -0
  155. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/stretch.js +41 -0
  156. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/symbols.js +408 -0
  157. package/node_modules/@capyclaw/ppt-workbench/core/inspect.js +366 -0
  158. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/compare.mjs +103 -0
  159. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/compile.mjs +322 -0
  160. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/edit.mjs +239 -0
  161. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/parse.mjs +346 -0
  162. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/render-html.mjs +84 -0
  163. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/sync.mjs +101 -0
  164. package/node_modules/@capyclaw/ppt-workbench/core/measure.js +104 -0
  165. package/node_modules/@capyclaw/ppt-workbench/core/ops/browser.js +28 -0
  166. package/node_modules/@capyclaw/ppt-workbench/core/ops/chart.js +64 -0
  167. package/node_modules/@capyclaw/ppt-workbench/core/ops/deck.js +21 -0
  168. package/node_modules/@capyclaw/ppt-workbench/core/ops/element.js +55 -0
  169. package/node_modules/@capyclaw/ppt-workbench/core/ops/history.js +11 -0
  170. package/node_modules/@capyclaw/ppt-workbench/core/ops/import.js +95 -0
  171. package/node_modules/@capyclaw/ppt-workbench/core/ops/index.js +39 -0
  172. package/node_modules/@capyclaw/ppt-workbench/core/ops/playback.js +9 -0
  173. package/node_modules/@capyclaw/ppt-workbench/core/ops/recolor.js +87 -0
  174. package/node_modules/@capyclaw/ppt-workbench/core/ops/slide.js +66 -0
  175. package/node_modules/@capyclaw/ppt-workbench/core/ops/table.js +85 -0
  176. package/node_modules/@capyclaw/ppt-workbench/core/ops/text.js +35 -0
  177. package/node_modules/@capyclaw/ppt-workbench/core/ops/view.js +13 -0
  178. package/node_modules/@capyclaw/ppt-workbench/core/ops.js +12 -0
  179. package/node_modules/@capyclaw/ppt-workbench/core/quick.js +52 -0
  180. package/node_modules/@capyclaw/ppt-workbench/core/shape-library.js +122 -0
  181. package/node_modules/@capyclaw/ppt-workbench/core/table.js +178 -0
  182. package/node_modules/@capyclaw/ppt-workbench/core/text.js +200 -0
  183. package/node_modules/@capyclaw/ppt-workbench/lib/host.mjs +1 -0
  184. package/node_modules/@capyclaw/ppt-workbench/package.json +73 -0
  185. package/node_modules/@capyclaw/ppt-workbench/plugin.mjs +1 -0
  186. package/node_modules/@capyclaw/ppt-workbench/server/audit.mjs +2 -0
  187. package/node_modules/@capyclaw/ppt-workbench/server/bridge-client.mjs +308 -0
  188. package/node_modules/@capyclaw/ppt-workbench/server/constants.mjs +21 -0
  189. package/node_modules/@capyclaw/ppt-workbench/server/contract-snapshots.mjs +89 -0
  190. package/node_modules/@capyclaw/ppt-workbench/server/contract.mjs +24 -0
  191. package/node_modules/@capyclaw/ppt-workbench/server/deck-layout.mjs +2 -0
  192. package/node_modules/@capyclaw/ppt-workbench/server/editor-assets.mjs +132 -0
  193. package/node_modules/@capyclaw/ppt-workbench/server/embedded-host.mjs +252 -0
  194. package/node_modules/@capyclaw/ppt-workbench/server/http-utils.mjs +2 -0
  195. package/node_modules/@capyclaw/ppt-workbench/server/infra/http.mjs +2 -0
  196. package/node_modules/@capyclaw/ppt-workbench/server/infra/runtime/context.mjs +2 -0
  197. package/node_modules/@capyclaw/ppt-workbench/server/infra/store/blob-store.mjs +2 -0
  198. package/node_modules/@capyclaw/ppt-workbench/server/infra/tuning.mjs +2 -0
  199. package/node_modules/@capyclaw/ppt-workbench/server/infra/util/fs-lock.mjs +2 -0
  200. package/node_modules/@capyclaw/ppt-workbench/server/infra/workspace/manager.mjs +2 -0
  201. package/node_modules/@capyclaw/ppt-workbench/server/mcp/dispatch.mjs +2 -0
  202. package/node_modules/@capyclaw/ppt-workbench/server/mcp/handler.mjs +2 -0
  203. package/node_modules/@capyclaw/ppt-workbench/server/mcp/instructions.mjs +66 -0
  204. package/node_modules/@capyclaw/ppt-workbench/server/ppt-shim.mjs +168 -0
  205. package/node_modules/@capyclaw/ppt-workbench/server/relay.mjs +282 -0
  206. package/node_modules/@capyclaw/ppt-workbench/server/routes/assets.mjs +2 -0
  207. package/node_modules/@capyclaw/ppt-workbench/server/routes/bridge.mjs +74 -0
  208. package/node_modules/@capyclaw/ppt-workbench/server/routes/editor.mjs +9 -0
  209. package/node_modules/@capyclaw/ppt-workbench/server/routes/import.mjs +260 -0
  210. package/node_modules/@capyclaw/ppt-workbench/server/routes/manuscript.mjs +414 -0
  211. package/node_modules/@capyclaw/ppt-workbench/server/routes/mcp.mjs +17 -0
  212. package/node_modules/@capyclaw/ppt-workbench/server/routes/session.mjs +29 -0
  213. package/node_modules/@capyclaw/ppt-workbench/server/runtime/recovery.mjs +9 -0
  214. package/node_modules/@capyclaw/ppt-workbench/server/runtime/watch.mjs +17 -0
  215. package/node_modules/@capyclaw/ppt-workbench/server/session-context.mjs +5 -0
  216. package/node_modules/@capyclaw/ppt-workbench/server/shared/SHARED_MANIFEST.json +70 -0
  217. package/node_modules/@capyclaw/ppt-workbench/server/shared/asset-service.mjs +2 -0
  218. package/node_modules/@capyclaw/ppt-workbench/server/shared/editor-host.mjs +2 -0
  219. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/editor/lease.mjs +2 -0
  220. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/api.mjs +2 -0
  221. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/http.mjs +2 -0
  222. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/mcp-http.mjs +2 -0
  223. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/tools/validate.mjs +2 -0
  224. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/tuning.mjs +2 -0
  225. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/util/fs-lock.mjs +2 -0
  226. package/node_modules/@capyclaw/ppt-workbench/server/shared/service-host.mjs +2 -0
  227. package/node_modules/@capyclaw/ppt-workbench/server/shared/tool-host.mjs +2 -0
  228. package/node_modules/@capyclaw/ppt-workbench/server/shared/tuning.mjs +2 -0
  229. package/node_modules/@capyclaw/ppt-workbench/server/store/backends/file-backend.mjs +13 -0
  230. package/node_modules/@capyclaw/ppt-workbench/server/store/checkpoints.mjs +28 -0
  231. package/node_modules/@capyclaw/ppt-workbench/server/store/deck-sanitize.mjs +68 -0
  232. package/node_modules/@capyclaw/ppt-workbench/server/store/doc.mjs +56 -0
  233. package/node_modules/@capyclaw/ppt-workbench/server/store/index.mjs +34 -0
  234. package/node_modules/@capyclaw/ppt-workbench/server/store/journal.mjs +9 -0
  235. package/node_modules/@capyclaw/ppt-workbench/server/store/lease.mjs +2 -0
  236. package/node_modules/@capyclaw/ppt-workbench/server/store/sanitize.mjs +33 -0
  237. package/node_modules/@capyclaw/ppt-workbench/server/store/sessions.mjs +303 -0
  238. package/node_modules/@capyclaw/ppt-workbench/server/store.mjs +2 -0
  239. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/apply.mjs +33 -0
  240. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/audit.mjs +28 -0
  241. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/chart.mjs +83 -0
  242. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/compose.mjs +97 -0
  243. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/contract.mjs +38 -0
  244. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/deck.mjs +27 -0
  245. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/element.mjs +67 -0
  246. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/export.mjs +99 -0
  247. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/formula.mjs +72 -0
  248. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/history.mjs +29 -0
  249. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/image.mjs +174 -0
  250. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/imagesearch.mjs +203 -0
  251. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/import.mjs +180 -0
  252. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/index.mjs +64 -0
  253. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/inspect.mjs +46 -0
  254. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/line.mjs +58 -0
  255. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/manuscript.mjs +208 -0
  256. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/notes.mjs +33 -0
  257. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/present.mjs +34 -0
  258. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/recolor.mjs +62 -0
  259. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/screenshot.mjs +191 -0
  260. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/shape.mjs +64 -0
  261. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/slide.mjs +81 -0
  262. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/style.mjs +48 -0
  263. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/table.mjs +127 -0
  264. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/task.mjs +52 -0
  265. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/text.mjs +82 -0
  266. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/color.mjs +4 -0
  267. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/image.mjs +78 -0
  268. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/index.mjs +7 -0
  269. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/manuscript-media.mjs +159 -0
  270. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/offline-render.mjs +256 -0
  271. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/pptx-export.mjs +577 -0
  272. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/recolor.mjs +25 -0
  273. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/remote-image.mjs +443 -0
  274. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/slide.mjs +21 -0
  275. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/text-style.mjs +11 -0
  276. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/tooling.mjs +13 -0
  277. package/node_modules/@capyclaw/ppt-workbench/server/tools/index.mjs +14 -0
  278. package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/define.mjs +5 -0
  279. package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/ports.mjs +52 -0
  280. package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/registry.mjs +17 -0
  281. package/node_modules/@capyclaw/ppt-workbench/server/tools/model/deck-schema.mjs +105 -0
  282. package/node_modules/@capyclaw/ppt-workbench/server/tools.mjs +18 -0
  283. package/node_modules/@capyclaw/ppt-workbench/server/tuning.mjs +93 -0
  284. package/node_modules/@capyclaw/ppt-workbench/server/validate.mjs +2 -0
  285. package/node_modules/@capyclaw/ppt-workbench/server/workbench-framework.mjs +305 -0
  286. package/node_modules/@capyclaw/service-broker/README.md +104 -0
  287. package/node_modules/@capyclaw/service-broker/cordis.patch.yml +8 -0
  288. package/node_modules/@capyclaw/service-broker/dsh-suite.json +21 -0
  289. package/node_modules/@capyclaw/service-broker/lib/control.mjs +193 -0
  290. package/node_modules/@capyclaw/service-broker/lib/discovery.mjs +109 -0
  291. package/node_modules/@capyclaw/service-broker/lib/engine.mjs +1236 -0
  292. package/node_modules/@capyclaw/service-broker/lib/host.mjs +182 -0
  293. package/node_modules/@capyclaw/service-broker/lib/manifest.mjs +249 -0
  294. package/node_modules/@capyclaw/service-broker/lib/recovery.mjs +325 -0
  295. package/node_modules/@capyclaw/service-broker/lib/skills-client.mjs +28 -0
  296. package/node_modules/@capyclaw/service-broker/lib/spec.mjs +78 -0
  297. package/node_modules/@capyclaw/service-broker/package.json +65 -0
  298. package/node_modules/@capyclaw/service-broker/server.mjs +81 -0
  299. package/node_modules/@capyclaw/service-broker/service.schema.json +62 -0
  300. package/node_modules/@capyclaw/service-broker/services.json +3 -0
  301. package/node_modules/@capyclaw/service-host/README.md +86 -0
  302. package/node_modules/@capyclaw/service-host/cordis.patch.yml +4 -0
  303. package/node_modules/@capyclaw/service-host/dsh-suite.json +29 -0
  304. package/node_modules/@capyclaw/service-host/lib/host.mjs +22 -0
  305. package/node_modules/@capyclaw/service-host/package.json +60 -0
  306. package/node_modules/@capyclaw/service-host/src/index.mjs +571 -0
  307. package/node_modules/@capyclaw/service-host/src/tuning.mjs +63 -0
  308. package/node_modules/@capyclaw/skills-service/README.md +31 -0
  309. package/node_modules/@capyclaw/skills-service/package.json +30 -0
  310. package/node_modules/@capyclaw/skills-service/server.mjs +237 -0
  311. package/node_modules/@capyclaw/tool-host/README.md +56 -0
  312. package/node_modules/@capyclaw/tool-host/cordis.patch.yml +4 -0
  313. package/node_modules/@capyclaw/tool-host/dsh-suite.json +30 -0
  314. package/node_modules/@capyclaw/tool-host/lib/host.mjs +16 -0
  315. package/node_modules/@capyclaw/tool-host/package.json +59 -0
  316. package/node_modules/@capyclaw/tool-host/src/descriptors.mjs +142 -0
  317. package/node_modules/@capyclaw/tool-host/src/index.mjs +390 -0
  318. package/node_modules/@types/node/LICENSE +21 -0
  319. package/node_modules/@types/node/README.md +15 -0
  320. package/node_modules/@types/node/assert/strict.d.ts +8 -0
  321. package/node_modules/@types/node/assert.d.ts +1005 -0
  322. package/node_modules/@types/node/async_hooks.d.ts +586 -0
  323. package/node_modules/@types/node/buffer.buffer.d.ts +457 -0
  324. package/node_modules/@types/node/buffer.d.ts +1901 -0
  325. package/node_modules/@types/node/child_process.d.ts +1453 -0
  326. package/node_modules/@types/node/cluster.d.ts +578 -0
  327. package/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  328. package/node_modules/@types/node/compatibility/index.d.ts +9 -0
  329. package/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  330. package/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  331. package/node_modules/@types/node/console.d.ts +452 -0
  332. package/node_modules/@types/node/constants.d.ts +21 -0
  333. package/node_modules/@types/node/crypto.d.ts +4504 -0
  334. package/node_modules/@types/node/dgram.d.ts +596 -0
  335. package/node_modules/@types/node/diagnostics_channel.d.ts +551 -0
  336. package/node_modules/@types/node/dns/promises.d.ts +477 -0
  337. package/node_modules/@types/node/dns.d.ts +860 -0
  338. package/node_modules/@types/node/domain.d.ts +170 -0
  339. package/node_modules/@types/node/events.d.ts +863 -0
  340. package/node_modules/@types/node/fs/promises.d.ts +1208 -0
  341. package/node_modules/@types/node/fs.d.ts +4332 -0
  342. package/node_modules/@types/node/globals.d.ts +170 -0
  343. package/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  344. package/node_modules/@types/node/http.d.ts +1919 -0
  345. package/node_modules/@types/node/http2.d.ts +2580 -0
  346. package/node_modules/@types/node/https.d.ts +549 -0
  347. package/node_modules/@types/node/index.d.ts +92 -0
  348. package/node_modules/@types/node/inspector.generated.d.ts +2775 -0
  349. package/node_modules/@types/node/module.d.ts +503 -0
  350. package/node_modules/@types/node/net.d.ts +924 -0
  351. package/node_modules/@types/node/os.d.ts +480 -0
  352. package/node_modules/@types/node/package.json +145 -0
  353. package/node_modules/@types/node/path.d.ts +191 -0
  354. package/node_modules/@types/node/perf_hooks.d.ts +860 -0
  355. package/node_modules/@types/node/process.d.ts +1632 -0
  356. package/node_modules/@types/node/punycode.d.ts +117 -0
  357. package/node_modules/@types/node/querystring.d.ts +140 -0
  358. package/node_modules/@types/node/readline/promises.d.ts +154 -0
  359. package/node_modules/@types/node/readline.d.ts +715 -0
  360. package/node_modules/@types/node/repl.d.ts +430 -0
  361. package/node_modules/@types/node/stream/consumers.d.ts +38 -0
  362. package/node_modules/@types/node/stream/promises.d.ts +90 -0
  363. package/node_modules/@types/node/stream/web.d.ts +527 -0
  364. package/node_modules/@types/node/stream.d.ts +1680 -0
  365. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  366. package/node_modules/@types/node/test.d.ts +1208 -0
  367. package/node_modules/@types/node/timers/promises.d.ts +108 -0
  368. package/node_modules/@types/node/timers.d.ts +286 -0
  369. package/node_modules/@types/node/tls.d.ts +1204 -0
  370. package/node_modules/@types/node/trace_events.d.ts +171 -0
  371. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +455 -0
  372. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  373. package/node_modules/@types/node/ts5.6/index.d.ts +92 -0
  374. package/node_modules/@types/node/tty.d.ts +206 -0
  375. package/node_modules/@types/node/url.d.ts +957 -0
  376. package/node_modules/@types/node/util.d.ts +2083 -0
  377. package/node_modules/@types/node/v8.d.ts +753 -0
  378. package/node_modules/@types/node/vm.d.ts +704 -0
  379. package/node_modules/@types/node/wasi.d.ts +160 -0
  380. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  381. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  382. package/node_modules/@types/node/web-globals/events.d.ts +81 -0
  383. package/node_modules/@types/node/web-globals/fetch.d.ts +38 -0
  384. package/node_modules/@types/node/worker_threads.d.ts +698 -0
  385. package/node_modules/@types/node/zlib.d.ts +517 -0
  386. package/node_modules/core-util-is/LICENSE +19 -0
  387. package/node_modules/core-util-is/README.md +3 -0
  388. package/node_modules/core-util-is/lib/util.js +107 -0
  389. package/node_modules/core-util-is/package.json +38 -0
  390. package/node_modules/https/package.json +15 -0
  391. package/node_modules/image-size/LICENSE +9 -0
  392. package/node_modules/image-size/Readme.md +184 -0
  393. package/node_modules/image-size/bin/image-size.js +53 -0
  394. package/node_modules/image-size/dist/detector.d.ts +2 -0
  395. package/node_modules/image-size/dist/detector.js +30 -0
  396. package/node_modules/image-size/dist/index.d.ts +10 -0
  397. package/node_modules/image-size/dist/index.js +129 -0
  398. package/node_modules/image-size/dist/types/bmp.d.ts +2 -0
  399. package/node_modules/image-size/dist/types/bmp.js +11 -0
  400. package/node_modules/image-size/dist/types/cur.d.ts +2 -0
  401. package/node_modules/image-size/dist/types/cur.js +17 -0
  402. package/node_modules/image-size/dist/types/dds.d.ts +2 -0
  403. package/node_modules/image-size/dist/types/dds.js +11 -0
  404. package/node_modules/image-size/dist/types/gif.d.ts +2 -0
  405. package/node_modules/image-size/dist/types/gif.js +12 -0
  406. package/node_modules/image-size/dist/types/heif.d.ts +2 -0
  407. package/node_modules/image-size/dist/types/heif.js +40 -0
  408. package/node_modules/image-size/dist/types/icns.d.ts +2 -0
  409. package/node_modules/image-size/dist/types/icns.js +101 -0
  410. package/node_modules/image-size/dist/types/ico.d.ts +2 -0
  411. package/node_modules/image-size/dist/types/ico.js +68 -0
  412. package/node_modules/image-size/dist/types/index.d.ts +23 -0
  413. package/node_modules/image-size/dist/types/index.js +46 -0
  414. package/node_modules/image-size/dist/types/interface.d.ts +13 -0
  415. package/node_modules/image-size/dist/types/interface.js +2 -0
  416. package/node_modules/image-size/dist/types/j2c.d.ts +2 -0
  417. package/node_modules/image-size/dist/types/j2c.js +12 -0
  418. package/node_modules/image-size/dist/types/jp2.d.ts +2 -0
  419. package/node_modules/image-size/dist/types/jp2.js +27 -0
  420. package/node_modules/image-size/dist/types/jpg.d.ts +2 -0
  421. package/node_modules/image-size/dist/types/jpg.js +123 -0
  422. package/node_modules/image-size/dist/types/jxl-stream.d.ts +2 -0
  423. package/node_modules/image-size/dist/types/jxl-stream.js +45 -0
  424. package/node_modules/image-size/dist/types/jxl.d.ts +2 -0
  425. package/node_modules/image-size/dist/types/jxl.js +59 -0
  426. package/node_modules/image-size/dist/types/ktx.d.ts +2 -0
  427. package/node_modules/image-size/dist/types/ktx.js +19 -0
  428. package/node_modules/image-size/dist/types/png.d.ts +2 -0
  429. package/node_modules/image-size/dist/types/png.js +35 -0
  430. package/node_modules/image-size/dist/types/pnm.d.ts +2 -0
  431. package/node_modules/image-size/dist/types/pnm.js +72 -0
  432. package/node_modules/image-size/dist/types/psd.d.ts +2 -0
  433. package/node_modules/image-size/dist/types/psd.js +11 -0
  434. package/node_modules/image-size/dist/types/svg.d.ts +2 -0
  435. package/node_modules/image-size/dist/types/svg.js +90 -0
  436. package/node_modules/image-size/dist/types/tga.d.ts +2 -0
  437. package/node_modules/image-size/dist/types/tga.js +15 -0
  438. package/node_modules/image-size/dist/types/tiff.d.ts +2 -0
  439. package/node_modules/image-size/dist/types/tiff.js +95 -0
  440. package/node_modules/image-size/dist/types/utils.d.ts +15 -0
  441. package/node_modules/image-size/dist/types/utils.js +75 -0
  442. package/node_modules/image-size/dist/types/webp.d.ts +2 -0
  443. package/node_modules/image-size/dist/types/webp.js +60 -0
  444. package/node_modules/image-size/dist/utils/bit-reader.d.ts +10 -0
  445. package/node_modules/image-size/dist/utils/bit-reader.js +44 -0
  446. package/node_modules/image-size/package.json +81 -0
  447. package/node_modules/immediate/LICENSE.txt +20 -0
  448. package/node_modules/immediate/README.md +93 -0
  449. package/node_modules/immediate/dist/immediate.js +75 -0
  450. package/node_modules/immediate/dist/immediate.min.js +1 -0
  451. package/node_modules/immediate/lib/browser.js +69 -0
  452. package/node_modules/immediate/lib/index.js +73 -0
  453. package/node_modules/immediate/package.json +42 -0
  454. package/node_modules/inherits/LICENSE +16 -0
  455. package/node_modules/inherits/README.md +42 -0
  456. package/node_modules/inherits/inherits.js +9 -0
  457. package/node_modules/inherits/inherits_browser.js +27 -0
  458. package/node_modules/inherits/package.json +29 -0
  459. package/node_modules/isarray/.npmignore +1 -0
  460. package/node_modules/isarray/.travis.yml +4 -0
  461. package/node_modules/isarray/Makefile +6 -0
  462. package/node_modules/isarray/README.md +60 -0
  463. package/node_modules/isarray/component.json +19 -0
  464. package/node_modules/isarray/index.js +5 -0
  465. package/node_modules/isarray/package.json +45 -0
  466. package/node_modules/isarray/test.js +20 -0
  467. package/node_modules/jszip/.codeclimate.yml +16 -0
  468. package/node_modules/jszip/.editorconfig +8 -0
  469. package/node_modules/jszip/.eslintrc.js +43 -0
  470. package/node_modules/jszip/CHANGES.md +210 -0
  471. package/node_modules/jszip/LICENSE.markdown +651 -0
  472. package/node_modules/jszip/README.markdown +33 -0
  473. package/node_modules/jszip/dist/jszip.js +11586 -0
  474. package/node_modules/jszip/dist/jszip.min.js +13 -0
  475. package/node_modules/jszip/index.d.ts +344 -0
  476. package/node_modules/jszip/lib/base64.js +106 -0
  477. package/node_modules/jszip/lib/compressedObject.js +74 -0
  478. package/node_modules/jszip/lib/compressions.js +14 -0
  479. package/node_modules/jszip/lib/crc32.js +77 -0
  480. package/node_modules/jszip/lib/defaults.js +11 -0
  481. package/node_modules/jszip/lib/external.js +18 -0
  482. package/node_modules/jszip/lib/flate.js +85 -0
  483. package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
  484. package/node_modules/jszip/lib/generate/index.js +57 -0
  485. package/node_modules/jszip/lib/index.js +55 -0
  486. package/node_modules/jszip/lib/license_header.js +11 -0
  487. package/node_modules/jszip/lib/load.js +88 -0
  488. package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  489. package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  490. package/node_modules/jszip/lib/nodejsUtils.js +57 -0
  491. package/node_modules/jszip/lib/object.js +384 -0
  492. package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
  493. package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  494. package/node_modules/jszip/lib/reader/DataReader.js +116 -0
  495. package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  496. package/node_modules/jszip/lib/reader/StringReader.js +38 -0
  497. package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  498. package/node_modules/jszip/lib/reader/readerFor.js +28 -0
  499. package/node_modules/jszip/lib/signature.js +7 -0
  500. package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  501. package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  502. package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  503. package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  504. package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  505. package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
  506. package/node_modules/jszip/lib/support.js +38 -0
  507. package/node_modules/jszip/lib/utf8.js +275 -0
  508. package/node_modules/jszip/lib/utils.js +510 -0
  509. package/node_modules/jszip/lib/zipEntries.js +261 -0
  510. package/node_modules/jszip/lib/zipEntry.js +293 -0
  511. package/node_modules/jszip/lib/zipObject.js +133 -0
  512. package/node_modules/jszip/package.json +67 -0
  513. package/node_modules/jszip/sponsors.md +21 -0
  514. package/node_modules/jszip/tsconfig.json +101 -0
  515. package/node_modules/jszip/vendor/FileSaver.js +247 -0
  516. package/node_modules/lie/README.md +62 -0
  517. package/node_modules/lie/dist/lie.js +350 -0
  518. package/node_modules/lie/dist/lie.min.js +1 -0
  519. package/node_modules/lie/dist/lie.polyfill.js +358 -0
  520. package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  521. package/node_modules/lie/lib/browser.js +273 -0
  522. package/node_modules/lie/lib/index.js +298 -0
  523. package/node_modules/lie/license.md +7 -0
  524. package/node_modules/lie/lie.d.ts +244 -0
  525. package/node_modules/lie/package.json +69 -0
  526. package/node_modules/lie/polyfill.js +4 -0
  527. package/node_modules/pako/LICENSE +21 -0
  528. package/node_modules/pako/README.md +191 -0
  529. package/node_modules/pako/dist/pako.js +6818 -0
  530. package/node_modules/pako/dist/pako.min.js +1 -0
  531. package/node_modules/pako/dist/pako_deflate.js +3997 -0
  532. package/node_modules/pako/dist/pako_deflate.min.js +1 -0
  533. package/node_modules/pako/dist/pako_inflate.js +3300 -0
  534. package/node_modules/pako/dist/pako_inflate.min.js +1 -0
  535. package/node_modules/pako/index.js +14 -0
  536. package/node_modules/pako/lib/deflate.js +400 -0
  537. package/node_modules/pako/lib/inflate.js +423 -0
  538. package/node_modules/pako/lib/utils/common.js +105 -0
  539. package/node_modules/pako/lib/utils/strings.js +187 -0
  540. package/node_modules/pako/lib/zlib/README +59 -0
  541. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  542. package/node_modules/pako/lib/zlib/constants.js +68 -0
  543. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  544. package/node_modules/pako/lib/zlib/deflate.js +1874 -0
  545. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  546. package/node_modules/pako/lib/zlib/inffast.js +345 -0
  547. package/node_modules/pako/lib/zlib/inflate.js +1556 -0
  548. package/node_modules/pako/lib/zlib/inftrees.js +343 -0
  549. package/node_modules/pako/lib/zlib/messages.js +32 -0
  550. package/node_modules/pako/lib/zlib/trees.js +1222 -0
  551. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  552. package/node_modules/pako/package.json +44 -0
  553. package/node_modules/playwright-core/LICENSE +202 -0
  554. package/node_modules/playwright-core/NOTICE +5 -0
  555. package/node_modules/playwright-core/README.md +3 -0
  556. package/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
  557. package/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
  558. package/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
  559. package/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
  560. package/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
  561. package/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
  562. package/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
  563. package/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
  564. package/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
  565. package/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
  566. package/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
  567. package/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
  568. package/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
  569. package/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
  570. package/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
  571. package/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
  572. package/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
  573. package/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
  574. package/node_modules/playwright-core/browsers.json +52 -0
  575. package/node_modules/playwright-core/cli.js +22 -0
  576. package/node_modules/playwright-core/index.d.ts +17 -0
  577. package/node_modules/playwright-core/index.js +17 -0
  578. package/node_modules/playwright-core/index.mjs +28 -0
  579. package/node_modules/playwright-core/lib/bootstrap.js +149 -0
  580. package/node_modules/playwright-core/lib/coreBundle.js +78041 -0
  581. package/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
  582. package/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
  583. package/node_modules/playwright-core/lib/entry/mcp.js +10 -0
  584. package/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
  585. package/node_modules/playwright-core/lib/package.js +50 -0
  586. package/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  587. package/node_modules/playwright-core/lib/server/electron/loader.js +123 -0
  588. package/node_modules/playwright-core/lib/serverRegistry.js +1939 -0
  589. package/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +65 -0
  590. package/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
  591. package/node_modules/playwright-core/lib/tools/cli-client/cli.js +7 -0
  592. package/node_modules/playwright-core/lib/tools/cli-client/help.json +808 -0
  593. package/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
  594. package/node_modules/playwright-core/lib/tools/cli-client/output.js +352 -0
  595. package/node_modules/playwright-core/lib/tools/cli-client/program.js +422 -0
  596. package/node_modules/playwright-core/lib/tools/cli-client/registry.js +180 -0
  597. package/node_modules/playwright-core/lib/tools/cli-client/session.js +261 -0
  598. package/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
  599. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/SKILL.md +493 -0
  600. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/element-attributes.md +23 -0
  601. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/playwright-tests.md +39 -0
  602. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/pr-attachments.md +60 -0
  603. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/request-mocking.md +87 -0
  604. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/running-code.md +245 -0
  605. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/session-management.md +227 -0
  606. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/storage-state.md +275 -0
  607. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/test-generation.md +433 -0
  608. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/tracing.md +139 -0
  609. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/video-recording.md +216 -0
  610. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/SKILL.md +136 -0
  611. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
  612. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/migration.md +89 -0
  613. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/react.md +69 -0
  614. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/typing.md +173 -0
  615. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/vue.md +77 -0
  616. package/node_modules/playwright-core/lib/tools/skills/playwright-trace/SKILL.md +174 -0
  617. package/node_modules/playwright-core/lib/tools/utils/extension.js +112 -0
  618. package/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
  619. package/node_modules/playwright-core/lib/utilsBundle.js +86078 -0
  620. package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +1890 -0
  621. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
  622. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
  623. package/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
  624. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
  625. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
  626. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
  627. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
  628. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
  629. package/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
  630. package/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
  631. package/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
  632. package/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
  633. package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -0
  634. package/node_modules/playwright-core/lib/vite/htmlReport/report.js +32 -0
  635. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
  636. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DK72OMRi.js +32 -0
  637. package/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  638. package/node_modules/playwright-core/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
  639. package/node_modules/playwright-core/lib/vite/recorder/assets/index-Cn0mmDuv.js +129 -0
  640. package/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
  641. package/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
  642. package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BEB2e8M3.js +32 -0
  643. package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-D-g2vrvf.js +184 -0
  644. package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
  645. package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-B794rD2Z.js +7 -0
  646. package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
  647. package/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  648. package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.C8BeHuxd.css +1 -0
  649. package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
  650. package/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
  651. package/node_modules/playwright-core/lib/vite/traceViewer/index.oNry3Hjv.js +1 -0
  652. package/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
  653. package/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
  654. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
  655. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
  656. package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -0
  657. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CYwC_gH1.js +5 -0
  658. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
  659. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
  660. package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
  661. package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
  662. package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
  663. package/node_modules/playwright-core/lib/xdg-open +1267 -0
  664. package/node_modules/playwright-core/package.json +34 -0
  665. package/node_modules/playwright-core/types/protocol.d.ts +24776 -0
  666. package/node_modules/playwright-core/types/structs.d.ts +52 -0
  667. package/node_modules/playwright-core/types/types.d.ts +27167 -0
  668. package/node_modules/pptxgenjs/LICENSE +21 -0
  669. package/node_modules/pptxgenjs/README.md +284 -0
  670. package/node_modules/pptxgenjs/dist/pptxgen.bundle.js +3 -0
  671. package/node_modules/pptxgenjs/dist/pptxgen.bundle.js.map +1 -0
  672. package/node_modules/pptxgenjs/dist/pptxgen.cjs.js +7445 -0
  673. package/node_modules/pptxgenjs/dist/pptxgen.es.js +7439 -0
  674. package/node_modules/pptxgenjs/dist/pptxgen.min.js +3 -0
  675. package/node_modules/pptxgenjs/dist/pptxgen.min.js.map +1 -0
  676. package/node_modules/pptxgenjs/package.json +89 -0
  677. package/node_modules/pptxgenjs/types/index.d.ts +2670 -0
  678. package/node_modules/process-nextick-args/index.js +45 -0
  679. package/node_modules/process-nextick-args/license.md +19 -0
  680. package/node_modules/process-nextick-args/package.json +25 -0
  681. package/node_modules/process-nextick-args/readme.md +18 -0
  682. package/node_modules/queue/LICENSE +8 -0
  683. package/node_modules/queue/index.d.ts +173 -0
  684. package/node_modules/queue/index.js +195 -0
  685. package/node_modules/queue/package.json +43 -0
  686. package/node_modules/queue/readme.md +221 -0
  687. package/node_modules/readable-stream/.travis.yml +34 -0
  688. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  689. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  690. package/node_modules/readable-stream/LICENSE +47 -0
  691. package/node_modules/readable-stream/README.md +58 -0
  692. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  693. package/node_modules/readable-stream/duplex-browser.js +1 -0
  694. package/node_modules/readable-stream/duplex.js +1 -0
  695. package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  696. package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  697. package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  698. package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  699. package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  700. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  701. package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  702. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  703. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  704. package/node_modules/readable-stream/package.json +52 -0
  705. package/node_modules/readable-stream/passthrough.js +1 -0
  706. package/node_modules/readable-stream/readable-browser.js +7 -0
  707. package/node_modules/readable-stream/readable.js +19 -0
  708. package/node_modules/readable-stream/transform.js +1 -0
  709. package/node_modules/readable-stream/writable-browser.js +1 -0
  710. package/node_modules/readable-stream/writable.js +8 -0
  711. package/node_modules/safe-buffer/LICENSE +21 -0
  712. package/node_modules/safe-buffer/README.md +584 -0
  713. package/node_modules/safe-buffer/index.d.ts +187 -0
  714. package/node_modules/safe-buffer/index.js +62 -0
  715. package/node_modules/safe-buffer/package.json +37 -0
  716. package/node_modules/setimmediate/LICENSE.txt +20 -0
  717. package/node_modules/setimmediate/package.json +30 -0
  718. package/node_modules/setimmediate/setImmediate.js +186 -0
  719. package/node_modules/string_decoder/.travis.yml +50 -0
  720. package/node_modules/string_decoder/LICENSE +48 -0
  721. package/node_modules/string_decoder/README.md +47 -0
  722. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  723. package/node_modules/string_decoder/package.json +31 -0
  724. package/node_modules/undici-types/README.md +6 -0
  725. package/node_modules/undici-types/agent.d.ts +31 -0
  726. package/node_modules/undici-types/api.d.ts +43 -0
  727. package/node_modules/undici-types/balanced-pool.d.ts +18 -0
  728. package/node_modules/undici-types/cache.d.ts +36 -0
  729. package/node_modules/undici-types/client.d.ts +97 -0
  730. package/node_modules/undici-types/connector.d.ts +34 -0
  731. package/node_modules/undici-types/content-type.d.ts +21 -0
  732. package/node_modules/undici-types/cookies.d.ts +28 -0
  733. package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  734. package/node_modules/undici-types/dispatcher.d.ts +241 -0
  735. package/node_modules/undici-types/errors.d.ts +128 -0
  736. package/node_modules/undici-types/fetch.d.ts +209 -0
  737. package/node_modules/undici-types/file.d.ts +39 -0
  738. package/node_modules/undici-types/filereader.d.ts +54 -0
  739. package/node_modules/undici-types/formdata.d.ts +108 -0
  740. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  741. package/node_modules/undici-types/global-origin.d.ts +7 -0
  742. package/node_modules/undici-types/handlers.d.ts +9 -0
  743. package/node_modules/undici-types/header.d.ts +4 -0
  744. package/node_modules/undici-types/index.d.ts +63 -0
  745. package/node_modules/undici-types/interceptors.d.ts +5 -0
  746. package/node_modules/undici-types/mock-agent.d.ts +50 -0
  747. package/node_modules/undici-types/mock-client.d.ts +25 -0
  748. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  749. package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  750. package/node_modules/undici-types/mock-pool.d.ts +25 -0
  751. package/node_modules/undici-types/package.json +55 -0
  752. package/node_modules/undici-types/patch.d.ts +71 -0
  753. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  754. package/node_modules/undici-types/pool.d.ts +28 -0
  755. package/node_modules/undici-types/proxy-agent.d.ts +30 -0
  756. package/node_modules/undici-types/readable.d.ts +61 -0
  757. package/node_modules/undici-types/webidl.d.ts +220 -0
  758. package/node_modules/undici-types/websocket.d.ts +131 -0
  759. package/node_modules/util-deprecate/History.md +16 -0
  760. package/node_modules/util-deprecate/LICENSE +24 -0
  761. package/node_modules/util-deprecate/README.md +53 -0
  762. package/node_modules/util-deprecate/browser.js +67 -0
  763. package/node_modules/util-deprecate/node.js +6 -0
  764. package/node_modules/util-deprecate/package.json +27 -0
  765. package/package.json +54 -21
  766. package/services.json +1 -20
@@ -0,0 +1,1646 @@
1
+ # PPTist Workbench 工具契约
2
+
3
+ - contractVersion: `2.5.0`
4
+ - packageVersion: `2.5.67`
5
+ - toolCount: 32
6
+ - features: `deck.manuscript`, `deck.contract`, `deck.read`, `deck.audit`, `deck.inspect`, `deck.task`, `deck.write`, `deck.compose`, `deck.recolor`, `deck.image`, `media.search`, `deck.screenshot`, `deck.present`, `deck.undo`, `deck.chart`, `deck.table`, `deck.notes`, `deck.shape`, `deck.line`, `deck.formula`, `deck.import`, `deck.export`
7
+
8
+ ## 能力
9
+
10
+ - `manuscript`(稿件(唯一真源)):`ppt_outline`, `ppt_write`, `ppt_edit`, `ppt_check`
11
+ - `contract`(契约探测):`ppt_capabilities`
12
+ - `deck`(读取演示文稿):`ppt_get_deck`
13
+ - `audit`(确定性审计):`ppt_audit`
14
+ - `inspect`(版面体检):`ppt_inspect`
15
+ - `task`(任务恢复):`ppt_task`
16
+ - `text`(文字与槽位):`ppt_text`, `ppt_fill`
17
+ - `style`(主题与背景):`ppt_style`
18
+ - `element`(元素编辑):`ppt_element`
19
+ - `slide`(页面管理):`ppt_slide`
20
+ - `apply`(底层指令):`ppt_apply`
21
+ - `compose`(成稿编排):`ppt_deck`, `ppt_page`
22
+ - `recolor`(整体换色):`ppt_recolor`
23
+ - `image`(图片):`ppt_image`
24
+ - `imagesearch`(图片检索):`ppt_images`
25
+ - `screenshot`(实时画面):`ppt_screenshot`
26
+ - `present`(放映):`ppt_present`
27
+ - `history`(撤销重做):`ppt_history`
28
+ - `chart`(图表):`ppt_chart`
29
+ - `table`(表格):`ppt_table`, `ppt_table_cells`
30
+ - `notes`(演讲备注):`ppt_notes`
31
+ - `shape`(形状库):`ppt_shape`
32
+ - `line`(线条):`ppt_line`
33
+ - `formula`(数学公式):`ppt_formula`
34
+ - `import`(导入 PPTX):`ppt_import_pptx`
35
+ - `export`(导出 PPTX):`ppt_export_pptx`
36
+
37
+ > 本文件由 npm run build 生成,禁止手改。
38
+
39
+ ## `ppt_outline`
40
+
41
+ - kind: `read`
42
+ - since: `2.5.0`
43
+ - capability: `manuscript`
44
+
45
+ 读稿件(PPT 的唯一真源):返回块 id 列表、每块版式与标题、编译产生的问题清单,以及稿件原文。改 PPT 前先读这里;用 ppt_edit 按块 id 改,不要用元素级工具挪坐标。
46
+
47
+ ```json
48
+ {
49
+ "type": "object",
50
+ "properties": {
51
+ "withSource": {
52
+ "type": "boolean",
53
+ "description": "是否返回稿件原文(默认 true);只要块表时可传 false"
54
+ }
55
+ },
56
+ "additionalProperties": false
57
+ }
58
+ ```
59
+
60
+ ## `ppt_write`
61
+
62
+ - kind: `write`
63
+ - since: `2.5.0`
64
+ - capability: `manuscript`
65
+
66
+ 用一份完整稿件成稿(替换当前 deck)。稿件是 markdown 骨架:frontmatter(title/preset)+ 每页 `## 标题 {#id layout=x}` + 条目/表格/引用。首次成稿、大改结构、或用户直接给了文字稿时用它;只改一处请用 ppt_edit。
67
+
68
+ ```json
69
+ {
70
+ "type": "object",
71
+ "properties": {
72
+ "src": {
73
+ "type": "string",
74
+ "description": "完整稿件文本(含 frontmatter 与所有 ## 页)"
75
+ },
76
+ "force": {
77
+ "type": "boolean",
78
+ "description": "稿件与当前 deck 不一致时是否强制覆盖(会丢掉元素级/人工改动)"
79
+ },
80
+ "withBlocks": {
81
+ "type": "boolean",
82
+ "description": "写完是否回传完整块表(默认 false,只看结果)"
83
+ }
84
+ },
85
+ "required": [
86
+ "src"
87
+ ],
88
+ "additionalProperties": false
89
+ }
90
+ ```
91
+
92
+ ## `ppt_edit`
93
+
94
+ - kind: `write`
95
+ - since: `2.5.0`
96
+ - capability: `manuscript`
97
+
98
+ 按块 id 改稿(surgical patch):一次提交多条块级操作,服务端合并后重新编译整份 deck。改一条要点 = replace 那一块的 text,不需要重发整稿。id 也可以写序号(「3」)或标题,所以用户点名某一页时可以不先读块表。客户看见的改动只有真正变了的那几页。findings 里 level=error 的条目会让写入被拒绝(wrote:false),warn/info 是提示但已写盘。
99
+
100
+ ```json
101
+ {
102
+ "type": "object",
103
+ "properties": {
104
+ "ops": {
105
+ "type": "array",
106
+ "minItems": 1,
107
+ "maxItems": 40,
108
+ "description": "块级操作,按顺序执行;单条失败不中断,全部问题一次返回",
109
+ "items": {
110
+ "type": "object",
111
+ "properties": {
112
+ "op": {
113
+ "type": "string",
114
+ "enum": [
115
+ "replace",
116
+ "remove",
117
+ "insert",
118
+ "move"
119
+ ]
120
+ },
121
+ "id": {
122
+ "type": "string",
123
+ "description": "块 id(如 p3);也接受序号「3」或标题「结论」(唯一定位),这样不必先读一遍块表"
124
+ },
125
+ "title": {
126
+ "type": "string",
127
+ "description": "replace/insert:新的页标题"
128
+ },
129
+ "text": {
130
+ "type": "string",
131
+ "description": "块正文(不含 `## ` 标题行):条目用 `- `,两栏用 `### `,表格用 `| a | b |`"
132
+ },
133
+ "after": {
134
+ "type": "string",
135
+ "description": "insert/move 的锚点:放到该块之后"
136
+ },
137
+ "before": {
138
+ "type": "string",
139
+ "description": "insert/move 的锚点:放到该块之前"
140
+ },
141
+ "layout": {
142
+ "type": "string",
143
+ "enum": [
144
+ "cover",
145
+ "section",
146
+ "bullets",
147
+ "two",
148
+ "stat",
149
+ "table",
150
+ "chart",
151
+ "formula",
152
+ "quote",
153
+ "end"
154
+ ],
155
+ "description": "replace/insert:版式;insert 省略时按内容推断,replace 省略时保持原版式"
156
+ }
157
+ },
158
+ "required": [
159
+ "op"
160
+ ],
161
+ "additionalProperties": false
162
+ }
163
+ },
164
+ "force": {
165
+ "type": "boolean",
166
+ "description": "是否以稿件为准重建(画布上的临时改动会丢)。默认 false 就够用——不一致时本来就会按稿件重建并报 deck-rebased"
167
+ },
168
+ "withBlocks": {
169
+ "type": "boolean",
170
+ "description": "改完是否回传完整块表(默认 false,只看结果)"
171
+ }
172
+ },
173
+ "required": [
174
+ "ops"
175
+ ],
176
+ "additionalProperties": false
177
+ }
178
+ ```
179
+
180
+ ## `ppt_check`
181
+
182
+ - kind: `read`
183
+ - since: `2.5.0`
184
+ - capability: `manuscript`
185
+
186
+ 只编译校验、不写盘:给出会截断/丢弃/推断/结构不匹配的全部问题,以及编译产物的 audit 结论。改稿前想先确认后果时用。
187
+
188
+ ```json
189
+ {
190
+ "type": "object",
191
+ "properties": {
192
+ "src": {
193
+ "type": "string",
194
+ "description": "要校验的稿件;省略则校验当前稿件"
195
+ },
196
+ "ops": {
197
+ "type": "array",
198
+ "minItems": 1,
199
+ "maxItems": 40,
200
+ "description": "可选:先在这些块级操作上试算,再校验结果(不会落盘)",
201
+ "items": {
202
+ "type": "object",
203
+ "properties": {
204
+ "op": {
205
+ "type": "string",
206
+ "enum": [
207
+ "replace",
208
+ "remove",
209
+ "insert",
210
+ "move"
211
+ ]
212
+ },
213
+ "id": {
214
+ "type": "string",
215
+ "description": "块 id(如 p3);也接受序号「3」或标题「结论」(唯一定位),这样不必先读一遍块表"
216
+ },
217
+ "title": {
218
+ "type": "string",
219
+ "description": "replace/insert:新的页标题"
220
+ },
221
+ "text": {
222
+ "type": "string",
223
+ "description": "块正文(不含 `## ` 标题行):条目用 `- `,两栏用 `### `,表格用 `| a | b |`"
224
+ },
225
+ "after": {
226
+ "type": "string",
227
+ "description": "insert/move 的锚点:放到该块之后"
228
+ },
229
+ "before": {
230
+ "type": "string",
231
+ "description": "insert/move 的锚点:放到该块之前"
232
+ },
233
+ "layout": {
234
+ "type": "string",
235
+ "enum": [
236
+ "cover",
237
+ "section",
238
+ "bullets",
239
+ "two",
240
+ "stat",
241
+ "table",
242
+ "chart",
243
+ "formula",
244
+ "quote",
245
+ "end"
246
+ ],
247
+ "description": "replace/insert:版式;insert 省略时按内容推断,replace 省略时保持原版式"
248
+ }
249
+ },
250
+ "required": [
251
+ "op"
252
+ ],
253
+ "additionalProperties": false
254
+ }
255
+ }
256
+ },
257
+ "additionalProperties": false
258
+ }
259
+ ```
260
+
261
+ ## `ppt_capabilities`
262
+
263
+ - kind: `read`
264
+ - since: `2.0.0`
265
+ - capability: `contract`
266
+
267
+ 返回工作台契约版本、工具清单、能力清单、能力标签与编辑器地址。skill 加载后先调用一次;工具缺失或 major 版本不一致时停止并提示升级。
268
+
269
+ ```json
270
+ {
271
+ "type": "object",
272
+ "properties": {},
273
+ "additionalProperties": false
274
+ }
275
+ ```
276
+
277
+ ## `ppt_get_deck`
278
+
279
+ - kind: `read`
280
+ - since: `1.0.0`
281
+ - capability: `deck`
282
+
283
+ 读当前演示文稿:标题、每页背景/元素。需要精确定位(页号/元素 id)时调用;改背景/加页/改首个文本不要先读。
284
+
285
+ ```json
286
+ {
287
+ "type": "object",
288
+ "properties": {
289
+ "detailed": {
290
+ "type": "boolean",
291
+ "description": "元素几何/颜色等细节(缺省只给摘要)"
292
+ }
293
+ },
294
+ "additionalProperties": false
295
+ }
296
+ ```
297
+
298
+ ## `ppt_audit`
299
+
300
+ - kind: `read`
301
+ - since: `2.1.0`
302
+ - capability: `audit`
303
+
304
+ 确定性审计当前 deck:文字越界/溢出/重叠、同文案重复、文字隐形/被遮挡、有效背景对比度、重复版式、配色漂移、重复图片、页面密度。返回 pass/blocking;交付前或截图前调用,pass=false 不得说审计通过。
305
+
306
+ ```json
307
+ {
308
+ "type": "object",
309
+ "properties": {},
310
+ "additionalProperties": false
311
+ }
312
+ ```
313
+
314
+ ## `ppt_inspect`
315
+
316
+ - kind: `read`
317
+ - since: `2.5.53`
318
+ - capability: `inspect`
319
+
320
+ 版面体检(不需要编辑器在线):逐元素给出位置/尺寸/字号/排了几行/需要多高/盒子多高,标出文字溢出、越界、元素重叠、字号过小,并指出溢出的文字会压住下面哪个元素。用户问「这页布局为什么难看」时先看这里(比截图可靠:不依赖窗口、不缩小、每次结果一样)。
321
+
322
+ ```json
323
+ {
324
+ "type": "object",
325
+ "properties": {
326
+ "slide": {
327
+ "anyOf": [
328
+ {
329
+ "type": "integer"
330
+ },
331
+ {
332
+ "type": "string"
333
+ }
334
+ ],
335
+ "description": "只看某一页:页号 1 起(第 3 页写 3),也可写 #p3 / slide id / 标题片段;省略则体检整份"
336
+ },
337
+ "verbose": {
338
+ "type": "boolean",
339
+ "description": "连没问题的元素也逐条列出(默认只列有问题的元素;指定 slide 时该页自动全列)"
340
+ }
341
+ },
342
+ "additionalProperties": false
343
+ }
344
+ ```
345
+
346
+ ## `ppt_task`
347
+
348
+ - kind: `read`
349
+ - since: `2.2.0`
350
+ - capability: `task`
351
+
352
+ 任务恢复:status 查当前进度/待处理批次/最近 checkpoint;list 列 checkpoint;checkpoint 保存命名快照;restore 恢复快照。长任务每阶段保存一次。
353
+
354
+ ```json
355
+ {
356
+ "type": "object",
357
+ "properties": {
358
+ "action": {
359
+ "type": "string",
360
+ "enum": [
361
+ "status",
362
+ "list",
363
+ "checkpoint",
364
+ "restore"
365
+ ]
366
+ },
367
+ "name": {
368
+ "type": "string",
369
+ "maxLength": 64,
370
+ "description": "checkpoint 名称(字母/数字/._-)"
371
+ },
372
+ "meta": {
373
+ "type": "object",
374
+ "description": "checkpoint 附带的 goal/plan/next 等元数据"
375
+ }
376
+ },
377
+ "required": [
378
+ "action"
379
+ ],
380
+ "additionalProperties": false
381
+ }
382
+ ```
383
+
384
+ ## `ppt_text`
385
+
386
+ - kind: `write`
387
+ - since: `1.0.0`
388
+ - capability: `text`
389
+
390
+ 改文字:某页或某几页(缺省全部页)的首个文本,或指定 element_id 的文本;可同时改字号/颜色/加粗/对齐。首个文本优先取 text 元素,纯图形文字页回退到带文字的 shape。
391
+
392
+ ```json
393
+ {
394
+ "type": "object",
395
+ "properties": {
396
+ "text": {
397
+ "type": "string",
398
+ "maxLength": 2000
399
+ },
400
+ "slide": {
401
+ "type": "integer",
402
+ "description": "0 起页号"
403
+ },
404
+ "slides": {
405
+ "type": "array",
406
+ "maxItems": 100,
407
+ "items": {
408
+ "type": "integer"
409
+ },
410
+ "description": "0 起页号数组(缺省=全部)"
411
+ },
412
+ "element_id": {
413
+ "type": "string",
414
+ "description": "元素 id(缺省=首个文本)"
415
+ },
416
+ "font_size": {
417
+ "type": "integer"
418
+ },
419
+ "color": {
420
+ "type": "string",
421
+ "description": "CSS 颜色或中文色名"
422
+ },
423
+ "bold": {
424
+ "type": "boolean"
425
+ },
426
+ "align": {
427
+ "type": "string",
428
+ "enum": [
429
+ "left",
430
+ "center",
431
+ "right",
432
+ "justify"
433
+ ]
434
+ }
435
+ },
436
+ "required": [
437
+ "text"
438
+ ],
439
+ "additionalProperties": false
440
+ }
441
+ ```
442
+
443
+ ## `ppt_fill`
444
+
445
+ - kind: `write`
446
+ - since: `1.0.0`
447
+ - capability: `text`
448
+
449
+ 填充文字槽位:把某页的第 slot 个文字载体(0 起,含带文字的 shape)改成 text,可带字号/颜色/加粗/对齐。保留原版式。
450
+
451
+ ```json
452
+ {
453
+ "type": "object",
454
+ "properties": {
455
+ "slide": {
456
+ "type": "integer",
457
+ "description": "0 起页号"
458
+ },
459
+ "slot": {
460
+ "type": "integer",
461
+ "description": "该页第几个文字载体(0 起,含图形内文字)"
462
+ },
463
+ "text": {
464
+ "type": "string"
465
+ },
466
+ "font_size": {
467
+ "type": "integer"
468
+ },
469
+ "color": {
470
+ "type": "string"
471
+ },
472
+ "bold": {
473
+ "type": "boolean"
474
+ },
475
+ "align": {
476
+ "type": "string"
477
+ }
478
+ },
479
+ "required": [
480
+ "slide",
481
+ "slot",
482
+ "text"
483
+ ],
484
+ "additionalProperties": false
485
+ }
486
+ ```
487
+
488
+ ## `ppt_style`
489
+
490
+ - kind: `write`
491
+ - since: `1.0.0`
492
+ - capability: `style`
493
+
494
+ 整体样式:背景色(可指定页),文字颜色,字体名,主题色数组。浅底会自动配深字、深底配白字。
495
+
496
+ ```json
497
+ {
498
+ "type": "object",
499
+ "properties": {
500
+ "background": {
501
+ "type": "string",
502
+ "description": "背景色(CSS 或中文色名)"
503
+ },
504
+ "slides": {
505
+ "type": "array",
506
+ "items": {
507
+ "type": "integer"
508
+ },
509
+ "description": "只改这些页的背景;缺省全部"
510
+ },
511
+ "contrast": {
512
+ "type": "boolean",
513
+ "description": "自动对比度,缺省 true"
514
+ },
515
+ "text_color": {
516
+ "type": "string",
517
+ "description": "全局正文颜色"
518
+ },
519
+ "font_name": {
520
+ "type": "string"
521
+ },
522
+ "theme_colors": {
523
+ "type": "array",
524
+ "items": {
525
+ "type": "string"
526
+ },
527
+ "description": "主题色数组"
528
+ }
529
+ },
530
+ "additionalProperties": false
531
+ }
532
+ ```
533
+
534
+ ## `ppt_element`
535
+
536
+ - kind: `write`
537
+ - since: `1.0.0`
538
+ - capability: `element`
539
+
540
+ 元素级编辑:add 加文本/形状/图片,update 改位置/尺寸/旋转/填充/文字样式,remove 删除。插入图片走 ppt_image 的同一实现。
541
+
542
+ ```json
543
+ {
544
+ "type": "object",
545
+ "properties": {
546
+ "action": {
547
+ "type": "string",
548
+ "enum": [
549
+ "add",
550
+ "update",
551
+ "remove"
552
+ ]
553
+ },
554
+ "slide": {
555
+ "type": "integer",
556
+ "description": "0 起页号"
557
+ },
558
+ "element_id": {
559
+ "type": "string"
560
+ },
561
+ "element": {
562
+ "type": "object",
563
+ "description": "add 用:{type:'text'|'shape'|'image', text?/content?, src?(image), fill?, left?, top?, width?, height?, fontSize?, color?}"
564
+ },
565
+ "props": {
566
+ "type": "object",
567
+ "description": "update 用:{left?,top?,width?,height?,rotate?,opacity?,fill?,src?,text?,fontSize?,color?,bold?,align?}"
568
+ }
569
+ },
570
+ "required": [
571
+ "action",
572
+ "slide"
573
+ ],
574
+ "additionalProperties": false
575
+ }
576
+ ```
577
+
578
+ ## `ppt_slide`
579
+
580
+ - kind: `write`
581
+ - since: `1.0.0`
582
+ - capability: `slide`
583
+
584
+ 页管理:add(标题+要点)/remove/move/duplicate/select。
585
+
586
+ ```json
587
+ {
588
+ "type": "object",
589
+ "properties": {
590
+ "action": {
591
+ "type": "string",
592
+ "enum": [
593
+ "add",
594
+ "remove",
595
+ "move",
596
+ "duplicate",
597
+ "select"
598
+ ]
599
+ },
600
+ "index": {
601
+ "type": "integer",
602
+ "description": "目标页号(0 起);add 时为插入位置,缺省末尾"
603
+ },
604
+ "to": {
605
+ "type": "integer",
606
+ "description": "move 的目标位置"
607
+ },
608
+ "title": {
609
+ "type": "string",
610
+ "maxLength": 40,
611
+ "description": "add 的标题"
612
+ },
613
+ "bullets": {
614
+ "type": "array",
615
+ "maxItems": 8,
616
+ "items": {
617
+ "type": "string",
618
+ "maxLength": 80
619
+ }
620
+ },
621
+ "background": {
622
+ "type": "string"
623
+ }
624
+ },
625
+ "required": [
626
+ "action"
627
+ ],
628
+ "additionalProperties": false
629
+ }
630
+ ```
631
+
632
+ ## `ppt_apply`
633
+
634
+ - kind: `write`
635
+ - since: `1.0.0`
636
+ - capability: `apply`
637
+
638
+ 通用逃生口:一次提交任意底层指令数组(load / update-slide / add-element / set-background / theme / …),复杂组合动作用。
639
+
640
+ ```json
641
+ {
642
+ "type": "object",
643
+ "properties": {
644
+ "ops": {
645
+ "type": "array",
646
+ "maxItems": 100,
647
+ "items": {
648
+ "type": "object"
649
+ },
650
+ "description": "底层 op 数组(≤100)"
651
+ },
652
+ "title": {
653
+ "type": "string",
654
+ "maxLength": 120,
655
+ "description": "deck 标题(可选)"
656
+ }
657
+ },
658
+ "additionalProperties": false
659
+ }
660
+ ```
661
+
662
+ ## `ppt_deck`
663
+
664
+ - kind: `write`
665
+ - since: `1.0.0`
666
+ - capability: `compose`
667
+
668
+ 从大纲一次成稿:按版式(cover/section/bullets/two/stat/table/chart/formula/quote/end)+ 设计预设(clean/business/warm/tech)生成整套专业排版 deck,替换当前内容。默认简洁成稿首选(preset: clean)。
669
+
670
+ ```json
671
+ {
672
+ "type": "object",
673
+ "properties": {
674
+ "title": {
675
+ "type": "string",
676
+ "maxLength": 40
677
+ },
678
+ "preset": {
679
+ "type": "string",
680
+ "enum": [
681
+ "clean",
682
+ "business",
683
+ "warm",
684
+ "tech"
685
+ ]
686
+ },
687
+ "slides": {
688
+ "type": "array",
689
+ "maxItems": 30,
690
+ "items": {
691
+ "type": "object",
692
+ "properties": {
693
+ "layout": {
694
+ "type": "string",
695
+ "enum": [
696
+ "cover",
697
+ "section",
698
+ "bullets",
699
+ "two",
700
+ "stat",
701
+ "table",
702
+ "chart",
703
+ "formula",
704
+ "quote",
705
+ "end"
706
+ ]
707
+ },
708
+ "title": {
709
+ "type": "string",
710
+ "maxLength": 40
711
+ },
712
+ "subtitle": {
713
+ "type": "string",
714
+ "maxLength": 80
715
+ },
716
+ "kicker": {
717
+ "type": "string",
718
+ "maxLength": 40
719
+ },
720
+ "index": {
721
+ "type": "integer"
722
+ },
723
+ "bullets": {
724
+ "type": "array",
725
+ "maxItems": 8
726
+ },
727
+ "left": {
728
+ "type": "object"
729
+ },
730
+ "right": {
731
+ "type": "object"
732
+ },
733
+ "stats": {
734
+ "type": "array",
735
+ "maxItems": 4
736
+ },
737
+ "quote": {
738
+ "type": "string",
739
+ "maxLength": 300
740
+ },
741
+ "author": {
742
+ "type": "string",
743
+ "maxLength": 60
744
+ },
745
+ "note": {
746
+ "type": "string",
747
+ "maxLength": 300
748
+ },
749
+ "foot": {
750
+ "type": "string",
751
+ "maxLength": 100
752
+ }
753
+ },
754
+ "required": [
755
+ "layout"
756
+ ]
757
+ }
758
+ }
759
+ },
760
+ "required": [
761
+ "slides"
762
+ ],
763
+ "additionalProperties": false
764
+ }
765
+ ```
766
+
767
+ ## `ppt_page`
768
+
769
+ - kind: `write`
770
+ - since: `2.3.0`
771
+ - capability: `compose`
772
+
773
+ 逐页成稿:一次只追加/替换当前一页(同一套 clean 版式),适合长 deck 分批落盘;首屏用 replace:true,后续逐页追加。
774
+
775
+ ```json
776
+ {
777
+ "type": "object",
778
+ "properties": {
779
+ "layout": {
780
+ "type": "string",
781
+ "enum": [
782
+ "cover",
783
+ "section",
784
+ "bullets",
785
+ "two",
786
+ "stat",
787
+ "table",
788
+ "chart",
789
+ "formula",
790
+ "quote",
791
+ "end"
792
+ ]
793
+ },
794
+ "preset": {
795
+ "type": "string",
796
+ "enum": [
797
+ "clean",
798
+ "business",
799
+ "warm",
800
+ "tech"
801
+ ]
802
+ },
803
+ "deck_title": {
804
+ "type": "string",
805
+ "maxLength": 40
806
+ },
807
+ "position": {
808
+ "type": "integer",
809
+ "description": "插入位置(0 起,缺省末尾)"
810
+ },
811
+ "replace": {
812
+ "type": "boolean",
813
+ "description": "true 时用这一页替换整个 deck(首屏用)"
814
+ },
815
+ "title": {
816
+ "type": "string",
817
+ "maxLength": 40
818
+ },
819
+ "subtitle": {
820
+ "type": "string",
821
+ "maxLength": 80
822
+ },
823
+ "kicker": {
824
+ "type": "string",
825
+ "maxLength": 40
826
+ },
827
+ "section_index": {
828
+ "type": "integer",
829
+ "description": "section 版式的章节序号"
830
+ },
831
+ "bullets": {
832
+ "type": "array",
833
+ "maxItems": 8
834
+ },
835
+ "left": {
836
+ "type": "object"
837
+ },
838
+ "right": {
839
+ "type": "object"
840
+ },
841
+ "stats": {
842
+ "type": "array",
843
+ "maxItems": 4
844
+ },
845
+ "quote": {
846
+ "type": "string",
847
+ "maxLength": 300
848
+ },
849
+ "author": {
850
+ "type": "string",
851
+ "maxLength": 60
852
+ },
853
+ "note": {
854
+ "type": "string",
855
+ "maxLength": 300
856
+ },
857
+ "foot": {
858
+ "type": "string",
859
+ "maxLength": 100
860
+ }
861
+ },
862
+ "required": [
863
+ "layout"
864
+ ],
865
+ "additionalProperties": false
866
+ }
867
+ ```
868
+
869
+ ## `ppt_recolor`
870
+
871
+ - kind: `write`
872
+ - since: `1.0.0`
873
+ - capability: `recolor`
874
+
875
+ 一键整体换色(一次调用完成):背景 + 全部文字对比色 + 装饰形状(线条/圆点/色条)统一色;承载文字的卡片/色块按新底色改成配套的表面色(浅底浅灰、深底深蓝灰),不会刷成文字色(否则文字会同色叠同色看不清)。改整体背景/配色时优先用它,禁止逐页 ppt_element 改色。
876
+
877
+ ```json
878
+ {
879
+ "type": "object",
880
+ "properties": {
881
+ "background": {
882
+ "type": "string",
883
+ "description": "新背景色(CSS 颜色或中文色名)"
884
+ },
885
+ "text": {
886
+ "type": "string",
887
+ "description": "文字颜色;缺省按背景自动对比(浅底深字/深底白字)"
888
+ },
889
+ "shapes": {
890
+ "type": "string",
891
+ "description": "装饰形状填充色;缺省跟随文字色(传 null 表示不改装饰)"
892
+ },
893
+ "slides": {
894
+ "type": "array",
895
+ "items": {
896
+ "type": "integer"
897
+ },
898
+ "description": "只改这些页;缺省全部"
899
+ }
900
+ },
901
+ "required": [
902
+ "background"
903
+ ],
904
+ "additionalProperties": false
905
+ }
906
+ ```
907
+
908
+ ## `ppt_image`
909
+
910
+ - kind: `write`
911
+ - since: `1.0.0`
912
+ - capability: `image`
913
+
914
+ 插入图片(一次完成,图片先写入媒体仓,deck 只存 <base>/media/<sha256> 引用):attachment_id 取聊天图片附件的 sha256 id;也支持 path/src。src 走远程下载时带浏览器头、25s 超时、自动重试一次,上限 6MB。失败会返回 [错误码]:HOST_BLOCKED / HTTP_403 / TIMEOUT / TOO_LARGE 等——永久性失败不要重试同一链接或域名,改换来源或先用本地 path 下载。不要用 shell 找图,不要截图验证。
915
+
916
+ ```json
917
+ {
918
+ "type": "object",
919
+ "properties": {
920
+ "slide": {
921
+ "type": "integer",
922
+ "description": "0 起页号,缺省 0(封面)"
923
+ },
924
+ "attachment_id": {
925
+ "type": "string",
926
+ "description": "聊天图片附件的 attachmentId(sha256:…)"
927
+ },
928
+ "attachmentId": {
929
+ "type": "string",
930
+ "description": "attachment_id 的兼容别名"
931
+ },
932
+ "path": {
933
+ "type": "string",
934
+ "description": "本机图片路径(兼容旧用法)"
935
+ },
936
+ "src": {
937
+ "type": "string",
938
+ "description": "http(s) 或 data URL"
939
+ },
940
+ "left": {
941
+ "type": "number"
942
+ },
943
+ "top": {
944
+ "type": "number"
945
+ },
946
+ "width": {
947
+ "type": "number"
948
+ },
949
+ "height": {
950
+ "type": "number"
951
+ }
952
+ },
953
+ "additionalProperties": false
954
+ }
955
+ ```
956
+
957
+ ## `ppt_images`
958
+
959
+ - kind: `read`
960
+ - since: `2.3.0`
961
+ - capability: `imagesearch`
962
+
963
+ 图片搜索:返回已探测的候选直链(verified=能下载+真实宽度达标+不是带水印的图库预览/视频截帧,整轮 12s 内)。选中后直接用 ppt_image { src: url, slide } 插入,不要换 URL 试探。候选比搜索命中少是正常的:水印图库、缩略图、视频截帧、尺寸不够的都被剔掉了。
964
+
965
+ ```json
966
+ {
967
+ "type": "object",
968
+ "properties": {
969
+ "query": {
970
+ "type": "string",
971
+ "maxLength": 120,
972
+ "description": "中文或英文图片搜索词"
973
+ },
974
+ "count": {
975
+ "type": "integer",
976
+ "minimum": 1,
977
+ "maximum": 12,
978
+ "description": "需要的候选数量,缺省 6"
979
+ },
980
+ "min_width": {
981
+ "type": "integer",
982
+ "description": "最小宽度像素,缺省 480;显式传了就只返回量得出且达标的图"
983
+ }
984
+ },
985
+ "required": [
986
+ "query"
987
+ ],
988
+ "additionalProperties": false
989
+ }
990
+ ```
991
+
992
+ ## `ppt_screenshot`
993
+
994
+ - kind: `read`
995
+ - since: `1.0.0`
996
+ - capability: `screenshot`
997
+
998
+ 看画面:带 slide 时渲染该页大图(编辑器在线走真实像素,不在线自动改用 LibreOffice 离线渲染);不带 slide 得到整份缩略拼图。离线渲染是排版近似(字体/字距可能不同),够看溢出、重叠、留白与配色。单纯判断「布局哪里不对」请先用 ppt_inspect(确定性数字、几十毫秒)。
999
+
1000
+ ```json
1001
+ {
1002
+ "type": "object",
1003
+ "properties": {
1004
+ "slide": {
1005
+ "anyOf": [
1006
+ {
1007
+ "type": "integer"
1008
+ },
1009
+ {
1010
+ "type": "string"
1011
+ }
1012
+ ],
1013
+ "description": "只看某一页:页号 1 起(第 3 页写 3),也可写 #p3 / slide id / 标题片段;省略则整份拼图(离线时只渲染第 1 页)"
1014
+ },
1015
+ "width": {
1016
+ "type": "integer",
1017
+ "minimum": 400,
1018
+ "maximum": 2400,
1019
+ "description": "渲染宽度(像素):编辑器默认 1200,离线默认 1600;越大越清晰、返回的图越大"
1020
+ },
1021
+ "engine": {
1022
+ "type": "string",
1023
+ "enum": [
1024
+ "auto",
1025
+ "editor",
1026
+ "offline"
1027
+ ],
1028
+ "description": "auto(默认)编辑器在线用编辑器、否则离线;editor 强制实时画面;offline 强制离线渲染"
1029
+ }
1030
+ },
1031
+ "additionalProperties": false
1032
+ }
1033
+ ```
1034
+
1035
+ ## `ppt_present`
1036
+
1037
+ - kind: `control`
1038
+ - since: `1.0.0`
1039
+ - capability: `present`
1040
+
1041
+ 放映控制:start(可指定起始页)/ exit。
1042
+
1043
+ ```json
1044
+ {
1045
+ "type": "object",
1046
+ "properties": {
1047
+ "action": {
1048
+ "type": "string",
1049
+ "enum": [
1050
+ "start",
1051
+ "exit"
1052
+ ]
1053
+ },
1054
+ "slide": {
1055
+ "type": "integer",
1056
+ "description": "start 的起始页(0 起)"
1057
+ }
1058
+ },
1059
+ "required": [
1060
+ "action"
1061
+ ],
1062
+ "additionalProperties": false
1063
+ }
1064
+ ```
1065
+
1066
+ ## `ppt_history`
1067
+
1068
+ - kind: `control`
1069
+ - since: `1.0.0`
1070
+ - capability: `history`
1071
+
1072
+ 撤销/重做。
1073
+
1074
+ ```json
1075
+ {
1076
+ "type": "object",
1077
+ "properties": {
1078
+ "action": {
1079
+ "type": "string",
1080
+ "enum": [
1081
+ "undo",
1082
+ "redo"
1083
+ ]
1084
+ }
1085
+ },
1086
+ "required": [
1087
+ "action"
1088
+ ],
1089
+ "additionalProperties": false
1090
+ }
1091
+ ```
1092
+
1093
+ ## `ppt_chart`
1094
+
1095
+ - kind: `write`
1096
+ - since: `2.2.0`
1097
+ - capability: `chart`
1098
+
1099
+ 插入或更新图表(PPTist 原生 echarts 图表)。给定数据即可生成柱/条/折线/面积/饼/环/雷达/散点图,支持多种数据格式(labels+series、表格 rows、键值对 items)。带 element_id 时为更新已有图表。
1100
+
1101
+ ```json
1102
+ {
1103
+ "type": "object",
1104
+ "properties": {
1105
+ "slide": {
1106
+ "type": "integer",
1107
+ "description": "0 起页号,默认 0"
1108
+ },
1109
+ "chart_type": {
1110
+ "type": "string",
1111
+ "enum": [
1112
+ "bar",
1113
+ "column",
1114
+ "line",
1115
+ "area",
1116
+ "pie",
1117
+ "ring",
1118
+ "radar",
1119
+ "scatter"
1120
+ ],
1121
+ "description": "图表类型,新增必填"
1122
+ },
1123
+ "data": {
1124
+ "type": "object",
1125
+ "description": "数据,支持多种格式:{labels:[...], series:[[...]]} / {labels:[...], values:[...]} 单系列 / {headers:[...], rows:[[...]]} 表格式(首列类目,其余列系列) / {items:[[name,value]...]} 饼图式"
1126
+ },
1127
+ "element_id": {
1128
+ "type": "string",
1129
+ "description": "更新模式:要更新的图表元素 id"
1130
+ },
1131
+ "options": {
1132
+ "type": "object",
1133
+ "description": "渲染选项 {lineSmooth?:折线平滑, stack?:堆叠}",
1134
+ "properties": {
1135
+ "lineSmooth": {
1136
+ "type": "boolean"
1137
+ },
1138
+ "stack": {
1139
+ "type": "boolean"
1140
+ }
1141
+ },
1142
+ "additionalProperties": false
1143
+ },
1144
+ "colors": {
1145
+ "type": "array",
1146
+ "items": {
1147
+ "type": "string"
1148
+ },
1149
+ "description": "系列配色(缺省用幻灯片主题色)"
1150
+ },
1151
+ "text_color": {
1152
+ "type": "string",
1153
+ "description": "图表文字颜色"
1154
+ },
1155
+ "left": {
1156
+ "type": "number"
1157
+ },
1158
+ "top": {
1159
+ "type": "number"
1160
+ },
1161
+ "width": {
1162
+ "type": "number"
1163
+ },
1164
+ "height": {
1165
+ "type": "number"
1166
+ }
1167
+ },
1168
+ "required": [
1169
+ "slide"
1170
+ ],
1171
+ "additionalProperties": false
1172
+ }
1173
+ ```
1174
+
1175
+ ## `ppt_table`
1176
+
1177
+ - kind: `write`
1178
+ - since: `2.2.0`
1179
+ - capability: `table`
1180
+
1181
+ 插入或整体更新表格(PPTist 原生表格)。rows 为二维数组,字符串/数字直接作单元格;header: true 时首行渲染为加粗底色表头。带 element_id 时整体替换该表格数据。
1182
+
1183
+ ```json
1184
+ {
1185
+ "type": "object",
1186
+ "properties": {
1187
+ "slide": {
1188
+ "type": "integer",
1189
+ "description": "0 起页号,默认 0"
1190
+ },
1191
+ "rows": {
1192
+ "type": "array",
1193
+ "description": "二维数组,如 [[\"区域\",\"目标\"],[\"华东\",70],[\"华南\",66]];单元格也可用对象 {text, bold, color, backcolor, align, fontsize}",
1194
+ "items": {
1195
+ "type": "array"
1196
+ }
1197
+ },
1198
+ "header": {
1199
+ "type": "boolean",
1200
+ "description": "首行作为表头(加粗 + 主题色浅底)"
1201
+ },
1202
+ "theme_color": {
1203
+ "type": "string",
1204
+ "description": "表格主题色(表头底色由此淡化生成),默认 #5b9bd5"
1205
+ },
1206
+ "element_id": {
1207
+ "type": "string",
1208
+ "description": "更新模式:整体替换该表格的数据/列宽"
1209
+ },
1210
+ "col_widths": {
1211
+ "type": "array",
1212
+ "items": {
1213
+ "type": "number"
1214
+ },
1215
+ "description": "列宽比例或像素(自动归一)"
1216
+ },
1217
+ "cell_min_height": {
1218
+ "type": "number",
1219
+ "description": "单元格最小高度,默认 36"
1220
+ },
1221
+ "left": {
1222
+ "type": "number"
1223
+ },
1224
+ "top": {
1225
+ "type": "number"
1226
+ },
1227
+ "width": {
1228
+ "type": "number"
1229
+ },
1230
+ "height": {
1231
+ "type": "number"
1232
+ }
1233
+ },
1234
+ "required": [
1235
+ "slide",
1236
+ "rows"
1237
+ ],
1238
+ "additionalProperties": false
1239
+ }
1240
+ ```
1241
+
1242
+ ## `ppt_table_cells`
1243
+
1244
+ - kind: `write`
1245
+ - since: `2.2.0`
1246
+ - capability: `table`
1247
+
1248
+ 精修已有表格的单元格:改文字 / 加粗 / 颜色 / 底色 / 对齐 / 字号,也可换表格主题色。行号列号从 0 起,元素 id 可用 ppt_get_deck 查询。
1249
+
1250
+ ```json
1251
+ {
1252
+ "type": "object",
1253
+ "properties": {
1254
+ "slide": {
1255
+ "type": "integer",
1256
+ "description": "0 起页号,默认 0"
1257
+ },
1258
+ "element_id": {
1259
+ "type": "string",
1260
+ "description": "表格元素 id"
1261
+ },
1262
+ "cells": {
1263
+ "type": "array",
1264
+ "description": "单元格补丁列表",
1265
+ "items": {
1266
+ "type": "object",
1267
+ "properties": {
1268
+ "row": {
1269
+ "type": "integer",
1270
+ "description": "0 起行号"
1271
+ },
1272
+ "col": {
1273
+ "type": "integer",
1274
+ "description": "0 起列号"
1275
+ },
1276
+ "text": {
1277
+ "type": "string"
1278
+ },
1279
+ "bold": {
1280
+ "type": "boolean"
1281
+ },
1282
+ "color": {
1283
+ "type": "string",
1284
+ "description": "文字颜色"
1285
+ },
1286
+ "backcolor": {
1287
+ "type": "string",
1288
+ "description": "单元格底色"
1289
+ },
1290
+ "align": {
1291
+ "type": "string",
1292
+ "enum": [
1293
+ "left",
1294
+ "center",
1295
+ "right"
1296
+ ]
1297
+ },
1298
+ "fontsize": {
1299
+ "type": "number"
1300
+ }
1301
+ },
1302
+ "required": [
1303
+ "row",
1304
+ "col"
1305
+ ],
1306
+ "additionalProperties": false
1307
+ }
1308
+ },
1309
+ "theme_color": {
1310
+ "type": "string",
1311
+ "description": "顺带更换表格主题色"
1312
+ }
1313
+ },
1314
+ "required": [
1315
+ "slide",
1316
+ "element_id",
1317
+ "cells"
1318
+ ],
1319
+ "additionalProperties": false
1320
+ }
1321
+ ```
1322
+
1323
+ ## `ppt_notes`
1324
+
1325
+ - kind: `write`
1326
+ - since: `2.2.0`
1327
+ - capability: `notes`
1328
+
1329
+ 设置指定页的演讲者备注(显示在编辑器备注面板,导出 PPTX 一并保留)。传空字符串清空。
1330
+
1331
+ ```json
1332
+ {
1333
+ "type": "object",
1334
+ "properties": {
1335
+ "slide": {
1336
+ "type": "integer",
1337
+ "description": "0 起页号"
1338
+ },
1339
+ "notes": {
1340
+ "type": "string",
1341
+ "maxLength": 2000,
1342
+ "description": "备注内容;空字符串清空"
1343
+ }
1344
+ },
1345
+ "required": [
1346
+ "slide",
1347
+ "notes"
1348
+ ],
1349
+ "additionalProperties": false
1350
+ }
1351
+ ```
1352
+
1353
+ ## `ppt_shape`
1354
+
1355
+ - kind: `write`
1356
+ - since: `2.2.0`
1357
+ - capability: `shape`
1358
+
1359
+ 插入形状。shape 从内置库选(rect / round-rect / circle / triangle / triangle-down / diamond / pentagon / hexagon / star-5 / arrow-right / arrow-left / arrow-up / arrow-down / double-arrow / bubble / heart / cloud / bolt / cross / pie-quarter / cylinder / round-frame),也可传自定义 SVG path + viewBox。装饰、流程节点、强调块都走这里。
1360
+
1361
+ ```json
1362
+ {
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "slide": {
1366
+ "type": "integer",
1367
+ "description": "0 起页号,默认 0"
1368
+ },
1369
+ "shape": {
1370
+ "type": "string",
1371
+ "description": "内置形状 key,如 circle / arrow-right / star-5 / round-rect"
1372
+ },
1373
+ "path": {
1374
+ "type": "string",
1375
+ "description": "自定义 SVG path(与 shape 二选一,优先生效)"
1376
+ },
1377
+ "viewBox": {
1378
+ "type": "array",
1379
+ "items": {
1380
+ "type": "number"
1381
+ },
1382
+ "description": "自定义 path 的 viewBox [w, h],默认 [200, 200]"
1383
+ },
1384
+ "fill": {
1385
+ "type": "string",
1386
+ "description": "填充色,默认 #5b9bd5"
1387
+ },
1388
+ "left": {
1389
+ "type": "number"
1390
+ },
1391
+ "top": {
1392
+ "type": "number"
1393
+ },
1394
+ "width": {
1395
+ "type": "number",
1396
+ "description": "默认 200"
1397
+ },
1398
+ "height": {
1399
+ "type": "number",
1400
+ "description": "默认 200"
1401
+ },
1402
+ "rotate": {
1403
+ "type": "number"
1404
+ }
1405
+ },
1406
+ "required": [
1407
+ "slide"
1408
+ ],
1409
+ "additionalProperties": false
1410
+ }
1411
+ ```
1412
+
1413
+ ## `ppt_line`
1414
+
1415
+ - kind: `write`
1416
+ - since: `2.2.0`
1417
+ - capability: `line`
1418
+
1419
+ 画一条线(直线 / 虚线 / 折线)。给起点终点画布坐标即可,包围盒自动计算;端点箭头可选 arrow / triangle / dot / square;broken 给拐点画布坐标可画折线。
1420
+
1421
+ ```json
1422
+ {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "slide": {
1426
+ "type": "integer",
1427
+ "description": "0 起页号,默认 0"
1428
+ },
1429
+ "x1": {
1430
+ "type": "number",
1431
+ "description": "起点 x(画布坐标)"
1432
+ },
1433
+ "y1": {
1434
+ "type": "number",
1435
+ "description": "起点 y"
1436
+ },
1437
+ "x2": {
1438
+ "type": "number",
1439
+ "description": "终点 x"
1440
+ },
1441
+ "y2": {
1442
+ "type": "number",
1443
+ "description": "终点 y"
1444
+ },
1445
+ "color": {
1446
+ "type": "string",
1447
+ "description": "线色,默认 #5b9bd5"
1448
+ },
1449
+ "style": {
1450
+ "type": "string",
1451
+ "enum": [
1452
+ "solid",
1453
+ "dashed"
1454
+ ],
1455
+ "description": "默认 solid"
1456
+ },
1457
+ "width": {
1458
+ "type": "number",
1459
+ "description": "线宽,默认 2"
1460
+ },
1461
+ "start_point": {
1462
+ "type": "string",
1463
+ "enum": [
1464
+ "none",
1465
+ "arrow",
1466
+ "triangle",
1467
+ "dot",
1468
+ "square"
1469
+ ],
1470
+ "description": "起点箭头,默认 none"
1471
+ },
1472
+ "end_point": {
1473
+ "type": "string",
1474
+ "enum": [
1475
+ "none",
1476
+ "arrow",
1477
+ "triangle",
1478
+ "dot",
1479
+ "square"
1480
+ ],
1481
+ "description": "终点箭头,默认 none"
1482
+ },
1483
+ "broken": {
1484
+ "type": "array",
1485
+ "items": {
1486
+ "type": "number"
1487
+ },
1488
+ "description": "折线拐点 [x, y](画布坐标,产生 ┳ 型连接)"
1489
+ }
1490
+ },
1491
+ "required": [
1492
+ "slide",
1493
+ "x1",
1494
+ "y1",
1495
+ "x2",
1496
+ "y2"
1497
+ ],
1498
+ "additionalProperties": false
1499
+ }
1500
+ ```
1501
+
1502
+ ## `ppt_formula`
1503
+
1504
+ - kind: `write`
1505
+ - since: `2.2.0`
1506
+ - capability: `formula`
1507
+
1508
+ 插入或更新数学公式(TeX 语法,PPTist 原生 latex 元素,手写风描边渲染)。支持分式 \frac{}{}、上下标 ^ _、根号 \sqrt、求和积分 \sum \int、希腊字母、矩阵等;渲染由内置 hfmath 引擎完成。带 element_id 时为更新(重新渲染并替换)。
1509
+
1510
+ ```json
1511
+ {
1512
+ "type": "object",
1513
+ "properties": {
1514
+ "slide": {
1515
+ "type": "integer",
1516
+ "description": "0 起页号,默认 0"
1517
+ },
1518
+ "latex": {
1519
+ "type": "string",
1520
+ "description": "TeX 公式,如 E=mc^2 / \\frac{a}{b} / \\int_0^1 x^2 dx"
1521
+ },
1522
+ "element_id": {
1523
+ "type": "string",
1524
+ "description": "更新模式:要更新的公式元素 id"
1525
+ },
1526
+ "color": {
1527
+ "type": "string",
1528
+ "description": "笔画颜色,默认 #333333"
1529
+ },
1530
+ "stroke_width": {
1531
+ "type": "number",
1532
+ "description": "笔画宽度,默认 2"
1533
+ },
1534
+ "left": {
1535
+ "type": "number"
1536
+ },
1537
+ "top": {
1538
+ "type": "number"
1539
+ },
1540
+ "width": {
1541
+ "type": "number",
1542
+ "description": "默认按渲染原始尺寸"
1543
+ },
1544
+ "height": {
1545
+ "type": "number",
1546
+ "description": "默认按渲染原始尺寸(fixedRatio 锁比例)"
1547
+ }
1548
+ },
1549
+ "required": [
1550
+ "slide",
1551
+ "latex"
1552
+ ],
1553
+ "additionalProperties": false
1554
+ }
1555
+ ```
1556
+
1557
+ ## `ppt_import_pptx`
1558
+
1559
+ - kind: `write`
1560
+ - since: `2.4.0`
1561
+ - capability: `import`
1562
+
1563
+ 打开本机 .pptx:交给当前编辑器的原生导入器转换成可编辑 deck。导入后返回标题/页数/每页元素摘要;动画、母版、SmartArt、复杂图表等可能丢失。
1564
+
1565
+ ```json
1566
+ {
1567
+ "type": "object",
1568
+ "properties": {
1569
+ "path": {
1570
+ "type": "string",
1571
+ "description": "本机 .pptx 文件路径(绝对路径,或相对 MCP 进程 cwd)"
1572
+ },
1573
+ "data": {
1574
+ "type": "string",
1575
+ "description": "可选:PPTX 的 base64 内容(无法访问 path 时使用)"
1576
+ },
1577
+ "name": {
1578
+ "type": "string",
1579
+ "maxLength": 200,
1580
+ "description": "显示文件名;缺省取 path 的 basename"
1581
+ },
1582
+ "mode": {
1583
+ "type": "string",
1584
+ "enum": [
1585
+ "replace",
1586
+ "append"
1587
+ ],
1588
+ "description": "replace(默认)用导入内容替换当前 deck;append 追加到现有页之后"
1589
+ },
1590
+ "wait_ms": {
1591
+ "type": "integer",
1592
+ "minimum": 1000,
1593
+ "maximum": 300000,
1594
+ "description": "等待编辑器完成导入的毫秒数(默认 180000)"
1595
+ }
1596
+ },
1597
+ "additionalProperties": false
1598
+ }
1599
+ ```
1600
+
1601
+ ## `ppt_export_pptx`
1602
+
1603
+ - kind: `write`
1604
+ - since: `2.4.0`
1605
+ - capability: `export`
1606
+
1607
+ 把当前 deck 导出为本机 .pptx 文件(pptxgenjs)。支持文字/形状/图片/线条/表格/图表/背景/备注;自定义 SVG 路径用矩形近似,LaTeX/音视频跳过。返回文件绝对路径与降级项。
1608
+
1609
+ ```json
1610
+ {
1611
+ "type": "object",
1612
+ "properties": {
1613
+ "path": {
1614
+ "type": "string",
1615
+ "description": "输出 .pptx 路径,或已存在的目录;缺省写到系统临时目录 ppt-exports/"
1616
+ },
1617
+ "file_name": {
1618
+ "type": "string",
1619
+ "maxLength": 160,
1620
+ "description": "文件名(可省略 .pptx);path 为目录/缺省时使用"
1621
+ },
1622
+ "slide_indices": {
1623
+ "type": "array",
1624
+ "items": {
1625
+ "type": "integer",
1626
+ "minimum": 0
1627
+ },
1628
+ "maxItems": 200,
1629
+ "description": "只导出指定页(0 基);缺省导出全部"
1630
+ },
1631
+ "include_notes": {
1632
+ "type": "boolean",
1633
+ "description": "是否写入演讲者备注(默认 true)"
1634
+ },
1635
+ "overwrite": {
1636
+ "type": "boolean",
1637
+ "description": "目标已存在时是否覆盖;保存回原文件必须显式 true"
1638
+ },
1639
+ "backup": {
1640
+ "type": "boolean",
1641
+ "description": "覆盖前是否备份为 <name>.bak-<时间>.pptx(默认 true)"
1642
+ }
1643
+ },
1644
+ "additionalProperties": false
1645
+ }
1646
+ ```