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,639 @@
1
+ ## 6.20.1 (2026-03-02)
2
+
3
+ ### Bug fixes
4
+
5
+ Clicking the horizontal dots at the top/bottom of a list of completion options now moves the selection there, so that more completions become visible.
6
+ ## 6.20.0 (2025-11-20)
7
+
8
+ ### New features
9
+
10
+ Completions now support a `sortText` property to influence sort order.
11
+
12
+ ## 6.19.1 (2025-10-23)
13
+
14
+ ### Bug fixes
15
+
16
+ Make sure a completion's info panel is associated with that completion in the accessibility tree.
17
+
18
+ ## 6.19.0 (2025-09-26)
19
+
20
+ ### New features
21
+
22
+ Completion sections may now set their rank to `dynamic` to indicate their order should be determined by the matching score of their best-matching option.
23
+
24
+ ## 6.18.7 (2025-09-02)
25
+
26
+ ### Bug fixes
27
+
28
+ Add a binding for Alt-i to trigger `startCompletion`, following VS Code's current default bindings.
29
+
30
+ Improve handling of nested fields in snippets.
31
+
32
+ ## 6.18.6 (2025-02-12)
33
+
34
+ ### Bug fixes
35
+
36
+ Fix an issue where the closing character for double-angle quotation marks and full-width brackets was computed incorrectly.
37
+
38
+ ## 6.18.5 (2025-02-11)
39
+
40
+ ### Bug fixes
41
+
42
+ Fix an issue where clicking on the scrollbar for the completion list could move focus out of the editor.
43
+
44
+ ## 6.18.4 (2024-12-17)
45
+
46
+ ### Bug fixes
47
+
48
+ Align the behavior of snippet completions with text completions in that they overwrite the selected text.
49
+
50
+ ## 6.18.3 (2024-11-13)
51
+
52
+ ### Bug fixes
53
+
54
+ Backspacing to the start of the completed range will no longer close the completion tooltip when it was triggered implicitly by typing the character before that range.
55
+
56
+ ## 6.18.2 (2024-10-30)
57
+
58
+ ### Bug fixes
59
+
60
+ Don't immediately show synchronously updated completions when there are some sources that still need to return.
61
+
62
+ ## 6.18.1 (2024-09-14)
63
+
64
+ ### Bug fixes
65
+
66
+ Fix an issue where `insertCompletionText` would get confused about the length of the inserted text when it contained CRLF line breaks, and create an invalid selection.
67
+
68
+ Add Alt-Backtick as additional binding on macOS, where IME can take over Ctrl-Space.
69
+
70
+ ## 6.18.0 (2024-08-05)
71
+
72
+ ### Bug fixes
73
+
74
+ Style the info element so that newlines are preserved, to make it easier to display multi-line info from a string source.
75
+
76
+ ### New features
77
+
78
+ When registering an `abort` handler for a completion query, you can now use the `onDocChange` option to indicate that your query should be aborted as soon as the document changes while it is running.
79
+
80
+ ## 6.17.0 (2024-07-03)
81
+
82
+ ### Bug fixes
83
+
84
+ Fix an issue where completions weren't properly reset when starting a new completion through `activateOnCompletion`.
85
+
86
+ ### New features
87
+
88
+ `CompletionContext` objects now have a `view` property that holds the editor view when the query context has a view available.
89
+
90
+ ## 6.16.3 (2024-06-19)
91
+
92
+ ### Bug fixes
93
+
94
+ Avoid adding an `aria-autocomplete` attribute to the editor when there are no active sources active.
95
+
96
+ ## 6.16.2 (2024-05-31)
97
+
98
+ ### Bug fixes
99
+
100
+ Allow backslash-escaped closing braces inside snippet field names/content.
101
+
102
+ ## 6.16.1 (2024-05-29)
103
+
104
+ ### Bug fixes
105
+
106
+ Fix a bug where multiple backslashes before a brace in a snippet were all removed.
107
+
108
+ ## 6.16.0 (2024-04-12)
109
+
110
+ ### New features
111
+
112
+ The new `activateOnCompletion` option allows autocompletion to be configured to chain completion activation for some types of completions.
113
+
114
+ ## 6.15.0 (2024-03-13)
115
+
116
+ ### New features
117
+
118
+ The new `filterStrict` option can be used to turn off fuzzy matching of completions.
119
+
120
+ ## 6.14.0 (2024-03-10)
121
+
122
+ ### New features
123
+
124
+ Completion results can now define a `map` method that can be used to adjust position-dependent information for document changes.
125
+
126
+ ## 6.13.0 (2024-02-29)
127
+
128
+ ### New features
129
+
130
+ Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.
131
+
132
+ ## 6.12.0 (2024-01-12)
133
+
134
+ ### Bug fixes
135
+
136
+ Make sure snippet completions also set `userEvent` to `input.complete`.
137
+
138
+ Fix a crash when the editor lost focus during an update and autocompletion was active.
139
+
140
+ Fix a crash when using a snippet that has only one field, but multiple instances of that field.
141
+
142
+ ### New features
143
+
144
+ The new `activateOnTypingDelay` option allows control over the debounce time before the completions are queried when the user types.
145
+
146
+ ## 6.11.1 (2023-11-27)
147
+
148
+ ### Bug fixes
149
+
150
+ Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations.
151
+
152
+ ## 6.11.0 (2023-11-09)
153
+
154
+ ### Bug fixes
155
+
156
+ Fix an issue that would prevent typing over closed brackets after starting a new line with enter.
157
+
158
+ ### New features
159
+
160
+ Additional elements rendered in completion options with `addToOptions` are now given access to the editor view.
161
+
162
+ ## 6.10.2 (2023-10-13)
163
+
164
+ ### Bug fixes
165
+
166
+ Fix a bug that caused `updateSyncTime` to always delay the initial population of the tooltip.
167
+
168
+ ## 6.10.1 (2023-10-11)
169
+
170
+ ### Bug fixes
171
+
172
+ Fix a bug where picking a selection with the mouse could use the wrong completion if the completion list was updated after being opened.
173
+
174
+ ## 6.10.0 (2023-10-11)
175
+
176
+ ### New features
177
+
178
+ The new autocompletion configuration option `updateSyncTime` allows control over how long fast sources are held back waiting for slower completion sources.
179
+
180
+ ## 6.9.2 (2023-10-06)
181
+
182
+ ### Bug fixes
183
+
184
+ Fix a bug in `completeAnyWord` that could cause it to generate invalid regular expressions and crash.
185
+
186
+ ## 6.9.1 (2023-09-14)
187
+
188
+ ### Bug fixes
189
+
190
+ Make sure the cursor is scrolled into view after inserting completion text.
191
+
192
+ Make sure scrolling completions into view doesn't get confused when the tooltip is scaled.
193
+
194
+ ## 6.9.0 (2023-07-18)
195
+
196
+ ### New features
197
+
198
+ Completions may now provide a `displayLabel` property that overrides the way they are displayed in the completion list.
199
+
200
+ ## 6.8.1 (2023-06-23)
201
+
202
+ ### Bug fixes
203
+
204
+ `acceptCompletion` now returns false (allowing other handlers to take effect) when the completion popup is open but disabled.
205
+
206
+ ## 6.8.0 (2023-06-12)
207
+
208
+ ### New features
209
+
210
+ The result of `Completion.info` may now include a `destroy` method that will be called when the tooltip is removed.
211
+
212
+ ## 6.7.1 (2023-05-13)
213
+
214
+ ### Bug fixes
215
+
216
+ Fix a bug that cause incorrect ordering of completions when some results covered input text and others didn't.
217
+
218
+ ## 6.7.0 (2023-05-11)
219
+
220
+ ### New features
221
+
222
+ The new `hasNextSnippetField` and `hasPrevSnippetField` functions can be used to figure out if the snippet-field-motion commands apply to a given state.
223
+
224
+ ## 6.6.1 (2023-05-03)
225
+
226
+ ### Bug fixes
227
+
228
+ Fix a bug that made the editor use the completion's original position, rather than its current position, when changes happened in the document while a result was active.
229
+
230
+ ## 6.6.0 (2023-04-27)
231
+
232
+ ### Bug fixes
233
+
234
+ Fix a bug in `insertCompletionText` that caused it to replace the wrong range when a result set's `to` fell after the cursor.
235
+
236
+ ### New features
237
+
238
+ Functions returned by `snippet` can now be called without a completion object.
239
+
240
+ ## 6.5.1 (2023-04-13)
241
+
242
+ ### Bug fixes
243
+
244
+ Keep completions open when interaction with an info tooltip moves focus out of the editor.
245
+
246
+ ## 6.5.0 (2023-04-13)
247
+
248
+ ### Bug fixes
249
+
250
+ When `closeBrackets` skips a bracket, it now generates a change that overwrites the bracket.
251
+
252
+ Replace the entire selected range when picking a completion with a non-cursor selection active.
253
+
254
+ ### New features
255
+
256
+ Completions can now provide a `section` field that is used to group them into sections.
257
+
258
+ The new `positionInfo` option can be used to provide custom logic for positioning the info tooltips.
259
+
260
+ ## 6.4.2 (2023-02-17)
261
+
262
+ ### Bug fixes
263
+
264
+ Fix a bug where the apply method created by `snippet` didn't add a `pickedCompletion` annotation to the transactions it created.
265
+
266
+ ## 6.4.1 (2023-02-14)
267
+
268
+ ### Bug fixes
269
+
270
+ Don't consider node names in trees that aren't the same language as the one at the completion position in `ifIn` and `ifNotIn`.
271
+
272
+ Make sure completions that exactly match the input get a higher score than those that don't (so that even if the latter has a score boost, it ends up lower in the list).
273
+
274
+ ## 6.4.0 (2022-12-14)
275
+
276
+ ### Bug fixes
277
+
278
+ Fix an issue where the extension would sometimes try to draw a disabled dialog at an outdated position, leading to plugin crashes.
279
+
280
+ ### New features
281
+
282
+ A `tooltipClass` option to autocompletion can now be used to add additional CSS classes to the completion tooltip.
283
+
284
+ ## 6.3.4 (2022-11-24)
285
+
286
+ ### Bug fixes
287
+
288
+ Fix an issue where completion lists could end up being higher than the tooltip they were in.
289
+
290
+ ## 6.3.3 (2022-11-18)
291
+
292
+ ### Bug fixes
293
+
294
+ Set an explicit `box-sizing` style on completion icons so CSS resets don't mess them up.
295
+
296
+ Allow closing braces in templates to be escaped with a backslash.
297
+
298
+ ## 6.3.2 (2022-11-15)
299
+
300
+ ### Bug fixes
301
+
302
+ Fix a regression that could cause the completion dialog to stick around when it should be hidden.
303
+
304
+ ## 6.3.1 (2022-11-14)
305
+
306
+ ### Bug fixes
307
+
308
+ Fix a regression where transactions for picking a completion (without custom `apply` method) no longer had the `pickedCompletion` annotation.
309
+
310
+ Reduce flickering for completion sources without `validFor` info by temporarily showing a disabled tooltip while the completion updates.
311
+
312
+ Make sure completion info tooltips are kept within the space provided by the `tooltipSpace` option.
313
+
314
+ ## 6.3.0 (2022-09-22)
315
+
316
+ ### New features
317
+
318
+ Close bracket configuration now supports a `stringPrefixes` property that can be used to allow autoclosing of prefixed strings.
319
+
320
+ ## 6.2.0 (2022-09-13)
321
+
322
+ ### New features
323
+
324
+ Autocompletion now takes an `interactionDelay` option that can be used to control the delay between the time where completion opens and the time where commands like `acceptCompletion` affect it.
325
+
326
+ ## 6.1.1 (2022-09-08)
327
+
328
+ ### Bug fixes
329
+
330
+ Fix a bug that prevented transactions produced by `deleteBracketPair` from being marked as deletion user events.
331
+
332
+ Improve positioning of completion info tooltips so they are less likely to stick out of the screen on small displays.
333
+
334
+ ## 6.1.0 (2022-07-19)
335
+
336
+ ### New features
337
+
338
+ You can now provide a `compareCompletions` option to autocompletion to influence the way completions with the same match score are sorted.
339
+
340
+ The `selectOnOpen` option to autocompletion can be used to require explicitly selecting a completion option before `acceptCompletion` does anything.
341
+
342
+ ## 6.0.4 (2022-07-07)
343
+
344
+ ### Bug fixes
345
+
346
+ Remove a leftover `console.log` in bracket closing code.
347
+
348
+ ## 6.0.3 (2022-07-04)
349
+
350
+ ### Bug fixes
351
+
352
+ Fix a bug that caused `closeBrackets` to not close quotes when at the end of a syntactic construct that starts with a similar quote.
353
+
354
+ ## 6.0.2 (2022-06-15)
355
+
356
+ ### Bug fixes
357
+
358
+ Declare package dependencies as peer dependencies as an attempt to avoid duplicated package issues.
359
+
360
+ ## 6.0.1 (2022-06-09)
361
+
362
+ ### Bug fixes
363
+
364
+ Support escaping `${` or `#{` in snippets.
365
+
366
+ ## 6.0.0 (2022-06-08)
367
+
368
+ ### Bug fixes
369
+
370
+ Scroll the cursor into view when inserting a snippet.
371
+
372
+ ## 0.20.3 (2022-05-30)
373
+
374
+ ### Bug fixes
375
+
376
+ Add an aria-label to the completion listbox.
377
+
378
+ Fix a regression that caused transactions generated for completion to not have a `userEvent` annotation.
379
+
380
+ ## 0.20.2 (2022-05-24)
381
+
382
+ ### New features
383
+
384
+ The package now exports an `insertCompletionText` helper that implements the default behavior for applying a completion.
385
+
386
+ ## 0.20.1 (2022-05-16)
387
+
388
+ ### New features
389
+
390
+ The new `closeOnBlur` option determines whether the completion tooltip is closed when the editor loses focus.
391
+
392
+ `CompletionResult` objects with `filter: false` may now have a `getMatch` property that determines the matched range in the options.
393
+
394
+ ## 0.20.0 (2022-04-20)
395
+
396
+ ### Breaking changes
397
+
398
+ `CompletionResult.span` has been renamed to `validFor`, and may now hold a function as well as a regular expression.
399
+
400
+ ### Bug fixes
401
+
402
+ Remove code that dropped any options beyond the 300th one when matching and sorting option lists.
403
+
404
+ Completion will now apply to all cursors when there are multiple cursors.
405
+
406
+ ### New features
407
+
408
+ `CompletionResult.update` can now be used to implement quick autocompletion updates in a synchronous way.
409
+
410
+ The @codemirror/closebrackets package was merged into this one.
411
+
412
+ ## 0.19.15 (2022-03-23)
413
+
414
+ ### New features
415
+
416
+ The `selectedCompletionIndex` function tells you the position of the currently selected completion.
417
+
418
+ The new `setSelectionCompletion` function creates a state effect that moves the selected completion to a given index.
419
+
420
+ A completion's `info` method may now return null to indicate that no further info is available.
421
+
422
+ ## 0.19.14 (2022-03-10)
423
+
424
+ ### Bug fixes
425
+
426
+ Make the ARIA attributes added to the editor during autocompletion spec-compliant.
427
+
428
+ ## 0.19.13 (2022-02-18)
429
+
430
+ ### Bug fixes
431
+
432
+ Fix an issue where the completion tooltip stayed open if it was explicitly opened and the user backspaced past its start.
433
+
434
+ Stop snippet filling when a change happens across one of the snippet fields' boundaries.
435
+
436
+ ## 0.19.12 (2022-01-11)
437
+
438
+ ### Bug fixes
439
+
440
+ Fix completion navigation with PageUp/Down when the completion tooltip isn't part of the view DOM.
441
+
442
+ ## 0.19.11 (2022-01-11)
443
+
444
+ ### Bug fixes
445
+
446
+ Fix a bug that caused page up/down to only move the selection by two options in the completion tooltip.
447
+
448
+ ## 0.19.10 (2022-01-05)
449
+
450
+ ### Bug fixes
451
+
452
+ Make sure the info tooltip is hidden when the selected option is scrolled out of view.
453
+
454
+ Fix a bug in the completion ranking that would sometimes give options that match the input by word start chars higher scores than appropriate.
455
+
456
+ Options are now sorted (ascending) by length when their match score is otherwise identical.
457
+
458
+ ## 0.19.9 (2021-11-26)
459
+
460
+ ### Bug fixes
461
+
462
+ Fix an issue where info tooltips would be visible in an inappropriate position when there was no room to place them properly.
463
+
464
+ ## 0.19.8 (2021-11-17)
465
+
466
+ ### Bug fixes
467
+
468
+ Give the completion tooltip a minimal width, and show ellipsis when completions overflow the tooltip width.
469
+
470
+ ### New features
471
+
472
+ `autocompletion` now accepts an `aboveCursor` option to make the completion tooltip show up above the cursor.
473
+
474
+ ## 0.19.7 (2021-11-16)
475
+
476
+ ### Bug fixes
477
+
478
+ Make option deduplication less aggressive, so that options with different `type` or `apply` fields don't get merged.
479
+
480
+ ## 0.19.6 (2021-11-12)
481
+
482
+ ### Bug fixes
483
+
484
+ Fix an issue where parsing a snippet with a field that was labeled only by a number crashed.
485
+
486
+ ## 0.19.5 (2021-11-09)
487
+
488
+ ### Bug fixes
489
+
490
+ Make sure info tooltips don't stick out of the bottom of the page.
491
+
492
+ ### New features
493
+
494
+ The package exports a new function `selectedCompletion`, which can be used to find out which completion is currently selected.
495
+
496
+ Transactions created by picking a completion now have an annotation (`pickedCompletion`) holding the original completion.
497
+
498
+ ## 0.19.4 (2021-10-24)
499
+
500
+ ### Bug fixes
501
+
502
+ Don't rely on the platform's highlight colors for the active completion, since those are inconsistent and may not be appropriate for the theme.
503
+
504
+ Fix incorrect match underline for some kinds of matched completions.
505
+
506
+ ## 0.19.3 (2021-08-31)
507
+
508
+ ### Bug fixes
509
+
510
+ Improve the sorting of completions by using `localeCompare`.
511
+
512
+ Fix reading of autocompletions in NVDA screen reader.
513
+
514
+ ### New features
515
+
516
+ The new `icons` option can be used to turn off icons in the completion list.
517
+
518
+ The `optionClass` option can now be used to add CSS classes to the options in the completion list.
519
+
520
+ It is now possible to inject additional content into rendered completion options with the `addToOptions` configuration option.
521
+
522
+ ## 0.19.2 (2021-08-25)
523
+
524
+ ### Bug fixes
525
+
526
+ Fix an issue where `completeAnyWord` would return results when there was no query and `explicit` was false.
527
+
528
+ ## 0.19.1 (2021-08-11)
529
+
530
+ ### Bug fixes
531
+
532
+ Fix incorrect versions for @lezer dependencies.
533
+
534
+ ## 0.19.0 (2021-08-11)
535
+
536
+ ### Breaking changes
537
+
538
+ Update dependencies to 0.19.0
539
+
540
+ ## 0.18.8 (2021-06-30)
541
+
542
+ ### New features
543
+
544
+ Add an `ifIn` helper function that constrains a completion source to only fire when in a given syntax node. Add support for unfiltered completions
545
+
546
+ A completion result can now set a `filter: false` property to disable filtering and sorting of completions, when it already did so itself.
547
+
548
+ ## 0.18.7 (2021-06-14)
549
+
550
+ ### Bug fixes
551
+
552
+ Don't treat continued completions when typing after an explicit completion as explicit.
553
+
554
+ ## 0.18.6 (2021-06-03)
555
+
556
+ ### Bug fixes
557
+
558
+ Adding or reconfiguring completion sources will now cause them to be activated right away if a completion was active.
559
+
560
+ ### New features
561
+
562
+ You can now specify multiple types in `Completion.type` by separating them by spaces. Small doc comment tweak for Completion.type
563
+
564
+ ## 0.18.5 (2021-04-23)
565
+
566
+ ### Bug fixes
567
+
568
+ Fix a regression where snippet field selection didn't work with @codemirror/state 0.18.6.
569
+
570
+ Fix a bug where snippet fields with different position numbers were inappropriately merged.
571
+
572
+ ## 0.18.4 (2021-04-20)
573
+
574
+ ### Bug fixes
575
+
576
+ Fix a crash in Safari when moving the selection during composition.
577
+
578
+ ## 0.18.3 (2021-03-15)
579
+
580
+ ### Bug fixes
581
+
582
+ Adjust to updated @codemirror/tooltip interface.
583
+
584
+ ## 0.18.2 (2021-03-14)
585
+
586
+ ### Bug fixes
587
+
588
+ Fix unintended ES2020 output (the package contains ES6 code again).
589
+
590
+ ## 0.18.1 (2021-03-11)
591
+
592
+ ### Bug fixes
593
+
594
+ Stop active completion when all sources resolve without producing any matches.
595
+
596
+ ### New features
597
+
598
+ `Completion.info` may now return a promise.
599
+
600
+ ## 0.18.0 (2021-03-03)
601
+
602
+ ### Bug fixes
603
+
604
+ Only preserve selected option across updates when it isn't the first option.
605
+
606
+ ## 0.17.4 (2021-01-18)
607
+
608
+ ### Bug fixes
609
+
610
+ Fix a styling issue where the selection had become invisible inside snippet fields (when using `drawSelection`).
611
+
612
+ ### New features
613
+
614
+ Snippet fields can now be selected with the pointing device (so that they are usable on touch devices).
615
+
616
+ ## 0.17.3 (2021-01-18)
617
+
618
+ ### Bug fixes
619
+
620
+ Fix a bug where uppercase completions would be incorrectly matched against the typed input.
621
+
622
+ ## 0.17.2 (2021-01-12)
623
+
624
+ ### Bug fixes
625
+
626
+ Don't bind Cmd-Space on macOS, since that already has a system default binding. Use Ctrl-Space for autocompletion.
627
+
628
+ ## 0.17.1 (2021-01-06)
629
+
630
+ ### New features
631
+
632
+ The package now also exports a CommonJS module.
633
+
634
+ ## 0.17.0 (2020-12-29)
635
+
636
+ ### Breaking changes
637
+
638
+ First numbered release.
639
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,43 @@
1
+ # @codemirror/autocomplete [![NPM version](https://img.shields.io/npm/v/@codemirror/autocomplete.svg)](https://www.npmjs.org/package/@codemirror/autocomplete)
2
+
3
+ [ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#autocomplete) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md) ]
4
+
5
+ This package implements autocompletion for the
6
+ [CodeMirror](https://codemirror.net/) code editor.
7
+
8
+ The [project page](https://codemirror.net/) has more information, a
9
+ number of [examples](https://codemirror.net/examples/) and the
10
+ [documentation](https://codemirror.net/docs/).
11
+
12
+ This code is released under an
13
+ [MIT license](https://github.com/codemirror/autocomplete/tree/main/LICENSE).
14
+
15
+ We aim to be an inclusive, welcoming community. To make that explicit,
16
+ we have a [code of
17
+ conduct](http://contributor-covenant.org/version/1/1/0/) that applies
18
+ to communication around the project.
19
+
20
+ ## Usage
21
+
22
+ ```javascript
23
+ import {EditorView} from "@codemirror/view"
24
+ import {autocompletion} from "@codemirror/autocomplete"
25
+ import {jsonLanguage} from "@codemirror/lang-json"
26
+
27
+ const view = new EditorView({
28
+ parent: document.body,
29
+ extensions: [
30
+ jsonLanguage,
31
+ autocompletion(),
32
+ jsonLanguage.data.of({
33
+ autocomplete: ["id", "name", "address"]
34
+ })
35
+ ]
36
+ })
37
+ ```
38
+
39
+ This configuration will just complete the given words anywhere in JSON
40
+ context. Most language modules come with more refined autocompletion
41
+ built-in, but you can also write your own custom autocompletion
42
+ [sources](https://codemirror.net/docs/ref/#autocomplete.CompletionSource)
43
+ and associate them with your language this way.