@vite-hub/ui 0.5.0 → 0.6.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 (347) hide show
  1. package/dist/andromeeda-DaUPZ4_A.js +147 -0
  2. package/dist/{announce-Cy_Tn9wW.js → announce-B0DLwflT.js} +1 -2
  3. package/dist/{attachments-BzTwqRTU.js → attachments-DgwoQZKY.js} +3 -5
  4. package/dist/aurora-x-B5RPZ9i5.js +162 -0
  5. package/dist/{avatar-stack-DXmCQhxd.d.ts → avatar-stack-C0IKwj6g.d.ts} +0 -2
  6. package/dist/ayu-dark-DXTaGA7I.js +137 -0
  7. package/dist/ayu-light-BCYi80Fe.js +137 -0
  8. package/dist/ayu-mirage-CgbXz-N5.js +137 -0
  9. package/dist/catppuccin-frappe-MV2xzv44.js +266 -0
  10. package/dist/catppuccin-latte-CL6jjlVD.js +266 -0
  11. package/dist/catppuccin-macchiato-Bp6oZJVK.js +266 -0
  12. package/dist/catppuccin-mocha-DOHrQ4dw.js +266 -0
  13. package/dist/{choices-input-ByXJvDn1.d.ts → choices-input-BUf-QqGj.d.ts} +0 -2
  14. package/dist/{code-view-DsU-xzic.js → code-view-Cg4nyTNA.js} +6 -8
  15. package/dist/{colors-BghReA9C-CjF9gnmy.js → colors-BghReA9C-DEq4bhEP.js} +1 -2
  16. package/dist/{comment-attachments-C4yNbcx5.js → comment-attachments-CMpYOJod.js} +1 -2
  17. package/dist/{comment-composer-DvKMTrAi.d.ts → comment-composer-BI6CNJyO.d.ts} +1 -3
  18. package/dist/{comment-composer-D7ZytyER.js → comment-composer-BP-CJx7f.js} +11 -14
  19. package/dist/{comment-layer-GTsLdABl.d.ts → comment-layer-Ba2DV4L7.d.ts} +5 -7
  20. package/dist/{comment-list-BI96empx.d.ts → comment-list-BJdZu0DS.d.ts} +3 -5
  21. package/dist/{comment-panel-CsKWTms_.d.ts → comment-panel-DISGe7yM.d.ts} +2 -4
  22. package/dist/{comment-person-CLPlW_SS.js → comment-person-D_IyIjXo.js} +1 -2
  23. package/dist/{comment-pin-CvwgRSDR.d.ts → comment-pin-C5UeLPTa.d.ts} +0 -2
  24. package/dist/{comment-row-JmTC0uXr.js → comment-row-DPMWI5Z0.js} +3 -4
  25. package/dist/{comment-selection-bar-CyVBNYl9.d.ts → comment-selection-bar-CVuS-FNL.d.ts} +0 -2
  26. package/dist/{comment-send-7bg4NEEM.js → comment-send-CH46zawK.js} +7 -9
  27. package/dist/{comment-send-C45dHC22.d.ts → comment-send-MmxFsOQf.d.ts} +0 -2
  28. package/dist/{comment-thread-B_Sc2QX6.js → comment-thread-5h93DXds.js} +13 -14
  29. package/dist/{comment-thread-C6U-bsK_.d.ts → comment-thread-DSkWODKG.d.ts} +4 -8
  30. package/dist/{comment-visibility-DsVuVndP.d.ts → comment-visibility-CYctacNx.d.ts} +0 -2
  31. package/dist/{comments-D8hulVPy.d.ts → comments-CnG_c-_c.d.ts} +2 -3
  32. package/dist/{comments-B88zg9gC.js → comments-D9dONfs9.js} +12 -15
  33. package/dist/{comments-context-DhbIdYQ1.js → comments-context-CrjhleVA.js} +2 -4
  34. package/dist/{config-B1u7zqMB.js → config-BDvnaVUn.js} +3 -4
  35. package/dist/{config-pHazYdq6.d.ts → config-xL4EBeXw.d.ts} +0 -4
  36. package/dist/dark-plus-CXEBSjk4.js +148 -0
  37. package/dist/dracula-Bvyz6eCo.js +165 -0
  38. package/dist/dracula-soft-a9indxAQ.js +115 -0
  39. package/dist/{draw-DzSmD7uo-Dwz8zoH2.js → draw-DzSmD7uo-Cb7s9kxJ.js} +359 -708
  40. package/dist/{drop-field-3CDRFFRm.js → drop-field-CNZgwFVO.js} +2 -3
  41. package/dist/{editor-BHYGLgty.js → editor-BuByBIkJ.js} +5 -6
  42. package/dist/{effects-Ql6VzCRa.js → effects-DEoFFycD.js} +27 -36
  43. package/dist/{error-diagnostics-SXtnk6bz.js → error-diagnostics-BlgA9rI2.js} +1 -2
  44. package/dist/everforest-dark-9sVAxG7I.js +99 -0
  45. package/dist/everforest-light-BocTn_Hd.js +99 -0
  46. package/dist/{file-tree-C4OYgbV-.js → file-tree-CRFIdtzw.js} +58 -116
  47. package/dist/{file-tree-DlT9RGhu.d.ts → file-tree-DOtkeBaq.d.ts} +0 -14
  48. package/dist/{format-orwcdZL_.js → format-Bc9m7-r0.js} +1 -2
  49. package/dist/{getSingularPatch-Dsb8EgxR.js → getSingularPatch-C7LmmBrW.js} +375 -79
  50. package/dist/github-dark-BO9SXswM.js +142 -0
  51. package/dist/github-dark-default-XB_RHfBI.js +90 -0
  52. package/dist/github-dark-dimmed-BoGxaWUQ.js +137 -0
  53. package/dist/github-dark-high-contrast-B3X6t2fG.js +137 -0
  54. package/dist/github-light-D7VHHlUH.js +142 -0
  55. package/dist/github-light-default-BuDsGtcR.js +137 -0
  56. package/dist/github-light-high-contrast-GodZiAwh.js +137 -0
  57. package/dist/gruvbox-dark-hard-CU4LuKJc.js +140 -0
  58. package/dist/gruvbox-dark-medium-DjAsuXuH.js +140 -0
  59. package/dist/gruvbox-dark-soft-D3Zttj6R.js +140 -0
  60. package/dist/gruvbox-light-hard-4M_9onwE.js +140 -0
  61. package/dist/gruvbox-light-medium-D9QwS4kQ.js +140 -0
  62. package/dist/gruvbox-light-soft-DhYcfQql.js +140 -0
  63. package/dist/{handlers-DMl-Na3x.js → handlers-CnbkvXjX.js} +1 -2
  64. package/dist/headless.d.ts +4 -4
  65. package/dist/headless.js +1 -1
  66. package/dist/highlights-C2AbEdDI.js +2630 -0
  67. package/dist/{hold-to-delete-DjWzRDyY.d.ts → hold-to-delete-BSMrpE-i.d.ts} +0 -2
  68. package/dist/{hold-to-delete-ROLQRZg_.js → hold-to-delete-Cludb56v.js} +6 -7
  69. package/dist/horizon-bright-B9u59onx.js +97 -0
  70. package/dist/horizon-tItY9ATR.js +97 -0
  71. package/dist/houston-BqKrKNQv.js +207 -0
  72. package/dist/{icon-c5Jb_Tl7.d.ts → icon-XZaCUZTG.d.ts} +0 -2
  73. package/dist/{image-preview-BigoAvb3.js → image-preview-EqfPcFZ9.js} +3 -4
  74. package/dist/{index-CNY1uNTh.d.ts → index-B2cbt3py.d.ts} +3945 -2445
  75. package/dist/{index-YUvL2nV8.d.ts → index-B_PSX-5h.d.ts} +0 -4
  76. package/dist/index.d.ts +29 -31
  77. package/dist/index.js +42 -45
  78. package/dist/{install-D5f6msEU.js → install-qNaj4OY4.js} +2 -3
  79. package/dist/kanagawa-dragon-BH1K3aMw.js +159 -0
  80. package/dist/kanagawa-lotus-C-4JB2io.js +159 -0
  81. package/dist/kanagawa-wave-DTQqNe5k.js +159 -0
  82. package/dist/laserwave-BkV0uIaG.js +84 -0
  83. package/dist/light-plus-CxYgEz7U.js +149 -0
  84. package/dist/{list-RCbNZ14q.js → list-DUTAo0uC.js} +5 -6
  85. package/dist/loader-CYMEjzwc.js +79 -0
  86. package/dist/{markdown-editor-Dfl2DgPS.js → markdown-editor-3gY9MLvy.js} +237 -38
  87. package/dist/{markdown-editor-wQF0yD5o.d.ts → markdown-editor-B7gD60tp.d.ts} +0 -6
  88. package/dist/markdown-editor.d.ts +1 -5
  89. package/dist/markdown-editor.js +2 -2
  90. package/dist/markdown-renderer-BgsmNqv7.js +26578 -0
  91. package/dist/material-theme-Xdm37UUJ.js +105 -0
  92. package/dist/material-theme-darker-Blaz0cgN.js +105 -0
  93. package/dist/material-theme-lighter-BddVxBVA.js +105 -0
  94. package/dist/material-theme-ocean-C4qhfFHi.js +105 -0
  95. package/dist/material-theme-palenight-ChHDqoiA.js +105 -0
  96. package/dist/{message-scroller-Bm1YWTeY.d.ts → message-scroller-a6qaYHno.d.ts} +0 -2
  97. package/dist/min-dark-DpGSNjaW.js +125 -0
  98. package/dist/min-light-BMfJUsU2.js +122 -0
  99. package/dist/monokai-DW19E-zg.js +162 -0
  100. package/dist/motion/core.d.ts +3 -3
  101. package/dist/motion/core.js +10 -10
  102. package/dist/{motion-core-lHRF8PZz.d.ts → motion-core-DNl7TR1T.d.ts} +0 -54
  103. package/dist/motion.d.ts +3 -5
  104. package/dist/motion.js +11 -11
  105. package/dist/night-owl-B7Of8ee9.js +188 -0
  106. package/dist/night-owl-light-Vu9tTNpS.js +189 -0
  107. package/dist/nord-CDzJumeN.js +128 -0
  108. package/dist/{nuxt-ui-CgvMzO5v.js → nuxt-ui-7ByUrymx.js} +1 -2
  109. package/dist/nuxt.d.ts +1 -7
  110. package/dist/nuxt.js +4 -8
  111. package/dist/one-dark-pro-hS_sNo5p.js +124 -0
  112. package/dist/one-light-CD4ItzSC.js +153 -0
  113. package/dist/{opt-out-b6bnUjIT.js → opt-out-D66l60sg.js} +3 -6
  114. package/dist/parts/components/agent-session.d.ts +1 -3
  115. package/dist/parts/components/agent-session.js +3 -4
  116. package/dist/parts/components/attachment.d.ts +1 -3
  117. package/dist/parts/components/attachment.js +3 -4
  118. package/dist/parts/components/avatar-stack.d.ts +1 -1
  119. package/dist/parts/components/avatar-stack.js +2 -3
  120. package/dist/parts/components/bubble.d.ts +1 -3
  121. package/dist/parts/components/bubble.js +2 -3
  122. package/dist/parts/components/chat-message.d.ts +1 -3
  123. package/dist/parts/components/chat-message.js +1 -2
  124. package/dist/parts/components/chat-session.d.ts +2 -4
  125. package/dist/parts/components/chat-session.js +1 -2
  126. package/dist/parts/components/chat.d.ts +1 -3
  127. package/dist/parts/components/chat.js +4 -5
  128. package/dist/parts/components/code-block.d.ts +1 -3
  129. package/dist/parts/components/code-block.js +2 -3
  130. package/dist/parts/components/code-view.d.ts +1 -3
  131. package/dist/parts/components/code-view.js +1 -2
  132. package/dist/parts/components/comment-composer.d.ts +1 -1
  133. package/dist/parts/components/comment-composer.js +1 -2
  134. package/dist/parts/components/comment-layer.d.ts +1 -1
  135. package/dist/parts/components/comment-layer.js +11 -15
  136. package/dist/parts/components/comment-list.d.ts +1 -1
  137. package/dist/parts/components/comment-list.js +5 -6
  138. package/dist/parts/components/comment-panel.d.ts +1 -1
  139. package/dist/parts/components/comment-panel.js +9 -10
  140. package/dist/parts/components/comment-pin.d.ts +1 -1
  141. package/dist/parts/components/comment-pin.js +2 -3
  142. package/dist/parts/components/comment-selection-bar.d.ts +1 -1
  143. package/dist/parts/components/comment-selection-bar.js +3 -4
  144. package/dist/parts/components/comment-send.d.ts +1 -1
  145. package/dist/parts/components/comment-send.js +1 -2
  146. package/dist/parts/components/comment-thread.d.ts +1 -1
  147. package/dist/parts/components/comment-thread.js +2 -2
  148. package/dist/parts/components/comments.d.ts +8 -8
  149. package/dist/parts/components/comments.js +6 -6
  150. package/dist/parts/components/connection-status.d.ts +1 -3
  151. package/dist/parts/components/connection-status.js +1 -2
  152. package/dist/parts/components/copy-button.d.ts +1 -3
  153. package/dist/parts/components/copy-button.js +6 -7
  154. package/dist/parts/components/device-frame.d.ts +1 -3
  155. package/dist/parts/components/device-frame.js +1 -2
  156. package/dist/parts/components/drop-field.d.ts +1 -3
  157. package/dist/parts/components/drop-field.js +2 -3
  158. package/dist/parts/components/file-tree.d.ts +1 -1
  159. package/dist/parts/components/file-tree.js +1 -2
  160. package/dist/parts/components/filter-search.d.ts +2 -4
  161. package/dist/parts/components/filter-search.js +2 -3
  162. package/dist/parts/components/hold-to-delete.d.ts +2 -4
  163. package/dist/parts/components/hold-to-delete.js +2 -3
  164. package/dist/parts/components/markdown-editor.d.ts +1 -1
  165. package/dist/parts/components/markdown-editor.js +1 -2
  166. package/dist/parts/components/markdown-renderer.d.ts +1 -3
  167. package/dist/parts/components/markdown-renderer.js +1 -23077
  168. package/dist/parts/components/markdown.d.ts +1 -3
  169. package/dist/parts/components/markdown.js +2 -3
  170. package/dist/parts/components/marker.d.ts +1 -3
  171. package/dist/parts/components/marker.js +2 -3
  172. package/dist/parts/components/message-parts.d.ts +1 -3
  173. package/dist/parts/components/message-parts.js +2 -3
  174. package/dist/parts/components/message.d.ts +1 -3
  175. package/dist/parts/components/message.js +2 -3
  176. package/dist/parts/components/motion-list.d.ts +1 -3
  177. package/dist/parts/components/motion-list.js +2 -3
  178. package/dist/parts/components/motion.d.ts +2 -4
  179. package/dist/parts/components/motion.js +4 -5
  180. package/dist/parts/components/patch-parsers.d.ts +1 -1
  181. package/dist/parts/components/patch-parsers.js +1 -2
  182. package/dist/parts/components/progress.d.ts +1 -3
  183. package/dist/parts/components/progress.js +2 -3
  184. package/dist/parts/components/prompt-input.d.ts +5 -7
  185. package/dist/parts/components/prompt-input.js +5 -6
  186. package/dist/parts/components/relative-time.d.ts +1 -3
  187. package/dist/parts/components/relative-time.js +1 -2
  188. package/dist/parts/components/status.d.ts +1 -3
  189. package/dist/parts/components/status.js +1 -2
  190. package/dist/parts/components/sync-status.d.ts +1 -3
  191. package/dist/parts/components/sync-status.js +1 -2
  192. package/dist/parts/components/tool-list.d.ts +2 -4
  193. package/dist/parts/components/tool-list.js +2 -3
  194. package/dist/parts/components/trace-run.d.ts +2 -4
  195. package/dist/parts/components/trace-run.js +4 -5
  196. package/dist/parts/components/trace.d.ts +1 -3
  197. package/dist/parts/components/trace.js +2 -3
  198. package/dist/parts/composables/attachments.d.ts +1 -3
  199. package/dist/parts/composables/attachments.js +1 -2
  200. package/dist/parts/composables/highlighted-code.d.ts +1 -3
  201. package/dist/parts/composables/highlighted-code.js +1 -2
  202. package/dist/parts/headless/choices-input.d.ts +1 -1
  203. package/dist/parts/headless/choices-input.js +3 -4
  204. package/dist/parts/headless/comment-visibility.d.ts +1 -1
  205. package/dist/parts/headless/comment-visibility.js +1 -2
  206. package/dist/parts/headless/comments.d.ts +1 -1
  207. package/dist/parts/headless/comments.js +1 -2
  208. package/dist/parts/headless/message-scroller.d.ts +1 -1
  209. package/dist/parts/headless/message-scroller.js +2 -3
  210. package/dist/parts/playground/paths.d.ts +1 -3
  211. package/dist/parts/playground/paths.js +1 -2
  212. package/dist/parts/playground/share.d.ts +1 -3
  213. package/dist/parts/playground/share.js +1 -2
  214. package/dist/parts/playground/zip.d.ts +1 -3
  215. package/dist/parts/playground/zip.js +2 -3
  216. package/dist/parts/workspace/browser-support-notice.d.ts +1 -3
  217. package/dist/parts/workspace/browser-support-notice.js +3 -4
  218. package/dist/parts/workspace/codemirror.d.ts +1 -3
  219. package/dist/parts/workspace/codemirror.js +3 -4
  220. package/dist/parts/workspace/connect-panel.d.ts +1 -3
  221. package/dist/parts/workspace/connect-panel.js +2 -3
  222. package/dist/parts/workspace/connect-store.d.ts +1 -3
  223. package/dist/parts/workspace/connect-store.js +1 -2
  224. package/dist/parts/workspace/file-icons.d.ts +1 -3
  225. package/dist/parts/workspace/file-icons.js +1 -2
  226. package/dist/parts/workspace/icons.d.ts +1 -2
  227. package/dist/parts/workspace/icons.js +1 -2
  228. package/dist/parts/workspace/runners/render.d.ts +1 -3
  229. package/dist/parts/workspace/runners/render.js +1 -2
  230. package/dist/parts/workspace/runners/web-container.d.ts +1 -3
  231. package/dist/parts/workspace/runners/web-container.js +1 -2
  232. package/dist/parts/workspace/workspace-bar.d.ts +1 -3
  233. package/dist/parts/workspace/workspace-bar.js +2 -3
  234. package/dist/parts/workspace/workspace-boot-status.d.ts +1 -2
  235. package/dist/parts/workspace/workspace-boot-status.js +2 -3
  236. package/dist/parts/workspace/workspace-editor-head.d.ts +1 -3
  237. package/dist/parts/workspace/workspace-editor-head.js +3 -4
  238. package/dist/parts/workspace/workspace-editor.d.ts +1 -3
  239. package/dist/parts/workspace/workspace-editor.js +1 -2
  240. package/dist/parts/workspace/workspace-examples.d.ts +1 -3
  241. package/dist/parts/workspace/workspace-examples.js +2 -3
  242. package/dist/parts/workspace/workspace-file-link.d.ts +1 -3
  243. package/dist/parts/workspace/workspace-file-link.js +1 -2
  244. package/dist/parts/workspace/workspace-file-tree.d.ts +1 -3
  245. package/dist/parts/workspace/workspace-file-tree.js +2 -3
  246. package/dist/parts/workspace/workspace-guide.d.ts +2 -4
  247. package/dist/parts/workspace/workspace-guide.js +2 -3
  248. package/dist/parts/workspace/workspace-issues.d.ts +1 -3
  249. package/dist/parts/workspace/workspace-issues.js +1 -2
  250. package/dist/parts/workspace/workspace-preview.d.ts +1 -3
  251. package/dist/parts/workspace/workspace-preview.js +2 -3
  252. package/dist/parts/workspace/workspace-shell.d.ts +1 -1
  253. package/dist/parts/workspace/workspace-shell.js +2 -3
  254. package/dist/parts/workspace/workspace-sidebar.d.ts +2 -4
  255. package/dist/parts/workspace/workspace-sidebar.js +3 -4
  256. package/dist/parts/workspace/workspace-start.d.ts +1 -3
  257. package/dist/parts/workspace/workspace-start.js +2 -3
  258. package/dist/parts/workspace/workspace-status.d.ts +1 -3
  259. package/dist/parts/workspace/workspace-status.js +1 -2
  260. package/dist/parts/workspace/workspace-steps.d.ts +1 -1
  261. package/dist/parts/workspace/workspace-steps.js +2 -3
  262. package/dist/parts/workspace/workspace-task.d.ts +1 -3
  263. package/dist/parts/workspace/workspace-task.js +1 -2
  264. package/dist/parts/workspace/workspace-terminal.d.ts +1 -3
  265. package/dist/parts/workspace/workspace-terminal.js +1 -2
  266. package/dist/parts/workspace/workspace.d.ts +4 -6
  267. package/dist/parts/workspace/workspace.js +6 -7
  268. package/dist/{payload-text-sjkYAwvw.js → payload-text-DQNRbJY5.js} +1 -2
  269. package/dist/{pierre-code-view-NE35tkmR.js → pierre-code-view-C49BVDrc.js} +11333 -6718
  270. package/dist/pierre-dark-BtKHt2e4.js +166 -0
  271. package/dist/pierre-dark-CXW3KeKO.js +5 -0
  272. package/dist/pierre-dark-protanopia-deuteranopia-CS0Gs25Q.js +166 -0
  273. package/dist/pierre-dark-protanopia-deuteranopia-DajNv_A3.js +3 -0
  274. package/dist/pierre-dark-soft-BUFoeBEf.js +3 -0
  275. package/dist/pierre-dark-soft-D__0FtYP.js +166 -0
  276. package/dist/pierre-dark-tritanopia-C6fHROmA.js +166 -0
  277. package/dist/pierre-dark-tritanopia-oa3gpgIR.js +3 -0
  278. package/dist/pierre-dark-vibrant-COXpyAHb.js +166 -0
  279. package/dist/pierre-dark-vibrant-CYRHyDoW.js +3 -0
  280. package/dist/pierre-light-BD28C_vh.js +166 -0
  281. package/dist/pierre-light-BN0rL1e5.js +5 -0
  282. package/dist/pierre-light-protanopia-deuteranopia-CYsDHJt0.js +3 -0
  283. package/dist/pierre-light-protanopia-deuteranopia-CwWH1xGL.js +166 -0
  284. package/dist/pierre-light-soft-BkKY4pMj.js +166 -0
  285. package/dist/pierre-light-soft-F2QIpNbb.js +3 -0
  286. package/dist/pierre-light-tritanopia-BbKKIkua.js +3 -0
  287. package/dist/pierre-light-tritanopia-Mpubahl7.js +166 -0
  288. package/dist/pierre-light-vibrant-CdV9Besm.js +3 -0
  289. package/dist/pierre-light-vibrant-x11J3_aO.js +166 -0
  290. package/dist/plastic-BQnXkmvK.js +137 -0
  291. package/dist/playground.d.ts +1 -1
  292. package/dist/poimandres-DEfG-8RI.js +124 -0
  293. package/dist/{progress-C7afI5vq.js → progress-DL9k-ERG.js} +3 -4
  294. package/dist/red-BfKrAjYG.js +169 -0
  295. package/dist/{registry-D3-ysX7l.js → registry-DAIjCjWd.js} +2 -3
  296. package/dist/{relative-time-DgSS3zKN.js → relative-time-DJnw45tr.js} +5 -8
  297. package/dist/{ring-B7Qxu7zd.js → ring-BN4d8vtw.js} +4 -6
  298. package/dist/{rolldown-runtime-C9mWXvCC.js → rolldown-runtime-CahUhzF3.js} +2 -3
  299. package/dist/rose-pine-D0rhGGFg.js +136 -0
  300. package/dist/rose-pine-dawn-7jVaYUiD.js +136 -0
  301. package/dist/rose-pine-moon-CFyS0Mvu.js +136 -0
  302. package/dist/runtime/nuxt-plugin.d.ts +0 -2
  303. package/dist/runtime/nuxt-plugin.js +3 -4
  304. package/dist/{sankey-CAYwt82B-D4uDQoMR.js → sankey-CAYwt82B-BAAk7WkJ.js} +147 -151
  305. package/dist/shiki-CbfEu_Az.js +607 -0
  306. package/dist/slack-dark-Bv-KFSBD.js +87 -0
  307. package/dist/slack-ochin-Dg2BAv1D.js +107 -0
  308. package/dist/{slot-part-Doic71uh.js → slot-part-BWHvQ3mK.js} +1 -2
  309. package/dist/snazzy-light-sYDdR9rx.js +93 -0
  310. package/dist/solarized-dark-COt2tTmN.js +160 -0
  311. package/dist/solarized-light-BJrwFarZ.js +160 -0
  312. package/dist/stream-tokenizer-ByC3l0HQ.js +263 -0
  313. package/dist/styles.css +11 -2
  314. package/dist/synthwave-84-NUDBykTM.js +410 -0
  315. package/dist/{temml-BilSAAws.js → temml-m3ad3bfq.js} +2 -3
  316. package/dist/{text-BCJflBJf.js → text-BWzZFnGY.js} +8 -12
  317. package/dist/theme.d.ts +1 -3
  318. package/dist/theme.js +1 -2
  319. package/dist/themes-DKugPHlg.js +323 -0
  320. package/dist/tokyo-night-DD3B2QcO.js +153 -0
  321. package/dist/{travel-C87xd5Wh.js → travel-CwVhU_GS.js} +6 -8
  322. package/dist/{tween-CO24nMpf.js → tween-Dv3IIIQG.js} +2 -3
  323. package/dist/{types-BX64qHlV.d.ts → types-Ceh7h7NT.d.ts} +1 -3
  324. package/dist/vesper-oVQYrv8Y.js +99 -0
  325. package/dist/{visual-copy-CrVc3z4n.js → visual-copy-CHHBfJ6O.js} +1 -2
  326. package/dist/vite.d.ts +1 -3
  327. package/dist/vite.js +13 -3
  328. package/dist/vitesse-black-D84DQZAP.js +196 -0
  329. package/dist/vitesse-dark-CMZ6olk_.js +196 -0
  330. package/dist/vitesse-light-D9d8hLOY.js +196 -0
  331. package/dist/{vue-DGstVdGn.js → vue-BlknIGIm.js} +43 -34
  332. package/dist/{vue-BDmSCtay.js → vue-Cs_HmYsp.js} +4 -7
  333. package/dist/{workspace-shell-BJGnoF3p.d.ts → workspace-shell-ChCwWPyv.d.ts} +0 -2
  334. package/dist/{workspace-steps-Bgph2rpr.d.ts → workspace-steps-BKByX9DW.d.ts} +0 -2
  335. package/dist/workspace.d.ts +6 -8
  336. package/dist/workspace.js +6 -6
  337. package/package.json +52 -52
  338. package/dist/pierre-dark-CzUmjETS.js +0 -6
  339. package/dist/pierre-dark-protanopia-deuteranopia-C35UMuvO.js +0 -4
  340. package/dist/pierre-dark-soft-Bb-4-biO.js +0 -4
  341. package/dist/pierre-dark-tritanopia-CIJISGWF.js +0 -4
  342. package/dist/pierre-dark-vibrant-8oZzB3gw.js +0 -4
  343. package/dist/pierre-light-Dn6E0sWv.js +0 -6
  344. package/dist/pierre-light-protanopia-deuteranopia-u0U7N4Hn.js +0 -4
  345. package/dist/pierre-light-soft-BCU6fuhO.js +0 -4
  346. package/dist/pierre-light-tritanopia-3c8Yx3co.js +0 -4
  347. package/dist/pierre-light-vibrant-Cwh332o_.js +0 -4
