groove-dev 0.27.85 → 0.27.87

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 (507) hide show
  1. package/CLAUDE.md +10 -0
  2. package/moe-training/client/scrubber.js +4 -2
  3. package/moe-training/client/step-classifier.js +17 -0
  4. package/moe-training/client/trajectory-capture.js +80 -6
  5. package/moe-training/client/transmission-queue.js +11 -0
  6. package/moe-training/test/client/scrubber.test.js +14 -4
  7. package/moe-training/test/client/step-classifier.test.js +47 -0
  8. package/moe-training/test/client/transmission-queue.test.js +33 -0
  9. package/node_modules/@groove-dev/cli/bin/groove.js +10 -1
  10. package/node_modules/@groove-dev/cli/package.json +1 -1
  11. package/node_modules/@groove-dev/cli/src/commands/connect.js +116 -205
  12. package/node_modules/@groove-dev/cli/src/commands/disconnect.js +38 -62
  13. package/node_modules/@groove-dev/cli/src/commands/remotes.js +75 -0
  14. package/node_modules/@groove-dev/daemon/package.json +1 -1
  15. package/node_modules/@groove-dev/daemon/src/process.js +56 -1
  16. package/node_modules/@groove-dev/gui/dist/assets/index-BCQY8ojz.css +1 -0
  17. package/node_modules/@groove-dev/gui/dist/assets/index-C5e7KVGN.js +8637 -0
  18. package/node_modules/@groove-dev/gui/dist/index.html +2 -2
  19. package/node_modules/@groove-dev/gui/package.json +2 -1
  20. package/node_modules/@groove-dev/gui/src/components/preview/preview-workspace.jsx +6 -5
  21. package/node_modules/@groove-dev/gui/src/components/preview/screenshot-overlay.jsx +41 -29
  22. package/node_modules/@groove-dev/gui/src/stores/groove.js +6 -2
  23. package/node_modules/@groove-dev/gui/src/views/agents.jsx +15 -1
  24. package/node_modules/@groove-dev/gui/src/views/settings.jsx +104 -26
  25. package/node_modules/base64-arraybuffer/CHANGELOG.md +28 -0
  26. package/node_modules/base64-arraybuffer/LICENSE +22 -0
  27. package/node_modules/base64-arraybuffer/README.md +27 -0
  28. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js +50 -0
  29. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.es5.js.map +1 -0
  30. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js +61 -0
  31. package/node_modules/base64-arraybuffer/dist/base64-arraybuffer.umd.js.map +1 -0
  32. package/node_modules/base64-arraybuffer/dist/lib/index.js +48 -0
  33. package/node_modules/base64-arraybuffer/dist/lib/index.js.map +1 -0
  34. package/node_modules/base64-arraybuffer/dist/types/index.d.ts +2 -0
  35. package/node_modules/base64-arraybuffer/package.json +54 -0
  36. package/node_modules/base64-arraybuffer/rollup.config.ts +40 -0
  37. package/node_modules/css-line-break/CHANGELOG.md +58 -0
  38. package/node_modules/css-line-break/LICENSE +22 -0
  39. package/node_modules/css-line-break/README.md +66 -0
  40. package/node_modules/css-line-break/dist/css-line-break.es5.js +706 -0
  41. package/node_modules/css-line-break/dist/css-line-break.es5.js.map +1 -0
  42. package/node_modules/css-line-break/dist/css-line-break.umd.js +718 -0
  43. package/node_modules/css-line-break/dist/css-line-break.umd.js.map +1 -0
  44. package/node_modules/css-line-break/dist/lib/LineBreak.js +516 -0
  45. package/node_modules/css-line-break/dist/lib/LineBreak.js.map +1 -0
  46. package/node_modules/css-line-break/dist/lib/Util.js +109 -0
  47. package/node_modules/css-line-break/dist/lib/Util.js.map +1 -0
  48. package/node_modules/css-line-break/dist/lib/index.js +9 -0
  49. package/node_modules/css-line-break/dist/lib/index.js.map +1 -0
  50. package/node_modules/css-line-break/dist/lib/linebreak-trie.js +6 -0
  51. package/node_modules/css-line-break/dist/lib/linebreak-trie.js.map +1 -0
  52. package/node_modules/css-line-break/dist/types/LineBreak.d.ts +38 -0
  53. package/node_modules/css-line-break/dist/types/Util.d.ts +5 -0
  54. package/node_modules/css-line-break/dist/types/index.d.ts +2 -0
  55. package/node_modules/css-line-break/dist/types/linebreak-trie.d.ts +2 -0
  56. package/node_modules/css-line-break/package.json +61 -0
  57. package/node_modules/css-line-break/rollup.config.ts +40 -0
  58. package/node_modules/html2canvas/CHANGELOG.md +566 -0
  59. package/node_modules/html2canvas/LICENSE +22 -0
  60. package/node_modules/html2canvas/README.md +73 -0
  61. package/node_modules/html2canvas/dist/html2canvas.esm.js +7822 -0
  62. package/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -0
  63. package/node_modules/html2canvas/dist/html2canvas.js +7830 -0
  64. package/node_modules/html2canvas/dist/html2canvas.js.map +1 -0
  65. package/node_modules/html2canvas/dist/html2canvas.min.js +20 -0
  66. package/node_modules/html2canvas/dist/lib/__tests__/index.js +144 -0
  67. package/node_modules/html2canvas/dist/lib/__tests__/index.js.map +1 -0
  68. package/node_modules/html2canvas/dist/lib/core/__mocks__/cache-storage.js +10 -0
  69. package/node_modules/html2canvas/dist/lib/core/__mocks__/cache-storage.js.map +1 -0
  70. package/node_modules/html2canvas/dist/lib/core/__mocks__/context.js +22 -0
  71. package/node_modules/html2canvas/dist/lib/core/__mocks__/context.js.map +1 -0
  72. package/node_modules/html2canvas/dist/lib/core/__mocks__/features.js +12 -0
  73. package/node_modules/html2canvas/dist/lib/core/__mocks__/features.js.map +1 -0
  74. package/node_modules/html2canvas/dist/lib/core/__mocks__/logger.js +24 -0
  75. package/node_modules/html2canvas/dist/lib/core/__mocks__/logger.js.map +1 -0
  76. package/node_modules/html2canvas/dist/lib/core/__tests__/cache-storage.js +420 -0
  77. package/node_modules/html2canvas/dist/lib/core/__tests__/cache-storage.js.map +1 -0
  78. package/node_modules/html2canvas/dist/lib/core/__tests__/logger.js +28 -0
  79. package/node_modules/html2canvas/dist/lib/core/__tests__/logger.js.map +1 -0
  80. package/node_modules/html2canvas/dist/lib/core/bitwise.js +6 -0
  81. package/node_modules/html2canvas/dist/lib/core/bitwise.js.map +1 -0
  82. package/node_modules/html2canvas/dist/lib/core/cache-storage.js +198 -0
  83. package/node_modules/html2canvas/dist/lib/core/cache-storage.js.map +1 -0
  84. package/node_modules/html2canvas/dist/lib/core/context.js +18 -0
  85. package/node_modules/html2canvas/dist/lib/core/context.js.map +1 -0
  86. package/node_modules/html2canvas/dist/lib/core/debugger.js +25 -0
  87. package/node_modules/html2canvas/dist/lib/core/debugger.js.map +1 -0
  88. package/node_modules/html2canvas/dist/lib/core/features.js +193 -0
  89. package/node_modules/html2canvas/dist/lib/core/features.js.map +1 -0
  90. package/node_modules/html2canvas/dist/lib/core/logger.js +88 -0
  91. package/node_modules/html2canvas/dist/lib/core/logger.js.map +1 -0
  92. package/node_modules/html2canvas/dist/lib/core/util.js +5 -0
  93. package/node_modules/html2canvas/dist/lib/core/util.js.map +1 -0
  94. package/node_modules/html2canvas/dist/lib/css/IPropertyDescriptor.js +3 -0
  95. package/node_modules/html2canvas/dist/lib/css/IPropertyDescriptor.js.map +1 -0
  96. package/node_modules/html2canvas/dist/lib/css/ITypeDescriptor.js +3 -0
  97. package/node_modules/html2canvas/dist/lib/css/ITypeDescriptor.js.map +1 -0
  98. package/node_modules/html2canvas/dist/lib/css/index.js +216 -0
  99. package/node_modules/html2canvas/dist/lib/css/index.js.map +1 -0
  100. package/node_modules/html2canvas/dist/lib/css/layout/__mocks__/bounds.js +9 -0
  101. package/node_modules/html2canvas/dist/lib/css/layout/__mocks__/bounds.js.map +1 -0
  102. package/node_modules/html2canvas/dist/lib/css/layout/bounds.js +42 -0
  103. package/node_modules/html2canvas/dist/lib/css/layout/bounds.js.map +1 -0
  104. package/node_modules/html2canvas/dist/lib/css/layout/text.js +137 -0
  105. package/node_modules/html2canvas/dist/lib/css/layout/text.js.map +1 -0
  106. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/background-tests.js +48 -0
  107. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/background-tests.js.map +1 -0
  108. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/font-family.js +25 -0
  109. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/font-family.js.map +1 -0
  110. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/paint-order.js +88 -0
  111. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/paint-order.js.map +1 -0
  112. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/text-shadow.js +94 -0
  113. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/text-shadow.js.map +1 -0
  114. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/transform-tests.js +18 -0
  115. package/node_modules/html2canvas/dist/lib/css/property-descriptors/__tests__/transform-tests.js.map +1 -0
  116. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-clip.js +24 -0
  117. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-clip.js.map +1 -0
  118. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-color.js +11 -0
  119. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-color.js.map +1 -0
  120. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-image.js +24 -0
  121. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-image.js.map +1 -0
  122. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-origin.js +24 -0
  123. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-origin.js.map +1 -0
  124. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-position.js +17 -0
  125. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-position.js.map +1 -0
  126. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-repeat.js +36 -0
  127. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-repeat.js.map +1 -0
  128. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-size.js +24 -0
  129. package/node_modules/html2canvas/dist/lib/css/property-descriptors/background-size.js.map +1 -0
  130. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-color.js +15 -0
  131. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-color.js.map +1 -0
  132. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-radius.js +18 -0
  133. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-radius.js.map +1 -0
  134. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-style.js +27 -0
  135. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-style.js.map +1 -0
  136. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-width.js +21 -0
  137. package/node_modules/html2canvas/dist/lib/css/property-descriptors/border-width.js.map +1 -0
  138. package/node_modules/html2canvas/dist/lib/css/property-descriptors/box-shadow.js +55 -0
  139. package/node_modules/html2canvas/dist/lib/css/property-descriptors/box-shadow.js.map +1 -0
  140. package/node_modules/html2canvas/dist/lib/css/property-descriptors/color.js +11 -0
  141. package/node_modules/html2canvas/dist/lib/css/property-descriptors/color.js.map +1 -0
  142. package/node_modules/html2canvas/dist/lib/css/property-descriptors/content.js +20 -0
  143. package/node_modules/html2canvas/dist/lib/css/property-descriptors/content.js.map +1 -0
  144. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-increment.js +31 -0
  145. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-increment.js.map +1 -0
  146. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-reset.js +27 -0
  147. package/node_modules/html2canvas/dist/lib/css/property-descriptors/counter-reset.js.map +1 -0
  148. package/node_modules/html2canvas/dist/lib/css/property-descriptors/direction.js +19 -0
  149. package/node_modules/html2canvas/dist/lib/css/property-descriptors/direction.js.map +1 -0
  150. package/node_modules/html2canvas/dist/lib/css/property-descriptors/display.js +82 -0
  151. package/node_modules/html2canvas/dist/lib/css/property-descriptors/display.js.map +1 -0
  152. package/node_modules/html2canvas/dist/lib/css/property-descriptors/duration.js +15 -0
  153. package/node_modules/html2canvas/dist/lib/css/property-descriptors/duration.js.map +1 -0
  154. package/node_modules/html2canvas/dist/lib/css/property-descriptors/float.js +23 -0
  155. package/node_modules/html2canvas/dist/lib/css/property-descriptors/float.js.map +1 -0
  156. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-family.js +33 -0
  157. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-family.js.map +1 -0
  158. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-size.js +11 -0
  159. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-size.js.map +1 -0
  160. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-style.js +21 -0
  161. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-style.js.map +1 -0
  162. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-variant.js +14 -0
  163. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-variant.js.map +1 -0
  164. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-weight.js +26 -0
  165. package/node_modules/html2canvas/dist/lib/css/property-descriptors/font-weight.js.map +1 -0
  166. package/node_modules/html2canvas/dist/lib/css/property-descriptors/letter-spacing.js +22 -0
  167. package/node_modules/html2canvas/dist/lib/css/property-descriptors/letter-spacing.js.map +1 -0
  168. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-break.js +24 -0
  169. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-break.js.map +1 -0
  170. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-height.js +25 -0
  171. package/node_modules/html2canvas/dist/lib/css/property-descriptors/line-height.js.map +1 -0
  172. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-image.js +17 -0
  173. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-image.js.map +1 -0
  174. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-position.js +19 -0
  175. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-position.js.map +1 -0
  176. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-type.js +123 -0
  177. package/node_modules/html2canvas/dist/lib/css/property-descriptors/list-style-type.js.map +1 -0
  178. package/node_modules/html2canvas/dist/lib/css/property-descriptors/margin.js +14 -0
  179. package/node_modules/html2canvas/dist/lib/css/property-descriptors/margin.js.map +1 -0
  180. package/node_modules/html2canvas/dist/lib/css/property-descriptors/opacity.js +17 -0
  181. package/node_modules/html2canvas/dist/lib/css/property-descriptors/opacity.js.map +1 -0
  182. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow-wrap.js +19 -0
  183. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow-wrap.js.map +1 -0
  184. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow.js +28 -0
  185. package/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow.js.map +1 -0
  186. package/node_modules/html2canvas/dist/lib/css/property-descriptors/padding.js +15 -0
  187. package/node_modules/html2canvas/dist/lib/css/property-descriptors/padding.js.map +1 -0
  188. package/node_modules/html2canvas/dist/lib/css/property-descriptors/paint-order.js +34 -0
  189. package/node_modules/html2canvas/dist/lib/css/property-descriptors/paint-order.js.map +1 -0
  190. package/node_modules/html2canvas/dist/lib/css/property-descriptors/position.js +23 -0
  191. package/node_modules/html2canvas/dist/lib/css/property-descriptors/position.js.map +1 -0
  192. package/node_modules/html2canvas/dist/lib/css/property-descriptors/quotes.js +42 -0
  193. package/node_modules/html2canvas/dist/lib/css/property-descriptors/quotes.js.map +1 -0
  194. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-align.js +22 -0
  195. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-align.js.map +1 -0
  196. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-color.js +11 -0
  197. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-color.js.map +1 -0
  198. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-line.js +29 -0
  199. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-decoration-line.js.map +1 -0
  200. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-shadow.js +47 -0
  201. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-shadow.js.map +1 -0
  202. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-transform.js +21 -0
  203. package/node_modules/html2canvas/dist/lib/css/property-descriptors/text-transform.js.map +1 -0
  204. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform-origin.js +25 -0
  205. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform-origin.js.map +1 -0
  206. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform.js +37 -0
  207. package/node_modules/html2canvas/dist/lib/css/property-descriptors/transform.js.map +1 -0
  208. package/node_modules/html2canvas/dist/lib/css/property-descriptors/visibility.js +21 -0
  209. package/node_modules/html2canvas/dist/lib/css/property-descriptors/visibility.js.map +1 -0
  210. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-color.js +11 -0
  211. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-color.js.map +1 -0
  212. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-width.js +17 -0
  213. package/node_modules/html2canvas/dist/lib/css/property-descriptors/webkit-text-stroke-width.js.map +1 -0
  214. package/node_modules/html2canvas/dist/lib/css/property-descriptors/word-break.js +27 -0
  215. package/node_modules/html2canvas/dist/lib/css/property-descriptors/word-break.js.map +1 -0
  216. package/node_modules/html2canvas/dist/lib/css/property-descriptors/z-index.js +20 -0
  217. package/node_modules/html2canvas/dist/lib/css/property-descriptors/z-index.js.map +1 -0
  218. package/node_modules/html2canvas/dist/lib/css/syntax/__tests__/tokernizer-tests.js +34 -0
  219. package/node_modules/html2canvas/dist/lib/css/syntax/__tests__/tokernizer-tests.js.map +1 -0
  220. package/node_modules/html2canvas/dist/lib/css/syntax/parser.js +147 -0
  221. package/node_modules/html2canvas/dist/lib/css/syntax/parser.js.map +1 -0
  222. package/node_modules/html2canvas/dist/lib/css/syntax/tokenizer.js +630 -0
  223. package/node_modules/html2canvas/dist/lib/css/syntax/tokenizer.js.map +1 -0
  224. package/node_modules/html2canvas/dist/lib/css/types/__tests__/color-tests.js +66 -0
  225. package/node_modules/html2canvas/dist/lib/css/types/__tests__/color-tests.js.map +1 -0
  226. package/node_modules/html2canvas/dist/lib/css/types/__tests__/image-tests.js +233 -0
  227. package/node_modules/html2canvas/dist/lib/css/types/__tests__/image-tests.js.map +1 -0
  228. package/node_modules/html2canvas/dist/lib/css/types/angle.js +81 -0
  229. package/node_modules/html2canvas/dist/lib/css/types/angle.js.map +1 -0
  230. package/node_modules/html2canvas/dist/lib/css/types/color.js +288 -0
  231. package/node_modules/html2canvas/dist/lib/css/types/color.js.map +1 -0
  232. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-linear-gradient.js +33 -0
  233. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-linear-gradient.js.map +1 -0
  234. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-radial-gradient.js +84 -0
  235. package/node_modules/html2canvas/dist/lib/css/types/functions/-prefix-radial-gradient.js.map +1 -0
  236. package/node_modules/html2canvas/dist/lib/css/types/functions/-webkit-gradient.js +60 -0
  237. package/node_modules/html2canvas/dist/lib/css/types/functions/-webkit-gradient.js.map +1 -0
  238. package/node_modules/html2canvas/dist/lib/css/types/functions/__tests__/radial-gradient.js +68 -0
  239. package/node_modules/html2canvas/dist/lib/css/types/functions/__tests__/radial-gradient.js.map +1 -0
  240. package/node_modules/html2canvas/dist/lib/css/types/functions/counter.js +374 -0
  241. package/node_modules/html2canvas/dist/lib/css/types/functions/counter.js.map +1 -0
  242. package/node_modules/html2canvas/dist/lib/css/types/functions/gradient.js +165 -0
  243. package/node_modules/html2canvas/dist/lib/css/types/functions/gradient.js.map +1 -0
  244. package/node_modules/html2canvas/dist/lib/css/types/functions/linear-gradient.js +28 -0
  245. package/node_modules/html2canvas/dist/lib/css/types/functions/linear-gradient.js.map +1 -0
  246. package/node_modules/html2canvas/dist/lib/css/types/functions/radial-gradient.js +91 -0
  247. package/node_modules/html2canvas/dist/lib/css/types/functions/radial-gradient.js.map +1 -0
  248. package/node_modules/html2canvas/dist/lib/css/types/image.js +53 -0
  249. package/node_modules/html2canvas/dist/lib/css/types/image.js.map +1 -0
  250. package/node_modules/html2canvas/dist/lib/css/types/index.js +3 -0
  251. package/node_modules/html2canvas/dist/lib/css/types/index.js.map +1 -0
  252. package/node_modules/html2canvas/dist/lib/css/types/length-percentage.js +52 -0
  253. package/node_modules/html2canvas/dist/lib/css/types/length-percentage.js.map +1 -0
  254. package/node_modules/html2canvas/dist/lib/css/types/length.js +8 -0
  255. package/node_modules/html2canvas/dist/lib/css/types/length.js.map +1 -0
  256. package/node_modules/html2canvas/dist/lib/css/types/time.js +18 -0
  257. package/node_modules/html2canvas/dist/lib/css/types/time.js.map +1 -0
  258. package/node_modules/html2canvas/dist/lib/dom/__mocks__/document-cloner.js +24 -0
  259. package/node_modules/html2canvas/dist/lib/dom/__mocks__/document-cloner.js.map +1 -0
  260. package/node_modules/html2canvas/dist/lib/dom/document-cloner.js +530 -0
  261. package/node_modules/html2canvas/dist/lib/dom/document-cloner.js.map +1 -0
  262. package/node_modules/html2canvas/dist/lib/dom/element-container.js +35 -0
  263. package/node_modules/html2canvas/dist/lib/dom/element-container.js.map +1 -0
  264. package/node_modules/html2canvas/dist/lib/dom/elements/li-element-container.js +30 -0
  265. package/node_modules/html2canvas/dist/lib/dom/elements/li-element-container.js.map +1 -0
  266. package/node_modules/html2canvas/dist/lib/dom/elements/ol-element-container.js +31 -0
  267. package/node_modules/html2canvas/dist/lib/dom/elements/ol-element-container.js.map +1 -0
  268. package/node_modules/html2canvas/dist/lib/dom/elements/select-element-container.js +31 -0
  269. package/node_modules/html2canvas/dist/lib/dom/elements/select-element-container.js.map +1 -0
  270. package/node_modules/html2canvas/dist/lib/dom/elements/textarea-element-container.js +30 -0
  271. package/node_modules/html2canvas/dist/lib/dom/elements/textarea-element-container.js.map +1 -0
  272. package/node_modules/html2canvas/dist/lib/dom/node-parser.js +142 -0
  273. package/node_modules/html2canvas/dist/lib/dom/node-parser.js.map +1 -0
  274. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/canvas-element-container.js +32 -0
  275. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/canvas-element-container.js.map +1 -0
  276. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/iframe-element-container.js +55 -0
  277. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/iframe-element-container.js.map +1 -0
  278. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/image-element-container.js +33 -0
  279. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/image-element-container.js.map +1 -0
  280. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/index.js +3 -0
  281. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/index.js.map +1 -0
  282. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/input-element-container.js +102 -0
  283. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/input-element-container.js.map +1 -0
  284. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/pseudo-elements.js +1 -0
  285. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/pseudo-elements.js.map +1 -0
  286. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/svg-element-container.js +38 -0
  287. package/node_modules/html2canvas/dist/lib/dom/replaced-elements/svg-element-container.js.map +1 -0
  288. package/node_modules/html2canvas/dist/lib/dom/text-container.js +32 -0
  289. package/node_modules/html2canvas/dist/lib/dom/text-container.js.map +1 -0
  290. package/node_modules/html2canvas/dist/lib/index.js +181 -0
  291. package/node_modules/html2canvas/dist/lib/index.js.map +1 -0
  292. package/node_modules/html2canvas/dist/lib/invariant.js +10 -0
  293. package/node_modules/html2canvas/dist/lib/invariant.js.map +1 -0
  294. package/node_modules/html2canvas/dist/lib/render/background.js +187 -0
  295. package/node_modules/html2canvas/dist/lib/render/background.js.map +1 -0
  296. package/node_modules/html2canvas/dist/lib/render/bezier-curve.js +36 -0
  297. package/node_modules/html2canvas/dist/lib/render/bezier-curve.js.map +1 -0
  298. package/node_modules/html2canvas/dist/lib/render/border.js +105 -0
  299. package/node_modules/html2canvas/dist/lib/render/border.js.map +1 -0
  300. package/node_modules/html2canvas/dist/lib/render/bound-curves.js +190 -0
  301. package/node_modules/html2canvas/dist/lib/render/bound-curves.js.map +1 -0
  302. package/node_modules/html2canvas/dist/lib/render/box-sizing.js +21 -0
  303. package/node_modules/html2canvas/dist/lib/render/box-sizing.js.map +1 -0
  304. package/node_modules/html2canvas/dist/lib/render/canvas/canvas-renderer.js +1030 -0
  305. package/node_modules/html2canvas/dist/lib/render/canvas/canvas-renderer.js.map +1 -0
  306. package/node_modules/html2canvas/dist/lib/render/canvas/foreignobject-renderer.js +108 -0
  307. package/node_modules/html2canvas/dist/lib/render/canvas/foreignobject-renderer.js.map +1 -0
  308. package/node_modules/html2canvas/dist/lib/render/effects.js +41 -0
  309. package/node_modules/html2canvas/dist/lib/render/effects.js.map +1 -0
  310. package/node_modules/html2canvas/dist/lib/render/font-metrics.js +55 -0
  311. package/node_modules/html2canvas/dist/lib/render/font-metrics.js.map +1 -0
  312. package/node_modules/html2canvas/dist/lib/render/path.js +27 -0
  313. package/node_modules/html2canvas/dist/lib/render/path.js.map +1 -0
  314. package/node_modules/html2canvas/dist/lib/render/renderer.js +12 -0
  315. package/node_modules/html2canvas/dist/lib/render/renderer.js.map +1 -0
  316. package/node_modules/html2canvas/dist/lib/render/stacking-context.js +172 -0
  317. package/node_modules/html2canvas/dist/lib/render/stacking-context.js.map +1 -0
  318. package/node_modules/html2canvas/dist/lib/render/vector.js +18 -0
  319. package/node_modules/html2canvas/dist/lib/render/vector.js.map +1 -0
  320. package/node_modules/html2canvas/dist/types/__tests__/index.d.ts +1 -0
  321. package/node_modules/html2canvas/dist/types/core/__mocks__/cache-storage.d.ts +2 -0
  322. package/node_modules/html2canvas/dist/types/core/__mocks__/context.d.ts +9 -0
  323. package/node_modules/html2canvas/dist/types/core/__mocks__/features.d.ts +8 -0
  324. package/node_modules/html2canvas/dist/types/core/__mocks__/logger.d.ts +9 -0
  325. package/node_modules/html2canvas/dist/types/core/__tests__/cache-storage.d.ts +1 -0
  326. package/node_modules/html2canvas/dist/types/core/__tests__/logger.d.ts +1 -0
  327. package/node_modules/html2canvas/dist/types/core/bitwise.d.ts +1 -0
  328. package/node_modules/html2canvas/dist/types/core/cache-storage.d.ts +26 -0
  329. package/node_modules/html2canvas/dist/types/core/context.d.ts +15 -0
  330. package/node_modules/html2canvas/dist/types/core/debugger.d.ts +8 -0
  331. package/node_modules/html2canvas/dist/types/core/features.d.ts +12 -0
  332. package/node_modules/html2canvas/dist/types/core/logger.d.ts +18 -0
  333. package/node_modules/html2canvas/dist/types/core/util.d.ts +1 -0
  334. package/node_modules/html2canvas/dist/types/css/IPropertyDescriptor.d.ts +36 -0
  335. package/node_modules/html2canvas/dist/types/css/ITypeDescriptor.d.ts +6 -0
  336. package/node_modules/html2canvas/dist/types/css/index.d.ts +132 -0
  337. package/node_modules/html2canvas/dist/types/css/layout/__mocks__/bounds.d.ts +2 -0
  338. package/node_modules/html2canvas/dist/types/css/layout/bounds.d.ts +14 -0
  339. package/node_modules/html2canvas/dist/types/css/layout/text.d.ts +10 -0
  340. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/background-tests.d.ts +1 -0
  341. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/font-family.d.ts +1 -0
  342. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/paint-order.d.ts +1 -0
  343. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/text-shadow.d.ts +1 -0
  344. package/node_modules/html2canvas/dist/types/css/property-descriptors/__tests__/transform-tests.d.ts +1 -0
  345. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-clip.d.ts +8 -0
  346. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-color.d.ts +2 -0
  347. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-image.d.ts +3 -0
  348. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-origin.d.ts +8 -0
  349. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-position.d.ts +5 -0
  350. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-repeat.d.ts +9 -0
  351. package/node_modules/html2canvas/dist/types/css/property-descriptors/background-size.d.ts +11 -0
  352. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-color.d.ts +5 -0
  353. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-radius.d.ts +7 -0
  354. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-style.d.ts +12 -0
  355. package/node_modules/html2canvas/dist/types/css/property-descriptors/border-width.d.ts +5 -0
  356. package/node_modules/html2canvas/dist/types/css/property-descriptors/box-shadow.d.ts +14 -0
  357. package/node_modules/html2canvas/dist/types/css/property-descriptors/color.d.ts +2 -0
  358. package/node_modules/html2canvas/dist/types/css/property-descriptors/content.d.ts +4 -0
  359. package/node_modules/html2canvas/dist/types/css/property-descriptors/counter-increment.d.ts +7 -0
  360. package/node_modules/html2canvas/dist/types/css/property-descriptors/counter-reset.d.ts +7 -0
  361. package/node_modules/html2canvas/dist/types/css/property-descriptors/direction.d.ts +6 -0
  362. package/node_modules/html2canvas/dist/types/css/property-descriptors/display.d.ts +35 -0
  363. package/node_modules/html2canvas/dist/types/css/property-descriptors/duration.d.ts +2 -0
  364. package/node_modules/html2canvas/dist/types/css/property-descriptors/float.d.ts +9 -0
  365. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-family.d.ts +4 -0
  366. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-size.d.ts +2 -0
  367. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-style.d.ts +7 -0
  368. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-variant.d.ts +2 -0
  369. package/node_modules/html2canvas/dist/types/css/property-descriptors/font-weight.d.ts +2 -0
  370. package/node_modules/html2canvas/dist/types/css/property-descriptors/letter-spacing.d.ts +2 -0
  371. package/node_modules/html2canvas/dist/types/css/property-descriptors/line-break.d.ts +6 -0
  372. package/node_modules/html2canvas/dist/types/css/property-descriptors/line-height.d.ts +4 -0
  373. package/node_modules/html2canvas/dist/types/css/property-descriptors/list-style-image.d.ts +3 -0
  374. package/node_modules/html2canvas/dist/types/css/property-descriptors/list-style-position.d.ts +6 -0
  375. package/node_modules/html2canvas/dist/types/css/property-descriptors/list-style-type.d.ts +58 -0
  376. package/node_modules/html2canvas/dist/types/css/property-descriptors/margin.d.ts +5 -0
  377. package/node_modules/html2canvas/dist/types/css/property-descriptors/opacity.d.ts +2 -0
  378. package/node_modules/html2canvas/dist/types/css/property-descriptors/overflow-wrap.d.ts +6 -0
  379. package/node_modules/html2canvas/dist/types/css/property-descriptors/overflow.d.ts +9 -0
  380. package/node_modules/html2canvas/dist/types/css/property-descriptors/padding.d.ts +5 -0
  381. package/node_modules/html2canvas/dist/types/css/property-descriptors/paint-order.d.ts +8 -0
  382. package/node_modules/html2canvas/dist/types/css/property-descriptors/position.d.ts +9 -0
  383. package/node_modules/html2canvas/dist/types/css/property-descriptors/quotes.d.ts +8 -0
  384. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-align.d.ts +7 -0
  385. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-decoration-color.d.ts +2 -0
  386. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-decoration-line.d.ts +10 -0
  387. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-shadow.d.ts +12 -0
  388. package/node_modules/html2canvas/dist/types/css/property-descriptors/text-transform.d.ts +8 -0
  389. package/node_modules/html2canvas/dist/types/css/property-descriptors/transform-origin.d.ts +4 -0
  390. package/node_modules/html2canvas/dist/types/css/property-descriptors/transform.d.ts +4 -0
  391. package/node_modules/html2canvas/dist/types/css/property-descriptors/visibility.d.ts +7 -0
  392. package/node_modules/html2canvas/dist/types/css/property-descriptors/webkit-text-stroke-color.d.ts +2 -0
  393. package/node_modules/html2canvas/dist/types/css/property-descriptors/webkit-text-stroke-width.d.ts +2 -0
  394. package/node_modules/html2canvas/dist/types/css/property-descriptors/word-break.d.ts +7 -0
  395. package/node_modules/html2canvas/dist/types/css/property-descriptors/z-index.d.ts +7 -0
  396. package/node_modules/html2canvas/dist/types/css/syntax/__tests__/tokernizer-tests.d.ts +1 -0
  397. package/node_modules/html2canvas/dist/types/css/syntax/parser.d.ts +34 -0
  398. package/node_modules/html2canvas/dist/types/css/syntax/tokenizer.d.ts +94 -0
  399. package/node_modules/html2canvas/dist/types/css/types/__tests__/color-tests.d.ts +1 -0
  400. package/node_modules/html2canvas/dist/types/css/types/__tests__/image-tests.d.ts +1 -0
  401. package/node_modules/html2canvas/dist/types/css/types/angle.d.ts +7 -0
  402. package/node_modules/html2canvas/dist/types/css/types/color.d.ts +11 -0
  403. package/node_modules/html2canvas/dist/types/css/types/functions/-prefix-linear-gradient.d.ts +4 -0
  404. package/node_modules/html2canvas/dist/types/css/types/functions/-prefix-radial-gradient.d.ts +4 -0
  405. package/node_modules/html2canvas/dist/types/css/types/functions/-webkit-gradient.d.ts +4 -0
  406. package/node_modules/html2canvas/dist/types/css/types/functions/__tests__/radial-gradient.d.ts +1 -0
  407. package/node_modules/html2canvas/dist/types/css/types/functions/counter.d.ts +10 -0
  408. package/node_modules/html2canvas/dist/types/css/types/functions/gradient.d.ts +7 -0
  409. package/node_modules/html2canvas/dist/types/css/types/functions/linear-gradient.d.ts +4 -0
  410. package/node_modules/html2canvas/dist/types/css/types/functions/radial-gradient.d.ts +12 -0
  411. package/node_modules/html2canvas/dist/types/css/types/image.d.ts +54 -0
  412. package/node_modules/html2canvas/dist/types/css/types/index.d.ts +1 -0
  413. package/node_modules/html2canvas/dist/types/css/types/length-percentage.d.ts +11 -0
  414. package/node_modules/html2canvas/dist/types/css/types/length.d.ts +4 -0
  415. package/node_modules/html2canvas/dist/types/css/types/time.d.ts +2 -0
  416. package/node_modules/html2canvas/dist/types/dom/__mocks__/document-cloner.d.ts +6 -0
  417. package/node_modules/html2canvas/dist/types/dom/document-cloner.d.ts +45 -0
  418. package/node_modules/html2canvas/dist/types/dom/element-container.d.ts +19 -0
  419. package/node_modules/html2canvas/dist/types/dom/elements/li-element-container.d.ts +6 -0
  420. package/node_modules/html2canvas/dist/types/dom/elements/ol-element-container.d.ts +7 -0
  421. package/node_modules/html2canvas/dist/types/dom/elements/select-element-container.d.ts +6 -0
  422. package/node_modules/html2canvas/dist/types/dom/elements/textarea-element-container.d.ts +6 -0
  423. package/node_modules/html2canvas/dist/types/dom/node-parser.d.ts +23 -0
  424. package/node_modules/html2canvas/dist/types/dom/replaced-elements/canvas-element-container.d.ts +8 -0
  425. package/node_modules/html2canvas/dist/types/dom/replaced-elements/iframe-element-container.d.ts +11 -0
  426. package/node_modules/html2canvas/dist/types/dom/replaced-elements/image-element-container.d.ts +8 -0
  427. package/node_modules/html2canvas/dist/types/dom/replaced-elements/index.d.ts +4 -0
  428. package/node_modules/html2canvas/dist/types/dom/replaced-elements/input-element-container.d.ts +12 -0
  429. package/node_modules/html2canvas/dist/types/dom/replaced-elements/pseudo-elements.d.ts +0 -0
  430. package/node_modules/html2canvas/dist/types/dom/replaced-elements/svg-element-container.d.ts +8 -0
  431. package/node_modules/html2canvas/dist/types/dom/text-container.d.ts +8 -0
  432. package/node_modules/html2canvas/dist/types/index.d.ts +10 -0
  433. package/node_modules/html2canvas/dist/types/invariant.d.ts +1 -0
  434. package/node_modules/html2canvas/dist/types/render/background.d.ts +16 -0
  435. package/node_modules/html2canvas/dist/types/render/bezier-curve.d.ts +14 -0
  436. package/node_modules/html2canvas/dist/types/render/border.d.ts +6 -0
  437. package/node_modules/html2canvas/dist/types/render/bound-curves.d.ts +32 -0
  438. package/node_modules/html2canvas/dist/types/render/box-sizing.d.ts +4 -0
  439. package/node_modules/html2canvas/dist/types/render/canvas/canvas-renderer.d.ts +53 -0
  440. package/node_modules/html2canvas/dist/types/render/canvas/foreignobject-renderer.d.ts +11 -0
  441. package/node_modules/html2canvas/dist/types/render/effects.d.ts +38 -0
  442. package/node_modules/html2canvas/dist/types/render/font-metrics.d.ts +11 -0
  443. package/node_modules/html2canvas/dist/types/render/path.d.ts +13 -0
  444. package/node_modules/html2canvas/dist/types/render/renderer.d.ts +7 -0
  445. package/node_modules/html2canvas/dist/types/render/stacking-context.d.ts +24 -0
  446. package/node_modules/html2canvas/dist/types/render/vector.d.ts +9 -0
  447. package/node_modules/html2canvas/package.json +124 -0
  448. package/node_modules/html2canvas/tsconfig.json +21 -0
  449. package/node_modules/text-segmentation/CHANGELOG.md +43 -0
  450. package/node_modules/text-segmentation/LICENSE +22 -0
  451. package/node_modules/text-segmentation/README.md +27 -0
  452. package/node_modules/text-segmentation/dist/lib/GraphemeBreak.js +218 -0
  453. package/node_modules/text-segmentation/dist/lib/GraphemeBreak.js.map +1 -0
  454. package/node_modules/text-segmentation/dist/lib/grapheme-break-trie.js +6 -0
  455. package/node_modules/text-segmentation/dist/lib/grapheme-break-trie.js.map +1 -0
  456. package/node_modules/text-segmentation/dist/lib/index.js +9 -0
  457. package/node_modules/text-segmentation/dist/lib/index.js.map +1 -0
  458. package/node_modules/text-segmentation/dist/text-segmentation.es5.js +384 -0
  459. package/node_modules/text-segmentation/dist/text-segmentation.es5.js.map +1 -0
  460. package/node_modules/text-segmentation/dist/text-segmentation.umd.js +397 -0
  461. package/node_modules/text-segmentation/dist/text-segmentation.umd.js.map +1 -0
  462. package/node_modules/text-segmentation/dist/types/GraphemeBreak.d.ts +21 -0
  463. package/node_modules/text-segmentation/dist/types/grapheme-break-trie.d.ts +2 -0
  464. package/node_modules/text-segmentation/dist/types/index.d.ts +1 -0
  465. package/node_modules/text-segmentation/package.json +55 -0
  466. package/node_modules/text-segmentation/rollup.config.ts +40 -0
  467. package/node_modules/utrie/CHANGELOG.md +32 -0
  468. package/node_modules/utrie/LICENSE +22 -0
  469. package/node_modules/utrie/dist/lib/Trie.js +143 -0
  470. package/node_modules/utrie/dist/lib/Trie.js.map +1 -0
  471. package/node_modules/utrie/dist/lib/TrieBuilder.js +888 -0
  472. package/node_modules/utrie/dist/lib/TrieBuilder.js.map +1 -0
  473. package/node_modules/utrie/dist/lib/Util.js +54 -0
  474. package/node_modules/utrie/dist/lib/Util.js.map +1 -0
  475. package/node_modules/utrie/dist/lib/index.js +10 -0
  476. package/node_modules/utrie/dist/lib/index.js.map +1 -0
  477. package/node_modules/utrie/dist/types/Trie.d.ts +76 -0
  478. package/node_modules/utrie/dist/types/TrieBuilder.d.ts +65 -0
  479. package/node_modules/utrie/dist/types/Util.d.ts +3 -0
  480. package/node_modules/utrie/dist/types/index.d.ts +2 -0
  481. package/node_modules/utrie/dist/utrie.es5.js +1101 -0
  482. package/node_modules/utrie/dist/utrie.es5.js.map +1 -0
  483. package/node_modules/utrie/dist/utrie.umd.js +1114 -0
  484. package/node_modules/utrie/dist/utrie.umd.js.map +1 -0
  485. package/node_modules/utrie/package.json +53 -0
  486. package/node_modules/utrie/rollup.config.ts +40 -0
  487. package/package.json +1 -1
  488. package/packages/cli/bin/groove.js +10 -1
  489. package/packages/cli/package.json +1 -1
  490. package/packages/cli/src/commands/connect.js +116 -205
  491. package/packages/cli/src/commands/disconnect.js +38 -62
  492. package/packages/cli/src/commands/remotes.js +75 -0
  493. package/packages/daemon/package.json +1 -1
  494. package/packages/daemon/src/process.js +56 -1
  495. package/packages/gui/dist/assets/index-BCQY8ojz.css +1 -0
  496. package/packages/gui/dist/assets/index-C5e7KVGN.js +8637 -0
  497. package/packages/gui/dist/index.html +2 -2
  498. package/packages/gui/package.json +2 -1
  499. package/packages/gui/src/components/preview/preview-workspace.jsx +6 -5
  500. package/packages/gui/src/components/preview/screenshot-overlay.jsx +41 -29
  501. package/packages/gui/src/stores/groove.js +6 -2
  502. package/packages/gui/src/views/agents.jsx +15 -1
  503. package/packages/gui/src/views/settings.jsx +104 -26
  504. package/node_modules/@groove-dev/gui/dist/assets/index-BbDDgazC.js +0 -8616
  505. package/node_modules/@groove-dev/gui/dist/assets/index-fhMxiPGp.css +0 -1
  506. package/packages/gui/dist/assets/index-BbDDgazC.js +0 -8616
  507. package/packages/gui/dist/assets/index-fhMxiPGp.css +0 -1
