@vibesdotdev/editor 0.0.0-stage → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +36 -2
  3. package/dist/capabilities/editor-document-capabilities.d.ts +6 -0
  4. package/dist/capabilities/editor-document-capabilities.d.ts.map +1 -0
  5. package/dist/capabilities/editor-document-capabilities.js +47 -0
  6. package/dist/capabilities/editor-document-capabilities.js.map +1 -0
  7. package/dist/cli/editor.cli-command.descriptor.d.ts +3 -0
  8. package/dist/cli/editor.cli-command.descriptor.d.ts.map +1 -0
  9. package/dist/cli/editor.cli-command.descriptor.js +27 -0
  10. package/dist/cli/editor.cli-command.descriptor.js.map +1 -0
  11. package/dist/cli/editor.impl.d.ts +10 -0
  12. package/dist/cli/editor.impl.d.ts.map +1 -0
  13. package/dist/cli/editor.impl.js +96 -0
  14. package/dist/cli/editor.impl.js.map +1 -0
  15. package/dist/cli/host-environment.context.descriptor.d.ts +35 -0
  16. package/dist/cli/host-environment.context.descriptor.d.ts.map +1 -0
  17. package/dist/cli/host-environment.context.descriptor.js +13 -0
  18. package/dist/cli/host-environment.context.descriptor.js.map +1 -0
  19. package/dist/cli/host-environment.context.impl.d.ts +8 -0
  20. package/dist/cli/host-environment.context.impl.d.ts.map +1 -0
  21. package/dist/cli/host-environment.context.impl.js +4 -0
  22. package/dist/cli/host-environment.context.impl.js.map +1 -0
  23. package/dist/cli/nvim/dev.nvim.cli-command.descriptor.d.ts +12 -0
  24. package/dist/cli/nvim/dev.nvim.cli-command.descriptor.d.ts.map +1 -0
  25. package/dist/cli/nvim/dev.nvim.cli-command.descriptor.js +12 -0
  26. package/dist/cli/nvim/dev.nvim.cli-command.descriptor.js.map +1 -0
  27. package/dist/cli/nvim/doctor.cli-command.descriptor.d.ts +17 -0
  28. package/dist/cli/nvim/doctor.cli-command.descriptor.d.ts.map +1 -0
  29. package/dist/cli/nvim/doctor.cli-command.descriptor.js +15 -0
  30. package/dist/cli/nvim/doctor.cli-command.descriptor.js.map +1 -0
  31. package/dist/cli/nvim/doctor.impl.d.ts +10 -0
  32. package/dist/cli/nvim/doctor.impl.d.ts.map +1 -0
  33. package/dist/cli/nvim/doctor.impl.js +31 -0
  34. package/dist/cli/nvim/doctor.impl.js.map +1 -0
  35. package/dist/cli/nvim/install-target.d.ts +7 -0
  36. package/dist/cli/nvim/install-target.d.ts.map +1 -0
  37. package/dist/cli/nvim/install-target.js +10 -0
  38. package/dist/cli/nvim/install-target.js.map +1 -0
  39. package/dist/cli/nvim/install.cli-command.descriptor.d.ts +29 -0
  40. package/dist/cli/nvim/install.cli-command.descriptor.d.ts.map +1 -0
  41. package/dist/cli/nvim/install.cli-command.descriptor.js +19 -0
  42. package/dist/cli/nvim/install.cli-command.descriptor.js.map +1 -0
  43. package/dist/cli/nvim/install.impl.d.ts +15 -0
  44. package/dist/cli/nvim/install.impl.d.ts.map +1 -0
  45. package/dist/cli/nvim/install.impl.js +75 -0
  46. package/dist/cli/nvim/install.impl.js.map +1 -0
  47. package/dist/cli/nvim/sidecar.cli-command.descriptor.d.ts +17 -0
  48. package/dist/cli/nvim/sidecar.cli-command.descriptor.d.ts.map +1 -0
  49. package/dist/cli/nvim/sidecar.cli-command.descriptor.js +16 -0
  50. package/dist/cli/nvim/sidecar.cli-command.descriptor.js.map +1 -0
  51. package/dist/cli/nvim/sidecar.impl.d.ts +7 -0
  52. package/dist/cli/nvim/sidecar.impl.d.ts.map +1 -0
  53. package/dist/cli/nvim/sidecar.impl.js +42 -0
  54. package/dist/cli/nvim/sidecar.impl.js.map +1 -0
  55. package/dist/cli/nvim/uninstall.cli-command.descriptor.d.ts +20 -0
  56. package/dist/cli/nvim/uninstall.cli-command.descriptor.d.ts.map +1 -0
  57. package/dist/cli/nvim/uninstall.cli-command.descriptor.js +16 -0
  58. package/dist/cli/nvim/uninstall.cli-command.descriptor.js.map +1 -0
  59. package/dist/cli/nvim/uninstall.impl.d.ts +8 -0
  60. package/dist/cli/nvim/uninstall.impl.d.ts.map +1 -0
  61. package/dist/cli/nvim/uninstall.impl.js +18 -0
  62. package/dist/cli/nvim/uninstall.impl.js.map +1 -0
  63. package/dist/cli/plugin.d.ts +3 -0
  64. package/dist/cli/plugin.d.ts.map +1 -0
  65. package/dist/cli/plugin.js +15 -0
  66. package/dist/cli/plugin.js.map +1 -0
  67. package/dist/client/editor-client.contract.d.ts +30 -0
  68. package/dist/client/editor-client.contract.d.ts.map +1 -0
  69. package/dist/client/editor-client.contract.js +2 -0
  70. package/dist/client/editor-client.contract.js.map +1 -0
  71. package/dist/client/editor-client.descriptor.d.ts +9 -0
  72. package/dist/client/editor-client.descriptor.d.ts.map +1 -0
  73. package/dist/client/editor-client.descriptor.js +10 -0
  74. package/dist/client/editor-client.descriptor.js.map +1 -0
  75. package/dist/client/editor-client.error.d.ts +7 -0
  76. package/dist/client/editor-client.error.d.ts.map +1 -0
  77. package/dist/client/editor-client.error.js +24 -0
  78. package/dist/client/editor-client.error.js.map +1 -0
  79. package/dist/client/editor-runtime-client.d.ts +18 -0
  80. package/dist/client/editor-runtime-client.d.ts.map +1 -0
  81. package/dist/client/editor-runtime-client.js +144 -0
  82. package/dist/client/editor-runtime-client.js.map +1 -0
  83. package/dist/client/editor-transaction.d.ts +72 -0
  84. package/dist/client/editor-transaction.d.ts.map +1 -0
  85. package/dist/client/editor-transaction.js +487 -0
  86. package/dist/client/editor-transaction.js.map +1 -0
  87. package/dist/client/get-vibes-editor-client.d.ts +4 -0
  88. package/dist/client/get-vibes-editor-client.d.ts.map +1 -0
  89. package/dist/client/get-vibes-editor-client.js +5 -0
  90. package/dist/client/get-vibes-editor-client.js.map +1 -0
  91. package/dist/client/index.d.ts +5 -0
  92. package/dist/client/index.d.ts.map +1 -0
  93. package/dist/client/index.js +5 -0
  94. package/dist/client/index.js.map +1 -0
  95. package/dist/code-atlas/atlas.consumer.plugin.d.ts +7 -0
  96. package/dist/code-atlas/atlas.consumer.plugin.d.ts.map +1 -0
  97. package/dist/code-atlas/atlas.consumer.plugin.js +23 -0
  98. package/dist/code-atlas/atlas.consumer.plugin.js.map +1 -0
  99. package/dist/code-atlas/cloud.plugin.d.ts +3 -0
  100. package/dist/code-atlas/cloud.plugin.d.ts.map +1 -0
  101. package/dist/code-atlas/cloud.plugin.js +13 -0
  102. package/dist/code-atlas/cloud.plugin.js.map +1 -0
  103. package/dist/code-atlas/code-atlas.plugin.d.ts +2 -0
  104. package/dist/code-atlas/code-atlas.plugin.d.ts.map +1 -0
  105. package/dist/code-atlas/code-atlas.plugin.js +2 -0
  106. package/dist/code-atlas/code-atlas.plugin.js.map +1 -0
  107. package/dist/code-atlas/consumer.d.ts +3 -0
  108. package/dist/code-atlas/consumer.d.ts.map +1 -0
  109. package/dist/code-atlas/consumer.js +3 -0
  110. package/dist/code-atlas/consumer.js.map +1 -0
  111. package/dist/code-atlas/index.d.ts +4 -0
  112. package/dist/code-atlas/index.d.ts.map +1 -0
  113. package/dist/code-atlas/index.js +4 -0
  114. package/dist/code-atlas/index.js.map +1 -0
  115. package/dist/code-atlas/plugin.d.ts +3 -0
  116. package/dist/code-atlas/plugin.d.ts.map +1 -0
  117. package/dist/code-atlas/plugin.js +3 -0
  118. package/dist/code-atlas/plugin.js.map +1 -0
  119. package/dist/code-atlas/tools/aliases.d.ts +16 -0
  120. package/dist/code-atlas/tools/aliases.d.ts.map +1 -0
  121. package/dist/code-atlas/tools/aliases.js +47 -0
  122. package/dist/code-atlas/tools/aliases.js.map +1 -0
  123. package/dist/code-atlas/tools/aliases.storage.descriptor.d.ts +18 -0
  124. package/dist/code-atlas/tools/aliases.storage.descriptor.d.ts.map +1 -0
  125. package/dist/code-atlas/tools/aliases.storage.descriptor.js +37 -0
  126. package/dist/code-atlas/tools/aliases.storage.descriptor.js.map +1 -0
  127. package/dist/code-atlas/tools/code-atlas.impl.consumer.d.ts +466 -0
  128. package/dist/code-atlas/tools/code-atlas.impl.consumer.d.ts.map +1 -0
  129. package/dist/code-atlas/tools/code-atlas.impl.consumer.js +83 -0
  130. package/dist/code-atlas/tools/code-atlas.impl.consumer.js.map +1 -0
  131. package/dist/code-atlas/tools/diagnostics/implementation.d.ts +20 -0
  132. package/dist/code-atlas/tools/diagnostics/implementation.d.ts.map +1 -0
  133. package/dist/code-atlas/tools/diagnostics/implementation.js +32 -0
  134. package/dist/code-atlas/tools/diagnostics/implementation.js.map +1 -0
  135. package/dist/code-atlas/tools/graph/cycles.d.ts +39 -0
  136. package/dist/code-atlas/tools/graph/cycles.d.ts.map +1 -0
  137. package/dist/code-atlas/tools/graph/cycles.js +24 -0
  138. package/dist/code-atlas/tools/graph/cycles.js.map +1 -0
  139. package/dist/code-atlas/tools/graph/implementation.d.ts +4 -0
  140. package/dist/code-atlas/tools/graph/implementation.d.ts.map +1 -0
  141. package/dist/code-atlas/tools/graph/implementation.js +131 -0
  142. package/dist/code-atlas/tools/graph/implementation.js.map +1 -0
  143. package/dist/code-atlas/tools/graph/schemas.d.ts +62 -0
  144. package/dist/code-atlas/tools/graph/schemas.d.ts.map +1 -0
  145. package/dist/code-atlas/tools/graph/schemas.js +51 -0
  146. package/dist/code-atlas/tools/graph/schemas.js.map +1 -0
  147. package/dist/code-atlas/tools/helpers.d.ts +60 -0
  148. package/dist/code-atlas/tools/helpers.d.ts.map +1 -0
  149. package/dist/code-atlas/tools/helpers.js +78 -0
  150. package/dist/code-atlas/tools/helpers.js.map +1 -0
  151. package/dist/code-atlas/tools/hooks/on-tool-error.impl.d.ts +14 -0
  152. package/dist/code-atlas/tools/hooks/on-tool-error.impl.d.ts.map +1 -0
  153. package/dist/code-atlas/tools/hooks/on-tool-error.impl.js +57 -0
  154. package/dist/code-atlas/tools/hooks/on-tool-error.impl.js.map +1 -0
  155. package/dist/code-atlas/tools/hooks/on-tool-error.subscription.codegraph.descriptor.d.ts +21 -0
  156. package/dist/code-atlas/tools/hooks/on-tool-error.subscription.codegraph.descriptor.d.ts.map +1 -0
  157. package/dist/code-atlas/tools/hooks/on-tool-error.subscription.codegraph.descriptor.js +19 -0
  158. package/dist/code-atlas/tools/hooks/on-tool-error.subscription.codegraph.descriptor.js.map +1 -0
  159. package/dist/code-atlas/tools/index-management/alias/implementation.d.ts +15 -0
  160. package/dist/code-atlas/tools/index-management/alias/implementation.d.ts.map +1 -0
  161. package/dist/code-atlas/tools/index-management/alias/implementation.js +51 -0
  162. package/dist/code-atlas/tools/index-management/alias/implementation.js.map +1 -0
  163. package/dist/code-atlas/tools/index-management/alias/schemas.d.ts +37 -0
  164. package/dist/code-atlas/tools/index-management/alias/schemas.d.ts.map +1 -0
  165. package/dist/code-atlas/tools/index-management/alias/schemas.js +31 -0
  166. package/dist/code-atlas/tools/index-management/alias/schemas.js.map +1 -0
  167. package/dist/code-atlas/tools/index-management/create/implementation.d.ts +4 -0
  168. package/dist/code-atlas/tools/index-management/create/implementation.d.ts.map +1 -0
  169. package/dist/code-atlas/tools/index-management/create/implementation.js +57 -0
  170. package/dist/code-atlas/tools/index-management/create/implementation.js.map +1 -0
  171. package/dist/code-atlas/tools/index-management/create/schemas.d.ts +38 -0
  172. package/dist/code-atlas/tools/index-management/create/schemas.d.ts.map +1 -0
  173. package/dist/code-atlas/tools/index-management/create/schemas.js +32 -0
  174. package/dist/code-atlas/tools/index-management/create/schemas.js.map +1 -0
  175. package/dist/code-atlas/tools/index-management/delete/implementation.d.ts +4 -0
  176. package/dist/code-atlas/tools/index-management/delete/implementation.d.ts.map +1 -0
  177. package/dist/code-atlas/tools/index-management/delete/implementation.js +43 -0
  178. package/dist/code-atlas/tools/index-management/delete/implementation.js.map +1 -0
  179. package/dist/code-atlas/tools/index-management/delete/schemas.d.ts +20 -0
  180. package/dist/code-atlas/tools/index-management/delete/schemas.d.ts.map +1 -0
  181. package/dist/code-atlas/tools/index-management/delete/schemas.js +18 -0
  182. package/dist/code-atlas/tools/index-management/delete/schemas.js.map +1 -0
  183. package/dist/code-atlas/tools/index-management/incremental/implementation.d.ts +4 -0
  184. package/dist/code-atlas/tools/index-management/incremental/implementation.d.ts.map +1 -0
  185. package/dist/code-atlas/tools/index-management/incremental/implementation.js +21 -0
  186. package/dist/code-atlas/tools/index-management/incremental/implementation.js.map +1 -0
  187. package/dist/code-atlas/tools/index-management/incremental/schemas.d.ts +14 -0
  188. package/dist/code-atlas/tools/index-management/incremental/schemas.d.ts.map +1 -0
  189. package/dist/code-atlas/tools/index-management/incremental/schemas.js +12 -0
  190. package/dist/code-atlas/tools/index-management/incremental/schemas.js.map +1 -0
  191. package/dist/code-atlas/tools/index-management/index.d.ts +17 -0
  192. package/dist/code-atlas/tools/index-management/index.d.ts.map +1 -0
  193. package/dist/code-atlas/tools/index-management/index.js +9 -0
  194. package/dist/code-atlas/tools/index-management/index.js.map +1 -0
  195. package/dist/code-atlas/tools/index-management/job-status/implementation.d.ts +4 -0
  196. package/dist/code-atlas/tools/index-management/job-status/implementation.d.ts.map +1 -0
  197. package/dist/code-atlas/tools/index-management/job-status/implementation.js +108 -0
  198. package/dist/code-atlas/tools/index-management/job-status/implementation.js.map +1 -0
  199. package/dist/code-atlas/tools/index-management/job-status/schemas.d.ts +109 -0
  200. package/dist/code-atlas/tools/index-management/job-status/schemas.d.ts.map +1 -0
  201. package/dist/code-atlas/tools/index-management/job-status/schemas.js +55 -0
  202. package/dist/code-atlas/tools/index-management/job-status/schemas.js.map +1 -0
  203. package/dist/code-atlas/tools/index-management/list/implementation.d.ts +4 -0
  204. package/dist/code-atlas/tools/index-management/list/implementation.d.ts.map +1 -0
  205. package/dist/code-atlas/tools/index-management/list/implementation.js +48 -0
  206. package/dist/code-atlas/tools/index-management/list/implementation.js.map +1 -0
  207. package/dist/code-atlas/tools/index-management/list/schemas.d.ts +16 -0
  208. package/dist/code-atlas/tools/index-management/list/schemas.d.ts.map +1 -0
  209. package/dist/code-atlas/tools/index-management/list/schemas.js +14 -0
  210. package/dist/code-atlas/tools/index-management/list/schemas.js.map +1 -0
  211. package/dist/code-atlas/tools/index-management/status/implementation.d.ts +4 -0
  212. package/dist/code-atlas/tools/index-management/status/implementation.d.ts.map +1 -0
  213. package/dist/code-atlas/tools/index-management/status/implementation.js +70 -0
  214. package/dist/code-atlas/tools/index-management/status/implementation.js.map +1 -0
  215. package/dist/code-atlas/tools/index-management/status/schemas.d.ts +44 -0
  216. package/dist/code-atlas/tools/index-management/status/schemas.d.ts.map +1 -0
  217. package/dist/code-atlas/tools/index-management/status/schemas.js +45 -0
  218. package/dist/code-atlas/tools/index-management/status/schemas.js.map +1 -0
  219. package/dist/code-atlas/tools/index-management/update/implementation.d.ts +4 -0
  220. package/dist/code-atlas/tools/index-management/update/implementation.d.ts.map +1 -0
  221. package/dist/code-atlas/tools/index-management/update/implementation.js +100 -0
  222. package/dist/code-atlas/tools/index-management/update/implementation.js.map +1 -0
  223. package/dist/code-atlas/tools/index-management/update/schemas.d.ts +36 -0
  224. package/dist/code-atlas/tools/index-management/update/schemas.d.ts.map +1 -0
  225. package/dist/code-atlas/tools/index-management/update/schemas.js +33 -0
  226. package/dist/code-atlas/tools/index-management/update/schemas.js.map +1 -0
  227. package/dist/code-atlas/tools/index.d.ts +13 -0
  228. package/dist/code-atlas/tools/index.d.ts.map +1 -0
  229. package/dist/code-atlas/tools/index.js +13 -0
  230. package/dist/code-atlas/tools/index.js.map +1 -0
  231. package/dist/code-atlas/tools/rename/implementation.d.ts +15 -0
  232. package/dist/code-atlas/tools/rename/implementation.d.ts.map +1 -0
  233. package/dist/code-atlas/tools/rename/implementation.js +181 -0
  234. package/dist/code-atlas/tools/rename/implementation.js.map +1 -0
  235. package/dist/code-atlas/tools/rename/schemas.d.ts +34 -0
  236. package/dist/code-atlas/tools/rename/schemas.d.ts.map +1 -0
  237. package/dist/code-atlas/tools/rename/schemas.js +27 -0
  238. package/dist/code-atlas/tools/rename/schemas.js.map +1 -0
  239. package/dist/code-atlas/tools/schemas/helpers.d.ts +3 -0
  240. package/dist/code-atlas/tools/schemas/helpers.d.ts.map +1 -0
  241. package/dist/code-atlas/tools/schemas/helpers.js +2 -0
  242. package/dist/code-atlas/tools/schemas/helpers.js.map +1 -0
  243. package/dist/code-atlas/tools/schemas-actions.d.ts +172 -0
  244. package/dist/code-atlas/tools/schemas-actions.d.ts.map +1 -0
  245. package/dist/code-atlas/tools/schemas-actions.js +46 -0
  246. package/dist/code-atlas/tools/schemas-actions.js.map +1 -0
  247. package/dist/code-atlas/tools/schemas-base.d.ts +153 -0
  248. package/dist/code-atlas/tools/schemas-base.d.ts.map +1 -0
  249. package/dist/code-atlas/tools/schemas-base.js +89 -0
  250. package/dist/code-atlas/tools/schemas-base.js.map +1 -0
  251. package/dist/code-atlas/tools/schemas.d.ts +159 -0
  252. package/dist/code-atlas/tools/schemas.d.ts.map +1 -0
  253. package/dist/code-atlas/tools/schemas.js +41 -0
  254. package/dist/code-atlas/tools/schemas.js.map +1 -0
  255. package/dist/code-atlas/tools/search/implementation.d.ts +4 -0
  256. package/dist/code-atlas/tools/search/implementation.d.ts.map +1 -0
  257. package/dist/code-atlas/tools/search/implementation.js +184 -0
  258. package/dist/code-atlas/tools/search/implementation.js.map +1 -0
  259. package/dist/code-atlas/tools/search/schemas.d.ts +65 -0
  260. package/dist/code-atlas/tools/search/schemas.d.ts.map +1 -0
  261. package/dist/code-atlas/tools/search/schemas.js +38 -0
  262. package/dist/code-atlas/tools/search/schemas.js.map +1 -0
  263. package/dist/code-atlas/tools/symbol/implementation.d.ts +4 -0
  264. package/dist/code-atlas/tools/symbol/implementation.d.ts.map +1 -0
  265. package/dist/code-atlas/tools/symbol/implementation.js +83 -0
  266. package/dist/code-atlas/tools/symbol/implementation.js.map +1 -0
  267. package/dist/code-atlas/tools/symbol/schemas.d.ts +51 -0
  268. package/dist/code-atlas/tools/symbol/schemas.d.ts.map +1 -0
  269. package/dist/code-atlas/tools/symbol/schemas.js +53 -0
  270. package/dist/code-atlas/tools/symbol/schemas.js.map +1 -0
  271. package/dist/code-atlas/tools/workspace-atlas.descriptor.d.ts +149 -0
  272. package/dist/code-atlas/tools/workspace-atlas.descriptor.d.ts.map +1 -0
  273. package/dist/code-atlas/tools/workspace-atlas.descriptor.js +35 -0
  274. package/dist/code-atlas/tools/workspace-atlas.descriptor.js.map +1 -0
  275. package/dist/code-atlas/tools/workspace-atlas.impl.consumer.d.ts +231 -0
  276. package/dist/code-atlas/tools/workspace-atlas.impl.consumer.d.ts.map +1 -0
  277. package/dist/code-atlas/tools/workspace-atlas.impl.consumer.js +16 -0
  278. package/dist/code-atlas/tools/workspace-atlas.impl.consumer.js.map +1 -0
  279. package/dist/code-atlas/tools/workspace-atlas.schemas.d.ts +118 -0
  280. package/dist/code-atlas/tools/workspace-atlas.schemas.d.ts.map +1 -0
  281. package/dist/code-atlas/tools/workspace-atlas.schemas.js +9 -0
  282. package/dist/code-atlas/tools/workspace-atlas.schemas.js.map +1 -0
  283. package/dist/code-atlas/tools/workspace-search.descriptor.d.ts +168 -0
  284. package/dist/code-atlas/tools/workspace-search.descriptor.d.ts.map +1 -0
  285. package/dist/code-atlas/tools/workspace-search.descriptor.js +56 -0
  286. package/dist/code-atlas/tools/workspace-search.descriptor.js.map +1 -0
  287. package/dist/code-atlas/tools/workspace-search.impl.consumer.d.ts +244 -0
  288. package/dist/code-atlas/tools/workspace-search.impl.consumer.d.ts.map +1 -0
  289. package/dist/code-atlas/tools/workspace-search.impl.consumer.js +23 -0
  290. package/dist/code-atlas/tools/workspace-search.impl.consumer.js.map +1 -0
  291. package/dist/code-atlas/tools/workspace-search.schemas.d.ts +115 -0
  292. package/dist/code-atlas/tools/workspace-search.schemas.d.ts.map +1 -0
  293. package/dist/code-atlas/tools/workspace-search.schemas.js +86 -0
  294. package/dist/code-atlas/tools/workspace-search.schemas.js.map +1 -0
  295. package/dist/code-atlas/tools/workspace-sync-status/schemas.d.ts +22 -0
  296. package/dist/code-atlas/tools/workspace-sync-status/schemas.d.ts.map +1 -0
  297. package/dist/code-atlas/tools/workspace-sync-status/schemas.js +22 -0
  298. package/dist/code-atlas/tools/workspace-sync-status/schemas.js.map +1 -0
  299. package/dist/code-atlas/tools/workspace-sync-status/workspace-sync-status.impl.consumer.d.ts +8 -0
  300. package/dist/code-atlas/tools/workspace-sync-status/workspace-sync-status.impl.consumer.d.ts.map +1 -0
  301. package/dist/code-atlas/tools/workspace-sync-status/workspace-sync-status.impl.consumer.js +49 -0
  302. package/dist/code-atlas/tools/workspace-sync-status/workspace-sync-status.impl.consumer.js.map +1 -0
  303. package/dist/config/editor.config.descriptor.d.ts +46 -0
  304. package/dist/config/editor.config.descriptor.d.ts.map +1 -0
  305. package/dist/config/editor.config.descriptor.js +35 -0
  306. package/dist/config/editor.config.descriptor.js.map +1 -0
  307. package/dist/config/load.d.ts +4 -0
  308. package/dist/config/load.d.ts.map +1 -0
  309. package/dist/config/load.js +12 -0
  310. package/dist/config/load.js.map +1 -0
  311. package/dist/docs/editor.transactions.docs.descriptor.d.ts +4 -0
  312. package/dist/docs/editor.transactions.docs.descriptor.d.ts.map +1 -0
  313. package/dist/docs/editor.transactions.docs.descriptor.js +52 -0
  314. package/dist/docs/editor.transactions.docs.descriptor.js.map +1 -0
  315. package/dist/editor.plugin.d.ts +3 -0
  316. package/dist/editor.plugin.d.ts.map +1 -0
  317. package/dist/editor.plugin.js +16 -0
  318. package/dist/editor.plugin.js.map +1 -0
  319. package/dist/index.d.ts +4 -0
  320. package/dist/index.d.ts.map +1 -0
  321. package/dist/index.js +4 -0
  322. package/dist/index.js.map +1 -0
  323. package/dist/nvim/index.d.ts +3 -0
  324. package/dist/nvim/index.d.ts.map +1 -0
  325. package/dist/nvim/index.js +3 -0
  326. package/dist/nvim/index.js.map +1 -0
  327. package/dist/nvim/nvim.consumer.plugin.d.ts +3 -0
  328. package/dist/nvim/nvim.consumer.plugin.d.ts.map +1 -0
  329. package/dist/nvim/nvim.consumer.plugin.js +21 -0
  330. package/dist/nvim/nvim.consumer.plugin.js.map +1 -0
  331. package/dist/nvim/nvim.plugin.d.ts +2 -0
  332. package/dist/nvim/nvim.plugin.d.ts.map +1 -0
  333. package/dist/nvim/nvim.plugin.js +2 -0
  334. package/dist/nvim/nvim.plugin.js.map +1 -0
  335. package/dist/nvim/schemas/clients.d.ts +40 -0
  336. package/dist/nvim/schemas/clients.d.ts.map +1 -0
  337. package/dist/nvim/schemas/clients.js +12 -0
  338. package/dist/nvim/schemas/clients.js.map +1 -0
  339. package/dist/nvim/schemas/index.d.ts +210 -0
  340. package/dist/nvim/schemas/index.d.ts.map +1 -0
  341. package/dist/nvim/schemas/index.js +94 -0
  342. package/dist/nvim/schemas/index.js.map +1 -0
  343. package/dist/nvim/sidecar/index.d.ts +6 -0
  344. package/dist/nvim/sidecar/index.d.ts.map +1 -0
  345. package/dist/nvim/sidecar/index.js +20 -0
  346. package/dist/nvim/sidecar/index.js.map +1 -0
  347. package/dist/nvim/sidecar/methods.d.ts +45 -0
  348. package/dist/nvim/sidecar/methods.d.ts.map +1 -0
  349. package/dist/nvim/sidecar/methods.js +381 -0
  350. package/dist/nvim/sidecar/methods.js.map +1 -0
  351. package/dist/nvim/sidecar/server.d.ts +12 -0
  352. package/dist/nvim/sidecar/server.d.ts.map +1 -0
  353. package/dist/nvim/sidecar/server.js +95 -0
  354. package/dist/nvim/sidecar/server.js.map +1 -0
  355. package/dist/nvim/sidecar/streams.d.ts +22 -0
  356. package/dist/nvim/sidecar/streams.d.ts.map +1 -0
  357. package/dist/nvim/sidecar/streams.js +63 -0
  358. package/dist/nvim/sidecar/streams.js.map +1 -0
  359. package/dist/schemas/editor-cli.d.ts +10 -0
  360. package/dist/schemas/editor-cli.d.ts.map +1 -0
  361. package/dist/schemas/editor-cli.js +7 -0
  362. package/dist/schemas/editor-cli.js.map +1 -0
  363. package/dist/schemas/editor-surface.d.ts +9 -0
  364. package/dist/schemas/editor-surface.d.ts.map +1 -0
  365. package/dist/schemas/editor-surface.js +5 -0
  366. package/dist/schemas/editor-surface.js.map +1 -0
  367. package/dist/schemas/editor-transaction.schema.d.ts +675 -0
  368. package/dist/schemas/editor-transaction.schema.d.ts.map +1 -0
  369. package/dist/schemas/editor-transaction.schema.js +210 -0
  370. package/dist/schemas/editor-transaction.schema.js.map +1 -0
  371. package/dist/schemas/index.d.ts +3 -0
  372. package/dist/schemas/index.d.ts.map +1 -0
  373. package/dist/schemas/index.js +3 -0
  374. package/dist/schemas/index.js.map +1 -0
  375. package/dist/schemas/nvim-install.d.ts +64 -0
  376. package/dist/schemas/nvim-install.d.ts.map +1 -0
  377. package/dist/schemas/nvim-install.js +26 -0
  378. package/dist/schemas/nvim-install.js.map +1 -0
  379. package/dist/schemas/search-card.d.ts +322 -0
  380. package/dist/schemas/search-card.d.ts.map +1 -0
  381. package/dist/schemas/search-card.js +46 -0
  382. package/dist/schemas/search-card.js.map +1 -0
  383. package/dist/svelte/DOM-TREE.md +168 -0
  384. package/dist/svelte/components/EditorAgentSpotlight.svelte +143 -0
  385. package/dist/svelte/components/EditorAgentSpotlight.svelte.d.ts +10 -0
  386. package/dist/svelte/components/EditorAgentSpotlight.svelte.d.ts.map +1 -0
  387. package/dist/svelte/components/EditorCapabilityRow.svelte +146 -0
  388. package/dist/svelte/components/EditorCapabilityRow.svelte.d.ts +10 -0
  389. package/dist/svelte/components/EditorCapabilityRow.svelte.d.ts.map +1 -0
  390. package/dist/svelte/components/EditorConflictState.svelte +230 -0
  391. package/dist/svelte/components/EditorConflictState.svelte.d.ts +16 -0
  392. package/dist/svelte/components/EditorConflictState.svelte.d.ts.map +1 -0
  393. package/dist/svelte/components/EditorDocumentPane.svelte +176 -0
  394. package/dist/svelte/components/EditorDocumentPane.svelte.d.ts +15 -0
  395. package/dist/svelte/components/EditorDocumentPane.svelte.d.ts.map +1 -0
  396. package/dist/svelte/components/EditorPreviewPane.svelte +323 -0
  397. package/dist/svelte/components/EditorPreviewPane.svelte.d.ts +11 -0
  398. package/dist/svelte/components/EditorPreviewPane.svelte.d.ts.map +1 -0
  399. package/dist/svelte/components/EditorProposalReview.svelte +326 -0
  400. package/dist/svelte/components/EditorProposalReview.svelte.d.ts +10 -0
  401. package/dist/svelte/components/EditorProposalReview.svelte.d.ts.map +1 -0
  402. package/dist/svelte/components/EditorResourceTrail.svelte +150 -0
  403. package/dist/svelte/components/EditorResourceTrail.svelte.d.ts +9 -0
  404. package/dist/svelte/components/EditorResourceTrail.svelte.d.ts.map +1 -0
  405. package/dist/svelte/components/EditorUnsupportedState.svelte +14 -0
  406. package/dist/svelte/components/EditorUnsupportedState.svelte.d.ts +9 -0
  407. package/dist/svelte/components/EditorUnsupportedState.svelte.d.ts.map +1 -0
  408. package/dist/svelte/components/EditorWorkspace.svelte +137 -0
  409. package/dist/svelte/components/EditorWorkspace.svelte.d.ts +11 -0
  410. package/dist/svelte/components/EditorWorkspace.svelte.d.ts.map +1 -0
  411. package/dist/svelte/components/VibesEditor.svelte +612 -0
  412. package/dist/svelte/components/VibesEditor.svelte.d.ts +27 -0
  413. package/dist/svelte/components/VibesEditor.svelte.d.ts.map +1 -0
  414. package/dist/svelte/controller.d.ts +86 -0
  415. package/dist/svelte/controller.d.ts.map +1 -0
  416. package/dist/svelte/controller.js +438 -0
  417. package/dist/svelte/editor-context-actions.d.ts +7 -0
  418. package/dist/svelte/editor-context-actions.d.ts.map +1 -0
  419. package/dist/svelte/editor-context-actions.js +41 -0
  420. package/dist/svelte/editor-exit.d.ts +11 -0
  421. package/dist/svelte/editor-exit.d.ts.map +1 -0
  422. package/dist/svelte/editor-exit.js +11 -0
  423. package/dist/svelte/editor-status.d.ts +19 -0
  424. package/dist/svelte/editor-status.d.ts.map +1 -0
  425. package/dist/svelte/editor-status.js +19 -0
  426. package/dist/svelte/editor-svelte.plugin.d.ts +38 -0
  427. package/dist/svelte/editor-svelte.plugin.d.ts.map +1 -0
  428. package/dist/svelte/editor-svelte.plugin.js +26 -0
  429. package/dist/svelte/editor-svelte.vessel.plugin.d.ts +309 -0
  430. package/dist/svelte/editor-svelte.vessel.plugin.d.ts.map +1 -0
  431. package/dist/svelte/editor-svelte.vessel.plugin.js +130 -0
  432. package/dist/svelte/editor-workspace-state.d.ts +8 -0
  433. package/dist/svelte/editor-workspace-state.d.ts.map +1 -0
  434. package/dist/svelte/editor-workspace-state.js +7 -0
  435. package/dist/svelte/editor-workspace.d.ts +41 -0
  436. package/dist/svelte/editor-workspace.d.ts.map +1 -0
  437. package/dist/svelte/editor-workspace.js +21 -0
  438. package/dist/svelte/index.d.ts +16 -0
  439. package/dist/svelte/index.d.ts.map +1 -0
  440. package/dist/svelte/index.js +15 -0
  441. package/dist/svelte/styles.css +1 -0
  442. package/dist/svelte/surface-reporter.d.ts +13 -0
  443. package/dist/svelte/surface-reporter.d.ts.map +1 -0
  444. package/dist/svelte/surface-reporter.js +30 -0
  445. package/dist/svelte/tool-widgets/WorkspaceSearchToolCard.svelte +276 -0
  446. package/dist/svelte/tool-widgets/WorkspaceSearchToolCard.svelte.d.ts +9 -0
  447. package/dist/svelte/tool-widgets/WorkspaceSearchToolCard.svelte.d.ts.map +1 -0
  448. package/dist/svelte/tool-widgets/index.d.ts +3 -0
  449. package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
  450. package/dist/svelte/tool-widgets/index.js +2 -0
  451. package/dist/svelte/tool-widgets/workspace-search-card.d.ts +127 -0
  452. package/dist/svelte/tool-widgets/workspace-search-card.d.ts.map +1 -0
  453. package/dist/svelte/tool-widgets/workspace-search-card.js +428 -0
  454. package/package.json +320 -4