@@ -1,18 +1,18 @@
1
- import { r as useUIComponent } from "./nuxt-ui-CgvMzO5v.js";
1
+ import { c as shakeEventName, i as consumedPointerEvents, l as swallowNextClick, n as injectComments, o as pathOf, u as useDocumentPointerDown } from "./comments-context-CrjhleVA.js";
2
+ import { i as toPerson, t as displayName } from "./comment-person-D_IyIjXo.js";
3
+ import { n as shake, t as travel } from "./travel-CwVhU_GS.js";
4
+ import { i as matchesAccept } from "./attachments-DgwoQZKY.js";
2
5
  import { RollNumber } from "./parts/components/motion.js";
3
- import { a as useViteHubUIIcons } from "./config-B1u7zqMB.js";
6
+ import { a as useViteHubUIIcons } from "./config-BDvnaVUn.js";
7
+ import { t as createMotionList } from "./list-DUTAo0uC.js";
8
+ import { t as ImagePreview } from "./image-preview-EqfPcFZ9.js";
9
+ import { r as useUIComponent } from "./nuxt-ui-7ByUrymx.js";
4
10
  import { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentGroup, AttachmentMedia, AttachmentTitle } from "./parts/components/attachment.js";
5
11
  import { AvatarStack } from "./parts/components/avatar-stack.js";
