@lapis-notes/api 0.1.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 (400) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/LICENSE.md +4 -0
  3. package/README.md +43 -0
  4. package/dist/__tests__/data-adapter-conformance.js +205 -0
  5. package/dist/__tests__/lapis-runtime-manifest.js +32 -0
  6. package/dist/__tests__/svelte-internal-client.d.ts +3 -0
  7. package/dist/agent-result-views.d.ts +52 -0
  8. package/dist/agent-result-views.js +89 -0
  9. package/dist/agent-skills.d.ts +99 -0
  10. package/dist/agent-skills.js +182 -0
  11. package/dist/agent-tools.d.ts +92 -0
  12. package/dist/agent-tools.js +139 -0
  13. package/dist/app-database-host.d.ts +4 -0
  14. package/dist/app-database-host.js +4 -0
  15. package/dist/app-shell-plugin-persistence.d.ts +15 -0
  16. package/dist/app-shell-plugin-persistence.js +34 -0
  17. package/dist/app-url.d.ts +54 -0
  18. package/dist/app-url.js +269 -0
  19. package/dist/application-compatibility.d.ts +31 -0
  20. package/dist/application-compatibility.js +64 -0
  21. package/dist/application-state.svelte.d.ts +14 -0
  22. package/dist/application-state.svelte.js +30 -0
  23. package/dist/assets/lapis-logo.svg +471 -0
  24. package/dist/bases.d.ts +281 -0
  25. package/dist/bases.js +475 -0
  26. package/dist/cache.svelte.d.ts +569 -0
  27. package/dist/cache.svelte.js +1433 -0
  28. package/dist/command.svelte.d.ts +337 -0
  29. package/dist/command.svelte.js +571 -0
  30. package/dist/compat.d.ts +29 -0
  31. package/dist/compat.js +30 -0
  32. package/dist/components/configuration/configuration.css +199 -0
  33. package/dist/components/configuration/date-setting.svelte +71 -0
  34. package/dist/components/configuration/date-setting.svelte.d.ts +8 -0
  35. package/dist/components/configuration/list-setting.svelte +128 -0
  36. package/dist/components/configuration/list-setting.svelte.d.ts +13 -0
  37. package/dist/components/configuration/object-array-row-grip.svelte +78 -0
  38. package/dist/components/configuration/object-array-row-grip.svelte.d.ts +9 -0
  39. package/dist/components/configuration/object-array-row.svelte +163 -0
  40. package/dist/components/configuration/object-array-row.svelte.d.ts +19 -0
  41. package/dist/components/configuration/object-array-setting.svelte +196 -0
  42. package/dist/components/configuration/object-array-setting.svelte.d.ts +15 -0
  43. package/dist/components/configuration/object-array-table-dnd.d.ts +8 -0
  44. package/dist/components/configuration/object-array-table-dnd.js +10 -0
  45. package/dist/components/configuration/object-array-utils.d.ts +11 -0
  46. package/dist/components/configuration/object-array-utils.js +103 -0
  47. package/dist/components/configuration/object-grid-setting.svelte +79 -0
  48. package/dist/components/configuration/object-grid-setting.svelte.d.ts +10 -0
  49. package/dist/components/configuration/object-map-row.svelte +147 -0
  50. package/dist/components/configuration/object-map-row.svelte.d.ts +15 -0
  51. package/dist/components/configuration/object-map-setting.svelte +137 -0
  52. package/dist/components/configuration/object-map-setting.svelte.d.ts +14 -0
  53. package/dist/components/configuration/object-map-types.d.ts +5 -0
  54. package/dist/components/configuration/object-map-types.js +1 -0
  55. package/dist/components/configuration/options-combobox-setting.svelte +129 -0
  56. package/dist/components/configuration/options-combobox-setting.svelte.d.ts +12 -0
  57. package/dist/components/copy-button/button.svelte +93 -0
  58. package/dist/components/copy-button/button.svelte.d.ts +13 -0
  59. package/dist/components/copy-button/index.d.ts +2 -0
  60. package/dist/components/copy-button/index.js +2 -0
  61. package/dist/components/editor/editor.css +565 -0
  62. package/dist/components/editor/editor.d.ts +33 -0
  63. package/dist/components/editor/editor.js +132 -0
  64. package/dist/components/editor/editor.svelte +176 -0
  65. package/dist/components/editor/editor.svelte.d.ts +15 -0
  66. package/dist/components/editor/embedded-editor-surface.d.ts +12 -0
  67. package/dist/components/editor/embedded-editor-surface.js +22 -0
  68. package/dist/components/editor/embedded-editor-surface.svelte +115 -0
  69. package/dist/components/editor/embedded-editor-surface.svelte.d.ts +17 -0
  70. package/dist/components/editor/extensions/autocomplete/index.d.ts +2 -0
  71. package/dist/components/editor/extensions/autocomplete/index.js +2 -0
  72. package/dist/components/editor/extensions/autocomplete/lapis-code-mirror-autocomplete.d.ts +16 -0
  73. package/dist/components/editor/extensions/autocomplete/lapis-code-mirror-autocomplete.js +34 -0
  74. package/dist/components/editor/extensions/autocomplete/vault-completion-sources.d.ts +27 -0
  75. package/dist/components/editor/extensions/autocomplete/vault-completion-sources.js +55 -0
  76. package/dist/components/editor/extensions/class-highlighter/index.d.ts +1 -0
  77. package/dist/components/editor/extensions/class-highlighter/index.js +47 -0
  78. package/dist/components/editor/extensions/fold-gutter/index.d.ts +8 -0
  79. package/dist/components/editor/extensions/fold-gutter/index.js +40 -0
  80. package/dist/components/editor/extensions/gutter-line-style-sync/index.d.ts +2 -0
  81. package/dist/components/editor/extensions/gutter-line-style-sync/index.js +118 -0
  82. package/dist/components/editor/extensions/lint/index.d.ts +4 -0
  83. package/dist/components/editor/extensions/lint/index.js +4 -0
  84. package/dist/components/editor/extensions/lint/lapis-code-mirror-lint.d.ts +26 -0
  85. package/dist/components/editor/extensions/lint/lapis-code-mirror-lint.js +101 -0
  86. package/dist/components/editor/extensions/lint/lapis-lint-diagnostic-helpers.d.ts +8 -0
  87. package/dist/components/editor/extensions/lint/lapis-lint-diagnostic-helpers.js +7 -0
  88. package/dist/components/editor/extensions/lint/lapis-lint-diagnostic.d.ts +20 -0
  89. package/dist/components/editor/extensions/lint/lapis-lint-diagnostic.js +47 -0
  90. package/dist/components/editor/extensions/lint/lapis-lint-hover-tooltip.d.ts +9 -0
  91. package/dist/components/editor/extensions/lint/lapis-lint-hover-tooltip.js +373 -0
  92. package/dist/components/editor/extensions/lint/lapis-lint-inline-widget.d.ts +31 -0
  93. package/dist/components/editor/extensions/lint/lapis-lint-inline-widget.js +191 -0
  94. package/dist/components/editor/extensions/lint/lapis-lint-tooltip.svelte +176 -0
  95. package/dist/components/editor/extensions/lint/lapis-lint-tooltip.svelte.d.ts +15 -0
  96. package/dist/components/editor/extensions/lint/lint-tooltip-actions.d.ts +11 -0
  97. package/dist/components/editor/extensions/lint/lint-tooltip-actions.js +21 -0
  98. package/dist/components/editor/extensions/lint/mount-lint-tooltip.d.ts +16 -0
  99. package/dist/components/editor/extensions/lint/mount-lint-tooltip.js +60 -0
  100. package/dist/components/editor/extensions/search/dom.d.ts +2 -0
  101. package/dist/components/editor/extensions/search/dom.js +6 -0
  102. package/dist/components/editor/extensions/search/index.d.ts +35 -0
  103. package/dist/components/editor/extensions/search/index.js +44 -0
  104. package/dist/components/editor/extensions/search/search.svelte +335 -0
  105. package/dist/components/editor/extensions/search/search.svelte.d.ts +8 -0
  106. package/dist/components/editor/index.d.ts +9 -0
  107. package/dist/components/editor/index.js +9 -0
  108. package/dist/components/editor/language-service/dom.d.ts +1 -0
  109. package/dist/components/editor/language-service/dom.js +6 -0
  110. package/dist/components/editor/language-service/index.d.ts +28 -0
  111. package/dist/components/editor/language-service/index.js +342 -0
  112. package/dist/components/empty-view/empty-view.css +39 -0
  113. package/dist/components/empty-view/empty-view.svelte +26 -0
  114. package/dist/components/empty-view/empty-view.svelte.d.ts +9 -0
  115. package/dist/components/empty-view/index.d.ts +2 -0
  116. package/dist/components/empty-view/index.js +2 -0
  117. package/dist/components/icon/icon-list.css +74 -0
  118. package/dist/components/icon/icon-list.svelte +213 -0
  119. package/dist/components/icon/icon-list.svelte.d.ts +11 -0
  120. package/dist/components/icon/icon.svelte +15 -0
  121. package/dist/components/icon/icon.svelte.d.ts +7 -0
  122. package/dist/components/icon/index.d.ts +3 -0
  123. package/dist/components/icon/index.js +3 -0
  124. package/dist/components/menu/context-menu.svelte +89 -0
  125. package/dist/components/menu/context-menu.svelte.d.ts +11 -0
  126. package/dist/components/menu/drawer-menu.svelte +83 -0
  127. package/dist/components/menu/drawer-menu.svelte.d.ts +8 -0
  128. package/dist/components/menu/dropdown-menu.svelte +89 -0
  129. package/dist/components/menu/dropdown-menu.svelte.d.ts +11 -0
  130. package/dist/components/menu/index.d.ts +6 -0
  131. package/dist/components/menu/index.js +6 -0
  132. package/dist/components/menu/menu.css +139 -0
  133. package/dist/components/menu/menu.svelte +37 -0
  134. package/dist/components/menu/menu.svelte.d.ts +11 -0
  135. package/dist/components/menu/mobile-menu-query.svelte.d.ts +3 -0
  136. package/dist/components/menu/mobile-menu-query.svelte.js +21 -0
  137. package/dist/components/menu/popover-menu.svelte +90 -0
  138. package/dist/components/menu/popover-menu.svelte.d.ts +10 -0
  139. package/dist/components/select/index.d.ts +2 -0
  140. package/dist/components/select/index.js +2 -0
  141. package/dist/components/select/select.svelte +72 -0
  142. package/dist/components/select/select.svelte.d.ts +25 -0
  143. package/dist/configuration-option-source-providers.d.ts +17 -0
  144. package/dist/configuration-option-source-providers.js +59 -0
  145. package/dist/configuration-option-source-registry.d.ts +59 -0
  146. package/dist/configuration-option-source-registry.js +123 -0
  147. package/dist/configuration.svelte.d.ts +258 -0
  148. package/dist/configuration.svelte.js +887 -0
  149. package/dist/context-keys.svelte.d.ts +42 -0
  150. package/dist/context-keys.svelte.js +278 -0
  151. package/dist/context.svelte.d.ts +247 -0
  152. package/dist/context.svelte.js +540 -0
  153. package/dist/daily-document-provider.d.ts +38 -0
  154. package/dist/daily-document-provider.js +176 -0
  155. package/dist/design-core-button-types.d.ts +7 -0
  156. package/dist/design-core-button-types.js +1 -0
  157. package/dist/diagnostics.d.ts +93 -0
  158. package/dist/diagnostics.js +84 -0
  159. package/dist/dialog-portal.d.ts +3 -0
  160. package/dist/dialog-portal.js +3 -0
  161. package/dist/docs-api.d.ts +44 -0
  162. package/dist/docs-api.js +29 -0
  163. package/dist/editor-view-registry.d.ts +35 -0
  164. package/dist/editor-view-registry.js +112 -0
  165. package/dist/editor.svelte.d.ts +126 -0
  166. package/dist/editor.svelte.js +454 -0
  167. package/dist/embed-registry.d.ts +15 -0
  168. package/dist/embed-registry.js +16 -0
  169. package/dist/enhance.d.ts +111 -0
  170. package/dist/enhance.js +309 -0
  171. package/dist/events.d.ts +28 -0
  172. package/dist/events.js +49 -0
  173. package/dist/file-manager.d.ts +90 -0
  174. package/dist/file-manager.js +289 -0
  175. package/dist/file-tools/app-tools.d.ts +3 -0
  176. package/dist/file-tools/app-tools.js +242 -0
  177. package/dist/file-tools/index.d.ts +3 -0
  178. package/dist/file-tools/index.js +3 -0
  179. package/dist/file-tools/paths.d.ts +14 -0
  180. package/dist/file-tools/paths.js +33 -0
  181. package/dist/file-tools/vault-operations.d.ts +3 -0
  182. package/dist/file-tools/vault-operations.js +60 -0
  183. package/dist/generated/plugin-host-modules.schema.generated.d.ts +371 -0
  184. package/dist/generated/plugin-host-modules.schema.generated.js +374 -0
  185. package/dist/glob.d.ts +15 -0
  186. package/dist/glob.js +68 -0
  187. package/dist/history.svelte.d.ts +24 -0
  188. package/dist/history.svelte.js +74 -0
  189. package/dist/hooks/createVirtualizer.svelte.d.ts +7 -0
  190. package/dist/hooks/createVirtualizer.svelte.js +70 -0
  191. package/dist/hooks/index.d.ts +5 -0
  192. package/dist/hooks/index.js +5 -0
  193. package/dist/hooks/is-mobile.svelte.d.ts +5 -0
  194. package/dist/hooks/is-mobile.svelte.js +23 -0
  195. package/dist/hooks/mountComponent.svelte.d.ts +7 -0
  196. package/dist/hooks/mountComponent.svelte.js +16 -0
  197. package/dist/hooks/use-text-highlight.d.ts +17 -0
  198. package/dist/hooks/use-text-highlight.js +82 -0
  199. package/dist/hooks/useBoundingRect.svelte.d.ts +11 -0
  200. package/dist/hooks/useBoundingRect.svelte.js +46 -0
  201. package/dist/icons/index.d.ts +57 -0
  202. package/dist/icons/index.js +288 -0
  203. package/dist/index.d.ts +87 -0
  204. package/dist/index.js +87 -0
  205. package/dist/language-service/index.d.ts +9 -0
  206. package/dist/language-service/index.js +7 -0
  207. package/dist/language-service/manager.d.ts +47 -0
  208. package/dist/language-service/manager.js +404 -0
  209. package/dist/language-service/types.d.ts +92 -0
  210. package/dist/language-service/types.js +1 -0
  211. package/dist/language-service/virtual-document.d.ts +11 -0
  212. package/dist/language-service/virtual-document.js +45 -0
  213. package/dist/language-service/worker-protocol.d.ts +63 -0
  214. package/dist/language-service/worker-protocol.js +1 -0
  215. package/dist/language-service/worker-provider.d.ts +9 -0
  216. package/dist/language-service/worker-provider.js +38 -0
  217. package/dist/lapis-extension.d.ts +244 -0
  218. package/dist/lapis-extension.js +591 -0
  219. package/dist/links.d.ts +34 -0
  220. package/dist/links.js +191 -0
  221. package/dist/loaders.d.ts +9 -0
  222. package/dist/loaders.js +59 -0
  223. package/dist/localization-manager.svelte.d.ts +56 -0
  224. package/dist/localization-manager.svelte.js +157 -0
  225. package/dist/logging.d.ts +172 -0
  226. package/dist/logging.js +352 -0
  227. package/dist/markdown-extension-registry.d.ts +31 -0
  228. package/dist/markdown-extension-registry.js +31 -0
  229. package/dist/markdown-file-surface-registry.d.ts +25 -0
  230. package/dist/markdown-file-surface-registry.js +23 -0
  231. package/dist/markdown.d.ts +205 -0
  232. package/dist/markdown.js +147 -0
  233. package/dist/menu-utils.d.ts +1 -0
  234. package/dist/menu-utils.js +47 -0
  235. package/dist/menu.svelte.d.ts +121 -0
  236. package/dist/menu.svelte.js +295 -0
  237. package/dist/metadata-value.d.ts +10 -0
  238. package/dist/metadata-value.js +173 -0
  239. package/dist/metadata.svelte.d.ts +106 -0
  240. package/dist/metadata.svelte.js +608 -0
  241. package/dist/notifications.d.ts +209 -0
  242. package/dist/notifications.js +338 -0
  243. package/dist/open-file.d.ts +23 -0
  244. package/dist/open-file.js +102 -0
  245. package/dist/platform.d.ts +86 -0
  246. package/dist/platform.js +86 -0
  247. package/dist/plugin-asset-server.d.ts +60 -0
  248. package/dist/plugin-asset-server.js +222 -0
  249. package/dist/plugin-assets.d.ts +4 -0
  250. package/dist/plugin-assets.js +3 -0
  251. package/dist/plugin-capability-facade.d.ts +104 -0
  252. package/dist/plugin-capability-facade.js +61 -0
  253. package/dist/plugin-dependency-resolver.d.ts +36 -0
  254. package/dist/plugin-dependency-resolver.js +54 -0
  255. package/dist/plugin-dependency-scanner.d.ts +9 -0
  256. package/dist/plugin-dependency-scanner.js +274 -0
  257. package/dist/plugin-distribution/canonical-json.d.ts +1 -0
  258. package/dist/plugin-distribution/canonical-json.js +40 -0
  259. package/dist/plugin-distribution/compatibility.d.ts +5 -0
  260. package/dist/plugin-distribution/compatibility.js +38 -0
  261. package/dist/plugin-distribution/errors.d.ts +11 -0
  262. package/dist/plugin-distribution/errors.js +13 -0
  263. package/dist/plugin-distribution/hashes.d.ts +2 -0
  264. package/dist/plugin-distribution/hashes.js +17 -0
  265. package/dist/plugin-distribution/index.d.ts +18 -0
  266. package/dist/plugin-distribution/index.js +18 -0
  267. package/dist/plugin-distribution/installed-plugin-state.d.ts +20 -0
  268. package/dist/plugin-distribution/installed-plugin-state.js +73 -0
  269. package/dist/plugin-distribution/installer.d.ts +89 -0
  270. package/dist/plugin-distribution/installer.js +395 -0
  271. package/dist/plugin-distribution/manager.d.ts +128 -0
  272. package/dist/plugin-distribution/manager.js +358 -0
  273. package/dist/plugin-distribution/path-safety.d.ts +2 -0
  274. package/dist/plugin-distribution/path-safety.js +20 -0
  275. package/dist/plugin-distribution/plugin-bundle-verifier.d.ts +28 -0
  276. package/dist/plugin-distribution/plugin-bundle-verifier.js +96 -0
  277. package/dist/plugin-distribution/plugin-bundle-worker.d.ts +34 -0
  278. package/dist/plugin-distribution/plugin-bundle-worker.js +99 -0
  279. package/dist/plugin-distribution/plugin-bundle.d.ts +16 -0
  280. package/dist/plugin-distribution/plugin-bundle.js +244 -0
  281. package/dist/plugin-distribution/plugin-bundle.worker.d.ts +1 -0
  282. package/dist/plugin-distribution/plugin-bundle.worker.js +38 -0
  283. package/dist/plugin-distribution/registry-cache.d.ts +26 -0
  284. package/dist/plugin-distribution/registry-cache.js +85 -0
  285. package/dist/plugin-distribution/registry-client.d.ts +36 -0
  286. package/dist/plugin-distribution/registry-client.js +115 -0
  287. package/dist/plugin-distribution/reserved-ids.d.ts +4 -0
  288. package/dist/plugin-distribution/reserved-ids.js +10 -0
  289. package/dist/plugin-distribution/runtime-validation.d.ts +14 -0
  290. package/dist/plugin-distribution/runtime-validation.js +388 -0
  291. package/dist/plugin-distribution/schemas.d.ts +4895 -0
  292. package/dist/plugin-distribution/schemas.js +299 -0
  293. package/dist/plugin-distribution/signing.d.ts +5 -0
  294. package/dist/plugin-distribution/signing.js +38 -0
  295. package/dist/plugin-distribution/types.d.ts +217 -0
  296. package/dist/plugin-distribution/types.js +1 -0
  297. package/dist/plugin-install-progress.d.ts +15 -0
  298. package/dist/plugin-install-progress.js +86 -0
  299. package/dist/plugin-manager.d.ts +306 -0
  300. package/dist/plugin-manager.js +2848 -0
  301. package/dist/plugin-runtime-entry.d.ts +19 -0
  302. package/dist/plugin-runtime-entry.js +135 -0
  303. package/dist/plugin.d.ts +350 -0
  304. package/dist/plugin.js +754 -0
  305. package/dist/popover.d.ts +20 -0
  306. package/dist/popover.js +32 -0
  307. package/dist/promise-worker.d.ts +22 -0
  308. package/dist/promise-worker.js +65 -0
  309. package/dist/prompt-confirm.d.ts +9 -0
  310. package/dist/prompt-confirm.js +33 -0
  311. package/dist/search-document-provider.d.ts +45 -0
  312. package/dist/search-document-provider.js +54 -0
  313. package/dist/search-query/index.d.ts +78 -0
  314. package/dist/search-query/index.js +426 -0
  315. package/dist/search-query/parser.d.ts +3 -0
  316. package/dist/search-query/parser.js +16 -0
  317. package/dist/search-query/parser.terms.js +26 -0
  318. package/dist/search-query/search-query.grammar +128 -0
  319. package/dist/search.d.ts +19 -0
  320. package/dist/search.js +104 -0
  321. package/dist/setting-section-layout.d.ts +19 -0
  322. package/dist/setting-section-layout.js +194 -0
  323. package/dist/settings.svelte.d.ts +474 -0
  324. package/dist/settings.svelte.js +1421 -0
  325. package/dist/source-text-file-view.d.ts +25 -0
  326. package/dist/source-text-file-view.js +78 -0
  327. package/dist/status-bar.svelte.d.ts +29 -0
  328. package/dist/status-bar.svelte.js +72 -0
  329. package/dist/storage/app-database.d.ts +860 -0
  330. package/dist/storage/app-database.js +2372 -0
  331. package/dist/storage/blob-store.d.ts +12 -0
  332. package/dist/storage/blob-store.js +1 -0
  333. package/dist/storage/browser-app-database-coordination.d.ts +35 -0
  334. package/dist/storage/browser-app-database-coordination.js +207 -0
  335. package/dist/storage/browser-coordinated-app-database.d.ts +109 -0
  336. package/dist/storage/browser-coordinated-app-database.js +704 -0
  337. package/dist/storage/browser.d.ts +153 -0
  338. package/dist/storage/browser.js +794 -0
  339. package/dist/storage/desktop-native.d.ts +184 -0
  340. package/dist/storage/desktop-native.js +415 -0
  341. package/dist/storage/fs.d.ts +188 -0
  342. package/dist/storage/fs.js +307 -0
  343. package/dist/storage/index-projection.d.ts +236 -0
  344. package/dist/storage/index-projection.js +402 -0
  345. package/dist/storage/index.d.ts +17 -0
  346. package/dist/storage/index.js +17 -0
  347. package/dist/storage/keyval.d.ts +94 -0
  348. package/dist/storage/keyval.js +199 -0
  349. package/dist/storage/memory-vault-adapter.d.ts +44 -0
  350. package/dist/storage/memory-vault-adapter.js +351 -0
  351. package/dist/storage/native-vault-bootstrap-kv.d.ts +22 -0
  352. package/dist/storage/native-vault-bootstrap-kv.js +96 -0
  353. package/dist/storage/path.d.ts +22 -0
  354. package/dist/storage/path.js +110 -0
  355. package/dist/storage/search-embedding-provider.d.ts +75 -0
  356. package/dist/storage/search-embedding-provider.js +446 -0
  357. package/dist/storage/search-embedding-worker.d.ts +1 -0
  358. package/dist/storage/search-embedding-worker.js +63 -0
  359. package/dist/storage/search-query-evaluator.d.ts +14 -0
  360. package/dist/storage/search-query-evaluator.js +678 -0
  361. package/dist/storage/task-projection.d.ts +152 -0
  362. package/dist/storage/task-projection.js +154 -0
  363. package/dist/storage/turso-app-database.d.ts +150 -0
  364. package/dist/storage/turso-app-database.js +2671 -0
  365. package/dist/storage/vault-session.d.ts +37 -0
  366. package/dist/storage/vault-session.js +196 -0
  367. package/dist/storage/vault-state.d.ts +74 -0
  368. package/dist/storage/vault-state.js +181 -0
  369. package/dist/storage/vault.svelte.d.ts +257 -0
  370. package/dist/storage/vault.svelte.js +661 -0
  371. package/dist/suggest.d.ts +193 -0
  372. package/dist/suggest.js +391 -0
  373. package/dist/tasks.d.ts +7 -0
  374. package/dist/tasks.js +18 -0
  375. package/dist/telemetry.d.ts +116 -0
  376. package/dist/telemetry.js +103 -0
  377. package/dist/utils.d.ts +55 -0
  378. package/dist/utils.js +314 -0
  379. package/dist/vault-api.d.ts +5 -0
  380. package/dist/vault-api.js +3 -0
  381. package/dist/vault-maintenance-commands.d.ts +5 -0
  382. package/dist/vault-maintenance-commands.js +32 -0
  383. package/dist/view.svelte.d.ts +215 -0
  384. package/dist/view.svelte.js +381 -0
  385. package/dist/vite-env.d.ts +2 -0
  386. package/dist/workspace-host-internal.d.ts +7 -0
  387. package/dist/workspace-host-internal.js +7 -0
  388. package/dist/workspace-host.d.ts +10 -0
  389. package/dist/workspace-host.js +14 -0
  390. package/dist/workspace-layout-commands.d.ts +3 -0
  391. package/dist/workspace-layout-commands.js +72 -0
  392. package/dist/workspace-layout-normalizer.d.ts +92 -0
  393. package/dist/workspace-layout-normalizer.js +301 -0
  394. package/dist/workspace-layouts.d.ts +7 -0
  395. package/dist/workspace-layouts.js +23 -0
  396. package/dist/workspace-trust.d.ts +32 -0
  397. package/dist/workspace-trust.js +72 -0
  398. package/dist/workspace.svelte.d.ts +796 -0
  399. package/dist/workspace.svelte.js +4380 -0
  400. package/package.json +240 -0
