groove-dev 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/docs/FILE-EDITOR-PLAN.md +253 -0
  2. package/node_modules/@codemirror/autocomplete/.github/workflows/dispatch.yml +16 -0
  3. package/node_modules/@codemirror/autocomplete/CHANGELOG.md +639 -0
  4. package/node_modules/@codemirror/autocomplete/LICENSE +21 -0
  5. package/node_modules/@codemirror/autocomplete/README.md +43 -0
  6. package/node_modules/@codemirror/autocomplete/dist/index.cjs +2151 -0
  7. package/node_modules/@codemirror/autocomplete/dist/index.d.cts +648 -0
  8. package/node_modules/@codemirror/autocomplete/dist/index.d.ts +648 -0
  9. package/node_modules/@codemirror/autocomplete/dist/index.js +2120 -0
  10. package/node_modules/@codemirror/autocomplete/package.json +41 -0
  11. package/node_modules/@codemirror/commands/.github/workflows/dispatch.yml +16 -0
  12. package/node_modules/@codemirror/commands/CHANGELOG.md +386 -0
  13. package/node_modules/@codemirror/commands/LICENSE +21 -0
  14. package/node_modules/@codemirror/commands/README.md +35 -0
  15. package/node_modules/@codemirror/commands/dist/index.cjs +1909 -0
  16. package/node_modules/@codemirror/commands/dist/index.d.cts +650 -0
  17. package/node_modules/@codemirror/commands/dist/index.d.ts +650 -0
  18. package/node_modules/@codemirror/commands/dist/index.js +1795 -0
  19. package/node_modules/@codemirror/commands/package.json +42 -0
  20. package/node_modules/@codemirror/lang-css/.github/workflows/dispatch.yml +16 -0
  21. package/node_modules/@codemirror/lang-css/CHANGELOG.md +106 -0
  22. package/node_modules/@codemirror/lang-css/LICENSE +21 -0
  23. package/node_modules/@codemirror/lang-css/README.md +50 -0
  24. package/node_modules/@codemirror/lang-css/dist/index.cjs +269 -0
  25. package/node_modules/@codemirror/lang-css/dist/index.d.cts +28 -0
  26. package/node_modules/@codemirror/lang-css/dist/index.d.ts +28 -0
  27. package/node_modules/@codemirror/lang-css/dist/index.js +264 -0
  28. package/node_modules/@codemirror/lang-css/package.json +42 -0
  29. package/node_modules/@codemirror/lang-html/.github/workflows/dispatch.yml +16 -0
  30. package/node_modules/@codemirror/lang-html/CHANGELOG.md +210 -0
  31. package/node_modules/@codemirror/lang-html/LICENSE +21 -0
  32. package/node_modules/@codemirror/lang-html/README.md +147 -0
  33. package/node_modules/@codemirror/lang-html/dist/index.cjs +667 -0
  34. package/node_modules/@codemirror/lang-html/dist/index.d.cts +115 -0
  35. package/node_modules/@codemirror/lang-html/dist/index.d.ts +115 -0
  36. package/node_modules/@codemirror/lang-html/dist/index.js +661 -0
  37. package/node_modules/@codemirror/lang-html/package.json +46 -0
  38. package/node_modules/@codemirror/lang-javascript/.github/workflows/dispatch.yml +16 -0
  39. package/node_modules/@codemirror/lang-javascript/CHANGELOG.md +206 -0
  40. package/node_modules/@codemirror/lang-javascript/LICENSE +21 -0
  41. package/node_modules/@codemirror/lang-javascript/README.md +125 -0
  42. package/node_modules/@codemirror/lang-javascript/dist/index.cjs +526 -0
  43. package/node_modules/@codemirror/lang-javascript/dist/index.d.cts +93 -0
  44. package/node_modules/@codemirror/lang-javascript/dist/index.d.ts +93 -0
  45. package/node_modules/@codemirror/lang-javascript/dist/index.js +513 -0
  46. package/node_modules/@codemirror/lang-javascript/package.json +45 -0
  47. package/node_modules/@codemirror/lang-json/.github/workflows/dispatch.yml +16 -0
  48. package/node_modules/@codemirror/lang-json/CHANGELOG.md +59 -0
  49. package/node_modules/@codemirror/lang-json/LICENSE +21 -0
  50. package/node_modules/@codemirror/lang-json/README.md +56 -0
  51. package/node_modules/@codemirror/lang-json/dist/index.cjs +68 -0
  52. package/node_modules/@codemirror/lang-json/dist/index.d.cts +22 -0
  53. package/node_modules/@codemirror/lang-json/dist/index.d.ts +22 -0
  54. package/node_modules/@codemirror/lang-json/dist/index.js +64 -0
  55. package/node_modules/@codemirror/lang-json/package.json +39 -0
  56. package/node_modules/@codemirror/lang-markdown/.github/workflows/dispatch.yml +16 -0
  57. package/node_modules/@codemirror/lang-markdown/CHANGELOG.md +246 -0
  58. package/node_modules/@codemirror/lang-markdown/LICENSE +21 -0
  59. package/node_modules/@codemirror/lang-markdown/README.md +162 -0
  60. package/node_modules/@codemirror/lang-markdown/dist/index.cjs +501 -0
  61. package/node_modules/@codemirror/lang-markdown/dist/index.d.cts +124 -0
  62. package/node_modules/@codemirror/lang-markdown/dist/index.d.ts +124 -0
  63. package/node_modules/@codemirror/lang-markdown/dist/index.js +492 -0
  64. package/node_modules/@codemirror/lang-markdown/package.json +44 -0
  65. package/node_modules/@codemirror/lang-python/.github/workflows/dispatch.yml +16 -0
  66. package/node_modules/@codemirror/lang-python/CHANGELOG.md +174 -0
  67. package/node_modules/@codemirror/lang-python/LICENSE +21 -0
  68. package/node_modules/@codemirror/lang-python/README.md +61 -0
  69. package/node_modules/@codemirror/lang-python/dist/index.cjs +313 -0
  70. package/node_modules/@codemirror/lang-python/dist/index.d.cts +26 -0
  71. package/node_modules/@codemirror/lang-python/dist/index.d.ts +26 -0
  72. package/node_modules/@codemirror/lang-python/dist/index.js +308 -0
  73. package/node_modules/@codemirror/lang-python/package.json +42 -0
  74. package/node_modules/@codemirror/language/.github/workflows/dispatch.yml +16 -0
  75. package/node_modules/@codemirror/language/CHANGELOG.md +412 -0
  76. package/node_modules/@codemirror/language/LICENSE +21 -0
  77. package/node_modules/@codemirror/language/README.md +66 -0
  78. package/node_modules/@codemirror/language/dist/index.cjs +2742 -0
  79. package/node_modules/@codemirror/language/dist/index.d.cts +1220 -0
  80. package/node_modules/@codemirror/language/dist/index.d.ts +1220 -0
  81. package/node_modules/@codemirror/language/dist/index.js +2687 -0
  82. package/node_modules/@codemirror/language/package.json +44 -0
  83. package/node_modules/@codemirror/lint/.github/workflows/dispatch.yml +16 -0
  84. package/node_modules/@codemirror/lint/CHANGELOG.md +318 -0
  85. package/node_modules/@codemirror/lint/LICENSE +21 -0
  86. package/node_modules/@codemirror/lint/README.md +18 -0
  87. package/node_modules/@codemirror/lint/dist/index.cjs +958 -0
  88. package/node_modules/@codemirror/lint/dist/index.d.cts +195 -0
  89. package/node_modules/@codemirror/lint/dist/index.d.ts +195 -0
  90. package/node_modules/@codemirror/lint/dist/index.js +945 -0
  91. package/node_modules/@codemirror/lint/package.json +40 -0
  92. package/node_modules/@codemirror/search/.github/workflows/dispatch.yml +16 -0
  93. package/node_modules/@codemirror/search/CHANGELOG.md +324 -0
  94. package/node_modules/@codemirror/search/LICENSE +21 -0
  95. package/node_modules/@codemirror/search/README.md +18 -0
  96. package/node_modules/@codemirror/search/dist/index.cjs +1237 -0
  97. package/node_modules/@codemirror/search/dist/index.d.cts +385 -0
  98. package/node_modules/@codemirror/search/dist/index.d.ts +385 -0
  99. package/node_modules/@codemirror/search/dist/index.js +1217 -0
  100. package/node_modules/@codemirror/search/package.json +40 -0
  101. package/node_modules/@codemirror/state/.github/workflows/dispatch.yml +16 -0
  102. package/node_modules/@codemirror/state/CHANGELOG.md +308 -0
  103. package/node_modules/@codemirror/state/LICENSE +21 -0
  104. package/node_modules/@codemirror/state/README.md +18 -0
  105. package/node_modules/@codemirror/state/dist/index.cjs +3922 -0
  106. package/node_modules/@codemirror/state/dist/index.d.cts +1713 -0
  107. package/node_modules/@codemirror/state/dist/index.d.ts +1713 -0
  108. package/node_modules/@codemirror/state/dist/index.js +3892 -0
  109. package/node_modules/@codemirror/state/package.json +38 -0
  110. package/node_modules/@codemirror/theme-one-dark/.github/workflows/dispatch.yml +16 -0
  111. package/node_modules/@codemirror/theme-one-dark/CHANGELOG.md +97 -0
  112. package/node_modules/@codemirror/theme-one-dark/LICENSE +21 -0
  113. package/node_modules/@codemirror/theme-one-dark/README.md +46 -0
  114. package/node_modules/@codemirror/theme-one-dark/dist/index.cjs +139 -0
  115. package/node_modules/@codemirror/theme-one-dark/dist/index.d.cts +39 -0
  116. package/node_modules/@codemirror/theme-one-dark/dist/index.d.ts +39 -0
  117. package/node_modules/@codemirror/theme-one-dark/dist/index.js +134 -0
  118. package/node_modules/@codemirror/theme-one-dark/package.json +41 -0
  119. package/node_modules/@codemirror/view/.github/workflows/dispatch.yml +16 -0
  120. package/node_modules/@codemirror/view/CHANGELOG.md +2284 -0
  121. package/node_modules/@codemirror/view/LICENSE +21 -0
  122. package/node_modules/@codemirror/view/README.md +37 -0
  123. package/node_modules/@codemirror/view/dist/index.cjs +11796 -0
  124. package/node_modules/@codemirror/view/dist/index.d.cts +2389 -0
  125. package/node_modules/@codemirror/view/dist/index.d.ts +2389 -0
  126. package/node_modules/@codemirror/view/dist/index.js +11745 -0
  127. package/node_modules/@codemirror/view/package.json +41 -0
  128. package/node_modules/@groove-dev/daemon/src/api.js +157 -2
  129. package/node_modules/@groove-dev/daemon/src/filewatcher.js +59 -0
  130. package/node_modules/@groove-dev/daemon/src/index.js +28 -1
  131. package/node_modules/@groove-dev/daemon/src/skills.js +20 -0
  132. package/node_modules/@groove-dev/gui/dist/assets/index-Dxg9hdf3.js +103 -0
  133. package/node_modules/@groove-dev/gui/dist/index.html +1 -1
  134. package/node_modules/@groove-dev/gui/package.json +15 -2
  135. package/node_modules/@groove-dev/gui/src/App.jsx +3 -0
  136. package/node_modules/@groove-dev/gui/src/components/CodeEditor.jsx +143 -0
  137. package/node_modules/@groove-dev/gui/src/components/EditorTabs.jsx +83 -0
  138. package/node_modules/@groove-dev/gui/src/components/FileTree.jsx +193 -0
  139. package/node_modules/@groove-dev/gui/src/stores/groove.js +158 -1
  140. package/node_modules/@groove-dev/gui/src/views/FileEditor.jsx +142 -0
  141. package/node_modules/@groove-dev/gui/src/views/SkillsMarketplace.jsx +112 -1
  142. package/node_modules/@lezer/common/LICENSE +21 -0
  143. package/node_modules/@lezer/common/README.md +14 -0
  144. package/node_modules/@lezer/common/dist/index.cjs +2209 -0
  145. package/node_modules/@lezer/common/dist/index.d.cts +1174 -0
  146. package/node_modules/@lezer/common/dist/index.d.ts +1174 -0
  147. package/node_modules/@lezer/common/dist/index.js +2196 -0
  148. package/node_modules/@lezer/common/package.json +32 -0
  149. package/node_modules/@lezer/css/CHANGELOG.md +307 -0
  150. package/node_modules/@lezer/css/LICENSE +21 -0
  151. package/node_modules/@lezer/css/README.md +6 -0
  152. package/node_modules/@lezer/css/dist/index.cjs +151 -0
  153. package/node_modules/@lezer/css/dist/index.d.cts +3 -0
  154. package/node_modules/@lezer/css/dist/index.d.ts +3 -0
  155. package/node_modules/@lezer/css/dist/index.js +147 -0
  156. package/node_modules/@lezer/css/package.json +36 -0
  157. package/node_modules/@lezer/css/rollup.config.js +16 -0
  158. package/node_modules/@lezer/css/src/css.grammar +290 -0
  159. package/node_modules/@lezer/css/src/highlight.js +36 -0
  160. package/node_modules/@lezer/css/src/parser.js +31 -0
  161. package/node_modules/@lezer/css/src/parser.terms.js +63 -0
  162. package/node_modules/@lezer/css/src/tokens.js +75 -0
  163. package/node_modules/@lezer/css/test/declarations.txt +241 -0
  164. package/node_modules/@lezer/css/test/selector.txt +178 -0
  165. package/node_modules/@lezer/css/test/statements.txt +227 -0
  166. package/node_modules/@lezer/css/test/test-css.js +16 -0
  167. package/node_modules/@lezer/highlight/LICENSE +21 -0
  168. package/node_modules/@lezer/highlight/README.md +14 -0
  169. package/node_modules/@lezer/highlight/dist/index.cjs +936 -0
  170. package/node_modules/@lezer/highlight/dist/index.d.cts +623 -0
  171. package/node_modules/@lezer/highlight/dist/index.d.ts +623 -0
  172. package/node_modules/@lezer/highlight/dist/index.js +927 -0
  173. package/node_modules/@lezer/highlight/package.json +31 -0
  174. package/node_modules/@lezer/html/CHANGELOG.md +303 -0
  175. package/node_modules/@lezer/html/LICENSE +21 -0
  176. package/node_modules/@lezer/html/README.md +37 -0
  177. package/node_modules/@lezer/html/dist/index.cjs +354 -0
  178. package/node_modules/@lezer/html/dist/index.d.cts +14 -0
  179. package/node_modules/@lezer/html/dist/index.d.ts +14 -0
  180. package/node_modules/@lezer/html/dist/index.js +349 -0
  181. package/node_modules/@lezer/html/package.json +37 -0
  182. package/node_modules/@lezer/html/rollup.config.js +16 -0
  183. package/node_modules/@lezer/html/src/.tern-port +1 -0
  184. package/node_modules/@lezer/html/src/content.js +87 -0
  185. package/node_modules/@lezer/html/src/highlight.js +15 -0
  186. package/node_modules/@lezer/html/src/html.grammar +181 -0
  187. package/node_modules/@lezer/html/src/index.js +2 -0
  188. package/node_modules/@lezer/html/src/parser.js +27 -0
  189. package/node_modules/@lezer/html/src/parser.terms.js +53 -0
  190. package/node_modules/@lezer/html/src/tokens.js +199 -0
  191. package/node_modules/@lezer/html/test/mixed.txt +69 -0
  192. package/node_modules/@lezer/html/test/tags.txt +370 -0
  193. package/node_modules/@lezer/html/test/test-html.js +29 -0
  194. package/node_modules/@lezer/html/test/test-incremental.js +97 -0
  195. package/node_modules/@lezer/html/test/vue.txt +56 -0
  196. package/node_modules/@lezer/javascript/CHANGELOG.md +485 -0
  197. package/node_modules/@lezer/javascript/LICENSE +21 -0
  198. package/node_modules/@lezer/javascript/README.md +14 -0
  199. package/node_modules/@lezer/javascript/dist/index.cjs +196 -0
  200. package/node_modules/@lezer/javascript/dist/index.d.cts +3 -0
  201. package/node_modules/@lezer/javascript/dist/index.d.ts +3 -0
  202. package/node_modules/@lezer/javascript/dist/index.js +192 -0
  203. package/node_modules/@lezer/javascript/package.json +36 -0
  204. package/node_modules/@lezer/javascript/rollup.config.js +16 -0
  205. package/node_modules/@lezer/javascript/src/highlight.js +62 -0
  206. package/node_modules/@lezer/javascript/src/javascript.grammar +735 -0
  207. package/node_modules/@lezer/javascript/src/parser.js +33 -0
  208. package/node_modules/@lezer/javascript/src/parser.terms.js +177 -0
  209. package/node_modules/@lezer/javascript/src/tokens.js +87 -0
  210. package/node_modules/@lezer/javascript/test/decorator.txt +64 -0
  211. package/node_modules/@lezer/javascript/test/expression.txt +686 -0
  212. package/node_modules/@lezer/javascript/test/jsx.txt +79 -0
  213. package/node_modules/@lezer/javascript/test/semicolon.txt +77 -0
  214. package/node_modules/@lezer/javascript/test/statement.txt +404 -0
  215. package/node_modules/@lezer/javascript/test/test-javascript.js +17 -0
  216. package/node_modules/@lezer/javascript/test/typescript.txt +401 -0
  217. package/node_modules/@lezer/json/CHANGELOG.md +79 -0
  218. package/node_modules/@lezer/json/LICENSE +21 -0
  219. package/node_modules/@lezer/json/README.md +7 -0
  220. package/node_modules/@lezer/json/dist/index.cjs +41 -0
  221. package/node_modules/@lezer/json/dist/index.d.cts +3 -0
  222. package/node_modules/@lezer/json/dist/index.d.ts +3 -0
  223. package/node_modules/@lezer/json/dist/index.js +37 -0
  224. package/node_modules/@lezer/json/package.json +36 -0
  225. package/node_modules/@lezer/json/rollup.config.js +15 -0
  226. package/node_modules/@lezer/json/src/highlight.js +12 -0
  227. package/node_modules/@lezer/json/src/json.grammar +38 -0
  228. package/node_modules/@lezer/json/src/parser.js +23 -0
  229. package/node_modules/@lezer/json/src/parser.terms.js +12 -0
  230. package/node_modules/@lezer/json/test/arrays.txt +34 -0
  231. package/node_modules/@lezer/json/test/literals.txt +23 -0
  232. package/node_modules/@lezer/json/test/numbers.txt +87 -0
  233. package/node_modules/@lezer/json/test/objects.txt +34 -0
  234. package/node_modules/@lezer/json/test/strings.txt +50 -0
  235. package/node_modules/@lezer/json/test/test-json.js +17 -0
  236. package/node_modules/@lezer/lr/LICENSE +21 -0
  237. package/node_modules/@lezer/lr/README.md +25 -0
  238. package/node_modules/@lezer/lr/dist/constants.d.ts +45 -0
  239. package/node_modules/@lezer/lr/dist/constants.js +5 -0
  240. package/node_modules/@lezer/lr/dist/index.cjs +1891 -0
  241. package/node_modules/@lezer/lr/dist/index.d.cts +303 -0
  242. package/node_modules/@lezer/lr/dist/index.d.ts +303 -0
  243. package/node_modules/@lezer/lr/dist/index.js +1884 -0
  244. package/node_modules/@lezer/lr/package.json +32 -0
  245. package/node_modules/@lezer/markdown/CHANGELOG.md +279 -0
  246. package/node_modules/@lezer/markdown/LICENSE +21 -0
  247. package/node_modules/@lezer/markdown/README.md +725 -0
  248. package/node_modules/@lezer/markdown/bin/build-readme.cjs +39 -0
  249. package/node_modules/@lezer/markdown/build.js +16 -0
  250. package/node_modules/@lezer/markdown/dist/index.cjs +2352 -0
  251. package/node_modules/@lezer/markdown/dist/index.d.cts +600 -0
  252. package/node_modules/@lezer/markdown/dist/index.d.ts +600 -0
  253. package/node_modules/@lezer/markdown/dist/index.js +2335 -0
  254. package/node_modules/@lezer/markdown/package.json +37 -0
  255. package/node_modules/@lezer/markdown/src/README.md +83 -0
  256. package/node_modules/@lezer/markdown/src/extension.ts +301 -0
  257. package/node_modules/@lezer/markdown/src/index.ts +5 -0
  258. package/node_modules/@lezer/markdown/src/markdown.ts +1961 -0
  259. package/node_modules/@lezer/markdown/src/nest.ts +46 -0
  260. package/node_modules/@lezer/markdown/test/compare-tree.ts +14 -0
  261. package/node_modules/@lezer/markdown/test/spec.ts +79 -0
  262. package/node_modules/@lezer/markdown/test/test-extension.ts +269 -0
  263. package/node_modules/@lezer/markdown/test/test-incremental.ts +265 -0
  264. package/node_modules/@lezer/markdown/test/test-markdown.ts +3574 -0
  265. package/node_modules/@lezer/markdown/test/test-nesting.ts +86 -0
  266. package/node_modules/@lezer/markdown/test/tsconfig.json +12 -0
  267. package/node_modules/@lezer/markdown/tsconfig.json +14 -0
  268. package/node_modules/@lezer/python/CHANGELOG.md +243 -0
  269. package/node_modules/@lezer/python/LICENSE +21 -0
  270. package/node_modules/@lezer/python/README.md +6 -0
  271. package/node_modules/@lezer/python/dist/index.cjs +330 -0
  272. package/node_modules/@lezer/python/dist/index.d.cts +3 -0
  273. package/node_modules/@lezer/python/dist/index.d.ts +3 -0
  274. package/node_modules/@lezer/python/dist/index.js +326 -0
  275. package/node_modules/@lezer/python/package.json +36 -0
  276. package/node_modules/@lezer/python/rollup.config.js +16 -0
  277. package/node_modules/@lezer/python/src/highlight.js +35 -0
  278. package/node_modules/@lezer/python/src/python.grammar +381 -0
  279. package/node_modules/@lezer/python/src/tokens.js +224 -0
  280. package/node_modules/@lezer/python/test/expression.txt +231 -0
  281. package/node_modules/@lezer/python/test/statement.txt +442 -0
  282. package/node_modules/@lezer/python/test/test-incremental.js +33 -0
  283. package/node_modules/@lezer/python/test/test-python.js +17 -0
  284. package/node_modules/@marijn/find-cluster-break/LICENSE +21 -0
  285. package/node_modules/@marijn/find-cluster-break/README.md +28 -0
  286. package/node_modules/@marijn/find-cluster-break/dist/index.cjs +85 -0
  287. package/node_modules/@marijn/find-cluster-break/dist/index.d.cts +15 -0
  288. package/node_modules/@marijn/find-cluster-break/package.json +35 -0
  289. package/node_modules/@marijn/find-cluster-break/rollup.config.js +7 -0
  290. package/node_modules/@marijn/find-cluster-break/src/index.d.ts +15 -0
  291. package/node_modules/@marijn/find-cluster-break/src/index.js +87 -0
  292. package/node_modules/@marijn/find-cluster-break/test/test-cluster.js +30 -0
  293. package/node_modules/crelt/LICENSE +19 -0
  294. package/node_modules/crelt/README.md +23 -0
  295. package/node_modules/crelt/dist/index.cjs +31 -0
  296. package/node_modules/crelt/dist/index.d.cts +4 -0
  297. package/node_modules/crelt/index.d.ts +4 -0
  298. package/node_modules/crelt/index.js +28 -0
  299. package/node_modules/crelt/package.json +35 -0
  300. package/node_modules/crelt/rollup.config.js +13 -0
  301. package/node_modules/style-mod/LICENSE +19 -0
  302. package/node_modules/style-mod/README.md +98 -0
  303. package/node_modules/style-mod/dist/style-mod.cjs +165 -0
  304. package/node_modules/style-mod/dist/style-mod.d.cts +16 -0
  305. package/node_modules/style-mod/package.json +39 -0
  306. package/node_modules/style-mod/src/README.md +34 -0
  307. package/node_modules/style-mod/src/style-mod.d.ts +16 -0
  308. package/node_modules/style-mod/src/style-mod.js +172 -0
  309. package/node_modules/style-mod/test/test-style-mod.js +104 -0
  310. package/node_modules/w3c-keyname/.tern-port +1 -0
  311. package/node_modules/w3c-keyname/LICENSE +19 -0
  312. package/node_modules/w3c-keyname/README.md +18 -0
  313. package/node_modules/w3c-keyname/index.cjs +127 -0
  314. package/node_modules/w3c-keyname/index.d.cts +5 -0
  315. package/node_modules/w3c-keyname/index.d.ts +5 -0
  316. package/node_modules/w3c-keyname/index.js +119 -0
  317. package/node_modules/w3c-keyname/package.json +37 -0
  318. package/package.json +1 -1
  319. package/packages/daemon/src/api.js +157 -2
  320. package/packages/daemon/src/filewatcher.js +59 -0
  321. package/packages/daemon/src/index.js +28 -1
  322. package/packages/daemon/src/skills.js +20 -0
  323. package/packages/gui/dist/assets/index-Dxg9hdf3.js +103 -0
  324. package/packages/gui/dist/index.html +1 -1
  325. package/packages/gui/package.json +15 -2
  326. package/packages/gui/src/App.jsx +3 -0
  327. package/packages/gui/src/components/CodeEditor.jsx +143 -0
  328. package/packages/gui/src/components/EditorTabs.jsx +83 -0
  329. package/packages/gui/src/components/FileTree.jsx +193 -0
  330. package/packages/gui/src/stores/groove.js +158 -1
  331. package/packages/gui/src/views/FileEditor.jsx +142 -0
  332. package/packages/gui/src/views/SkillsMarketplace.jsx +112 -1
  333. package/node_modules/@groove-dev/gui/dist/assets/index-CNCSwHwH.js +0 -74
  334. package/packages/gui/dist/assets/index-CNCSwHwH.js +0 -74