6
- import { t as ImagePreview } from "./image-preview-BigoAvb3.js";
7
- import { c as shakeEventName, i as consumedPointerEvents, l as swallowNextClick, n as injectComments, o as pathOf, u as useDocumentPointerDown } from "./comments-context-DhbIdYQ1.js";
8
- import { i as toPerson, t as displayName } from "./comment-person-CLPlW_SS.js";
9
- import { n as shake, t as travel } from "./travel-C87xd5Wh.js";
10
- import { i as matchesAccept } from "./attachments-BzTwqRTU.js";
11
- import { t as createMotionList } from "./list-RCbNZ14q.js";
12
12
  import { PromptInput } from "./parts/components/prompt-input.js";
13
13
  import { computed, defineComponent, h, nextTick, onBeforeUnmount, onBeforeUpdate, onMounted, onUpdated, ref, useId, watch } from "vue";
14
14
  import { foldName } from "@vite-hub/comments/client";
15
- //#region src/internal/comment-mentions.ts
15
+ // src/internal/comment-mentions.ts
16
16
  /** The tag of a mention chip in a rendered message. */
17
17
  const mentionTag = "comment-mention";
18
18
  /** A character that may stand before the `@` of a mention: the start of the text, a space, or an opening mark. */
@@ -88,8 +88,7 @@ function mentionPlugin(people) {
88
88
  pluginPeople.set(plugin, known);
89
89
  return plugin;
90
90
  }