@@ -0,0 +1,38 @@
1
+ export declare const workspaceSearchWidgetDescriptor: {
2
+ id: string;
3
+ kind: "tools/ui";
4
+ surfaces: ("cli" | "tui" | "worker" | "bridge" | "web")[];
5
+ role: "badge" | "widget" | "approval";
6
+ targetToolId: string;
7
+ name?: string | undefined;
8
+ description?: string | undefined;
9
+ tags?: string[] | undefined;
10
+ enabled?: boolean | undefined;
11
+ priority?: number | undefined;
12
+ capabilityId?: string | undefined;
13
+ requiredContext?: string[] | undefined;
14
+ optionalContext?: string[] | undefined;
15
+ config?: unknown;
16
+ retention?: string | {
17
+ reason: string;
18
+ maxAgeDays?: number | undefined;
19
+ maxEntries?: number | undefined;
20
+ maxBytes?: number | undefined;
21
+ cascadeFrom?: string | undefined;
22
+ ageField?: string | undefined;
23
+ enforcedBy?: string | undefined;
24
+ } | undefined;
25
+ hardware?: ("consumer" | "cloud")[] | undefined;
26
+ targetId?: string | undefined;
27
+ placement?: "inline" | "top" | "bottom" | undefined;
28
+ };
29
+ /**
30
+ * Svelte/browser surface for editor-owned tool cards.
31
+ *
32
+ * `tools/tool#workspace-search` is workspace's facade. Editor owns the Atlas
33
+ * action layer and the designed Kit card. tools/svelte still registers a
34
+ * search-only fallback; last Kit registration wins when this plugin loads.
35
+ */
36
+ export declare const editorSveltePlugin: import("@vibesdotdev/kernel").RuntimePlugin;
37
+ export default editorSveltePlugin;
38
+ //# sourceMappingURL=editor-svelte.plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-svelte.plugin.d.ts","sourceRoot":"","sources":["../../src/svelte/editor-svelte.plugin.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI1C,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,6CAW7B,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { createRuntimePlugin } from '@vibesdotdev/kernel';
2
+ import { createSvelteToolWidgetDescriptor, createSvelteToolWidgetLoader } from '@vibesdotdev/tools/svelte/tool-widgets';
3
+ import editorConfigDescriptor from "../config/editor.config.descriptor.js";
4
+ export const workspaceSearchWidgetDescriptor = createSvelteToolWidgetDescriptor({
5
+ toolId: 'workspace-search',
6
+ name: 'Workspace search Svelte widget',
7
+ description: 'Renders Atlas search, graph, symbol, index, and sync-status results in Svelte surfaces.'
8
+ });
9
+ /**
10
+ * Svelte/browser surface for editor-owned tool cards.
11
+ *
12
+ * `tools/tool#workspace-search` is workspace's facade. Editor owns the Atlas
13
+ * action layer and the designed Kit card. tools/svelte still registers a
14
+ * search-only fallback; last Kit registration wins when this plugin loads.
15
+ */
16
+ export const editorSveltePlugin = createRuntimePlugin({
17
+ id: '@vibesdotdev/editor/svelte',
18
+ name: 'Editor Svelte',
19
+ description: 'Svelte/browser surface for editor-owned Atlas tool cards',
20
+ dependencies: ['tools'],
21
+ descriptors: [workspaceSearchWidgetDescriptor, editorConfigDescriptor],
22
+ loaders: [
23
+ createSvelteToolWidgetLoader(workspaceSearchWidgetDescriptor, () => import('./tool-widgets/WorkspaceSearchToolCard.svelte'))
24
+ ]
25
+ });
26
+ export default editorSveltePlugin;
@@ -0,0 +1,309 @@
1
+ export declare const editorWorkspaceVesselAppDescriptor: {
2
+ identity: {
3
+ glyph: string;
4
+ accent: "neutral" | "amber" | "cyan" | "teal" | "azure" | "blue" | "lime" | "rose" | "violet";
5
+ artworkId?: string | undefined;
6
+ };
7
+ id: string;
8
+ kind: "vessel/app";
9
+ name: string;
10
+ description: string;
11
+ owner: {
12
+ packageName: string;
13
+ entrypoint?: string | undefined;
14
+ specPath?: string | undefined;
15
+ runtimeKind?: string | undefined;
16
+ runtimeId?: string | undefined;
17
+ };
18
+ category: "agent" | "service" | "runtime" | "tool" | "settings" | "audit" | "feature" | "docs" | "app";
19
+ launch: {
20
+ type: "svelte-component";
21
+ import: string;
22
+ exportName?: string | undefined;
23
+ } | {
24
+ type: "vessel-surface";
25
+ surfaceId: string;
26
+ initialState?: Record<string, string | number | boolean | null> | undefined;
27
+ } | {
28
+ type: "sveltekit-route";
29
+ href: string;
30
+ } | {
31
+ type: "runtime-client";
32
+ clientId: string;
33
+ view: "default" | "inspector";
34
+ } | {
35
+ type: "tui-app";
36
+ route: string;
37
+ } | {
38
+ type: "tool";
39
+ toolId: string;
40
+ } | {
41
+ type: "config-manifest";
42
+ manifestId: string;
43
+ } | {
44
+ type: "docs-topic";
45
+ topicId: string;
46
+ } | {
47
+ type: "runtime-descriptor";
48
+ kind: string;
49
+ id: string;
50
+ } | {
51
+ type: "platform-component";
52
+ componentId: string;
53
+ version: string;
54
+ props: Record<string, unknown>;
55
+ origin?: string | undefined;
56
+ } | {
57
+ type: "applet-artifact";
58
+ artifactId: string;
59
+ browserRuntime: boolean;
60
+ componentRef?: {
61
+ id: string;
62
+ version: string;
63
+ props: Record<string, unknown>;
64
+ origin?: string | undefined;
65
+ } | undefined;
66
+ } | {
67
+ type: "external-url";
68
+ href: string;
69
+ };
70
+ availability: {
71
+ status: "unknown" | "unavailable" | "degraded" | "available";
72
+ summary: string;
73
+ lastCheckedAt?: string | undefined;
74
+ };
75
+ defaultWindow: {
76
+ width: number;
77
+ height: number;
78
+ x: number;
79
+ y: number;
80
+ minWidth: number;
81
+ minHeight: number;
82
+ };
83
+ tags: string[];
84
+ workLocations: ("browser" | "cloud" | "computer" | "vessel")[];
85
+ readinessAreaIds: string[];
86
+ setupStepIds: string[];
87
+ hardware?: string[] | undefined;
88
+ enabled?: boolean | undefined;
89
+ priority?: number | undefined;
90
+ capabilityId?: string | undefined;
91
+ requiredContext?: string[] | undefined;
92
+ optionalContext?: string[] | undefined;
93
+ config?: unknown;
94
+ retention?: string | {
95
+ reason: string;
96
+ maxAgeDays?: number | undefined;
97
+ maxEntries?: number | undefined;
98
+ maxBytes?: number | undefined;
99
+ cascadeFrom?: string | undefined;
100
+ ageField?: string | undefined;
101
+ enforcedBy?: string | undefined;
102
+ } | undefined;
103
+ ports?: {
104
+ id: string;
105
+ label: string;
106
+ direction: "output" | "input";
107
+ schema: {
108
+ mediaType: string;
109
+ shape: "any" | "event" | "stream" | "json" | "text" | "binary";
110
+ schemaId?: string | undefined;
111
+ };
112
+ multiple: boolean;
113
+ required: boolean;
114
+ }[] | undefined;
115
+ };
116
+ export declare const editorWorkspaceVesselReadinessDescriptor: {
117
+ id: string;
118
+ kind: "vessel/readiness-area";
119
+ label: string;
120
+ userPromise: string;
121
+ status: "unknown" | "ready" | "blocked" | "planned" | "needs-setup";
122
+ summary: string;
123
+ owner: {
124
+ packageName: string;
125
+ entrypoint?: string | undefined;
126
+ specPath?: string | undefined;
127
+ runtimeKind?: string | undefined;
128
+ runtimeId?: string | undefined;
129
+ };
130
+ targetKinds: string[];
131
+ evidence: ({
132
+ type: "runtime-query";
133
+ kind: string;
134
+ resultSummary: string;
135
+ id?: string | undefined;
136
+ } | {
137
+ type: "command";
138
+ cwd: string;
139
+ command: string;
140
+ exitCode: number;
141
+ summary: string;
142
+ } | {
143
+ type: "http";
144
+ method: string;
145
+ url: string;
146
+ status: number;
147
+ summary: string;
148
+ } | {
149
+ type: "screenshot";
150
+ path: string;
151
+ summary: string;
152
+ viewport?: string | undefined;
153
+ } | {
154
+ type: "source";
155
+ path: string;
156
+ summary: string;
157
+ line?: number | undefined;
158
+ } | {
159
+ type: "spec";
160
+ path: string;
161
+ summary: string;
162
+ heading?: string | undefined;
163
+ })[];
164
+ linkedFindingIds: string[];
165
+ upstreamWorkItemIds: string[];
166
+ proofGate: string;
167
+ name?: string | undefined;
168
+ description?: string | undefined;
169
+ tags?: string[] | undefined;
170
+ hardware?: string[] | undefined;
171
+ enabled?: boolean | undefined;
172
+ priority?: number | undefined;
173
+ capabilityId?: string | undefined;
174
+ requiredContext?: string[] | undefined;
175
+ optionalContext?: string[] | undefined;
176
+ config?: unknown;
177
+ retention?: string | {
178
+ reason: string;
179
+ maxAgeDays?: number | undefined;
180
+ maxEntries?: number | undefined;
181
+ maxBytes?: number | undefined;
182
+ cascadeFrom?: string | undefined;
183
+ ageField?: string | undefined;
184
+ enforcedBy?: string | undefined;
185
+ } | undefined;
186
+ nextAction?: {
187
+ label: string;
188
+ href?: string | undefined;
189
+ command?: string | undefined;
190
+ } | undefined;
191
+ };
192
+ export declare const editorWorkspaceVesselSetupDescriptor: {
193
+ id: string;
194
+ kind: "vessel/setup-step";
195
+ areaId: string;
196
+ order: number;
197
+ label: string;
198
+ userAction: string;
199
+ userResult: string;
200
+ place: "browser" | "cloud" | "vibes" | "computer" | "vessel";
201
+ status: "unknown" | "ready" | "blocked" | "planned" | "needs-setup";
202
+ owner: {
203
+ packageName: string;
204
+ entrypoint?: string | undefined;
205
+ specPath?: string | undefined;
206
+ runtimeKind?: string | undefined;
207
+ runtimeId?: string | undefined;
208
+ };
209
+ evidence: ({
210
+ type: "runtime-query";
211
+ kind: string;
212
+ resultSummary: string;
213
+ id?: string | undefined;
214
+ } | {
215
+ type: "command";
216
+ cwd: string;
217
+ command: string;
218
+ exitCode: number;
219
+ summary: string;
220
+ } | {
221
+ type: "http";
222
+ method: string;
223
+ url: string;
224
+ status: number;
225
+ summary: string;
226
+ } | {
227
+ type: "screenshot";
228
+ path: string;
229
+ summary: string;
230
+ viewport?: string | undefined;
231
+ } | {
232
+ type: "source";
233
+ path: string;
234
+ summary: string;
235
+ line?: number | undefined;
236
+ } | {
237
+ type: "spec";
238
+ path: string;
239
+ summary: string;
240
+ heading?: string | undefined;
241
+ })[];
242
+ upstreamWorkItemIds: string[];
243
+ proofGate: string;
244
+ name?: string | undefined;
245
+ description?: string | undefined;
246
+ tags?: string[] | undefined;
247
+ hardware?: string[] | undefined;
248
+ enabled?: boolean | undefined;
249
+ priority?: number | undefined;
250
+ capabilityId?: string | undefined;
251
+ requiredContext?: string[] | undefined;
252
+ optionalContext?: string[] | undefined;
253
+ config?: unknown;
254
+ retention?: string | {
255
+ reason: string;
256
+ maxAgeDays?: number | undefined;
257
+ maxEntries?: number | undefined;
258
+ maxBytes?: number | undefined;
259
+ cascadeFrom?: string | undefined;
260
+ ageField?: string | undefined;
261
+ enforcedBy?: string | undefined;
262
+ } | undefined;
263
+ nextAction?: {
264
+ label: string;
265
+ href?: string | undefined;
266
+ command?: string | undefined;
267
+ } | undefined;
268
+ falsifier?: string | undefined;
269
+ };
270
+ export declare const editorWorkspaceVesselSurfaceDescriptor: {
271
+ kind: "vessel/surface";
272
+ id: string;
273
+ name: string;
274
+ description: string;
275
+ label: string;
276
+ surfaceKind: string;
277
+ owner: {
278
+ packageName: string;
279
+ };
280
+ contract: {
281
+ apiVersion: string;
282
+ stateSchemaId: string;
283
+ stateSchemaVersion: number;
284
+ stateSchema: import("zod/v4").ZodObject<{
285
+ adapterId: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
286
+ initialPath: import("zod/v4").ZodDefault<import("zod/v4").ZodString>;
287
+ mode: import("zod/v4").ZodDefault<import("zod/v4").ZodLiteral<"code">>;
288
+ }, import("zod/v4/core").$strict>;
289
+ };
290
+ activation: string;
291
+ execution: string;
292
+ requiredCapabilities: ({
293
+ id: string;
294
+ reason: string;
295
+ selectorId?: undefined;
296
+ } | {
297
+ id: string;
298
+ selectorId: string;
299
+ reason: string;
300
+ })[];
301
+ optionalCapabilities: never[];
302
+ primaryAudience: string;
303
+ secondaryAudiences: string[];
304
+ technicalLanguagePolicy: string;
305
+ promotionGate: string;
306
+ };
307
+ export declare const editorSvelteVesselPlugin: import("@vibesdotdev/kernel").RuntimePlugin;
308
+ export default editorSvelteVesselPlugin;
309
+ //# sourceMappingURL=editor-svelte.vessel.plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-svelte.vessel.plugin.d.ts","sourceRoot":"","sources":["../../src/svelte/editor-svelte.vessel.plugin.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC7C,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAanD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe/C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCjD,CAAC;AAEH,eAAO,MAAM,wBAAwB,6CAqBnC,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,130 @@
1
+ import { createRuntimeAsset, createRuntimePlugin, loader } from '@vibesdotdev/kernel';
2
+ import { vesselAppDescriptorSchema, vesselReadinessAreaSchema, vesselSetupStepSchema } from '@vibesdotdev/vessel/schemas';
3
+ import { editorWorkspaceVesselStateSchema } from "./editor-workspace-state.js";
4
+ const editorVesselOwner = {
5
+ packageName: '@vibesdotdev/editor/svelte',
6
+ entrypoint: './vessel.plugin',
7
+ runtimeKind: 'runtime/client',
8
+ runtimeId: 'editor'
9
+ };
10
+ export const editorWorkspaceVesselAppDescriptor = vesselAppDescriptorSchema.parse({
11
+ kind: 'vessel/app',
12
+ id: 'workspace.code',
13
+ name: 'Code',
14
+ description: 'Explore and edit code in the current workspace.',
15
+ owner: editorVesselOwner,
16
+ identity: { glyph: 'lucide:code-2', accent: 'violet' },
17
+ category: 'app',
18
+ launch: {
19
+ type: 'vessel-surface',
20
+ surfaceId: 'editor.workspace',
21
+ initialState: { initialPath: '/', mode: 'code' }
22
+ },
23
+ availability: {
24
+ status: 'unknown',
25
+ summary: 'Code checks the bound workspace and editor client when opened.'
26
+ },
27
+ defaultWindow: { x: 136, y: 80, width: 1180, height: 760, minWidth: 760, minHeight: 520 },
28
+ tags: ['code', 'editor', 'files', 'workspace'],
29
+ workLocations: ['vessel'],
30
+ readinessAreaIds: ['readiness.code'],
31
+ setupStepIds: ['setup.workspace.code'],
32
+ ports: [
33
+ {
34
+ id: 'in.default',
35
+ label: 'In',
36
+ direction: 'input',
37
+ schema: { mediaType: 'application/json', shape: 'any' },
38
+ multiple: true
39
+ },
40
+ {
41
+ id: 'out.document',
42
+ label: 'Document',
43
+ direction: 'output',
44
+ schema: { mediaType: 'text/plain', shape: 'text' },
45
+ multiple: true
46
+ }
47
+ ]
48
+ });
49
+ export const editorWorkspaceVesselReadinessDescriptor = vesselReadinessAreaSchema.parse({
50
+ kind: 'vessel/readiness-area',
51
+ id: 'readiness.code',
52
+ label: 'Code',
53
+ userPromise: 'Edit code in this workspace',
54
+ status: 'unknown',
55
+ summary: 'Code readiness follows the bound workspace document and editor runtime client.',
56
+ owner: editorVesselOwner,
57
+ targetKinds: ['workspace/environment', 'workspace/document', 'runtime/client'],
58
+ evidence: [],
59
+ linkedFindingIds: [],
60
+ upstreamWorkItemIds: [],
61
+ proofGate: 'A workspace document opens and publishes through runtime/client#editor in the real workbench.'
62
+ });
63
+ export const editorWorkspaceVesselSetupDescriptor = vesselSetupStepSchema.parse({
64
+ kind: 'vessel/setup-step',
65
+ id: 'setup.workspace.code',
66
+ areaId: 'readiness.code',
67
+ order: 11,
68
+ label: 'Open Code',
69
+ userAction: 'Open a text document from the current workspace.',
70
+ userResult: 'Code edits and saves through the workspace document owner.',
71
+ place: 'vessel',
72
+ status: 'unknown',
73
+ owner: editorVesselOwner,
74
+ evidence: [],
75
+ upstreamWorkItemIds: [],
76
+ proofGate: 'The Code entrypoint mounts the real filesystem workbench and editor transaction.',
77
+ falsifier: 'Code bypasses workspace/document, invents a second file tree, or reports Save before publish succeeds.'
78
+ });
79
+ export const editorWorkspaceVesselSurfaceDescriptor = createRuntimeAsset({
80
+ kind: 'vessel/surface',
81
+ id: 'editor.workspace',
82
+ name: 'Code workspace',
83
+ description: 'Focused code editing over the runtime-bound workspace.',
84
+ label: 'Code workspace',
85
+ surfaceKind: 'component',
86
+ owner: { packageName: '@vibesdotdev/editor/svelte' },
87
+ contract: {
88
+ apiVersion: '1.0.0',
89
+ stateSchemaId: 'editor.workspace.state',
90
+ stateSchemaVersion: 1,
91
+ stateSchema: editorWorkspaceVesselStateSchema
92
+ },
93
+ activation: 'on-open',
94
+ execution: 'host-trusted',
95
+ requiredCapabilities: [
96
+ {
97
+ id: 'workspace/environment',
98
+ reason: 'Give Code one host-bound, rooted workspace authority.'
99
+ },
100
+ {
101
+ id: 'runtime/client',
102
+ selectorId: 'editor',
103
+ reason: 'Open and publish editor transactions through the registered client.'
104
+ }
105
+ ],
106
+ optionalCapabilities: [],
107
+ primaryAudience: 'workspace-user',
108
+ secondaryAudiences: ['host-integrator'],
109
+ technicalLanguagePolicy: 'hide',
110
+ promotionGate: 'Real browser proof opens, edits, and publishes a workspace document.'
111
+ });
112
+ export const editorSvelteVesselPlugin = createRuntimePlugin({
113
+ id: '@vibesdotdev/editor/svelte/vessel',
114
+ name: 'Editor Svelte Vessel Surface',
115
+ description: 'Owner-declared Code workspace contribution for Vessel hosts.',
116
+ dependencies: ['vessel'],
117
+ descriptors: [
118
+ editorWorkspaceVesselAppDescriptor,
119
+ editorWorkspaceVesselSurfaceDescriptor,
120
+ editorWorkspaceVesselReadinessDescriptor,
121
+ editorWorkspaceVesselSetupDescriptor
122
+ ],
123
+ loaders: [
124
+ loader(editorWorkspaceVesselSurfaceDescriptor.id, { kind: 'vessel/surface', scope: 'browser' }, async () => {
125
+ const module = await import('./components/EditorWorkspace.svelte');
126
+ return { impl: module.default };
127
+ })
128
+ ]
129
+ });
130
+ export default editorSvelteVesselPlugin;
@@ -0,0 +1,8 @@
1
+ import * as z from 'zod/v4';
2
+ /** Compact, component-free route state accepted by the Editor-owned Code surface. */
3
+ export declare const editorWorkspaceVesselStateSchema: z.ZodObject<{
4
+ adapterId: z.ZodOptional<z.ZodString>;
5
+ initialPath: z.ZodDefault<z.ZodString>;
6
+ mode: z.ZodDefault<z.ZodLiteral<"code">>;
7
+ }, z.core.$strict>;
8
+ //# sourceMappingURL=editor-workspace-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-workspace-state.d.ts","sourceRoot":"","sources":["../../src/svelte/editor-workspace-state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,qFAAqF;AACrF,eAAO,MAAM,gCAAgC;;;;kBAGnC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { filesystemWorkspaceVesselStateSchema } from '@vibesdotdev/filesystem/svelte/filesystem-workspace';
2
+ import * as z from 'zod/v4';
3
+ /** Compact, component-free route state accepted by the Editor-owned Code surface. */
4
+ export const editorWorkspaceVesselStateSchema = filesystemWorkspaceVesselStateSchema
5
+ .omit({ mode: true })
6
+ .extend({ mode: z.literal('code').default('code') })
7
+ .strict();
@@ -0,0 +1,41 @@
1
+ import type { EditorClient } from '@vibesdotdev/editor';
2
+ import type { EditorControllerState } from './controller.ts';
3
+ import { editorExitDisposition } from './editor-exit.ts';
4
+ export { editorWorkspaceVesselStateSchema } from './editor-workspace-state.ts';
5
+ /**
6
+ * The one owner bridge from Filesystem navigation into Editor transactions.
7
+ * Hosts mount EditorWorkspace instead of rebuilding this composition.
8
+ */
9
+ export declare const editorWorkspaceEditorSurface: {
10
+ Editor: import("svelte").Component<{
11
+ controller?: import("./controller.ts").EditorController;
12
+ transaction?: import("@vibesdotdev/editor").EditorTransaction;
13
+ client?: EditorClient;
14
+ context?: import("@vibesdotdev/editor").EditorContextRef;
15
+ document?: import("@vibesdotdev/workspace-schemas/document").WorkspaceDocumentRef;
16
+ documentId?: string;
17
+ variant?: import("./controller.ts").EditorSurfaceVariant;
18
+ reviewOnly?: boolean;
19
+ narrow?: boolean;
20
+ height?: string | number;
21
+ ariaLabel?: string;
22
+ class?: string;
23
+ oncontrollerready?: (controller: import("./controller.ts").EditorController) => void;
24
+ onstatechange?: (state: EditorControllerState) => void;
25
+ onoperationerror?: (error: import("@vibesdotdev/kernel").CaughtFailure) => void;
26
+ contextActionClient?: import("./editor-context-actions.ts").EditorContextActionClient;
27
+ }, {}, "">;
28
+ UnsupportedState: import("svelte").Component<{
29
+ title?: string;
30
+ reason: string;
31
+ code?: string;
32
+ }, {}, "">;
33
+ projectState(state: EditorControllerState): {
34
+ draft: string;
35
+ dirty: boolean;
36
+ phase: import("./controller.ts").EditorControllerPhase;
37
+ readOnly: boolean;
38
+ };
39
+ exitDisposition: typeof editorExitDisposition;
40
+ };
41
+ //# sourceMappingURL=editor-workspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-workspace.d.ts","sourceRoot":"","sources":["../../src/svelte/editor-workspace.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAIzD,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;wBAGpB,qBAAqB;;;;;;;CASuC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { editorExitDisposition } from "./editor-exit.js";
2
+ import EditorUnsupportedState from './components/EditorUnsupportedState.svelte';
3
+ import VibesEditor from './components/VibesEditor.svelte';
4
+ export { editorWorkspaceVesselStateSchema } from "./editor-workspace-state.js";
5
+ /**
6
+ * The one owner bridge from Filesystem navigation into Editor transactions.
7
+ * Hosts mount EditorWorkspace instead of rebuilding this composition.
8
+ */
9
+ export const editorWorkspaceEditorSurface = {
10
+ Editor: VibesEditor,
11
+ UnsupportedState: EditorUnsupportedState,
12
+ projectState(state) {
13
+ return {
14
+ draft: state.draft,
15
+ dirty: state.dirty,
16
+ phase: state.phase,
17
+ readOnly: state.readOnly
18
+ };
19
+ },
20
+ exitDisposition: editorExitDisposition
21
+ };
@@ -0,0 +1,16 @@
1
+ export { EditorControllerError, EditorControllerErrorReasonSchema, type EditorControllerErrorReason, createEditorController, invokeEditorSurfaceObserver, reportEditorSurfaceObserverFailure, type EditorController, type EditorControllerListener, type EditorControllerOptions, type EditorControllerPhase, type EditorControllerState, type EditorSelection, type EditorSurfaceFailureFallback, type EditorSurfaceFailureReporter, type EditorSurfaceObserverBoundary, type EditorSurfaceObserverFailure, type EditorSurfaceVariant, type EditorPreviewState } from './controller.ts';
2
+ export { editorExitDisposition, type EditorExitDisposition } from './editor-exit.ts';
3
+ export { createEditorContextActionSearch, executableEditorContextActions, type EditorContextActionClient } from './editor-context-actions.ts';
4
+ export { default as VibesEditor } from './components/VibesEditor.svelte';
5
+ export { default as EditorResourceTrail } from './components/EditorResourceTrail.svelte';
6
+ export { default as EditorCapabilityRow } from './components/EditorCapabilityRow.svelte';
7
+ export { default as EditorDocumentPane } from './components/EditorDocumentPane.svelte';
8
+ export { default as EditorConflictState } from './components/EditorConflictState.svelte';
9
+ export { default as EditorUnsupportedState } from './components/EditorUnsupportedState.svelte';
10
+ export { default as EditorWorkspace } from './components/EditorWorkspace.svelte';
11
+ export { default as EditorAgentSpotlight } from './components/EditorAgentSpotlight.svelte';
12
+ export { default as EditorProposalReview } from './components/EditorProposalReview.svelte';
13
+ export { default as EditorPreviewPane } from './components/EditorPreviewPane.svelte';
14
+ export { editorWorkspaceEditorSurface } from './editor-workspace.ts';
15
+ export { editorWorkspaceVesselStateSchema } from './editor-workspace-state.ts';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/svelte/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EACrB,iCAAiC,EACjC,KAAK,2BAA2B,EAChC,sBAAsB,EACtB,2BAA2B,EAC3B,kCAAkC,EAClC,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACrF,OAAO,EACN,+BAA+B,EAC/B,8BAA8B,EAC9B,KAAK,yBAAyB,EAC9B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EACN,4BAA4B,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,15 @@
1
+ export { EditorControllerError, EditorControllerErrorReasonSchema, createEditorController, invokeEditorSurfaceObserver, reportEditorSurfaceObserverFailure } from "./controller.js";
2
+ export { editorExitDisposition } from "./editor-exit.js";
3
+ export { createEditorContextActionSearch, executableEditorContextActions } from "./editor-context-actions.js";
4
+ export { default as VibesEditor } from './components/VibesEditor.svelte';
5
+ export { default as EditorResourceTrail } from './components/EditorResourceTrail.svelte';
6
+ export { default as EditorCapabilityRow } from './components/EditorCapabilityRow.svelte';
7
+ export { default as EditorDocumentPane } from './components/EditorDocumentPane.svelte';
8
+ export { default as EditorConflictState } from './components/EditorConflictState.svelte';
9
+ export { default as EditorUnsupportedState } from './components/EditorUnsupportedState.svelte';
10
+ export { default as EditorWorkspace } from './components/EditorWorkspace.svelte';
11
+ export { default as EditorAgentSpotlight } from './components/EditorAgentSpotlight.svelte';
12
+ export { default as EditorProposalReview } from './components/EditorProposalReview.svelte';
13
+ export { default as EditorPreviewPane } from './components/EditorPreviewPane.svelte';
14
+ export { editorWorkspaceEditorSurface } from "./editor-workspace.js";
15
+ export { editorWorkspaceVesselStateSchema } from "./editor-workspace-state.js";
@@ -0,0 +1 @@
1
+ @source './';
@@ -0,0 +1,13 @@
1
+ import { type RuntimeRef } from '@vibesdotdev/kernel';
2
+ import type { EditorSurfaceFailureReporter } from './controller.ts';
3
+ /** Where a runtime comes from: the store `getRuntimeSvelteContext()` returns. */
4
+ export interface RuntimeSource {
5
+ load(): Promise<RuntimeRef>;
6
+ }
7
+ /**
8
+ * A reporter that logs `error` entries on the runtime `source` loads. A source
9
+ * that never loaded has no runtime to bind a logger to, so the entry is
10
+ * dropped; the store records that failed load on its own `error`.
11
+ */
12
+ export declare function surfaceReporterOn(source: RuntimeSource, id: string): EditorSurfaceFailureReporter;
13
+ //# sourceMappingURL=surface-reporter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surface-reporter.d.ts","sourceRoot":"","sources":["../../src/svelte/surface-reporter.ts"],"names":[],"mappings":"AAMA,OAAO,EAAoD,KAAK,UAAU,EAAyB,MAAM,qBAAqB,CAAC;AAC/H,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AAEpE,iFAAiF;AACjF,MAAM,WAAW,aAAa;IAC7B,IAAI,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;CAC5B;AAID;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,GAAG,4BAA4B,CAkBjG"}