@@ -0,0 +1,7 @@
1
+ import { type Component, type MountOptions } from "svelte";
2
+ export declare function mountComponent<T extends Record<string, any>>(component: Component<T, Record<string, any>, any>, options: MountOptions<T>): MountComponent<T>;
3
+ export type MountComponent<T> = {
4
+ props: T;
5
+ target: Document | Element | ShadowRoot;
6
+ destroy: () => void;
7
+ };
@@ -0,0 +1,16 @@
1
+ import { mount, unmount } from "svelte";
2
+ export function mountComponent(component, options) {
3
+ const _props = $state(options.props || {});
4
+ const comp = mount(component, { ...options, props: _props });
5
+ return {
6
+ destroy() {
7
+ unmount(comp);
8
+ },
9
+ get target() {
10
+ return options.target;
11
+ },
12
+ get props() {
13
+ return _props;
14
+ },
15
+ };
16
+ }
@@ -0,0 +1,17 @@
1
+ export type TextHighlightPart = {
2
+ highlighted: false;
3
+ text: string;
4
+ } | {
5
+ highlighted: true;
6
+ text: string;
7
+ };
8
+ export declare function getTextHighlightParts(query: string, value: string): TextHighlightPart[];
9
+ export declare function useTextHighlight(el: HTMLElement, { query, value }: {
10
+ query: string;
11
+ value: string;
12
+ }): {
13
+ update({ query, value }: {
14
+ query: string;
15
+ value: string;
16
+ }): void;
17
+ };
@@ -0,0 +1,82 @@
1
+ function findRanges(value, term) {
2
+ const ranges = [];
3
+ const needle = term.toLocaleLowerCase();
4
+ const haystack = value.toLocaleLowerCase();
5
+ let cursor = 0;
6
+ while (needle && cursor < haystack.length) {
7
+ const index = haystack.indexOf(needle, cursor);
8
+ if (index === -1) {
9
+ break;
10
+ }
11
+ ranges.push([index, index + needle.length]);
12
+ cursor = index + Math.max(needle.length, 1);
13
+ }
14
+ return ranges;
15
+ }
16
+ function mergeRanges(ranges) {
17
+ const sorted = ranges
18
+ .filter(([from, to]) => to > from)
19
+ .sort((a, b) => a[0] - b[0] || a[1] - b[1]);
20
+ const merged = [];
21
+ for (const [from, to] of sorted) {
22
+ const last = merged[merged.length - 1];
23
+ if (last && from <= last[1]) {
24
+ last[1] = Math.max(last[1], to);
25
+ continue;
26
+ }
27
+ merged.push([from, to]);
28
+ }
29
+ return merged;
30
+ }
31
+ export function getTextHighlightParts(query, value) {
32
+ const normalizedQuery = query.trim();
33
+ if (!normalizedQuery) {
34
+ return [{ highlighted: false, text: value }];
35
+ }
36
+ let ranges = findRanges(value, normalizedQuery);
37
+ if (ranges.length === 0) {
38
+ ranges = normalizedQuery
39
+ .split(/\s+/u)
40
+ .filter((part) => part.length > 1)
41
+ .flatMap((part) => findRanges(value, part));
42
+ }
43
+ const merged = mergeRanges(ranges);
44
+ if (merged.length === 0) {
45
+ return [{ highlighted: false, text: value }];
46
+ }
47
+ const parts = [];
48
+ let cursor = 0;
49
+ for (const [from, to] of merged) {
50
+ if (from > cursor) {
51
+ parts.push({ highlighted: false, text: value.slice(cursor, from) });
52
+ }
53
+ parts.push({ highlighted: true, text: value.slice(from, to) });
54
+ cursor = to;
55
+ }
56
+ if (cursor < value.length) {
57
+ parts.push({ highlighted: false, text: value.slice(cursor) });
58
+ }
59
+ return parts;
60
+ }
61
+ function renderHighlight(el, query, value) {
62
+ const fragment = document.createDocumentFragment();
63
+ for (const part of getTextHighlightParts(query, value)) {
64
+ if (!part.highlighted) {
65
+ fragment.append(document.createTextNode(part.text));
66
+ continue;
67
+ }
68
+ const span = document.createElement("span");
69
+ span.className = "suggestion-highlight";
70
+ span.textContent = part.text;
71
+ fragment.append(span);
72
+ }
73
+ el.replaceChildren(fragment);
74
+ }
75
+ export function useTextHighlight(el, { query, value }) {
76
+ renderHighlight(el, query, value);
77
+ return {
78
+ update({ query, value }) {
79
+ renderHighlight(el, query, value);
80
+ },
81
+ };
82
+ }
@@ -0,0 +1,11 @@
1
+ type BoundingRectProps = {
2
+ resize: boolean;
3
+ scroll: boolean;
4
+ observe: boolean;
5
+ };
6
+ export declare function useBoundingRect(props?: Partial<BoundingRectProps>): {
7
+ ref: HTMLElement | null;
8
+ readonly rect: DOMRect | null;
9
+ update: () => void;
10
+ };
11
+ export {};
@@ -0,0 +1,46 @@
1
+ import { onMount } from "svelte";
2
+ export function useBoundingRect(props = {}) {
3
+ const { resize = true, scroll = false, observe = false } = props;
4
+ let ref = $state(null);
5
+ let rect = $state(null);
6
+ let observer = new ResizeObserver(() => update());
7
+ const update = () => {
8
+ if (!ref)
9
+ return;
10
+ rect = ref.getBoundingClientRect();
11
+ };
12
+ onMount(() => {
13
+ if (resize) {
14
+ window.addEventListener("resize", update);
15
+ }
16
+ if (scroll) {
17
+ window.addEventListener("scroll", update);
18
+ }
19
+ update();
20
+ return () => {
21
+ window.removeEventListener("resize", update);
22
+ window.removeEventListener("scroll", update);
23
+ observer.disconnect();
24
+ };
25
+ });
26
+ return {
27
+ get ref() {
28
+ return ref;
29
+ },
30
+ get rect() {
31
+ return rect;
32
+ },
33
+ set ref(el) {
34
+ ref = el;
35
+ update();
36
+ if (el && observe) {
37
+ if (observer) {
38
+ observer.disconnect();
39
+ }
40
+ observer = new ResizeObserver(update);
41
+ observer.observe(el);
42
+ }
43
+ },
44
+ update,
45
+ };
46
+ }
@@ -0,0 +1,57 @@
1
+ import type { IconifyIcon, IconifyJSON } from "@iconify/types";
2
+ import { type IconifyIconCustomisations } from "@iconify/utils";
3
+ interface AsyncIconLoader {
4
+ name: string;
5
+ loader: () => Promise<IconifyJSON>;
6
+ }
7
+ interface SyncIconLoader {
8
+ name: string;
9
+ icons: IconifyJSON;
10
+ }
11
+ export type IconLoader = AsyncIconLoader | SyncIconLoader;
12
+ export type IconName = string;
13
+ export type CodiconLabelSegment = {
14
+ type: "text";
15
+ text: string;
16
+ } | {
17
+ type: "codicon";
18
+ name: string;
19
+ raw: string;
20
+ modifier?: "spin";
21
+ } | {
22
+ type: "icon";
23
+ name: string;
24
+ raw: string;
25
+ modifier?: "spin";
26
+ };
27
+ export declare const unknownIcon: IconifyIcon;
28
+ export declare const registerIconPacks: (iconLoaders: IconLoader[]) => void;
29
+ export declare const getSvg: (iconName: string | string[], customisations?: IconifyIconCustomisations & {
30
+ class?: string;
31
+ }) => Promise<string>;
32
+ export declare const isIconAvailable: (iconName: string) => Promise<boolean>;
33
+ export declare function isLabelIconAvailable(iconName: string): Promise<boolean>;
34
+ export declare function parseCodiconLabel(label: string | null | undefined): CodiconLabelSegment[];
35
+ export declare function getIconPacks(): IconLoader[];
36
+ export declare function getIconIds(): string[];
37
+ /**
38
+ * Adds an icon to the library.
39
+ *
40
+ * @param iconId - The icon ID
41
+ * @param svgContent - The content of the SVG.
42
+ * @public
43
+ */
44
+ export declare function addIcon(iconId: string, svgContent: string): void;
45
+ export declare function removeIcon(iconId: string): void;
46
+ export declare function getIcon(iconId: string): SVGSVGElement | null;
47
+ /**
48
+ * Insert an SVG into the element from an iconId. Does nothing if no icon
49
+ * associated with the iconId.
50
+ *
51
+ * @param parent - The HTML element to insert the icon
52
+ * @param iconId - The icon ID
53
+ * @public
54
+ * @see The Obsidian icon library includes the {@link https://lucide.dev/ Lucide icon library}, any icon name from their site will work here.
55
+ */
56
+ export declare function setIcon(parent: HTMLElement, iconId: string): void;
57
+ export {};
@@ -0,0 +1,288 @@
1
+ import { icons as lucideIcons } from "@iconify-json/lucide";
2
+ import { iconToSVG, parseSVGContent, iconToHTML, getIconData, stringToIcon, replaceIDs, convertParsedSVG, } from "@iconify/utils";
3
+ import { cn } from "../utils";
4
+ import lucideTags from "lucide-static/tags.json";
5
+ const codiconNamePattern = /^[a-z0-9-]+$/u;
6
+ const qualifiedIconNamePattern = /^[a-z0-9-]+:[a-z0-9-]+(?:-[a-z0-9-]+)*$/u;
7
+ const labelIconAvailabilityCache = new Map();
8
+ const iconsStore = new Map();
9
+ const loaderStore = new Map();
10
+ const codiconLabelPattern = /\$\(([^)]+)\)/g;
11
+ const customIcons = {
12
+ prefix: "custom",
13
+ aliases: {},
14
+ icons: {
15
+ blank: {
16
+ body: "<g></g>",
17
+ height: 24,
18
+ width: 24,
19
+ },
20
+ },
21
+ };
22
+ export const unknownIcon = {
23
+ body: '<path stroke="currentColor" d="M19.95,5.54l-3.49-3.49c-1.32-1.32-3.08-2.05-4.95-2.05H7C4.24,0,2,2.24,2,5v14c0,2.76,2.24,5,5,5h10c2.76,0,5-2.24,5-5V10.49c0-1.87-.73-3.63-2.05-4.95Zm-1.41,1.41c.32,.32,.59,.67,.81,1.05h-4.34c-.55,0-1-.45-1-1V2.66c.38,.22,.73,.49,1.05,.81l3.49,3.49ZM7,2h4.51c.16,0,.33,0,.49,.02V7c0,1.65,1.35,3,3,3h4.98c.02,.16,.02,.32,.02,.49v4.58l-2.41-2.41c-.87-.87-2.28-.87-3.15,0l-2.27,2.27c-.09,.09-.23,.09-.32,0l-2.27-2.27c-.87-.87-2.28-.87-3.15,0l-2.44,2.44V5c0-1.65,1.35-3,3-3Zm10,20H7c-1.65,0-3-1.35-3-3v-1.07l3.86-3.86c.09-.09,.23-.09,.32,0l2.27,2.27c.87,.87,2.28,.87,3.15,0l2.27-2.27c.09-.09,.23-.09,.32,0l3.83,3.83v1.1c0,1.65-1.35,3-3,3Z"/>',
24
+ height: 24,
25
+ width: 24,
26
+ };
27
+ export const registerIconPacks = (iconLoaders) => {
28
+ for (const iconLoader of iconLoaders) {
29
+ if (!iconLoader.name) {
30
+ throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');
31
+ }
32
+ console.debug("Registering icon pack:", iconLoader.name);
33
+ if ("loader" in iconLoader) {
34
+ loaderStore.set(iconLoader.name, iconLoader.loader);
35
+ }
36
+ else if ("icons" in iconLoader) {
37
+ iconsStore.set(iconLoader.name, iconLoader.icons);
38
+ }
39
+ else {
40
+ console.error("Invalid icon loader:", iconLoader);
41
+ throw new Error('Invalid icon loader. Must have either "icons" or "loader" property.');
42
+ }
43
+ }
44
+ };
45
+ function getIconCandidates(iconName) {
46
+ return [
47
+ stringToIcon(iconName, true, false),
48
+ stringToIcon(`lucide:${iconName}`, true, false),
49
+ stringToIcon(`custom:${iconName}`, true, false),
50
+ ].filter(Boolean);
51
+ }
52
+ const getRegisteredIconData = async (iconName) => {
53
+ iconName ||= "";
54
+ const candidates = getIconCandidates(iconName);
55
+ let sawRegisteredPrefix = false;
56
+ for (const candidate of candidates) {
57
+ const prefix = candidate.prefix;
58
+ if (!prefix || (!iconsStore.has(prefix) && !loaderStore.has(prefix))) {
59
+ continue;
60
+ }
61
+ sawRegisteredPrefix = true;
62
+ let icons = iconsStore.get(prefix);
63
+ if (!icons) {
64
+ const loader = loaderStore.get(prefix);
65
+ if (!loader) {
66
+ continue;
67
+ }
68
+ try {
69
+ const loaded = await loader();
70
+ icons = { ...loaded, prefix };
71
+ iconsStore.set(prefix, icons);
72
+ }
73
+ catch (e) {
74
+ console.error(e);
75
+ throw new Error(`Failed to load icon set: ${prefix}`);
76
+ }
77
+ }
78
+ const iconData = getIconData(icons, candidate.name);
79
+ if (iconData) {
80
+ return [iconData, candidate];
81
+ }
82
+ }
83
+ if (!sawRegisteredPrefix) {
84
+ throw new Error(`Invalid icon name: ${iconName}`);
85
+ }
86
+ throw new Error(`Icon not found: ${iconName}`);
87
+ };
88
+ export const getSvg = async (iconName, customisations) => {
89
+ let icons = Array.isArray(iconName) ? iconName : [iconName];
90
+ let iconDef;
91
+ for (const icon of icons) {
92
+ try {
93
+ iconDef = await getRegisteredIconData(icon);
94
+ if (iconDef) {
95
+ break;
96
+ }
97
+ }
98
+ catch (e) { }
99
+ }
100
+ iconDef ||= [
101
+ unknownIcon,
102
+ {
103
+ name: icons.map((it) => `unknown-${it}`).join(" "),
104
+ prefix: "unknown",
105
+ provider: "unknown",
106
+ },
107
+ ];
108
+ const [iconData, name] = iconDef;
109
+ const renderData = iconToSVG(iconData, customisations);
110
+ let className = cn(`${name.prefix}-icon ${name.prefix}-${name.name}`, customisations?.class);
111
+ const svg = iconToHTML(replaceIDs(renderData.body), renderData.attributes).replace(`width=`, `class=${JSON.stringify(className)} width=`);
112
+ return svg;
113
+ };
114
+ export const isIconAvailable = async (iconName) => {
115
+ try {
116
+ await getRegisteredIconData(iconName);
117
+ return true;
118
+ }
119
+ catch {
120
+ return false;
121
+ }
122
+ };
123
+ export function isLabelIconAvailable(iconName) {
124
+ const cached = labelIconAvailabilityCache.get(iconName);
125
+ if (cached) {
126
+ return cached;
127
+ }
128
+ const pending = isIconAvailable(iconName).then((available) => {
129
+ labelIconAvailabilityCache.set(iconName, Promise.resolve(available));
130
+ return available;
131
+ });
132
+ labelIconAvailabilityCache.set(iconName, pending);
133
+ return pending;
134
+ }
135
+ function parseCodiconToken(tokenBody, raw) {
136
+ const trimmed = tokenBody.trim();
137
+ if (!trimmed) {
138
+ return null;
139
+ }
140
+ const [name, modifier, ...rest] = trimmed.split("~");
141
+ if (rest.length > 0 || (modifier && modifier !== "spin")) {
142
+ return null;
143
+ }
144
+ const spin = modifier ? { modifier: "spin" } : {};
145
+ if (qualifiedIconNamePattern.test(name)) {
146
+ return { type: "icon", name, raw, ...spin };
147
+ }
148
+ if (codiconNamePattern.test(name)) {
149
+ return { type: "codicon", name, raw, ...spin };
150
+ }
151
+ return null;
152
+ }
153
+ export function parseCodiconLabel(label) {
154
+ const value = label ?? "";
155
+ if (!value) {
156
+ return [];
157
+ }
158
+ const segments = [];
159
+ let lastIndex = 0;
160
+ for (const match of value.matchAll(codiconLabelPattern)) {
161
+ const raw = match[0];
162
+ const tokenBody = match[1] ?? "";
163
+ const matchIndex = match.index ?? 0;
164
+ if (matchIndex > lastIndex) {
165
+ segments.push({
166
+ type: "text",
167
+ text: value.slice(lastIndex, matchIndex),
168
+ });
169
+ }
170
+ const token = parseCodiconToken(tokenBody, raw);
171
+ if (token) {
172
+ segments.push(token);
173
+ }
174
+ else {
175
+ segments.push({ type: "text", text: raw });
176
+ }
177
+ lastIndex = matchIndex + raw.length;
178
+ }
179
+ if (lastIndex < value.length) {
180
+ segments.push({ type: "text", text: value.slice(lastIndex) });
181
+ }
182
+ if (segments.length === 0) {
183
+ return [{ type: "text", text: value }];
184
+ }
185
+ return segments.filter((segment) => segment.type === "text" ? segment.text.length > 0 : true);
186
+ }
187
+ function parseSvgIcon(svg) {
188
+ const parsed = parseSVGContent(svg);
189
+ if (!parsed) {
190
+ throw new Error("Invalid icon");
191
+ }
192
+ const icon = convertParsedSVG(parsed);
193
+ if (!icon) {
194
+ throw new Error("Invalid icon");
195
+ }
196
+ return icon;
197
+ }
198
+ lucideIcons.aliases = {
199
+ "right-triangle": { parent: "chevron-down" },
200
+ install: { parent: "cloud-download" },
201
+ ...(lucideIcons.aliases || {}),
202
+ };
203
+ lucideIcons.categories ||= {};
204
+ for (const [key, tags] of Object.entries(lucideTags)) {
205
+ for (const tag of tags) {
206
+ lucideIcons.categories[tag] ||= [];
207
+ if (!lucideIcons.categories[tag].includes(key)) {
208
+ lucideIcons.categories[tag].push(key);
209
+ }
210
+ if (lucideIcons.icons[key] && !lucideIcons.aliases[tag]) {
211
+ lucideIcons.aliases[tag] = { parent: key };
212
+ }
213
+ }
214
+ }
215
+ registerIconPacks([
216
+ { name: "lucide", icons: lucideIcons },
217
+ { name: "custom", icons: customIcons },
218
+ ]);
219
+ export function getIconPacks() {
220
+ const iconLoaders = [];
221
+ const names = new Set();
222
+ for (const [name, icons] of iconsStore.entries()) {
223
+ iconLoaders.push({ name, icons });
224
+ names.add(name);
225
+ }
226
+ for (const [name, loader] of loaderStore.entries()) {
227
+ if (names.has(name)) {
228
+ continue;
229
+ }
230
+ iconLoaders.push({ name, loader });
231
+ names.add(name);
232
+ }
233
+ return iconLoaders;
234
+ }
235
+ export function getIconIds() {
236
+ const ids = new Set();
237
+ for (const icons of iconsStore.values()) {
238
+ Object.keys(icons.icons || {}).forEach((id) => ids.add(id));
239
+ Object.keys(icons.aliases || {}).forEach((id) => ids.add(id));
240
+ }
241
+ return [...ids].sort();
242
+ }
243
+ /**
244
+ * Adds an icon to the library.
245
+ *
246
+ * @param iconId - The icon ID
247
+ * @param svgContent - The content of the SVG.
248
+ * @public
249
+ */
250
+ export function addIcon(iconId, svgContent) {
251
+ const icon = parseSvgIcon(svgContent);
252
+ if (icon) {
253
+ customIcons.icons[iconId] = icon;
254
+ }
255
+ }
256
+ export function removeIcon(iconId) {
257
+ delete customIcons.icons[iconId];
258
+ delete customIcons.aliases[iconId];
259
+ }
260
+ export function getIcon(iconId) {
261
+ for (const candidate of getIconCandidates(iconId)) {
262
+ const icons = candidate.prefix ? iconsStore.get(candidate.prefix) : null;
263
+ const iconData = icons ? getIconData(icons, candidate.name) : null;
264
+ if (!iconData)
265
+ continue;
266
+ const renderData = iconToSVG(iconData);
267
+ const wrapper = document.createElement("div");
268
+ wrapper.innerHTML = iconToHTML(replaceIDs(renderData.body), renderData.attributes);
269
+ return wrapper.firstElementChild;
270
+ }
271
+ return null;
272
+ }
273
+ /**
274
+ * Insert an SVG into the element from an iconId. Does nothing if no icon
275
+ * associated with the iconId.
276
+ *
277
+ * @param parent - The HTML element to insert the icon
278
+ * @param iconId - The icon ID
279
+ * @public
280
+ * @see The Obsidian icon library includes the {@link https://lucide.dev/ Lucide icon library}, any icon name from their site will work here.
281
+ */
282
+ export function setIcon(parent, iconId) {
283
+ getSvg(iconId, { width: "24px", height: "24px" }).then((svg) => {
284
+ if (svg) {
285
+ parent.innerHTML = svg;
286
+ }
287
+ });
288
+ }
@@ -0,0 +1,87 @@
1
+ import "./enhance";
2
+ export * from "./editor.svelte";
3
+ export * from "./events";
4
+ export * from "./components/editor/extensions/autocomplete";
5
+ export * from "./components/editor/extensions/lint";
6
+ export * from "./components/editor/language-service";
7
+ export * from "./menu.svelte";
8
+ export * from "./cache.svelte";
9
+ export * from "./plugin";
10
+ export * from "./plugin-capability-facade";
11
+ export * from "./plugin-asset-server";
12
+ export * from "./plugin-dependency-resolver";
13
+ export * from "./plugin-dependency-scanner";
14
+ export * from "./plugin-distribution";
15
+ export * from "./plugin-install-progress";
16
+ export * from "./lapis-extension";
17
+ export * from "./plugin-runtime-entry";
18
+ export * from "./plugin-manager";
19
+ export * from "./settings.svelte";
20
+ export * from "./view.svelte";
21
+ export * from "./source-text-file-view";
22
+ export * from "./workspace.svelte";
23
+ export * from "./hooks";
24
+ export * from "./context.svelte";
25
+ export * from "./application-compatibility";
26
+ export * from "./application-state.svelte";
27
+ export * from "./workspace-trust";
28
+ export * from "./context-keys.svelte";
29
+ export * from "./icons/index";
30
+ export * from "./storage/fs";
31
+ export * from "./storage/memory-vault-adapter";
32
+ export * from "./storage/blob-store";
33
+ export * from "./storage/app-database";
34
+ export * from "./storage/task-projection";
35
+ export * from "./storage/index-projection";
36
+ export * from "./storage/turso-app-database";
37
+ export * from "./storage/search-embedding-provider";
38
+ export * from "./storage/keyval";
39
+ export * from "./storage/path";
40
+ export { Vault, ENOTDIR, type VaultGlobOptions } from "./storage/vault.svelte";
41
+ export * from "./storage/vault-state";
42
+ export * from "./storage/native-vault-bootstrap-kv";
43
+ export * from "./storage/vault-session";
44
+ export * from "./storage/desktop-native";
45
+ export * from "./storage/browser";
46
+ export * from "./storage/browser-coordinated-app-database";
47
+ export * from "./command.svelte";
48
+ export * from "./configuration.svelte";
49
+ export * from "./configuration-option-source-registry";
50
+ export * from "./configuration-option-source-providers";
51
+ export * from "./editor-view-registry";
52
+ export * from "./glob";
53
+ export * from "./platform";
54
+ export * from "./suggest";
55
+ export * from "./markdown";
56
+ export * from "./markdown-extension-registry";
57
+ export * from "./markdown-file-surface-registry";
58
+ export * from "./logging";
59
+ export * from "./telemetry";
60
+ export * from "./notifications";
61
+ export * from "./status-bar.svelte";
62
+ export * from "./app-url";
63
+ export * from "./agent-tools";
64
+ export * from "./agent-skills";
65
+ export * from "./agent-result-views";
66
+ export * from "./language-service";
67
+ export * from "./diagnostics";
68
+ export * from "./metadata.svelte";
69
+ export * from "./metadata-value";
70
+ export * from "./embed-registry";
71
+ export * from "./file-manager";
72
+ export * from "./links";
73
+ export * from "./localization-manager.svelte";
74
+ export * from "./utils";
75
+ export { debounce, type Debouncer } from "./utils";
76
+ export * from "./promise-worker";
77
+ export * from "./search";
78
+ export * from "./search-query";
79
+ export * from "./search-document-provider";
80
+ export * from "./daily-document-provider";
81
+ export * from "./loaders";
82
+ export * from "./bases";
83
+ export * from "./open-file";
84
+ export * from "./popover";
85
+ export * from "./prompt-confirm";
86
+ export * from "./compat";
87
+ export * from "./tasks";