91
- //#endregion
92
- //#region src/internal/comment-image-stack.ts
91
+ // src/internal/comment-image-stack.ts
93
92
  const closeDelay = 250;
94
93
  /**
95
94
  * The pictures of a comment box as one stack of cards beside the text, with their count. Hover or focus fans them out
@@ -275,8 +274,7 @@ const CommentImageStack = defineComponent({
275
274
  };
276
275
  }
277
276
  });
278
- //#endregion
279
- //#region src/components/comment-composer.ts
277
+ // src/components/comment-composer.ts
280
278
  const emptyLineQuery = /^\S{2,}$/u;
281
279
  const placeholders = {
282
280
  comment: "Add a comment",
@@ -834,5 +832,4 @@ const CommentComposer = defineComponent({
834
832
  ])]);
835
833
  }
836
834
  });
837
- //#endregion
838
835
  export { mentionPlugin as n, mentionTag as r, CommentComposer as t };
@@ -1,11 +1,10 @@
1
- import { n as AvatarStackPerson } from "./avatar-stack-DXmCQhxd.js";
2
- import { r as CommentComposerSize } from "./comment-composer-DvKMTrAi.js";
3
- import { s as CommentsState, t as CommentCan } from "./comments-D8hulVPy.js";
4
- import { n as CommentAttachmentUrl } from "./comment-thread-C6U-bsK_.js";
5
- import { c as CommentUpload } from "./comment-panel-CsKWTms_.js";
1
+ import { s as CommentsState, t as CommentCan } from "./comments-CnG_c-_c.js";
2
+ import { n as AvatarStackPerson } from "./avatar-stack-C0IKwj6g.js";
3
+ import { r as CommentComposerSize } from "./comment-composer-BI6CNJyO.js";
4
+ import { c as CommentUpload } from "./comment-panel-DISGe7yM.js";
5
+ import { n as CommentAttachmentUrl } from "./comment-thread-DSkWODKG.js";
6
6
  import { PropType } from "vue";
7
7
  import { CommentSubject, CommentUser, CommentsClient } from "@vite-hub/comments/client";
8
- //#region src/components/comment-layer.d.ts
9
8
  /** Where a thread opens: in a card beside its pin, or in a column of cards on the right edge of the screen. */
10
9
  type CommentPlacement = "pin" | "margin";
11
10
  declare const CommentLayer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -172,5 +171,4 @@ declare const CommentLayer: import("vue").DefineComponent<import("vue").ExtractP
172
171
  queueFiles: boolean;
173
172
  placement: CommentPlacement;
174
173
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
175
- //#endregion
176
174
  export { CommentPlacement as n, CommentLayer as t };