@@ -0,0 +1,73 @@
1
+ html2canvas
2
+ ===========
3
+
4
+ [Homepage](https://html2canvas.hertzen.com) | [Downloads](https://github.com/niklasvh/html2canvas/releases) | [Questions](https://github.com/niklasvh/html2canvas/discussions/categories/q-a)
5
+
6
+ [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/niklasvh/html2canvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
7
+ ![CI](https://github.com/niklasvh/html2canvas/workflows/CI/badge.svg?branch=master)
8
+ [![NPM Downloads](https://img.shields.io/npm/dm/html2canvas.svg)](https://www.npmjs.org/package/html2canvas)
9
+ [![NPM Version](https://img.shields.io/npm/v/html2canvas.svg)](https://www.npmjs.org/package/html2canvas)
10
+
11
+ #### JavaScript HTML renderer ####
12
+
13
+ The script allows you to take "screenshots" of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.
14
+
15
+
16
+ ### How does it work? ###
17
+ The script renders the current page as a canvas image, by reading the DOM and the different styles applied to the elements.
18
+
19
+ It does **not require any rendering from the server**, as the whole image is created on the **client's browser**. However, as it is heavily dependent on the browser, this library is *not suitable* to be used in nodejs.
20
+ It doesn't magically circumvent any browser content policy restrictions either, so rendering cross-origin content will require a [proxy](https://github.com/niklasvh/html2canvas/wiki/Proxies) to get the content to the [same origin](http://en.wikipedia.org/wiki/Same_origin_policy).
21
+
22
+ The script is still in a **very experimental state**, so I don't recommend using it in a production environment nor start building applications with it yet, as there will be still major changes made.
23
+
24
+ ### Browser compatibility ###
25
+
26
+ The library should work fine on the following browsers (with `Promise` polyfill):
27
+
28
+ * Firefox 3.5+
29
+ * Google Chrome
30
+ * Opera 12+
31
+ * IE9+
32
+ * Safari 6+
33
+
34
+ As each CSS property needs to be manually built to be supported, there are a number of properties that are not yet supported.
35
+
36
+ ### Usage ###
37
+
38
+ The html2canvas library utilizes `Promise`s and expects them to be available in the global context. If you wish to
39
+ support [older browsers](http://caniuse.com/#search=promise) that do not natively support `Promise`s, please include a polyfill such as
40
+ [es6-promise](https://github.com/jakearchibald/es6-promise) before including `html2canvas`.
41
+
42
+ To render an `element` with html2canvas, simply call:
43
+ ` html2canvas(element[, options]);`
44
+
45
+ The function returns a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) containing the `<canvas>` element. Simply add a promise fulfillment handler to the promise using `then`:
46
+
47
+ html2canvas(document.body).then(function(canvas) {
48
+ document.body.appendChild(canvas);
49
+ });
50
+
51
+ ### Building ###
52
+
53
+ You can download ready builds [here](https://github.com/niklasvh/html2canvas/releases).
54
+
55
+ Clone git repository:
56
+
57
+ $ git clone git://github.com/niklasvh/html2canvas.git
58
+
59
+ Install dependencies:
60
+
61
+ $ npm install
62
+
63
+ Build browser bundle
64
+
65
+ $ npm run build
66
+
67
+ ### Examples ###
68
+
69
+ For more information and examples, please visit the [homepage](https://html2canvas.hertzen.com) or try the [test console](https://html2canvas.hertzen.com/tests/).
70
+
71
+ ### Contributing ###
72
+
73
+ If you wish to contribute to the project, please send the pull requests to the develop branch. Before submitting any changes, try and test that the changes work with all the support browsers. If some CSS property isn't supported or is incomplete, please create appropriate tests for it as well before submitting any code changes.