@@ -0,0 +1,385 @@
1
+ import * as _codemirror_state from '@codemirror/state';
2
+ import { Text, Extension, StateCommand, EditorState, SelectionRange, StateEffect } from '@codemirror/state';
3
+ import { Command, KeyBinding, EditorView, Panel } from '@codemirror/view';
4
+
5
+ /**
6
+ A search cursor provides an iterator over text matches in a
7
+ document.
8
+ */
9
+ declare class SearchCursor implements Iterator<{
10
+ from: number;
11
+ to: number;
12
+ }> {
13
+ private test?;
14
+ private iter;
15
+ /**
16
+ The current match (only holds a meaningful value after
17
+ [`next`](https://codemirror.net/6/docs/ref/#search.SearchCursor.next) has been called and when
18
+ `done` is false).
19
+ */
20
+ value: {
21
+ from: number;
22
+ to: number;
23
+ };
24
+ /**
25
+ Whether the end of the iterated region has been reached.
26
+ */
27
+ done: boolean;
28
+ private matches;
29
+ private buffer;
30
+ private bufferPos;
31
+ private bufferStart;
32
+ private normalize;
33
+ private query;
34
+ /**
35
+ Create a text cursor. The query is the search string, `from` to
36
+ `to` provides the region to search.
37
+
38
+ When `normalize` is given, it will be called, on both the query
39
+ string and the content it is matched against, before comparing.
40
+ You can, for example, create a case-insensitive search by
41
+ passing `s => s.toLowerCase()`.
42
+
43
+ Text is always normalized with
44
+ [`.normalize("NFKD")`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize)
45
+ (when supported).
46
+ */
47
+ constructor(text: Text, query: string, from?: number, to?: number, normalize?: (string: string) => string, test?: ((from: number, to: number, buffer: string, bufferPos: number) => boolean) | undefined);
48
+ private peek;
49
+ /**
50
+ Look for the next match. Updates the iterator's
51
+ [`value`](https://codemirror.net/6/docs/ref/#search.SearchCursor.value) and
52
+ [`done`](https://codemirror.net/6/docs/ref/#search.SearchCursor.done) properties. Should be called
53
+ at least once before using the cursor.
54
+ */
55
+ next(): this;
56
+ /**
57
+ The `next` method will ignore matches that partially overlap a
58
+ previous match. This method behaves like `next`, but includes
59
+ such matches.
60
+ */
61
+ nextOverlapping(): this;
62
+ private match;
63
+ [Symbol.iterator]: () => Iterator<{
64
+ from: number;
65
+ to: number;
66
+ }>;
67
+ }
68
+
69
+ interface RegExpCursorOptions {
70
+ ignoreCase?: boolean;
71
+ test?: (from: number, to: number, match: RegExpExecArray) => boolean;
72
+ }
73
+ /**
74
+ This class is similar to [`SearchCursor`](https://codemirror.net/6/docs/ref/#search.SearchCursor)
75
+ but searches for a regular expression pattern instead of a plain
76
+ string.
77
+ */
78
+ declare class RegExpCursor implements Iterator<{
79
+ from: number;
80
+ to: number;
81
+ match: RegExpExecArray;
82
+ }> {
83
+ private text;
84
+ private to;
85
+ private iter;
86
+ private re;
87
+ private test?;
88
+ private curLine;
89
+ private curLineStart;
90
+ private matchPos;
91
+ /**
92
+ Set to `true` when the cursor has reached the end of the search
93
+ range.
94
+ */
95
+ done: boolean;
96
+ /**
97
+ Will contain an object with the extent of the match and the
98
+ match object when [`next`](https://codemirror.net/6/docs/ref/#search.RegExpCursor.next)
99
+ sucessfully finds a match.
100
+ */
101
+ value: {
102
+ from: number;
103
+ to: number;
104
+ match: RegExpExecArray;
105
+ };
106
+ /**
107
+ Create a cursor that will search the given range in the given
108
+ document. `query` should be the raw pattern (as you'd pass it to
109
+ `new RegExp`).
110
+ */
111
+ constructor(text: Text, query: string, options?: RegExpCursorOptions, from?: number, to?: number);
112
+ private getLine;
113
+ private nextLine;
114
+ /**
115
+ Move to the next match, if there is one.
116
+ */
117
+ next(): this;
118
+ [Symbol.iterator]: () => Iterator<{
119
+ from: number;
120
+ to: number;
121
+ match: RegExpExecArray;
122
+ }>;
123
+ }
124
+
125
+ /**
126
+ Command that shows a dialog asking the user for a line number, and
127
+ when a valid position is provided, moves the cursor to that line.
128
+
129
+ Supports line numbers, relative line offsets prefixed with `+` or
130
+ `-`, document percentages suffixed with `%`, and an optional
131
+ column position by adding `:` and a second number after the line
132
+ number.
133
+ */
134
+ declare const gotoLine: Command;
135
+
136
+ type HighlightOptions = {
137
+ /**
138
+ Determines whether, when nothing is selected, the word around
139
+ the cursor is matched instead. Defaults to false.
140
+ */
141
+ highlightWordAroundCursor?: boolean;
142
+ /**
143
+ The minimum length of the selection before it is highlighted.
144
+ Defaults to 1 (always highlight non-cursor selections).
145
+ */
146
+ minSelectionLength?: number;
147
+ /**
148
+ The amount of matches (in the viewport) at which to disable
149
+ highlighting. Defaults to 100.
150
+ */
151
+ maxMatches?: number;
152
+ /**
153
+ Whether to only highlight whole words.
154
+ */
155
+ wholeWords?: boolean;
156
+ };
157
+ /**
158
+ This extension highlights text that matches the selection. It uses
159
+ the `"cm-selectionMatch"` class for the highlighting. When
160
+ `highlightWordAroundCursor` is enabled, the word at the cursor
161
+ itself will be highlighted with `"cm-selectionMatch-main"`.
162
+ */
163
+ declare function highlightSelectionMatches(options?: HighlightOptions): Extension;
164
+ /**
165
+ Select next occurrence of the current selection. Expand selection
166
+ to the surrounding word when the selection is empty.
167
+ */
168
+ declare const selectNextOccurrence: StateCommand;
169
+
170
+ interface SearchConfig {
171
+ /**
172
+ Whether to position the search panel at the top of the editor
173
+ (the default is at the bottom).
174
+ */
175
+ top?: boolean;
176
+ /**
177
+ Whether to enable case sensitivity by default when the search
178
+ panel is activated (defaults to false).
179
+ */
180
+ caseSensitive?: boolean;
181
+ /**
182
+ Whether to treat string searches literally by default (defaults to false).
183
+ */
184
+ literal?: boolean;
185
+ /**
186
+ Controls whether the default query has by-word matching enabled.
187
+ Defaults to false.
188
+ */
189
+ wholeWord?: boolean;
190
+ /**
191
+ Used to turn on regular expression search in the default query.
192
+ Defaults to false.
193
+ */
194
+ regexp?: boolean;
195
+ /**
196
+ Can be used to override the way the search panel is implemented.
197
+ Should create a [Panel](https://codemirror.net/6/docs/ref/#view.Panel) that contains a form
198
+ which lets the user:
199
+
200
+ - See the [current](https://codemirror.net/6/docs/ref/#search.getSearchQuery) search query.
201
+ - Manipulate the [query](https://codemirror.net/6/docs/ref/#search.SearchQuery) and
202
+ [update](https://codemirror.net/6/docs/ref/#search.setSearchQuery) the search state with a new
203
+ query.
204
+ - Notice external changes to the query by reacting to the
205
+ appropriate [state effect](https://codemirror.net/6/docs/ref/#search.setSearchQuery).
206
+ - Run some of the search commands.
207
+
208
+ The field that should be focused when opening the panel must be
209
+ tagged with a `main-field=true` DOM attribute.
210
+ */
211
+ createPanel?: (view: EditorView) => Panel;
212
+ /**
213
+ By default, matches are scrolled into view using the default
214
+ behavior of
215
+ [`EditorView.scrollIntoView`](https://codemirror.net/6/docs/ref/#view.EditorView^scrollIntoView).
216
+ This option allows you to pass a custom function to produce the
217
+ scroll effect.
218
+ */
219
+ scrollToMatch?: (range: SelectionRange, view: EditorView) => StateEffect<unknown>;
220
+ }
221
+ /**
222
+ Add search state to the editor configuration, and optionally
223
+ configure the search extension.
224
+ ([`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel) will automatically
225
+ enable this if it isn't already on).
226
+ */
227
+ declare function search(config?: SearchConfig): Extension;
228
+ /**
229
+ A search query. Part of the editor's search state.
230
+ */
231
+ declare class SearchQuery {
232
+ /**
233
+ The search string (or regular expression).
234
+ */
235
+ readonly search: string;
236
+ /**
237
+ Indicates whether the search is case-sensitive.
238
+ */
239
+ readonly caseSensitive: boolean;
240
+ /**
241
+ By default, string search will replace `\n`, `\r`, and `\t` in
242
+ the query with newline, return, and tab characters. When this
243
+ is set to true, that behavior is disabled.
244
+ */
245
+ readonly literal: boolean;
246
+ /**
247
+ When true, the search string is interpreted as a regular
248
+ expression.
249
+ */
250
+ readonly regexp: boolean;
251
+ /**
252
+ The replace text, or the empty string if no replace text has
253
+ been given.
254
+ */
255
+ readonly replace: string;
256
+ /**
257
+ Whether this query is non-empty and, in case of a regular
258
+ expression search, syntactically valid.
259
+ */
260
+ readonly valid: boolean;
261
+ /**
262
+ When true, matches that contain words are ignored when there are
263
+ further word characters around them.
264
+ */
265
+ readonly wholeWord: boolean;
266
+ /**
267
+ Optional test function used to filter matches.
268
+ */
269
+ readonly test: ((match: string, state: EditorState, from: number, to: number) => boolean) | undefined;
270
+ /**
271
+ Create a query object.
272
+ */
273
+ constructor(config: {
274
+ /**
275
+ The search string.
276
+ */
277
+ search: string;
278
+ /**
279
+ Controls whether the search should be case-sensitive.
280
+ */
281
+ caseSensitive?: boolean;
282
+ /**
283
+ By default, string search will replace `\n`, `\r`, and `\t` in
284
+ the query with newline, return, and tab characters. When this
285
+ is set to true, that behavior is disabled.
286
+ */
287
+ literal?: boolean;
288
+ /**
289
+ When true, interpret the search string as a regular expression.
290
+ */
291
+ regexp?: boolean;
292
+ /**
293
+ The replace text.
294
+ */
295
+ replace?: string;
296
+ /**
297
+ Enable whole-word matching.
298
+ */
299
+ wholeWord?: boolean;
300
+ /**
301
+ Optional custom filter. It is passed the matched string, the
302
+ editor state, and the match range. Matches for which it
303
+ returns false will be ignored.
304
+ */
305
+ test?: (match: string, state: EditorState, from: number, to: number) => boolean;
306
+ });
307
+ /**
308
+ Compare this query to another query.
309
+ */
310
+ eq(other: SearchQuery): boolean;
311
+ /**
312
+ Get a search cursor for this query, searching through the given
313
+ range in the given state.
314
+ */
315
+ getCursor(state: EditorState | Text, from?: number, to?: number): Iterator<{
316
+ from: number;
317
+ to: number;
318
+ }>;
319
+ }
320
+ /**
321
+ A state effect that updates the current search query. Note that
322
+ this only has an effect if the search state has been initialized
323
+ (by including [`search`](https://codemirror.net/6/docs/ref/#search.search) in your configuration or
324
+ by running [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel) at least
325
+ once).
326
+ */
327
+ declare const setSearchQuery: _codemirror_state.StateEffectType<SearchQuery>;
328
+ /**
329
+ Get the current search query from an editor state.
330
+ */
331
+ declare function getSearchQuery(state: EditorState): SearchQuery;
332
+ /**
333
+ Query whether the search panel is open in the given editor state.
334
+ */
335
+ declare function searchPanelOpen(state: EditorState): boolean;
336
+ /**
337
+ Open the search panel if it isn't already open, and move the
338
+ selection to the first match after the current main selection.
339
+ Will wrap around to the start of the document when it reaches the
340
+ end.
341
+ */
342
+ declare const findNext: Command;
343
+ /**
344
+ Move the selection to the previous instance of the search query,
345
+ before the current main selection. Will wrap past the start
346
+ of the document to start searching at the end again.
347
+ */
348
+ declare const findPrevious: Command;
349
+ /**
350
+ Select all instances of the search query.
351
+ */
352
+ declare const selectMatches: Command;
353
+ /**
354
+ Select all instances of the currently selected text.
355
+ */
356
+ declare const selectSelectionMatches: StateCommand;
357
+ /**
358
+ Replace the current match of the search query.
359
+ */
360
+ declare const replaceNext: Command;
361
+ /**
362
+ Replace all instances of the search query with the given
363
+ replacement.
364
+ */
365
+ declare const replaceAll: Command;
366
+ /**
367
+ Make sure the search panel is open and focused.
368
+ */
369
+ declare const openSearchPanel: Command;
370
+ /**
371
+ Close the search panel.
372
+ */
373
+ declare const closeSearchPanel: Command;
374
+ /**
375
+ Default search-related key bindings.
376
+
377
+ - Mod-f: [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel)
378
+ - F3, Mod-g: [`findNext`](https://codemirror.net/6/docs/ref/#search.findNext)
379
+ - Shift-F3, Shift-Mod-g: [`findPrevious`](https://codemirror.net/6/docs/ref/#search.findPrevious)
380
+ - Mod-Alt-g: [`gotoLine`](https://codemirror.net/6/docs/ref/#search.gotoLine)
381
+ - Mod-d: [`selectNextOccurrence`](https://codemirror.net/6/docs/ref/#search.selectNextOccurrence)
382
+ */
383
+ declare const searchKeymap: readonly KeyBinding[];
384
+
385
+ export { RegExpCursor, SearchCursor, SearchQuery, closeSearchPanel, findNext, findPrevious, getSearchQuery, gotoLine, highlightSelectionMatches, openSearchPanel, replaceAll, replaceNext, search, searchKeymap, searchPanelOpen, selectMatches, selectNextOccurrence, selectSelectionMatches, setSearchQuery };