@@ -1,8 +1,7 @@
1
- import { n as AvatarStackPerson } from "./avatar-stack-DXmCQhxd.js";
2
- import { s as CommentsState } from "./comments-D8hulVPy.js";
3
- import { s as CommentRowSlots } from "./comment-panel-CsKWTms_.js";
1
+ import { s as CommentsState } from "./comments-CnG_c-_c.js";
2
+ import { n as AvatarStackPerson } from "./avatar-stack-C0IKwj6g.js";
3
+ import { s as CommentRowSlots } from "./comment-panel-DISGe7yM.js";
4
4
  import { PropType, SlotsType } from "vue";
5
- //#region src/components/comment-list.d.ts
6
5
  declare const CommentFilters: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
6
  comments: {
8
7
  type: PropType<CommentsState>;
@@ -58,5 +57,4 @@ declare const CommentToolbar: import("vue").DefineComponent<import("vue").Extrac
58
57
  }>> & Readonly<{}>, {
59
58
  people: AvatarStackPerson[];
60
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
- //#endregion
62
60
  export { CommentList as n, CommentToolbar as r, CommentFilters as t };
@@ -1,8 +1,7 @@
1
- import { s as CommentsState, t as CommentCan } from "./comments-D8hulVPy.js";
2
- import { l as CommentThreadSlots, n as CommentAttachmentUrl } from "./comment-thread-C6U-bsK_.js";
1
+ import { s as CommentsState, t as CommentCan } from "./comments-CnG_c-_c.js";
2
+ import { l as CommentThreadSlots, n as CommentAttachmentUrl } from "./comment-thread-DSkWODKG.js";
3
3
  import { PropType, SlotsType, VNode } from "vue";
4
4
  import { CommentStatus, CommentSubject, CommentThread, CommentUser, CommentsClient } from "@vite-hub/comments/client";
5
- //#region src/components/comment-panel.d.ts
6
5
  type CommentPanelVariant = "docked" | "floating";
7
6
  /** Turns files into attachment keys, such as Blob keys, before a comment or a reply is sent. */
8
7
  type CommentUpload = (files: File[]) => Promise<string[]>;
@@ -204,5 +203,4 @@ declare const CommentPanel: import("vue").DefineComponent<import("vue").ExtractP
204
203
  queueFiles: boolean;
205
204
  thread: string | null;
206
205
  }, SlotsType<CommentPanelSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
207
- //#endregion
208
206
  export { CommentPanelVariant as a, CommentUpload as c, CommentPanelSlots as i, CommentGroupSlotScope as n, CommentRowSlotScope as o, CommentPanel as r, CommentRowSlots as s, CommentGroup as t };
@@ -1,4 +1,4 @@
1
- //#region src/internal/comment-person.ts
1
+ // src/internal/comment-person.ts
2
2
  const displayName = (user) => user.name ?? user.id;
3
3
  function toPerson(user) {
4
4
  return {
@@ -36,5 +36,4 @@ function excerpt(body, length = 60) {
36
36
  const line = plainText(body);
37
37
  return line.length > length ? `${line.slice(0, length - 1)}…` : line;
38
38
  }
39
- //#endregion
40
39
  export { writerName as a, toPerson as i, excerpt as n, writerPerson as o, plainText as r, displayName as t };
@@ -1,6 +1,5 @@
1
1
  import { PropType } from "vue";
2
2
  import { CommentStatus, CommentUser } from "@vite-hub/comments/client";
3
- //#region src/components/comment-pin.d.ts
4
3
  declare const CommentPin: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
4
  /** The thread number. A draft has none. */
6
5
  n: {
@@ -64,5 +63,4 @@ declare const CommentPin: import("vue").DefineComponent<import("vue").ExtractPro
64
63
  status: CommentStatus;
65
64
  draft: boolean;
66
65
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
67
- //#endregion
68
66
  export { CommentPin as t };
@@ -1,8 +1,8 @@
1
1
  import { AvatarStack } from "./parts/components/avatar-stack.js";
2
- import { a as writerName, o as writerPerson, r as plainText } from "./comment-person-CLPlW_SS.js";
3
- import { t as RelativeTime } from "./relative-time-DgSS3zKN.js";
2
+ import { t as RelativeTime } from "./relative-time-DJnw45tr.js";
3
+ import { a as writerName, o as writerPerson, r as plainText } from "./comment-person-D_IyIjXo.js";
4
4
  import { h } from "vue";
5
- //#region src/internal/comment-row.ts
5
+ // src/internal/comment-row.ts
6
6
  /** The start of a thread as plain text: its first message, else the text that it is about. */
7
7
  function threadPreview(thread) {
8
8
  const text = thread.anchor.kind === "text" ? thread.anchor.exact : "";
@@ -35,5 +35,4 @@ function threadRow(thread, options = {}) {
35
35
  ])])
36
36
  ];
37
37
  }
38
- //#endregion
39
38
  export { threadRow as n, rowSlotScope as t };
@@ -1,5 +1,4 @@
1
1
  import { PropType, VNode } from "vue";
2
- //#region src/components/comment-selection-bar.d.ts
3
2
  /** The side of the selected text that the bar sits on. */
4
3
  type CommentSelectionBarSide = "top" | "bottom";
5
4
  /**
@@ -38,5 +37,4 @@ declare const CommentSelectionBar: import("vue").DefineComponent<import("vue").E
38
37
  side: CommentSelectionBarSide;
39
38
  suggest: boolean;
40
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
- //#endregion
42
40
  export { CommentSelectionBarSide as n, CommentSelectionBar as t };
@@ -1,10 +1,10 @@
1
- import { r as useUIComponent } from "./nuxt-ui-CgvMzO5v.js";
2
- import { r as createSpring } from "./opt-out-b6bnUjIT.js";
3
- import { o as motionSkipped } from "./ring-B7Qxu7zd.js";
4
- import { n as prepareAnnouncer, t as announce } from "./announce-Cy_Tn9wW.js";
1
+ import { n as prepareAnnouncer, t as announce } from "./announce-B0DLwflT.js";
2
+ import { r as useUIComponent } from "./nuxt-ui-7ByUrymx.js";
3
+ import { o as motionSkipped } from "./ring-BN4d8vtw.js";
4
+ import { r as createSpring } from "./opt-out-D66l60sg.js";
5
5
  import { useCopy } from "./parts/components/copy-button.js";
6
6
  import { defineComponent, h, nextTick, onBeforeUnmount, onBeforeUpdate, onMounted, onUpdated, ref, shallowRef, watch } from "vue";
7
- //#region src/internal/agent-logos.ts
7
+ // src/internal/agent-logos.ts
8
8
  const agentLogos = {
9
9
  t3: {
10
10
  viewBox: "15.5309 37 94.3941 56.96",
@@ -22,8 +22,7 @@ const agentLogos = {
22
22
  thread: "Codex thread"
23
23
  }
24
24
  };
25
- //#endregion
26
- //#region src/components/comment-send.ts
25
+ // src/components/comment-send.ts
27
26
  const time = new Intl.DateTimeFormat(void 0, {
28
27
  hour: "2-digit",
29
28
  minute: "2-digit",
@@ -232,7 +231,7 @@ const CommentSend = defineComponent({
232
231
  "aria-hidden": "true",
233
232
  "data-slot": "comment-send-hold-copy"
234
233
  }, sendContent(current.count, lastInbox))])];
235
- case "sent": return [status(void 0, [icon("i-lucide-check"), current.inbox ? "In inbox" : "Sent"])];
234
+ case "sent": return [status(void 0, [icon("i-lucide-check"), current.inbox ? "In inbox" : "Sent"]), current.count > 0 ? sendButton(current.count, Boolean(current.agent && !current.agent.host)) : null].filter((part) => part !== null);
236
235
  case "working": return [
237
236
  status(void 0, [h("span", {
238
237
  "aria-hidden": "true",
@@ -273,5 +272,4 @@ const CommentSend = defineComponent({
273
272
  };
274
273
  }
275
274
  });
276
- //#endregion
277
275
  export { CommentSend as t };
@@ -1,6 +1,5 @@
1
1
  import { PropType, VNode } from "vue";
2
2
  import { CommentSendClient } from "@vite-hub/comments/client";
3
- //#region src/components/comment-send.d.ts
4
3
  /**
5
4
  * The Send segment of a comment pill: **Send N** hands the member's waiting comments to their agent, and its state
6
5
  * takes the place of the button: Sending, Sent, Working with **Open thread**, or Not delivered with **Retry**. Without
@@ -21,5 +20,4 @@ declare const CommentSend: import("vue").DefineComponent<import("vue").ExtractPr
21
20
  type: PropType<CommentSendClient>;
22
21
  };
23
22
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
- //#endregion
25
23
  export { CommentSend as t };
@@ -1,19 +1,19 @@
1
- import { r as useUIComponent } from "./nuxt-ui-CgvMzO5v.js";
2
1
  import { RollNumber } from "./parts/components/motion.js";
3
- import { a as useViteHubUIIcons } from "./config-B1u7zqMB.js";
4
- import { Markdown } from "./parts/components/markdown.js";
2
+ import { i as consumedPointerEvents, l as swallowNextClick, n as injectComments, o as pathOf, r as commentThreadPortals, s as shakeDirtyComposers, u as useDocumentPointerDown } from "./comments-context-CrjhleVA.js";
3
+ import { n as mentionPlugin, r as mentionTag, t as CommentComposer } from "./comment-composer-BP-CJx7f.js";
4
+ import { a as writerName, o as writerPerson, t as displayName } from "./comment-person-D_IyIjXo.js";
5
+ import { c as messagesSinceResolved, o as commentTitle, s as deliveryAttributes, t as defaultCommentCan } from "./comments-D9dONfs9.js";
6
+ import { a as useViteHubUIIcons } from "./config-BDvnaVUn.js";
7
+ import { t as travel } from "./travel-CwVhU_GS.js";
8
+ import { r as useUIComponent } from "./nuxt-ui-7ByUrymx.js";
5
9
  import { Attachment, AttachmentContent, AttachmentGroup, AttachmentMedia, AttachmentTitle } from "./parts/components/attachment.js";
6
10
  import { AvatarStack } from "./parts/components/avatar-stack.js";
7
- import { i as consumedPointerEvents, l as swallowNextClick, n as injectComments, o as pathOf, r as commentThreadPortals, s as shakeDirtyComposers, u as useDocumentPointerDown } from "./comments-context-DhbIdYQ1.js";
8
- import { a as writerName, o as writerPerson, t as displayName } from "./comment-person-CLPlW_SS.js";
9
- import { n as mentionPlugin, r as mentionTag, t as CommentComposer } from "./comment-composer-D7ZytyER.js";
10
- import { t as travel } from "./travel-C87xd5Wh.js";
11
- import { c as messagesSinceResolved, o as commentTitle, s as deliveryAttributes, t as defaultCommentCan } from "./comments-B88zg9gC.js";
12
- import { t as RelativeTime } from "./relative-time-DgSS3zKN.js";
13
- import { MotionList } from "./parts/components/motion-list.js";
11
+ import { Markdown } from "./parts/components/markdown.js";
14
12
  import { Marker, MarkerContent } from "./parts/components/marker.js";
13
+ import { MotionList } from "./parts/components/motion-list.js";
14
+ import { t as RelativeTime } from "./relative-time-DJnw45tr.js";
15
15
  import { computed, defineComponent, h, inject, nextTick, onBeforeUnmount, provide, ref, watch } from "vue";
16
- //#region src/internal/image-gallery.ts
16
+ // src/internal/image-gallery.ts
17
17
  const tileCount = 4;
18
18
  /** The box of `width` by `height` that covers `box`, centered on it: the picture with the shape it has full size. */
