axon-code 2.4.0 → 2.5.1

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 (569) hide show
  1. package/dist/auth/snapshot.d.ts +24 -0
  2. package/dist/auth/snapshot.d.ts.map +1 -0
  3. package/dist/auth/snapshot.js +144 -0
  4. package/dist/auth/snapshot.js.map +1 -0
  5. package/dist/cli.js +3 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/config/index.d.ts +30 -15
  8. package/dist/config/index.d.ts.map +1 -1
  9. package/dist/config/index.js +13 -2
  10. package/dist/config/index.js.map +1 -1
  11. package/dist/core/client.d.ts +7 -2
  12. package/dist/core/client.d.ts.map +1 -1
  13. package/dist/core/client.js +50 -18
  14. package/dist/core/client.js.map +1 -1
  15. package/dist/core/loop.d.ts +2 -7
  16. package/dist/core/loop.d.ts.map +1 -1
  17. package/dist/core/loop.js +16 -38
  18. package/dist/core/loop.js.map +1 -1
  19. package/dist/core/max-tokens.d.ts +24 -0
  20. package/dist/core/max-tokens.d.ts.map +1 -0
  21. package/dist/core/max-tokens.js +64 -0
  22. package/dist/core/max-tokens.js.map +1 -0
  23. package/dist/goals/goal-store.d.ts +1 -1
  24. package/dist/goals/goal-store.d.ts.map +1 -1
  25. package/dist/goals/goal-store.js.map +1 -1
  26. package/dist/hooks/auto-verify.d.ts +86 -0
  27. package/dist/hooks/auto-verify.d.ts.map +1 -0
  28. package/dist/hooks/auto-verify.js +297 -0
  29. package/dist/hooks/auto-verify.js.map +1 -0
  30. package/dist/mcp/config.d.ts +8 -8
  31. package/dist/media/index.d.ts +1 -0
  32. package/dist/media/index.d.ts.map +1 -1
  33. package/dist/media/index.js +2 -0
  34. package/dist/media/index.js.map +1 -1
  35. package/dist/media/office-visual.d.ts +66 -0
  36. package/dist/media/office-visual.d.ts.map +1 -0
  37. package/dist/media/office-visual.js +409 -0
  38. package/dist/media/office-visual.js.map +1 -0
  39. package/dist/memory/long-term-store.d.ts +6 -0
  40. package/dist/memory/long-term-store.d.ts.map +1 -1
  41. package/dist/memory/long-term-store.js +66 -48
  42. package/dist/memory/long-term-store.js.map +1 -1
  43. package/dist/memory/memory-search.d.ts +5 -2
  44. package/dist/memory/memory-search.d.ts.map +1 -1
  45. package/dist/memory/memory-search.js +27 -10
  46. package/dist/memory/memory-search.js.map +1 -1
  47. package/dist/memory/memory-sync.d.ts.map +1 -1
  48. package/dist/memory/memory-sync.js +4 -0
  49. package/dist/memory/memory-sync.js.map +1 -1
  50. package/dist/memory/notebook.d.ts +7 -0
  51. package/dist/memory/notebook.d.ts.map +1 -1
  52. package/dist/memory/notebook.js +62 -9
  53. package/dist/memory/notebook.js.map +1 -1
  54. package/dist/network/discovery.d.ts +2 -0
  55. package/dist/network/discovery.d.ts.map +1 -1
  56. package/dist/network/discovery.js +10 -5
  57. package/dist/network/discovery.js.map +1 -1
  58. package/dist/network/global-proxy.d.ts +7 -0
  59. package/dist/network/global-proxy.d.ts.map +1 -1
  60. package/dist/network/global-proxy.js +67 -0
  61. package/dist/network/global-proxy.js.map +1 -1
  62. package/dist/network/index.d.ts +6 -1
  63. package/dist/network/index.d.ts.map +1 -1
  64. package/dist/network/index.js +16 -11
  65. package/dist/network/index.js.map +1 -1
  66. package/dist/network/transport.d.ts +41 -4
  67. package/dist/network/transport.d.ts.map +1 -1
  68. package/dist/network/transport.js +234 -61
  69. package/dist/network/transport.js.map +1 -1
  70. package/dist/network/types.d.ts +19 -1
  71. package/dist/network/types.d.ts.map +1 -1
  72. package/dist/network/types.js.map +1 -1
  73. package/dist/notifications/cmux.d.ts +115 -0
  74. package/dist/notifications/cmux.d.ts.map +1 -0
  75. package/dist/notifications/cmux.js +436 -0
  76. package/dist/notifications/cmux.js.map +1 -0
  77. package/dist/prompt/attachments.d.ts +7 -0
  78. package/dist/prompt/attachments.d.ts.map +1 -1
  79. package/dist/prompt/attachments.js +57 -0
  80. package/dist/prompt/attachments.js.map +1 -1
  81. package/dist/prompt/builder.js +1 -1
  82. package/dist/prompt/builder.js.map +1 -1
  83. package/dist/prompt/cache.d.ts +2 -0
  84. package/dist/prompt/cache.d.ts.map +1 -1
  85. package/dist/prompt/cache.js +2 -0
  86. package/dist/prompt/cache.js.map +1 -1
  87. package/dist/prompt/templates.d.ts +1 -1
  88. package/dist/prompt/templates.d.ts.map +1 -1
  89. package/dist/prompt/templates.js +4 -3
  90. package/dist/prompt/templates.js.map +1 -1
  91. package/dist/prompt/types.d.ts +3 -1
  92. package/dist/prompt/types.d.ts.map +1 -1
  93. package/dist/prompt/types.js.map +1 -1
  94. package/dist/proxy/server.d.ts.map +1 -1
  95. package/dist/proxy/server.js +32 -11
  96. package/dist/proxy/server.js.map +1 -1
  97. package/dist/search/ripgrep.d.ts.map +1 -1
  98. package/dist/search/ripgrep.js +11 -0
  99. package/dist/search/ripgrep.js.map +1 -1
  100. package/dist/session/index.d.ts +2 -0
  101. package/dist/session/index.d.ts.map +1 -1
  102. package/dist/session/index.js +1 -0
  103. package/dist/session/index.js.map +1 -1
  104. package/dist/skills/builtin/algorithmic-art/LICENSE.txt +202 -0
  105. package/dist/skills/builtin/algorithmic-art/SKILL.md +405 -0
  106. package/dist/skills/builtin/algorithmic-art/templates/generator_template.js +223 -0
  107. package/dist/skills/builtin/algorithmic-art/templates/viewer.html +599 -0
  108. package/dist/skills/builtin/analyze-logs/SKILL.md +75 -0
  109. package/dist/skills/builtin/audit-official/SKILL.md +81 -0
  110. package/dist/skills/builtin/brand-guidelines/LICENSE.txt +202 -0
  111. package/dist/skills/builtin/brand-guidelines/SKILL.md +73 -0
  112. package/dist/skills/builtin/build-portable/SKILL.md +53 -0
  113. package/dist/skills/builtin/canvas-design/SKILL.md +130 -0
  114. package/dist/skills/builtin/changelog/SKILL.md +65 -0
  115. package/dist/skills/builtin/code-review/SKILL.md +75 -0
  116. package/dist/skills/builtin/doc-coauthoring/SKILL.md +375 -0
  117. package/dist/skills/builtin/doctor/SKILL.md +166 -0
  118. package/dist/skills/builtin/docx/LICENSE.txt +30 -0
  119. package/dist/skills/builtin/docx/SKILL.md +590 -0
  120. package/dist/skills/builtin/docx/scripts/__init__.py +1 -0
  121. package/dist/skills/builtin/docx/scripts/accept_changes.py +135 -0
  122. package/dist/skills/builtin/docx/scripts/comment.py +318 -0
  123. package/dist/skills/builtin/docx/scripts/office/helpers/__init__.py +0 -0
  124. package/dist/skills/builtin/docx/scripts/office/helpers/merge_runs.py +199 -0
  125. package/dist/skills/builtin/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  126. package/dist/skills/builtin/docx/scripts/office/pack.py +159 -0
  127. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  128. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  129. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  130. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  131. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  132. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  133. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  134. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  135. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  136. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  137. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  138. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  139. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  140. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  141. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  142. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  143. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  144. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  145. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  146. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  147. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  148. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  149. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  150. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  151. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  152. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  153. package/dist/skills/builtin/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  154. package/dist/skills/builtin/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  155. package/dist/skills/builtin/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  156. package/dist/skills/builtin/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  157. package/dist/skills/builtin/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  158. package/dist/skills/builtin/docx/scripts/office/schemas/mce/mc.xsd +75 -0
  159. package/dist/skills/builtin/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  160. package/dist/skills/builtin/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  161. package/dist/skills/builtin/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  162. package/dist/skills/builtin/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  163. package/dist/skills/builtin/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  164. package/dist/skills/builtin/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  165. package/dist/skills/builtin/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  166. package/dist/skills/builtin/docx/scripts/office/soffice.py +183 -0
  167. package/dist/skills/builtin/docx/scripts/office/unpack.py +132 -0
  168. package/dist/skills/builtin/docx/scripts/office/validate.py +111 -0
  169. package/dist/skills/builtin/docx/scripts/office/validators/__init__.py +15 -0
  170. package/dist/skills/builtin/docx/scripts/office/validators/base.py +847 -0
  171. package/dist/skills/builtin/docx/scripts/office/validators/docx.py +446 -0
  172. package/dist/skills/builtin/docx/scripts/office/validators/pptx.py +275 -0
  173. package/dist/skills/builtin/docx/scripts/office/validators/redlining.py +247 -0
  174. package/dist/skills/builtin/docx/scripts/templates/comments.xml +3 -0
  175. package/dist/skills/builtin/docx/scripts/templates/commentsExtended.xml +3 -0
  176. package/dist/skills/builtin/docx/scripts/templates/commentsExtensible.xml +3 -0
  177. package/dist/skills/builtin/docx/scripts/templates/commentsIds.xml +3 -0
  178. package/dist/skills/builtin/docx/scripts/templates/people.xml +3 -0
  179. package/dist/skills/builtin/frontend-design/LICENSE.txt +177 -0
  180. package/dist/skills/builtin/frontend-design/SKILL.md +42 -0
  181. package/dist/skills/builtin/i18n-check/SKILL.md +56 -0
  182. package/dist/skills/builtin/internal-comms/LICENSE.txt +202 -0
  183. package/dist/skills/builtin/internal-comms/SKILL.md +32 -0
  184. package/dist/skills/builtin/internal-comms/examples/3p-updates.md +47 -0
  185. package/dist/skills/builtin/internal-comms/examples/company-newsletter.md +65 -0
  186. package/dist/skills/builtin/internal-comms/examples/faq-answers.md +30 -0
  187. package/dist/skills/builtin/internal-comms/examples/general-comms.md +16 -0
  188. package/dist/skills/builtin/mcp-builder/LICENSE.txt +202 -0
  189. package/dist/skills/builtin/mcp-builder/SKILL.md +236 -0
  190. package/dist/skills/builtin/mcp-builder/reference/evaluation.md +602 -0
  191. package/dist/skills/builtin/mcp-builder/reference/mcp_best_practices.md +249 -0
  192. package/dist/skills/builtin/mcp-builder/reference/node_mcp_server.md +970 -0
  193. package/dist/skills/builtin/mcp-builder/reference/python_mcp_server.md +719 -0
  194. package/dist/skills/builtin/mcp-builder/scripts/connections.py +151 -0
  195. package/dist/skills/builtin/mcp-builder/scripts/evaluation.py +373 -0
  196. package/dist/skills/builtin/mcp-builder/scripts/example_evaluation.xml +22 -0
  197. package/dist/skills/builtin/mcp-builder/scripts/requirements.txt +2 -0
  198. package/dist/skills/builtin/pdf/LICENSE.txt +30 -0
  199. package/dist/skills/builtin/pdf/SKILL.md +314 -0
  200. package/dist/skills/builtin/pdf/forms.md +294 -0
  201. package/dist/skills/builtin/pdf/reference.md +612 -0
  202. package/dist/skills/builtin/pdf/scripts/check_bounding_boxes.py +65 -0
  203. package/dist/skills/builtin/pdf/scripts/check_fillable_fields.py +11 -0
  204. package/dist/skills/builtin/pdf/scripts/convert_pdf_to_images.py +33 -0
  205. package/dist/skills/builtin/pdf/scripts/create_validation_image.py +37 -0
  206. package/dist/skills/builtin/pdf/scripts/extract_form_field_info.py +122 -0
  207. package/dist/skills/builtin/pdf/scripts/extract_form_structure.py +115 -0
  208. package/dist/skills/builtin/pdf/scripts/fill_fillable_fields.py +98 -0
  209. package/dist/skills/builtin/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  210. package/dist/skills/builtin/pptx/LICENSE.txt +30 -0
  211. package/dist/skills/builtin/pptx/SKILL.md +232 -0
  212. package/dist/skills/builtin/pptx/editing.md +205 -0
  213. package/dist/skills/builtin/pptx/pptxgenjs.md +420 -0
  214. package/dist/skills/builtin/pptx/scripts/__init__.py +0 -0
  215. package/dist/skills/builtin/pptx/scripts/add_slide.py +195 -0
  216. package/dist/skills/builtin/pptx/scripts/clean.py +286 -0
  217. package/dist/skills/builtin/pptx/scripts/office/helpers/__init__.py +0 -0
  218. package/dist/skills/builtin/pptx/scripts/office/helpers/merge_runs.py +199 -0
  219. package/dist/skills/builtin/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
  220. package/dist/skills/builtin/pptx/scripts/office/pack.py +159 -0
  221. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  222. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  223. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  224. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  225. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  226. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  227. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  228. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  229. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  230. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  231. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  232. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  233. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  234. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  235. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  236. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  237. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  238. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  239. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  240. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  241. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  242. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  243. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  244. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  245. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  246. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  247. package/dist/skills/builtin/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  248. package/dist/skills/builtin/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  249. package/dist/skills/builtin/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  250. package/dist/skills/builtin/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  251. package/dist/skills/builtin/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  252. package/dist/skills/builtin/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
  253. package/dist/skills/builtin/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  254. package/dist/skills/builtin/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  255. package/dist/skills/builtin/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  256. package/dist/skills/builtin/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  257. package/dist/skills/builtin/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  258. package/dist/skills/builtin/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  259. package/dist/skills/builtin/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  260. package/dist/skills/builtin/pptx/scripts/office/soffice.py +183 -0
  261. package/dist/skills/builtin/pptx/scripts/office/unpack.py +132 -0
  262. package/dist/skills/builtin/pptx/scripts/office/validate.py +111 -0
  263. package/dist/skills/builtin/pptx/scripts/office/validators/__init__.py +15 -0
  264. package/dist/skills/builtin/pptx/scripts/office/validators/base.py +847 -0
  265. package/dist/skills/builtin/pptx/scripts/office/validators/docx.py +446 -0
  266. package/dist/skills/builtin/pptx/scripts/office/validators/pptx.py +275 -0
  267. package/dist/skills/builtin/pptx/scripts/office/validators/redlining.py +247 -0
  268. package/dist/skills/builtin/pptx/scripts/thumbnail.py +289 -0
  269. package/dist/skills/builtin/promo-video/SKILL.md +124 -0
  270. package/dist/skills/builtin/promote/SKILL.md +77 -0
  271. package/dist/skills/builtin/skill-creator/LICENSE.txt +202 -0
  272. package/dist/skills/builtin/skill-creator/SKILL.md +598 -0
  273. package/dist/skills/builtin/skill-creator/agents/analyzer.md +274 -0
  274. package/dist/skills/builtin/skill-creator/agents/comparator.md +202 -0
  275. package/dist/skills/builtin/skill-creator/agents/grader.md +223 -0
  276. package/dist/skills/builtin/skill-creator/assets/eval_review.html +146 -0
  277. package/dist/skills/builtin/skill-creator/eval-viewer/generate_review.py +471 -0
  278. package/dist/skills/builtin/skill-creator/eval-viewer/viewer.html +1325 -0
  279. package/dist/skills/builtin/skill-creator/references/schemas.md +430 -0
  280. package/dist/skills/builtin/skill-creator/scripts/__init__.py +0 -0
  281. package/dist/skills/builtin/skill-creator/scripts/aggregate_benchmark.py +401 -0
  282. package/dist/skills/builtin/skill-creator/scripts/generate_report.py +326 -0
  283. package/dist/skills/builtin/skill-creator/scripts/improve_description.py +248 -0
  284. package/dist/skills/builtin/skill-creator/scripts/package_skill.py +136 -0
  285. package/dist/skills/builtin/skill-creator/scripts/quick_validate.py +103 -0
  286. package/dist/skills/builtin/skill-creator/scripts/run_eval.py +310 -0
  287. package/dist/skills/builtin/skill-creator/scripts/run_loop.py +332 -0
  288. package/dist/skills/builtin/skill-creator/scripts/utils.py +47 -0
  289. package/dist/skills/builtin/slack-gif-creator/LICENSE.txt +202 -0
  290. package/dist/skills/builtin/slack-gif-creator/SKILL.md +254 -0
  291. package/dist/skills/builtin/slack-gif-creator/core/easing.py +234 -0
  292. package/dist/skills/builtin/slack-gif-creator/core/frame_composer.py +176 -0
  293. package/dist/skills/builtin/slack-gif-creator/core/gif_builder.py +269 -0
  294. package/dist/skills/builtin/slack-gif-creator/core/validators.py +136 -0
  295. package/dist/skills/builtin/slack-gif-creator/requirements.txt +4 -0
  296. package/dist/skills/builtin/sync-version/SKILL.md +39 -0
  297. package/dist/skills/builtin/theme-factory/LICENSE.txt +202 -0
  298. package/dist/skills/builtin/theme-factory/SKILL.md +59 -0
  299. package/dist/skills/builtin/theme-factory/theme-showcase.pdf +0 -0
  300. package/dist/skills/builtin/theme-factory/themes/arctic-frost.md +19 -0
  301. package/dist/skills/builtin/theme-factory/themes/botanical-garden.md +19 -0
  302. package/dist/skills/builtin/theme-factory/themes/desert-rose.md +19 -0
  303. package/dist/skills/builtin/theme-factory/themes/forest-canopy.md +19 -0
  304. package/dist/skills/builtin/theme-factory/themes/golden-hour.md +19 -0
  305. package/dist/skills/builtin/theme-factory/themes/midnight-galaxy.md +19 -0
  306. package/dist/skills/builtin/theme-factory/themes/modern-minimalist.md +19 -0
  307. package/dist/skills/builtin/theme-factory/themes/ocean-depths.md +19 -0
  308. package/dist/skills/builtin/theme-factory/themes/sunset-boulevard.md +19 -0
  309. package/dist/skills/builtin/theme-factory/themes/tech-innovation.md +19 -0
  310. package/dist/skills/builtin/web-artifacts-builder/LICENSE.txt +202 -0
  311. package/dist/skills/builtin/web-artifacts-builder/SKILL.md +74 -0
  312. package/dist/skills/builtin/web-artifacts-builder/scripts/bundle-artifact.sh +54 -0
  313. package/dist/skills/builtin/web-artifacts-builder/scripts/init-artifact.sh +322 -0
  314. package/dist/skills/builtin/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  315. package/dist/skills/builtin/webapp-testing/LICENSE.txt +202 -0
  316. package/dist/skills/builtin/webapp-testing/SKILL.md +96 -0
  317. package/dist/skills/builtin/webapp-testing/examples/console_logging.py +35 -0
  318. package/dist/skills/builtin/webapp-testing/examples/element_discovery.py +40 -0
  319. package/dist/skills/builtin/webapp-testing/examples/static_html_automation.py +33 -0
  320. package/dist/skills/builtin/webapp-testing/scripts/with_server.py +106 -0
  321. package/dist/skills/builtin/xlsx/LICENSE.txt +30 -0
  322. package/dist/skills/builtin/xlsx/SKILL.md +292 -0
  323. package/dist/skills/builtin/xlsx/scripts/office/helpers/__init__.py +0 -0
  324. package/dist/skills/builtin/xlsx/scripts/office/helpers/merge_runs.py +199 -0
  325. package/dist/skills/builtin/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
  326. package/dist/skills/builtin/xlsx/scripts/office/pack.py +159 -0
  327. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  328. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  329. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  330. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  331. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  332. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  333. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  334. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  335. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  336. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  337. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  338. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  339. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  340. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  341. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  342. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  343. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  344. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  345. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  346. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  347. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  348. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  349. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  350. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  351. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  352. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  353. package/dist/skills/builtin/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  354. package/dist/skills/builtin/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  355. package/dist/skills/builtin/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  356. package/dist/skills/builtin/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  357. package/dist/skills/builtin/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  358. package/dist/skills/builtin/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
  359. package/dist/skills/builtin/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  360. package/dist/skills/builtin/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  361. package/dist/skills/builtin/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  362. package/dist/skills/builtin/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  363. package/dist/skills/builtin/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  364. package/dist/skills/builtin/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  365. package/dist/skills/builtin/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  366. package/dist/skills/builtin/xlsx/scripts/office/soffice.py +183 -0
  367. package/dist/skills/builtin/xlsx/scripts/office/unpack.py +132 -0
  368. package/dist/skills/builtin/xlsx/scripts/office/validate.py +111 -0
  369. package/dist/skills/builtin/xlsx/scripts/office/validators/__init__.py +15 -0
  370. package/dist/skills/builtin/xlsx/scripts/office/validators/base.py +847 -0
  371. package/dist/skills/builtin/xlsx/scripts/office/validators/docx.py +446 -0
  372. package/dist/skills/builtin/xlsx/scripts/office/validators/pptx.py +275 -0
  373. package/dist/skills/builtin/xlsx/scripts/office/validators/redlining.py +247 -0
  374. package/dist/skills/builtin/xlsx/scripts/recalc.py +184 -0
  375. package/dist/tools/base.d.ts +16 -0
  376. package/dist/tools/base.d.ts.map +1 -1
  377. package/dist/tools/base.js +32 -0
  378. package/dist/tools/base.js.map +1 -1
  379. package/dist/tools/bash.d.ts.map +1 -1
  380. package/dist/tools/bash.js +8 -0
  381. package/dist/tools/bash.js.map +1 -1
  382. package/dist/tools/file.d.ts +3 -1
  383. package/dist/tools/file.d.ts.map +1 -1
  384. package/dist/tools/file.js +116 -126
  385. package/dist/tools/file.js.map +1 -1
  386. package/dist/tools/generate-design.d.ts +5 -1
  387. package/dist/tools/generate-design.d.ts.map +1 -1
  388. package/dist/tools/generate-design.js +25 -3
  389. package/dist/tools/generate-design.js.map +1 -1
  390. package/dist/tools/goal.d.ts +1 -1
  391. package/dist/tools/goal.d.ts.map +1 -1
  392. package/dist/tools/goal.js +18 -9
  393. package/dist/tools/goal.js.map +1 -1
  394. package/dist/tools/index.d.ts +7 -0
  395. package/dist/tools/index.d.ts.map +1 -1
  396. package/dist/tools/index.js +67 -1
  397. package/dist/tools/index.js.map +1 -1
  398. package/dist/tools/network-agent.js +2 -1
  399. package/dist/tools/network-agent.js.map +1 -1
  400. package/dist/tools/schedule.d.ts.map +1 -1
  401. package/dist/tools/schedule.js +2 -26
  402. package/dist/tools/schedule.js.map +1 -1
  403. package/dist/tools/skill.d.ts +1 -1
  404. package/dist/tools/skill.d.ts.map +1 -1
  405. package/dist/tools/skill.js +18 -31
  406. package/dist/tools/skill.js.map +1 -1
  407. package/dist/web/server/api-manager.d.ts +3 -0
  408. package/dist/web/server/api-manager.d.ts.map +1 -1
  409. package/dist/web/server/api-manager.js +128 -12
  410. package/dist/web/server/api-manager.js.map +1 -1
  411. package/dist/web/server/app-manager.d.ts +71 -0
  412. package/dist/web/server/app-manager.d.ts.map +1 -0
  413. package/dist/web/server/app-manager.js +364 -0
  414. package/dist/web/server/app-manager.js.map +1 -0
  415. package/dist/web/server/channels/bridge.d.ts.map +1 -1
  416. package/dist/web/server/channels/bridge.js +2 -1
  417. package/dist/web/server/channels/bridge.js.map +1 -1
  418. package/dist/web/server/codex-auth-manager.d.ts +43 -0
  419. package/dist/web/server/codex-auth-manager.d.ts.map +1 -0
  420. package/dist/web/server/codex-auth-manager.js +429 -0
  421. package/dist/web/server/codex-auth-manager.js.map +1 -0
  422. package/dist/web/server/conversation.d.ts +34 -5
  423. package/dist/web/server/conversation.d.ts.map +1 -1
  424. package/dist/web/server/conversation.js +408 -132
  425. package/dist/web/server/conversation.js.map +1 -1
  426. package/dist/web/server/image-attachments.d.ts +23 -0
  427. package/dist/web/server/image-attachments.d.ts.map +1 -0
  428. package/dist/web/server/image-attachments.js +93 -0
  429. package/dist/web/server/image-attachments.js.map +1 -0
  430. package/dist/web/server/index.d.ts.map +1 -1
  431. package/dist/web/server/index.js +28 -0
  432. package/dist/web/server/index.js.map +1 -1
  433. package/dist/web/server/routes/__tests__/app-api.test.d.ts +5 -0
  434. package/dist/web/server/routes/__tests__/app-api.test.d.ts.map +1 -0
  435. package/dist/web/server/routes/__tests__/app-api.test.js +48 -0
  436. package/dist/web/server/routes/__tests__/app-api.test.js.map +1 -0
  437. package/dist/web/server/routes/__tests__/tunnel-api.test.d.ts +2 -0
  438. package/dist/web/server/routes/__tests__/tunnel-api.test.d.ts.map +1 -0
  439. package/dist/web/server/routes/__tests__/tunnel-api.test.js +96 -0
  440. package/dist/web/server/routes/__tests__/tunnel-api.test.js.map +1 -0
  441. package/dist/web/server/routes/ai-editor.d.ts.map +1 -1
  442. package/dist/web/server/routes/ai-editor.js +9 -45
  443. package/dist/web/server/routes/ai-editor.js.map +1 -1
  444. package/dist/web/server/routes/ai-hover.d.ts.map +1 -1
  445. package/dist/web/server/routes/ai-hover.js +6 -23
  446. package/dist/web/server/routes/ai-hover.js.map +1 -1
  447. package/dist/web/server/routes/api.d.ts.map +1 -1
  448. package/dist/web/server/routes/api.js +27 -20
  449. package/dist/web/server/routes/api.js.map +1 -1
  450. package/dist/web/server/routes/app-api.d.ts +8 -0
  451. package/dist/web/server/routes/app-api.d.ts.map +1 -0
  452. package/dist/web/server/routes/app-api.js +191 -0
  453. package/dist/web/server/routes/app-api.js.map +1 -0
  454. package/dist/web/server/routes/auth.d.ts.map +1 -1
  455. package/dist/web/server/routes/auth.js +306 -5
  456. package/dist/web/server/routes/auth.js.map +1 -1
  457. package/dist/web/server/routes/autocomplete-api.d.ts.map +1 -1
  458. package/dist/web/server/routes/autocomplete-api.js +5 -43
  459. package/dist/web/server/routes/autocomplete-api.js.map +1 -1
  460. package/dist/web/server/routes/axon-cloud.d.ts.map +1 -1
  461. package/dist/web/server/routes/axon-cloud.js +2 -0
  462. package/dist/web/server/routes/axon-cloud.js.map +1 -1
  463. package/dist/web/server/routes/network-api.d.ts +1 -0
  464. package/dist/web/server/routes/network-api.d.ts.map +1 -1
  465. package/dist/web/server/routes/network-api.js +36 -11
  466. package/dist/web/server/routes/network-api.js.map +1 -1
  467. package/dist/web/server/routes/port-forward.d.ts.map +1 -1
  468. package/dist/web/server/routes/port-forward.js +3 -2
  469. package/dist/web/server/routes/port-forward.js.map +1 -1
  470. package/dist/web/server/routes/schedule-api.d.ts.map +1 -1
  471. package/dist/web/server/routes/schedule-api.js +5 -1
  472. package/dist/web/server/routes/schedule-api.js.map +1 -1
  473. package/dist/web/server/routes/tunnel-api.d.ts +14 -0
  474. package/dist/web/server/routes/tunnel-api.d.ts.map +1 -0
  475. package/dist/web/server/routes/tunnel-api.js +52 -0
  476. package/dist/web/server/routes/tunnel-api.js.map +1 -0
  477. package/dist/web/server/runtime/codex-client.d.ts +30 -0
  478. package/dist/web/server/runtime/codex-client.d.ts.map +1 -0
  479. package/dist/web/server/runtime/codex-client.js +1002 -0
  480. package/dist/web/server/runtime/codex-client.js.map +1 -0
  481. package/dist/web/server/runtime/factory.d.ts +3 -0
  482. package/dist/web/server/runtime/factory.d.ts.map +1 -0
  483. package/dist/web/server/runtime/factory.js +16 -0
  484. package/dist/web/server/runtime/factory.js.map +1 -0
  485. package/dist/web/server/runtime/runtime-selection.d.ts +16 -0
  486. package/dist/web/server/runtime/runtime-selection.d.ts.map +1 -0
  487. package/dist/web/server/runtime/runtime-selection.js +33 -0
  488. package/dist/web/server/runtime/runtime-selection.js.map +1 -0
  489. package/dist/web/server/runtime/tool-input-normalizer.d.ts +3 -0
  490. package/dist/web/server/runtime/tool-input-normalizer.d.ts.map +1 -0
  491. package/dist/web/server/runtime/tool-input-normalizer.js +52 -0
  492. package/dist/web/server/runtime/tool-input-normalizer.js.map +1 -0
  493. package/dist/web/server/runtime/types.d.ts +97 -0
  494. package/dist/web/server/runtime/types.d.ts.map +1 -0
  495. package/dist/web/server/runtime/types.js +2 -0
  496. package/dist/web/server/runtime/types.js.map +1 -0
  497. package/dist/web/server/runtime/utility-client.d.ts +5 -0
  498. package/dist/web/server/runtime/utility-client.d.ts.map +1 -0
  499. package/dist/web/server/runtime/utility-client.js +65 -0
  500. package/dist/web/server/runtime/utility-client.js.map +1 -0
  501. package/dist/web/server/services/config-service.d.ts +7 -2
  502. package/dist/web/server/services/config-service.d.ts.map +1 -1
  503. package/dist/web/server/services/config-service.js +41 -0
  504. package/dist/web/server/services/config-service.js.map +1 -1
  505. package/dist/web/server/services/gemini-image-service.d.ts +20 -1
  506. package/dist/web/server/services/gemini-image-service.d.ts.map +1 -1
  507. package/dist/web/server/services/gemini-image-service.js +121 -13
  508. package/dist/web/server/services/gemini-image-service.js.map +1 -1
  509. package/dist/web/server/session-manager.d.ts +1 -0
  510. package/dist/web/server/session-manager.d.ts.map +1 -1
  511. package/dist/web/server/session-manager.js +1 -0
  512. package/dist/web/server/session-manager.js.map +1 -1
  513. package/dist/web/server/slash-commands.d.ts.map +1 -1
  514. package/dist/web/server/slash-commands.js +59 -17
  515. package/dist/web/server/slash-commands.js.map +1 -1
  516. package/dist/web/server/tunnel.d.ts +47 -0
  517. package/dist/web/server/tunnel.d.ts.map +1 -0
  518. package/dist/web/server/tunnel.js +165 -0
  519. package/dist/web/server/tunnel.js.map +1 -0
  520. package/dist/web/server/user-interaction.d.ts +10 -0
  521. package/dist/web/server/user-interaction.d.ts.map +1 -1
  522. package/dist/web/server/user-interaction.js +28 -0
  523. package/dist/web/server/user-interaction.js.map +1 -1
  524. package/dist/web/server/web-auth.d.ts +35 -3
  525. package/dist/web/server/web-auth.d.ts.map +1 -1
  526. package/dist/web/server/web-auth.js +298 -29
  527. package/dist/web/server/web-auth.js.map +1 -1
  528. package/dist/web/server/web-scheduler.d.ts.map +1 -1
  529. package/dist/web/server/web-scheduler.js +9 -0
  530. package/dist/web/server/web-scheduler.js.map +1 -1
  531. package/dist/web/server/websocket-git-handlers.d.ts.map +1 -1
  532. package/dist/web/server/websocket-git-handlers.js +5 -29
  533. package/dist/web/server/websocket-git-handlers.js.map +1 -1
  534. package/dist/web/server/websocket.d.ts.map +1 -1
  535. package/dist/web/server/websocket.js +193 -44
  536. package/dist/web/server/websocket.js.map +1 -1
  537. package/dist/web/shared/auth-summary.d.ts +28 -0
  538. package/dist/web/shared/auth-summary.d.ts.map +1 -0
  539. package/dist/web/shared/auth-summary.js +53 -0
  540. package/dist/web/shared/auth-summary.js.map +1 -0
  541. package/dist/web/shared/model-catalog.d.ts +30 -0
  542. package/dist/web/shared/model-catalog.d.ts.map +1 -0
  543. package/dist/web/shared/model-catalog.js +373 -0
  544. package/dist/web/shared/model-catalog.js.map +1 -0
  545. package/dist/web/shared/model-preferences.d.ts +5 -0
  546. package/dist/web/shared/model-preferences.d.ts.map +1 -0
  547. package/dist/web/shared/model-preferences.js +13 -0
  548. package/dist/web/shared/model-preferences.js.map +1 -0
  549. package/dist/web/shared/setup-runtime.d.ts +27 -0
  550. package/dist/web/shared/setup-runtime.d.ts.map +1 -0
  551. package/dist/web/shared/setup-runtime.js +114 -0
  552. package/dist/web/shared/setup-runtime.js.map +1 -0
  553. package/dist/web/shared/thinking-config.d.ts +20 -0
  554. package/dist/web/shared/thinking-config.d.ts.map +1 -0
  555. package/dist/web/shared/thinking-config.js +99 -0
  556. package/dist/web/shared/thinking-config.js.map +1 -0
  557. package/dist/web/shared/types.d.ts +22 -2
  558. package/dist/web/shared/types.d.ts.map +1 -1
  559. package/dist/web/shared/types.js.map +1 -1
  560. package/electron/main.cjs +7 -2
  561. package/package.json +4 -2
  562. package/src/web/client/dist/assets/index-B0gwq5PJ.js +727 -0
  563. package/src/web/client/dist/assets/index-CwhuMLtk.css +32 -0
  564. package/src/web/client/dist/icons/icon-192.png +0 -0
  565. package/src/web/client/dist/icons/icon-512.png +0 -0
  566. package/src/web/client/dist/index.html +31 -0
  567. package/src/web/client/dist/logo.png +0 -0
  568. package/src/web/client/dist/manifest.webmanifest +25 -0
  569. package/src/web/client/dist/sw.js +78 -0