19
19
  function cover(box, width, height) {
@@ -206,8 +206,7 @@ const ImageGallery = defineComponent({
206
206
  };
207
207
  }
208
208
  });
209
- //#endregion
210
- //#region src/components/comment-thread.ts
209
+ // src/components/comment-thread.ts
211
210
  const imageExtensions = /* @__PURE__ */ new Set([
212
211
  "apng",
213
212
  "avif",
@@ -436,6 +435,7 @@ const CommentReply = defineComponent({
436
435
  autofocus: true,
437
436
  busy: busy.value,
438
437
  error: error.value,
438
+ layout: "row",
439
439
  mentions: mentions.value,
440
440
  modelValue: draft.value,
441
441
  onCancel: () => {
@@ -793,5 +793,4 @@ const CommentThread = defineComponent({
793
793
  };
794
794
  }
795
795
  });
796
- //#endregion
797
796
  export { CommentThread as n, CommentReply as t };
@@ -1,8 +1,7 @@
1
- import { i as CommentComposerSlots, r as CommentComposerSize } from "./comment-composer-DvKMTrAi.js";
2
- import { t as CommentCan } from "./comments-D8hulVPy.js";
1
+ import { t as CommentCan } from "./comments-CnG_c-_c.js";
2
+ import { i as CommentComposerSlots, r as CommentComposerSize } from "./comment-composer-BI6CNJyO.js";
3
3
  import { PropType, SlotsType, VNode } from "vue";
4
4
  import { CommentDelivery, CommentMessage, CommentThread, CommentUser } from "@vite-hub/comments/client";
5
- //#region src/internal/comment-status.d.ts
6
5
  /** The messages written after the thread was resolved. Empty for an open thread. */
7
6
  declare function messagesSinceResolved(thread: Pick<CommentThread, "status" | "resolvedAt" | "messages">): CommentMessage[];
8
7
  /**
@@ -10,8 +9,6 @@ declare function messagesSinceResolved(thread: Pick<CommentThread, "status" | "r
10
9
  * resolved, and lists show it with the open threads until someone resolves it again.
11
10
  */
12
11
  declare const repliedSinceResolved: (thread: Pick<CommentThread, "status" | "resolvedAt" | "messages">) => boolean;
13
- //#endregion
14
- //#region src/components/comment-thread.d.ts
15
12
  type Done = Promise<unknown> | void;
16
13
  /** An attachment as `attachmentUrl` describes it: its URL, and the file name and media type when the key does not say. */
17
14
  interface CommentAttachmentLink {
@@ -372,14 +369,13 @@ declare const CommentThread$1: import("vue").DefineComponent<import("vue").Extra
372
369
  onClose?: ((...args: any[]) => any) | undefined;
373
370
  }>, {
374
371
  size: CommentComposerSize;
375
- preview: boolean;
376
- busy: boolean;
377
372
  people: CommentUser[];
373
+ busy: boolean;
378
374
  attachments: boolean;
379
375
  readOnly: boolean;
376
+ preview: boolean;
380
377
  detached: boolean;
381
378
  navigation: "close" | "back";
382
379
  dismissible: boolean;
383
380
  }, SlotsType<CommentThreadSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
384
- //#endregion
385
381
  export { CommentReplySlots as a, CommentThreadSlotScope as c, repliedSinceResolved as d, CommentReplySlotScope as i, CommentThreadSlots as l, CommentAttachmentUrl as n, CommentStatusSlotScope as o, CommentReply as r, CommentThread$1 as s, CommentAttachmentLink as t, messagesSinceResolved as u };
@@ -1,4 +1,3 @@
1
- //#region src/headless/comment-visibility.d.ts
2
1
  /** `"all"` shows every comment on the page. `"hidden"` shows only the open thread, the draft, and a comment just sent. */
3
2
  type CommentVisibility = "all" | "hidden";
4
3
  interface CommentVisibilityOptions {
@@ -36,5 +35,4 @@ interface CommentVisibilityModel {
36
35
  /** How long a mark that stops showing stays, for its pop-out. The styles of the parts use the same time. */
37
36
  declare const commentLeaveMs = 130;
38
37
  declare function createCommentVisibility(options?: CommentVisibilityOptions): CommentVisibilityModel;
39
- //#endregion
40
38
  export { createCommentVisibility as a, commentLeaveMs as i, CommentVisibilityModel as n, CommentVisibilityOptions as r, CommentVisibility as t };
@@ -1,7 +1,6 @@
1
- import { t as CommentVisibility } from "./comment-visibility-DsVuVndP.js";
1
+ import { t as CommentVisibility } from "./comment-visibility-CYctacNx.js";
2
2
  import { ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
3
3
  import { AnchorPoint, AnchorPosition, AnchorTarget, CommentAnchor, CommentDelivery, CommentMessage, CommentSubject, CommentThread, CommentUser, CommentsClient, CommentsClientStatus, CommentsOutboxEntry, CreateAnchorOptions } from "@vite-hub/comments/client";
4
- //#region src/headless/comments.d.ts
5
4
  /**
6
5
  * Each switch shows one kind of thread. Resolved threads stay hidden until `resolved` is on. A resolved thread with a
7
6
  * reply since it was resolved also counts as open, so the reply is seen.
@@ -114,6 +113,7 @@ interface CommentsState {
114
113
  readonly pageThreads: ComputedRef<CommentThread[]>;
115
114
  /** The threads that pass the filters, for the page or the whole site as `scope` says. The list shows them. */
116
115
  readonly listed: ComputedRef<CommentThread[]>;
116
+ readonly openThreads: ComputedRef<CommentThread[]>;
117
117
  readonly counts: ComputedRef<{
118
118
  open: number;
119
119
  resolved: number;
@@ -194,5 +194,4 @@ declare function useComments(options: UseCommentsOptions): CommentsState;
194
194
  declare function provideComments(state: CommentsState): void;
195
195
  /** The state that a comment part uses: the one you pass, else the one of the nearest `CommentLayer` or `provideComments()`. Call it in `setup()`. */
196
196
  declare function useCommentsContext(state?: CommentsState): CommentsState;
197
- //#endregion
198
197
  export { CommentThreadAction as a, UseCommentsOptions as c, provideComments as d, useComments as f, CommentScope as i, defaultCommentCan as l, CommentDraft as n, CommentsOutboxState as o, useCommentsContext as p, CommentFilterState as r, CommentsState as s, CommentCan as t, draftPositionKey as u };
@@ -1,9 +1,9 @@
1
- import { t as uiErrorDiagnostics } from "./error-diagnostics-SXtnk6bz.js";
2
- import { a as hasDirtyComposer, n as injectComments, s as shakeDirtyComposers, t as commentsKey } from "./comments-context-DhbIdYQ1.js";
1
+ import { t as uiErrorDiagnostics } from "./error-diagnostics-BlgA9rI2.js";
3
2
  import { createCommentVisibility } from "./parts/headless/comment-visibility.js";
3
+ import { a as hasDirtyComposer, n as injectComments, s as shakeDirtyComposers, t as commentsKey } from "./comments-context-CrjhleVA.js";
4
4
  import { computed, getCurrentInstance, isRef, onBeforeUnmount, onMounted, provide, reactive, ref, shallowRef, toRaw, toValue, watch } from "vue";
5
5
  import { createAnchor, resolveAnchor } from "@vite-hub/comments/client";
6
- //#region src/internal/comment-selection.ts
6
+ // src/internal/comment-selection.ts
7
7
  function commentThreadKey(thread) {
8
8
  return thread.requestId === void 0 ? thread.id : JSON.stringify([
9
9
  thread.subject.kind,
@@ -26,8 +26,7 @@ function useSelectedComment(threads, id) {
26
26
  });
27
27
  return computed(() => selection.value.thread);
28
28
  }
29
- //#endregion
30
- //#region src/internal/comment-status.ts
29
+ // src/internal/comment-status.ts
31
30
  /** The messages written after the thread was resolved. Empty for an open thread. */
32
31
  function messagesSinceResolved(thread) {
33
32
  const { resolvedAt } = thread;
@@ -50,8 +49,7 @@ function deliveryAttributes(delivery) {
50
49
  "data-pending": delivery?.status === "pending" ? "true" : void 0
51
50
  };
52
51
  }
53
- //#endregion
54
- //#region src/headless/comments.ts
52
+ // src/headless/comments.ts
55
53
  /**
56
54
  * The permissions that the parts assume without a `can` option: a signed-in user may reply to and resolve any thread,
57
55
  * and edit and delete their own messages. Nobody may do anything without a user.
@@ -138,13 +136,12 @@ function useComments(options) {
138
136
  const onPage = (thread) => sameSubject(thread.subject, subject.value);
139
137
  const pageThreads = computed(() => threads.value.filter((thread) => onPage(thread) && passes(thread)));
140
138
  const listed = computed(() => threads.value.filter((thread) => (scope.value === "site" || onPage(thread)) && passes(thread)));
141
- const counts = computed(() => {
142
- const scoped = threads.value.filter((thread) => scope.value === "site" || onPage(thread));
143
- return {
144
- open: scoped.filter(isOpen).length,
145
- resolved: scoped.filter((thread) => thread.status === "resolved").length
146
- };
147
- });
139
+ const scoped = computed(() => threads.value.filter((thread) => scope.value === "site" || onPage(thread)));
140
+ const openThreads = computed(() => scoped.value.filter(isOpen));
141
+ const counts = computed(() => ({
142
+ open: openThreads.value.length,
143
+ resolved: scoped.value.filter((thread) => thread.status === "resolved").length
144
+ }));
148
145
  const opened = useSelectedComment(threads, openId);
149
146
  watch(opened, (thread) => {
150
147
  if (thread && thread.id !== openId.value) openId.value = thread.id;
@@ -515,6 +512,7 @@ function useComments(options) {
515
512
  },
516
513
  pageThreads,
517
514
  listed,
515
+ openThreads,
518
516
  counts,
519
517
  positions,
520
518
  draft,
@@ -603,5 +601,4 @@ function useCommentsContext(state) {
603
601
  if (!found) throw uiErrorDiagnostics.UI_R0002({ message: "Comment parts need a comments state. Put them inside CommentLayer, or pass the result of useComments() as the `comments` prop." });
604
602
  return found;
605
603
  }
606
- //#endregion
607
604
  export { useCommentsContext as a, messagesSinceResolved as c, useSelectedComment as d, useComments as i, repliedSinceResolved as l, draftPositionKey as n, commentTitle as o, provideComments as r, deliveryAttributes as s, defaultCommentCan as t, commentThreadKey as u };
@@ -1,5 +1,5 @@
1
1
  import { inject, onBeforeUnmount, onMounted } from "vue";
2
- //#region src/internal/comment-outside.ts
2
+ // src/internal/comment-outside.ts
3
3
  const commentThreadPortals = Symbol("comment-thread-portals");
4
4
  const consumedPointerEvents = /* @__PURE__ */ new WeakSet();
5
5
  function swallowNextClick() {
@@ -30,10 +30,8 @@ function shakeDirtyComposers(root = document, escape = false) {
30
30
  return dirty.length > 0;
31
31
  }
32
32
  const pathOf = (event) => event.composedPath().filter((node) => node instanceof Element);
33
- //#endregion
34
- //#region src/internal/comments-context.ts
33
+ // src/internal/comments-context.ts
35
34
  const commentsKey = Symbol("ViteHubComments");
36
35
  /** The state of the nearest `CommentLayer`, `CommentPanel`, or `provideComments()`, if there is one. Call it in `setup()`. */
37
36
  const injectComments = () => inject(commentsKey, null) ?? void 0;
38
- //#endregion
39
37
  export { hasDirtyComposer as a, shakeEventName as c, consumedPointerEvents as i, swallowNextClick as l, injectComments as n, pathOf as o, commentThreadPortals as r, shakeDirtyComposers as s, commentsKey as t, useDocumentPointerDown as u };
@@ -1,8 +1,8 @@
1
- import { t as uiComponentsKey } from "./nuxt-ui-CgvMzO5v.js";
1
+ import { t as uiComponentsKey } from "./nuxt-ui-7ByUrymx.js";
2
2
  import { vRing } from "./parts/components/motion.js";
3
- import { t as installMotion } from "./install-D5f6msEU.js";
3
+ import { t as installMotion } from "./install-qNaj4OY4.js";
4
4
  import { computed, inject, toValue } from "vue";
5
- //#region src/config.ts
5
+ // src/config.ts
6
6
  const defaultOptions = {
7
7
  markdown: { class: "vh-typeset vh-typeset-chat" },
8
8
  messageScroller: {
@@ -66,5 +66,4 @@ function createViteHubUI(options = {}) {
66
66
  app.directive("ring", vRing);
67
67
  } };
68
68
  }
69
- //#endregion
70
69
  export { useViteHubUIIcons as a, useViteHubUI as i, createViteHubUI as n, resolveViteHubUIDefaults as r, ViteHubUIInjectionKey as t };
@@ -1,11 +1,8 @@
1
1
  import { Component, ComputedRef, InjectionKey, MaybeRefOrGetter, Plugin } from "vue";
2
- //#region src/internal/nuxt-ui.d.ts
3
2
  /** The Nuxt UI components that the styled parts render. */
4
3
  type ViteHubUIComponentName = "UBadge" | "UButton" | "UChatReasoning" | "UChatTool" | "UCollapsible" | "UDropdownMenu" | "UEditorDragHandle" | "UEditorSuggestionMenu" | "UEditorToolbar" | "UIcon" | "UInput" | "UModal" | "UTabs" | "UTooltip";
5
4
  /** Components that replace the Nuxt UI ones in the parts, by name. Give them to `createViteHubUI({ components })`. */
6
5
  type ViteHubUIComponents = Partial<Record<ViteHubUIComponentName, Component>>;
7
- //#endregion
8
- //#region src/config.d.ts
9
6
  interface ViteHubUIDefaults {
10
7
  markdown?: {
11
8
  class?: string;
@@ -87,5 +84,4 @@ declare function useViteHubUI(): ResolvedViteHubUIDefaults;
87
84
  /** The icons that the parts render. It reads them on each render, so a reactive app config updates them. */
88
85
  declare function useViteHubUIIcons(): ComputedRef<Required<ViteHubUIIconOptions>>;
89
86
  declare function createViteHubUI(options?: ViteHubUIOptions): Plugin;
90
- //#endregion
91
87
  export { ViteHubUIOptions as a, useViteHubUI as c, ViteHubUIComponents as d, ViteHubUIInjectionKey as i, useViteHubUIIcons as l, ViteHubUIDefaults as n, createViteHubUI as o, ViteHubUIIconOptions as r, resolveViteHubUIDefaults as s, ResolvedViteHubUIDefaults as t, ViteHubUIComponentName as u };
@@ -0,0 +1,148 @@
1
+ // ../../node_modules/.pnpm/@pierre+highlights@0.5.2/node_modules/@pierre/highlights/dist/themes/dark-plus.js
2
+ var dark_plus_default = {
3
+ "name": "Dark Plus",
4
+ "appearance": "dark",
5
+ "style": {
6
+ "background": "#1e1e1eff",
7
+ "text": "#d4d4d4ff",
8
+ "editor.background": "#1e1e1eff",
9
+ "editor.foreground": "#d4d4d4ff",
10
+ "editor.active_line.background": "#d4d4d40a",
11
+ "editor.document_highlight.bracket_background": "#d4d4d41a",
12
+ "search.match_background": "#d4d4d433",
13
+ "players": [
14
+ {
15
+ "cursor": "#d4d4d4ff",
16
+ "background": "#d4d4d426",
17
+ "selection": "#d4d4d433"
18
+ },
19
+ {
20
+ "cursor": "#d4b455ff",
21
+ "background": "#d4b45526",
22
+ "selection": "#d4b4554d"
23
+ },
24
+ {
25
+ "cursor": "#94d455ff",
26
+ "background": "#94d45526",
27
+ "selection": "#94d4554d"
28
+ },
29
+ {
30
+ "cursor": "#55d475ff",
31
+ "background": "#55d47526",
32
+ "selection": "#55d4754d"
33
+ },
34
+ {
35
+ "cursor": "#55d4d4ff",
36
+ "background": "#55d4d426",
37
+ "selection": "#55d4d44d"
38
+ },
39
+ {
40
+ "cursor": "#5575d4ff",
41
+ "background": "#5575d426",
42
+ "selection": "#5575d44d"
43
+ },
44
+ {
45
+ "cursor": "#9455d4ff",
46
+ "background": "#9455d426",
47
+ "selection": "#9455d44d"
48
+ },
49
+ {
50
+ "cursor": "#d455b4ff",
51
+ "background": "#d455b426",
52
+ "selection": "#d455b44d"
53
+ }
54
+ ],
55
+ "error": "#f44747ff",
56
+ "warning": "#cca700ff",
57
+ "info": "#3794ffff",
58
+ "hint": "#969696ff",
59
+ "terminal.ansi.black": "#000000ff",
60
+ "terminal.ansi.red": "#cd3131ff",
61
+ "terminal.ansi.green": "#0dbc79ff",
62
+ "terminal.ansi.yellow": "#e5e510ff",
63
+ "terminal.ansi.blue": "#2472c8ff",
64
+ "terminal.ansi.magenta": "#bc3fbcff",
65
+ "terminal.ansi.cyan": "#11a8cdff",
66
+ "terminal.ansi.white": "#e5e5e5ff",
67
+ "terminal.ansi.bright_black": "#666666ff",
68
+ "terminal.ansi.bright_red": "#f14c4cff",
69
+ "terminal.ansi.bright_green": "#23d18bff",
70
+ "terminal.ansi.bright_yellow": "#f5f543ff",
71
+ "terminal.ansi.bright_blue": "#3b8eeaff",
72
+ "terminal.ansi.bright_magenta": "#d670d6ff",
73
+ "terminal.ansi.bright_cyan": "#29b8dbff",
74
+ "terminal.ansi.bright_white": "#e5e5e5ff",
75
+ "syntax": {
76
+ "comment": { "color": "#6a9955ff" },
77
+ "comment.doc": { "color": "#6a9955ff" },
78
+ "string": { "color": "#ce9178ff" },
79
+ "string.regex": { "color": "#d16969ff" },
80
+ "string.escape": { "color": "#d7ba7dff" },
81
+ "link_text": { "color": "#ce9178ff" },
82
+ "number": { "color": "#b5cea8ff" },
83
+ "boolean": { "color": "#569cd6ff" },
84
+ "constant.builtin": { "color": "#569cd6ff" },
85
+ "constant": { "color": "#4FC1FF" },
86
+ "variable": { "color": "#9cdcfeff" },
87
+ "variable.special": { "color": "#569cd6ff" },
88
+ "variable.parameter": { "color": "#9cdcfeff" },
89
+ "keyword": { "color": "#569cd6ff" },
90
+ "operator": { "color": "#d4d4d4ff" },
91
+ "type": { "color": "#4ec9b0ff" },
92
+ "type.builtin": { "color": "#4ec9b0ff" },
93
+ "function": { "color": "#dcdcaaff" },
94
+ "function.builtin": { "color": "#dcdcaaff" },
95
+ "tag": { "color": "#569cd6ff" },
96
+ "attribute": { "color": "#9cdcfeff" },
97
+ "punctuation.special": { "color": "#569cd6ff" },
98
+ "punctuation.bracket": { "color": "#d4d4d4ff" },
99
+ "punctuation.delimiter": { "color": "#d4d4d4ff" },
100
+ "punctuation.list_marker": { "color": "#6796e6ff" },
101
+ "punctuation": { "color": "#d4d4d4ff" },
102
+ "preproc": { "color": "#569cd6ff" },
103
+ "title": {
104
+ "color": "#569cd6ff",
105
+ "font_weight": 700
106
+ },
107
+ "emphasis.strong": {
108
+ "color": "#569cd6ff",
109
+ "font_weight": 700
110
+ },
111
+ "emphasis": {
112
+ "color": "#c586c0ff",
113
+ "font_style": "italic"
114
+ },
115
+ "text.literal": { "color": "#ce9178ff" },
116
+ "enum": { "color": "#4ec9b0ff" },
117
+ "property": { "color": "#9cdcfeff" },
118
+ "label": { "color": "#C8C8C8" },
119
+ "constructor": { "color": "#dcdcaaff" },
120
+ "namespace": { "color": "#4ec9b0ff" },
121
+ "diff.minus": { "color": "#ce9178ff" },
122
+ "diff.plus": { "color": "#b5cea8ff" },
123
+ "embedded": { "color": "#d4d4d4ff" },
124
+ "selector": { "color": "#d7ba7dff" },
125
+ "selector.pseudo": { "color": "#D7BA7D" },
126
+ "variant": { "color": "#4fc1ffff" },
127
+ "string.special": { "color": "#ce9178ff" },
128
+ "punctuation.markup": { "color": "#d4d4d4ff" },
129
+ "primary": { "color": "#d4d4d4ff" },
130
+ "link_uri": { "color": "#d4d4d4ff" },
131
+ "hint": { "color": "#d4d4d466" },
132
+ "predictive": { "color": "#d4d4d466" },
133
+ "string.special.symbol": { "color": "#d4d4d4ff" },
134
+ "keyword.control": { "color": "#C586C0" },
135
+ "keyword.import": { "color": "#C586C0" },
136
+ "tag.doctype": { "color": "#d4d4d4ff" },
137
+ "punctuation.bracket.html": { "color": "#808080" },
138
+ "punctuation.bracket.jsx": { "color": "#808080" },
139
+ "punctuation.delimiter.html": { "color": "#808080" },
140
+ "punctuation.delimiter.jsx": { "color": "#808080" },
141
+ "tag.component.jsx": { "color": "#4EC9B0" }
142
+ },
143
+ "created": "#81b88b",
144
+ "deleted": "#c74e39",
145
+ "modified": "#E2C08D"
146
+ }
147
+ };
148
+ export { dark_plus_default as default };