@@ -0,0 +1,289 @@
1
+ """Create thumbnail grids from PowerPoint presentation slides.
2
+
3
+ Creates a grid layout of slide thumbnails for quick visual analysis.
4
+ Labels each thumbnail with its XML filename (e.g., slide1.xml).
5
+ Hidden slides are shown with a placeholder pattern.
6
+
7
+ Usage:
8
+ python thumbnail.py input.pptx [output_prefix] [--cols N]
9
+
10
+ Examples:
11
+ python thumbnail.py presentation.pptx
12
+ # Creates: thumbnails.jpg
13
+
14
+ python thumbnail.py template.pptx grid --cols 4
15
+ # Creates: grid.jpg (or grid-1.jpg, grid-2.jpg for large decks)
16
+ """
17
+
18
+ import argparse
19
+ import subprocess
20
+ import sys
21
+ import tempfile
22
+ import zipfile
23
+ from pathlib import Path
24
+
25
+ import defusedxml.minidom
26
+ from office.soffice import get_soffice_env
27
+ from PIL import Image, ImageDraw, ImageFont
28
+
29
+ THUMBNAIL_WIDTH = 300
30
+ CONVERSION_DPI = 100
31
+ MAX_COLS = 6
32
+ DEFAULT_COLS = 3
33
+ JPEG_QUALITY = 95
34
+ GRID_PADDING = 20
35
+ BORDER_WIDTH = 2
36
+ FONT_SIZE_RATIO = 0.10
37
+ LABEL_PADDING_RATIO = 0.4
38
+
39
+
40
+ def main():
41
+ parser = argparse.ArgumentParser(
42
+ description="Create thumbnail grids from PowerPoint slides."
43
+ )
44
+ parser.add_argument("input", help="Input PowerPoint file (.pptx)")
45
+ parser.add_argument(
46
+ "output_prefix",
47
+ nargs="?",
48
+ default="thumbnails",
49
+ help="Output prefix for image files (default: thumbnails)",
50
+ )
51
+ parser.add_argument(
52
+ "--cols",
53
+ type=int,
54
+ default=DEFAULT_COLS,
55
+ help=f"Number of columns (default: {DEFAULT_COLS}, max: {MAX_COLS})",
56
+ )
57
+
58
+ args = parser.parse_args()
59
+
60
+ cols = min(args.cols, MAX_COLS)
61
+ if args.cols > MAX_COLS:
62
+ print(f"Warning: Columns limited to {MAX_COLS}")
63
+
64
+ input_path = Path(args.input)
65
+ if not input_path.exists() or input_path.suffix.lower() != ".pptx":
66
+ print(f"Error: Invalid PowerPoint file: {args.input}", file=sys.stderr)
67
+ sys.exit(1)
68
+
69
+ output_path = Path(f"{args.output_prefix}.jpg")
70
+
71
+ try:
72
+ slide_info = get_slide_info(input_path)
73
+
74
+ with tempfile.TemporaryDirectory() as temp_dir:
75
+ temp_path = Path(temp_dir)
76
+ visible_images = convert_to_images(input_path, temp_path)
77
+
78
+ if not visible_images and not any(s["hidden"] for s in slide_info):
79
+ print("Error: No slides found", file=sys.stderr)
80
+ sys.exit(1)
81
+
82
+ slides = build_slide_list(slide_info, visible_images, temp_path)
83
+
84
+ grid_files = create_grids(slides, cols, THUMBNAIL_WIDTH, output_path)
85
+
86
+ print(f"Created {len(grid_files)} grid(s):")
87
+ for grid_file in grid_files:
88
+ print(f" {grid_file}")
89
+
90
+ except Exception as e:
91
+ print(f"Error: {e}", file=sys.stderr)
92
+ sys.exit(1)
93
+
94
+
95
+ def get_slide_info(pptx_path: Path) -> list[dict]:
96
+ with zipfile.ZipFile(pptx_path, "r") as zf:
97
+ rels_content = zf.read("ppt/_rels/presentation.xml.rels").decode("utf-8")
98
+ rels_dom = defusedxml.minidom.parseString(rels_content)
99
+
100
+ rid_to_slide = {}
101
+ for rel in rels_dom.getElementsByTagName("Relationship"):
102
+ rid = rel.getAttribute("Id")
103
+ target = rel.getAttribute("Target")
104
+ rel_type = rel.getAttribute("Type")
105
+ if "slide" in rel_type and target.startswith("slides/"):
106
+ rid_to_slide[rid] = target.replace("slides/", "")
107
+
108
+ pres_content = zf.read("ppt/presentation.xml").decode("utf-8")
109
+ pres_dom = defusedxml.minidom.parseString(pres_content)
110
+
111
+ slides = []
112
+ for sld_id in pres_dom.getElementsByTagName("p:sldId"):
113
+ rid = sld_id.getAttribute("r:id")
114
+ if rid in rid_to_slide:
115
+ hidden = sld_id.getAttribute("show") == "0"
116
+ slides.append({"name": rid_to_slide[rid], "hidden": hidden})
117
+
118
+ return slides
119
+
120
+
121
+ def build_slide_list(
122
+ slide_info: list[dict],
123
+ visible_images: list[Path],
124
+ temp_dir: Path,
125
+ ) -> list[tuple[Path, str]]:
126
+ if visible_images:
127
+ with Image.open(visible_images[0]) as img:
128
+ placeholder_size = img.size
129
+ else:
130
+ placeholder_size = (1920, 1080)
131
+
132
+ slides = []
133
+ visible_idx = 0
134
+
135
+ for info in slide_info:
136
+ if info["hidden"]:
137
+ placeholder_path = temp_dir / f"hidden-{info['name']}.jpg"
138
+ placeholder_img = create_hidden_placeholder(placeholder_size)
139
+ placeholder_img.save(placeholder_path, "JPEG")
140
+ slides.append((placeholder_path, f"{info['name']} (hidden)"))
141
+ else:
142
+ if visible_idx < len(visible_images):
143
+ slides.append((visible_images[visible_idx], info["name"]))
144
+ visible_idx += 1
145
+
146
+ return slides
147
+
148
+
149
+ def create_hidden_placeholder(size: tuple[int, int]) -> Image.Image:
150
+ img = Image.new("RGB", size, color="#F0F0F0")
151
+ draw = ImageDraw.Draw(img)
152
+ line_width = max(5, min(size) // 100)
153
+ draw.line([(0, 0), size], fill="#CCCCCC", width=line_width)
154
+ draw.line([(size[0], 0), (0, size[1])], fill="#CCCCCC", width=line_width)
155
+ return img
156
+
157
+
158
+ def convert_to_images(pptx_path: Path, temp_dir: Path) -> list[Path]:
159
+ pdf_path = temp_dir / f"{pptx_path.stem}.pdf"
160
+
161
+ result = subprocess.run(
162
+ [
163
+ "soffice",
164
+ "--headless",
165
+ "--convert-to",
166
+ "pdf",
167
+ "--outdir",
168
+ str(temp_dir),
169
+ str(pptx_path),
170
+ ],
171
+ capture_output=True,
172
+ text=True,
173
+ env=get_soffice_env(),
174
+ )
175
+ if result.returncode != 0 or not pdf_path.exists():
176
+ raise RuntimeError("PDF conversion failed")
177
+
178
+ result = subprocess.run(
179
+ [
180
+ "pdftoppm",
181
+ "-jpeg",
182
+ "-r",
183
+ str(CONVERSION_DPI),
184
+ str(pdf_path),
185
+ str(temp_dir / "slide"),
186
+ ],
187
+ capture_output=True,
188
+ text=True,
189
+ )
190
+ if result.returncode != 0:
191
+ raise RuntimeError("Image conversion failed")
192
+
193
+ return sorted(temp_dir.glob("slide-*.jpg"))
194
+
195
+
196
+ def create_grids(
197
+ slides: list[tuple[Path, str]],
198
+ cols: int,
199
+ width: int,
200
+ output_path: Path,
201
+ ) -> list[str]:
202
+ max_per_grid = cols * (cols + 1)
203
+ grid_files = []
204
+
205
+ for chunk_idx, start_idx in enumerate(range(0, len(slides), max_per_grid)):
206
+ end_idx = min(start_idx + max_per_grid, len(slides))
207
+ chunk_slides = slides[start_idx:end_idx]
208
+
209
+ grid = create_grid(chunk_slides, cols, width)
210
+
211
+ if len(slides) <= max_per_grid:
212
+ grid_filename = output_path
213
+ else:
214
+ stem = output_path.stem
215
+ suffix = output_path.suffix
216
+ grid_filename = output_path.parent / f"{stem}-{chunk_idx + 1}{suffix}"
217
+
218
+ grid_filename.parent.mkdir(parents=True, exist_ok=True)
219
+ grid.save(str(grid_filename), quality=JPEG_QUALITY)
220
+ grid_files.append(str(grid_filename))
221
+
222
+ return grid_files
223
+
224
+
225
+ def create_grid(
226
+ slides: list[tuple[Path, str]],
227
+ cols: int,
228
+ width: int,
229
+ ) -> Image.Image:
230
+ font_size = int(width * FONT_SIZE_RATIO)
231
+ label_padding = int(font_size * LABEL_PADDING_RATIO)
232
+
233
+ with Image.open(slides[0][0]) as img:
234
+ aspect = img.height / img.width
235
+ height = int(width * aspect)
236
+
237
+ rows = (len(slides) + cols - 1) // cols
238
+ grid_w = cols * width + (cols + 1) * GRID_PADDING
239
+ grid_h = rows * (height + font_size + label_padding * 2) + (rows + 1) * GRID_PADDING
240
+
241
+ grid = Image.new("RGB", (grid_w, grid_h), "white")
242
+ draw = ImageDraw.Draw(grid)
243
+
244
+ try:
245
+ font = ImageFont.load_default(size=font_size)
246
+ except Exception:
247
+ font = ImageFont.load_default()
248
+
249
+ for i, (img_path, slide_name) in enumerate(slides):
250
+ row, col = i // cols, i % cols
251
+ x = col * width + (col + 1) * GRID_PADDING
252
+ y_base = (
253
+ row * (height + font_size + label_padding * 2) + (row + 1) * GRID_PADDING
254
+ )
255
+
256
+ label = slide_name
257
+ bbox = draw.textbbox((0, 0), label, font=font)
258
+ text_w = bbox[2] - bbox[0]
259
+ draw.text(
260
+ (x + (width - text_w) // 2, y_base + label_padding),
261
+ label,
262
+ fill="black",
263
+ font=font,
264
+ )
265
+
266
+ y_thumbnail = y_base + label_padding + font_size + label_padding
267
+
268
+ with Image.open(img_path) as img:
269
+ img.thumbnail((width, height), Image.Resampling.LANCZOS)
270
+ w, h = img.size
271
+ tx = x + (width - w) // 2
272
+ ty = y_thumbnail + (height - h) // 2
273
+ grid.paste(img, (tx, ty))
274
+
275
+ if BORDER_WIDTH > 0:
276
+ draw.rectangle(
277
+ [
278
+ (tx - BORDER_WIDTH, ty - BORDER_WIDTH),
279
+ (tx + w + BORDER_WIDTH - 1, ty + h + BORDER_WIDTH - 1),
280
+ ],
281
+ outline="gray",
282
+ width=BORDER_WIDTH,
283
+ )
284
+
285
+ return grid
286
+
287
+
288
+ if __name__ == "__main__":
289
+ main()
@@ -0,0 +1,124 @@
1
+ ---
2
+ description: Create promo videos, GIFs, and distribute to social media (Twitter/X, Reddit, Discord). Captures screenshots from a web app, generates MP4/GIF, and posts with user confirmation. Use when user wants to make demo videos, promo materials, or post project announcements.
3
+ user-invocable: true
4
+ argument-hint: "[capture|video|gif|distribute <platform>]"
5
+ ---
6
+
7
+ # Promo Video Pipeline
8
+
9
+ ## Subcommands
10
+
11
+ | Argument | Action |
12
+ |----------|--------|
13
+ | `capture` | Screenshot a running web app |
14
+ | `video` | Screenshots -> MP4 promo video |
15
+ | `gif` | Screenshots -> animated GIF |
16
+ | `distribute twitter` | Post video to Twitter/X |
17
+ | `distribute reddit <sub>` | Post to Reddit subreddit |
18
+ | `distribute discord` | Post to Discord channels |
19
+ | (no args) | Full pipeline: capture -> video -> gif |
20
+
21
+ ## Templates
22
+
23
+ All scripts live in `templates/` alongside this file. **Do not write from scratch** — copy the template, then modify the project-specific parts (marked below).
24
+
25
+ | Template | What to customize |
26
+ |----------|-------------------|
27
+ | `capture-demo.cjs` | `DEMO_URL`, Chrome path, page-specific selectors and navigation steps |
28
+ | `make-video.py` | Scene text (title, subtitle, features, GitHub URL), `SCENES` list, screenshot filenames |
29
+ | `make-gif.py` | `frames_config` list, title bar text |
30
+ | `distribute.cjs` | Tweet/post text, `CDP_URL` |
31
+ | `discord-post.cjs` | `MESSAGE` text, `CHROME_USER_DATA` path, target servers/channels |
32
+
33
+ ## Step 1: Gather Project Info
34
+
35
+ Before doing anything, ask the user for:
36
+ 1. **Project name and tagline**
37
+ 2. **Web app URL** (for capture) or **existing screenshot paths** (for video/gif)
38
+ 3. **Key features** (3-6 bullet points for video feature scene)
39
+ 4. **GitHub URL** (for closing scene and posts)
40
+ 5. **Target platforms** (for distribute)
41
+
42
+ ## Step 2: Check Dependencies
43
+
44
+ ```bash
45
+ # For capture
46
+ node -e "require('playwright-core')" 2>&1 || echo "MISSING: npm i -g playwright-core"
47
+
48
+ # For video
49
+ python -c "from PIL import Image; from moviepy import ImageSequenceClip" 2>&1 || echo "MISSING: pip install Pillow moviepy"
50
+
51
+ # For gif (Pillow only)
52
+ python -c "from PIL import Image" 2>&1 || echo "MISSING: pip install Pillow"
53
+ ```
54
+
55
+ Report missing deps to user. Don't proceed until resolved.
56
+
57
+ ## Step 3: Execute
58
+
59
+ ### capture
60
+
61
+ 1. Read `templates/capture-demo.cjs`
62
+ 2. Copy to `{output_dir}/capture-demo.cjs`
63
+ 3. Replace `DEMO_URL` with user's app URL
64
+ 4. Replace Chrome executable path (auto-detect from platform)
65
+ 5. Replace page navigation steps with user-specified pages (or use Browser tool snapshot to discover interactive elements)
66
+ 6. Run: `node {output_dir}/capture-demo.cjs`
67
+ 7. Verify output PNGs exist
68
+
69
+ ### video
70
+
71
+ 1. Read `templates/make-video.py`
72
+ 2. Copy to `{output_dir}/make-video.py`
73
+ 3. Replace all project-specific text:
74
+ - `scene_opening`: project name, version, tagline, stats
75
+ - `scene_screenshot` entries in `SCENES`: screenshot filenames, titles, subtitles
76
+ - `scene_features`: feature list tuples
77
+ - `scene_architecture`: box labels and connections (or remove if not relevant)
78
+ - `scene_closing`: GitHub URL, Discord/community link
79
+ 4. Run: `python {output_dir}/make-video.py`
80
+ 5. Verify `promo-video.mp4` exists, report file size
81
+
82
+ ### gif
83
+
84
+ 1. Read `templates/make-gif.py`
85
+ 2. Copy to `{output_dir}/make-gif.py`
86
+ 3. Replace `frames_config` with actual screenshot files + captions
87
+ 4. Replace title bar text (GitHub URL, stats)
88
+ 5. Run: `python {output_dir}/make-gif.py`
89
+ 6. Verify `demo.gif` exists, report file size
90
+
91
+ ### distribute
92
+
93
+ Use the Browser tool (not the template scripts) for distribution. The templates are reference for selector patterns, but **always use Browser snapshot to find current refs** since social media sites change selectors frequently.
94
+
95
+ **Twitter/X:**
96
+ 1. Browser start (profileName: 'default') -> goto `https://x.com/compose/post`
97
+ 2. Browser snapshot -> find file upload input -> upload video
98
+ 3. Wait 30s+ for processing
99
+ 4. Browser snapshot -> find text area -> type post
100
+ 5. Browser screenshot (for audit log, saved to demo-screenshots/)
101
+ 6. Click post button
102
+
103
+ **Reddit:**
104
+ 1. Browser start -> goto `https://www.reddit.com/r/{subreddit}/submit`
105
+ 2. Browser snapshot -> find upload area -> upload video/image
106
+ 3. Wait 45s+ for processing
107
+ 4. Fill title and body
108
+ 5. Browser screenshot -> **show to user, ask for confirmation**
109
+ 6. Only after user says yes -> submit
110
+
111
+ **Discord:**
112
+ 1. Browser start (with persistent profile for login)
113
+ 2. Navigate to target server/channel
114
+ 3. Browser snapshot -> find textbox (Slate editor, `[role="textbox"]`)
115
+ 4. Type message line by line (Shift+Enter for newlines within Discord)
116
+ 5. Browser screenshot -> **show to user, ask for confirmation**
117
+ 6. Only after user says yes -> press Enter to send
118
+
119
+ ## Hard Rules
120
+
121
+ 1. **Use templates as base, don't generate scripts from scratch**
122
+ 2. **Use Browser tool snapshot for social media selectors, not hardcoded selectors from templates**
123
+ 3. **Default output directory: `demo-screenshots/` in project root**
124
+ 4. **Automated posting (via ScheduleTask) skips user confirmation — take a screenshot for audit but post directly**
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: promote
3
+ description: 多平台社交媒体推广 Axon 项目。在 Twitter/X、Reddit、掘金、V2EX、Discord、Hacker News 等平台发布推广内容。Use this skill whenever the user mentions 推广、发帖、社交媒体、Twitter、Reddit、掘金、宣传、营销、social media、post、promote,even if they just say "发一下推特" or "去推广"。
4
+ disable-model-invocation: true
5
+ argument-hint: [平台名,如 twitter/reddit/juejin/all]
6
+ ---
7
+
8
+ # 多平台社交推广
9
+
10
+ ## 支持的平台
11
+
12
+ | 平台 | 文案路径 | 语言 | 账号 |
13
+ |------|---------|------|------|
14
+ | Twitter/X | `docs/marketing/twitter.md` | English | @wangbingjie1989 |
15
+ | Reddit | `docs/marketing/reddit.md` | English | — |
16
+ | 掘金 | `docs/marketing/juejin.md` | 中文 | — |
17
+ | V2EX | `docs/marketing/v2ex.md` | 中文 | — |
18
+ | Discord | `docs/marketing/discord.md` | English | — |
19
+ | Hacker News | `docs/marketing/hacker-news.md` | English | — |
20
+ | Product Hunt | `docs/marketing/product-hunt-launch.md` | English | — |
21
+
22
+ ## 流程
23
+
24
+ ### Step 1: 确定推广内容
25
+ 1. 读取最近的 git log / changelog,提取最新功能亮点
26
+ 2. 读取对应平台的文案模板(`docs/marketing/<platform>.md`)
27
+ 3. 根据最新功能更新文案内容
28
+ 4. 让用户确认文案
29
+
30
+ ### Step 2: 发布到目标平台
31
+ - 使用 Browser 工具登录目标平台
32
+ - 粘贴/输入文案内容
33
+ - 添加标签、分类(如需要)
34
+ - 截图确认后发布
35
+
36
+ ### Step 3: 记录结果
37
+ - 保存发布链接
38
+ - 截图留档
39
+ - 更新 Goal 的 metrics(社交媒体帖子发布数)
40
+
41
+ ## 平台特殊规则
42
+
43
+ ### Twitter/X
44
+ - 线程模式:主帖 + 回复链
45
+ - 首帖要有 hook(吸引点击)
46
+ - 可以附加 GIF/截图
47
+ - 标签:#AIcoding #OpenSource #DevTools
48
+
49
+ ### Reddit
50
+ - **养号策略**:新号不要直接发项目,先在相关社区评论互动
51
+ - 每次只发 2-3 条评论,间隔 5 分钟以上
52
+ - 目标 subreddits: r/LocalLLaMA, r/ChatGPTCoding, r/SelfHosted
53
+ - 发帖选择合适的 flair
54
+
55
+ ### 掘金
56
+ - 需要完整的技术文章,不是简短广告
57
+ - 添加分类标签(前端、AI、开源)
58
+ - 参考 `docs/juejin-article-2026-03-01.md` 的写作风格
59
+
60
+ ### V2EX
61
+ - 发到 /t/programmer 或 /t/share 节点
62
+ - 避免过度营销语气
63
+ - 强调技术实现
64
+
65
+ ### Discord
66
+ - 目标服务器:AI/Dev 相关
67
+ - 在合适的频道发布(#show-and-tell, #projects)
68
+
69
+ ### Hacker News
70
+ - Show HN 格式
71
+ - 标题简洁,突出技术差异点
72
+ - 准备好回答社区提问
73
+
74
+ ## 风险控制
75
+ - Reddit 新号容易被 spam filter,发帖前确认 karma 够用
76
+ - 不要在短时间内跨多个平台发完全相同的内容
77
+ - 每个平台的语气和深度要有差异
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.