@vite-hub/ui 0.4.1 → 0.5.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.
- package/README.md +102 -76
- package/dist/andromeeda-DaUPZ4_A.js +147 -0
- package/dist/announce-B0DLwflT.js +31 -0
- package/dist/{attachments-BzTwqRTU.js → attachments-DgwoQZKY.js} +3 -5
- package/dist/aurora-x-B5RPZ9i5.js +162 -0
- package/dist/{avatar-stack-DPRFuezh.d.ts → avatar-stack-C0IKwj6g.d.ts} +1 -3
- package/dist/ayu-dark-DXTaGA7I.js +137 -0
- package/dist/ayu-light-BCYi80Fe.js +137 -0
- package/dist/ayu-mirage-CgbXz-N5.js +137 -0
- package/dist/catppuccin-frappe-MV2xzv44.js +266 -0
- package/dist/catppuccin-latte-CL6jjlVD.js +266 -0
- package/dist/catppuccin-macchiato-Bp6oZJVK.js +266 -0
- package/dist/catppuccin-mocha-DOHrQ4dw.js +266 -0
- package/dist/{choices-input-ByXJvDn1.d.ts → choices-input-BUf-QqGj.d.ts} +0 -2
- package/dist/{code-view-DsU-xzic.js → code-view-Cg4nyTNA.js} +6 -8
- package/dist/{colors-BghReA9C-CjF9gnmy.js → colors-BghReA9C-DEq4bhEP.js} +1 -2
- package/dist/{comment-attachments-C4yNbcx5.js → comment-attachments-CMpYOJod.js} +1 -2
- package/dist/{comment-composer-fINL5bxo.d.ts → comment-composer-BI6CNJyO.d.ts} +3 -5
- package/dist/{comment-composer-jYv2ULNP.js → comment-composer-CzU7DdfD.js} +260 -16
- package/dist/{comment-layer-C_sbPIR5.d.ts → comment-layer-DyVstrs-.d.ts} +5 -7
- package/dist/{comment-list-BcSaLngS.d.ts → comment-list-CSK5o-Ua.d.ts} +3 -5
- package/dist/comment-marks.css +18 -22
- package/dist/{comment-panel-CfvdRUMX.d.ts → comment-panel-CEvOI3gk.d.ts} +3 -5
- package/dist/{comment-person-CLPlW_SS.js → comment-person-D_IyIjXo.js} +1 -2
- package/dist/{comment-pin-DHOdRvUw.d.ts → comment-pin-C5UeLPTa.d.ts} +1 -3
- package/dist/{comment-row-Bn3nr8l5.js → comment-row-DPMWI5Z0.js} +3 -4
- package/dist/{comment-selection-bar-CyVBNYl9.d.ts → comment-selection-bar-CVuS-FNL.d.ts} +0 -2
- package/dist/comment-send-DPzV9B8S.js +275 -0
- package/dist/comment-send-MmxFsOQf.d.ts +23 -0
- package/dist/comment-send.css +267 -0
- package/dist/comment-thread-CbPtoi8-.js +796 -0
- package/dist/{comment-thread-DKJjmWN0.d.ts → comment-thread-DGm1cGJt.d.ts} +4 -8
- package/dist/{comment-visibility-DsVuVndP.d.ts → comment-visibility-CYctacNx.d.ts} +0 -2
- package/dist/{comments-D0d26ghV.js → comments-C0OdHh_F.js} +5 -8
- package/dist/{comments-D8hulVPy.d.ts → comments-DrE9DU-E.d.ts} +1 -3
- package/dist/{comments-context-C2lOZyQ5.js → comments-context-CrjhleVA.js} +4 -5
- package/dist/{config-Dk67emQt.js → config-DztmAYYn.js} +9 -3
- package/dist/{config-DgxBW013.d.ts → config-xL4EBeXw.d.ts} +11 -4
- package/dist/dark-plus-CXEBSjk4.js +148 -0
- package/dist/dracula-Bvyz6eCo.js +165 -0
- package/dist/dracula-soft-a9indxAQ.js +115 -0
- package/dist/{draw-DzSmD7uo-Dwz8zoH2.js → draw-DzSmD7uo-Cb7s9kxJ.js} +359 -708
- package/dist/drop-field-CNZgwFVO.js +162 -0
- package/dist/{editor-C_wt4RRV.js → editor-CGiEVOnB.js} +44 -6
- package/dist/effects-g4QucvgO.js +2955 -0
- package/dist/{error-diagnostics-SXtnk6bz.js → error-diagnostics-BlgA9rI2.js} +1 -2
- package/dist/everforest-dark-9sVAxG7I.js +99 -0
- package/dist/everforest-light-BocTn_Hd.js +99 -0
- package/dist/{file-tree-C4OYgbV-.js → file-tree-CRFIdtzw.js} +58 -116
- package/dist/{file-tree-DlT9RGhu.d.ts → file-tree-DOtkeBaq.d.ts} +0 -14
- package/dist/{format-orwcdZL_.js → format-Bc9m7-r0.js} +1 -2
- package/dist/{getSingularPatch-Dsb8EgxR.js → getSingularPatch-C7LmmBrW.js} +375 -79
- package/dist/github-dark-BO9SXswM.js +142 -0
- package/dist/github-dark-default-XB_RHfBI.js +90 -0
- package/dist/github-dark-dimmed-BoGxaWUQ.js +137 -0
- package/dist/github-dark-high-contrast-B3X6t2fG.js +137 -0
- package/dist/github-light-D7VHHlUH.js +142 -0
- package/dist/github-light-default-BuDsGtcR.js +137 -0
- package/dist/github-light-high-contrast-GodZiAwh.js +137 -0
- package/dist/gruvbox-dark-hard-CU4LuKJc.js +140 -0
- package/dist/gruvbox-dark-medium-DjAsuXuH.js +140 -0
- package/dist/gruvbox-dark-soft-D3Zttj6R.js +140 -0
- package/dist/gruvbox-light-hard-4M_9onwE.js +140 -0
- package/dist/gruvbox-light-medium-D9QwS4kQ.js +140 -0
- package/dist/gruvbox-light-soft-DhYcfQql.js +140 -0
- package/dist/{handlers-DMl-Na3x.js → handlers-CnbkvXjX.js} +1 -2
- package/dist/headless.d.ts +4 -4
- package/dist/headless.js +1 -1
- package/dist/highlights-C2AbEdDI.js +2630 -0
- package/dist/hold-to-delete-BSMrpE-i.d.ts +49 -0
- package/dist/hold-to-delete-Cludb56v.js +433 -0
- package/dist/horizon-bright-B9u59onx.js +97 -0
- package/dist/horizon-tItY9ATR.js +97 -0
- package/dist/houston-BqKrKNQv.js +207 -0
- package/dist/icon-XZaCUZTG.d.ts +29 -0
- package/dist/{image-preview-C9tdkmEj.js → image-preview-DrLXrHpp.js} +3 -4
- package/dist/{index-CNY1uNTh.d.ts → index-B2cbt3py.d.ts} +3945 -2445
- package/dist/{index-BYRFQfCd.d.ts → index-B_PSX-5h.d.ts} +5 -11
- package/dist/index.d.ts +35 -32
- package/dist/index.js +71 -73
- package/dist/install-Ba9mkkqI.js +16 -0
- package/dist/kanagawa-dragon-BH1K3aMw.js +159 -0
- package/dist/kanagawa-lotus-C-4JB2io.js +159 -0
- package/dist/kanagawa-wave-DTQqNe5k.js +159 -0
- package/dist/laserwave-BkV0uIaG.js +84 -0
- package/dist/light-plus-CxYgEz7U.js +149 -0
- package/dist/list-DUTAo0uC.js +270 -0
- package/dist/loader-CYMEjzwc.js +79 -0
- package/dist/{markdown-editor-CMbNZOdN.js → markdown-editor-3gY9MLvy.js} +237 -38
- package/dist/{markdown-editor-wQF0yD5o.d.ts → markdown-editor-B7gD60tp.d.ts} +0 -6
- package/dist/markdown-editor.d.ts +1 -5
- package/dist/markdown-editor.js +2 -2
- package/dist/markdown-renderer-DFS1vf1h.js +26578 -0
- package/dist/material-theme-Xdm37UUJ.js +105 -0
- package/dist/material-theme-darker-Blaz0cgN.js +105 -0
- package/dist/material-theme-lighter-BddVxBVA.js +105 -0
- package/dist/material-theme-ocean-C4qhfFHi.js +105 -0
- package/dist/material-theme-palenight-ChHDqoiA.js +105 -0
- package/dist/{message-scroller-jrYN9dG9.d.ts → message-scroller-a6qaYHno.d.ts} +2 -4
- package/dist/min-dark-DpGSNjaW.js +125 -0
- package/dist/min-light-BMfJUsU2.js +122 -0
- package/dist/monokai-DW19E-zg.js +162 -0
- package/dist/motion/core.d.ts +4 -0
- package/dist/motion/core.js +11 -0
- package/dist/motion-core-DNl7TR1T.d.ts +402 -0
- package/dist/motion.d.ts +14 -0
- package/dist/motion.js +13 -0
- package/dist/night-owl-B7Of8ee9.js +188 -0
- package/dist/night-owl-light-Vu9tTNpS.js +189 -0
- package/dist/nord-CDzJumeN.js +128 -0
- package/dist/nuxt-ui-7ByUrymx.js +43 -0
- package/dist/nuxt.d.ts +1 -7
- package/dist/nuxt.js +16 -11
- package/dist/one-dark-pro-hS_sNo5p.js +124 -0
- package/dist/one-light-CD4ItzSC.js +153 -0
- package/dist/opt-out-D66l60sg.js +205 -0
- package/dist/parts/components/agent-session.d.ts +1 -3
- package/dist/parts/components/agent-session.js +3 -4
- package/dist/parts/components/attachment.d.ts +2 -4
- package/dist/parts/components/attachment.js +3 -4
- package/dist/parts/components/avatar-stack.d.ts +1 -1
- package/dist/parts/components/avatar-stack.js +4 -4
- package/dist/parts/components/bubble.d.ts +2 -4
- package/dist/parts/components/bubble.js +2 -3
- package/dist/parts/components/chat-message.d.ts +1 -3
- package/dist/parts/components/chat-message.js +1 -2
- package/dist/parts/components/chat-session.d.ts +2 -4
- package/dist/parts/components/chat-session.js +1 -2
- package/dist/parts/components/chat.d.ts +1 -3
- package/dist/parts/components/chat.js +4 -5
- package/dist/parts/components/code-block.d.ts +2 -4
- package/dist/parts/components/code-block.js +3 -4
- package/dist/parts/components/code-view.d.ts +1 -3
- package/dist/parts/components/code-view.js +1 -2
- package/dist/parts/components/comment-composer.d.ts +1 -1
- package/dist/parts/components/comment-composer.js +1 -2
- package/dist/parts/components/comment-layer.d.ts +1 -1
- package/dist/parts/components/comment-layer.js +28 -11
- package/dist/parts/components/comment-list.d.ts +1 -1
- package/dist/parts/components/comment-list.js +13 -9
- package/dist/parts/components/comment-panel.d.ts +1 -1
- package/dist/parts/components/comment-panel.js +27 -14
- package/dist/parts/components/comment-pin.d.ts +1 -1
- package/dist/parts/components/comment-pin.js +2 -3
- package/dist/parts/components/comment-selection-bar.d.ts +1 -1
- package/dist/parts/components/comment-selection-bar.js +4 -4
- package/dist/parts/components/comment-send.d.ts +2 -0
- package/dist/parts/components/comment-send.js +1 -0
- package/dist/parts/components/comment-thread.d.ts +1 -1
- package/dist/parts/components/comment-thread.js +2 -597
- package/dist/parts/components/comments.d.ts +9 -8
- package/dist/parts/components/comments.js +7 -6
- package/dist/parts/components/connection-status.d.ts +1 -3
- package/dist/parts/components/connection-status.js +1 -2
- package/dist/parts/components/copy-button.d.ts +14 -6
- package/dist/parts/components/copy-button.js +225 -1
- package/dist/parts/components/device-frame.d.ts +3 -5
- package/dist/parts/components/device-frame.js +1 -2
- package/dist/parts/components/drop-field.d.ts +67 -0
- package/dist/parts/components/drop-field.js +76 -0
- package/dist/parts/components/file-tree.d.ts +1 -1
- package/dist/parts/components/file-tree.js +1 -2
- package/dist/parts/components/filter-search.d.ts +2 -4
- package/dist/parts/components/filter-search.js +2 -3
- package/dist/parts/components/hold-to-delete.d.ts +80 -0
- package/dist/parts/components/hold-to-delete.js +75 -0
- package/dist/parts/components/markdown-editor.d.ts +1 -1
- package/dist/parts/components/markdown-editor.js +1 -2
- package/dist/parts/components/markdown-renderer.d.ts +1 -3
- package/dist/parts/components/markdown-renderer.js +1 -23077
- package/dist/parts/components/markdown.d.ts +1 -3
- package/dist/parts/components/markdown.js +2 -3
- package/dist/parts/components/marker.d.ts +2 -4
- package/dist/parts/components/marker.js +2 -3
- package/dist/parts/components/message-parts.d.ts +1 -3
- package/dist/parts/components/message-parts.js +14 -7
- package/dist/parts/components/message.d.ts +1 -3
- package/dist/parts/components/message.js +2 -3
- package/dist/parts/components/motion-list.d.ts +40 -0
- package/dist/parts/components/motion-list.js +41 -0
- package/dist/parts/components/motion.d.ts +122 -0
- package/dist/parts/components/motion.js +171 -0
- package/dist/parts/components/patch-parsers.d.ts +1 -1
- package/dist/parts/components/patch-parsers.js +1 -2
- package/dist/parts/components/progress.d.ts +39 -0
- package/dist/parts/components/progress.js +53 -0
- package/dist/parts/components/prompt-input.d.ts +5 -7
- package/dist/parts/components/prompt-input.js +5 -6
- package/dist/parts/components/relative-time.d.ts +1 -3
- package/dist/parts/components/relative-time.js +1 -2
- package/dist/parts/components/status.d.ts +1 -3
- package/dist/parts/components/status.js +1 -2
- package/dist/parts/components/sync-status.d.ts +1 -3
- package/dist/parts/components/sync-status.js +3 -3
- package/dist/parts/components/tool-list.d.ts +2 -4
- package/dist/parts/components/tool-list.js +2 -3
- package/dist/parts/components/trace-run.d.ts +2 -4
- package/dist/parts/components/trace-run.js +4 -5
- package/dist/parts/components/trace.d.ts +2 -4
- package/dist/parts/components/trace.js +2 -3
- package/dist/parts/composables/attachments.d.ts +1 -3
- package/dist/parts/composables/attachments.js +1 -2
- package/dist/parts/composables/highlighted-code.d.ts +1 -3
- package/dist/parts/composables/highlighted-code.js +1 -2
- package/dist/parts/headless/choices-input.d.ts +1 -1
- package/dist/parts/headless/choices-input.js +3 -4
- package/dist/parts/headless/comment-visibility.d.ts +1 -1
- package/dist/parts/headless/comment-visibility.js +1 -2
- package/dist/parts/headless/comments.d.ts +1 -1
- package/dist/parts/headless/comments.js +1 -2
- package/dist/parts/headless/message-scroller.d.ts +1 -1
- package/dist/parts/headless/message-scroller.js +2 -3
- package/dist/parts/playground/paths.d.ts +1 -3
- package/dist/parts/playground/paths.js +1 -2
- package/dist/parts/playground/share.d.ts +34 -2
- package/dist/parts/playground/share.js +1 -2
- package/dist/parts/playground/zip.d.ts +1 -3
- package/dist/parts/playground/zip.js +2 -3
- package/dist/parts/workspace/browser-support-notice.d.ts +2 -4
- package/dist/parts/workspace/browser-support-notice.js +13 -6
- package/dist/parts/workspace/codemirror.d.ts +10 -3
- package/dist/parts/workspace/codemirror.js +40 -8
- package/dist/parts/workspace/connect-panel.d.ts +2 -4
- package/dist/parts/workspace/connect-panel.js +2 -3
- package/dist/parts/workspace/connect-store.d.ts +1 -3
- package/dist/parts/workspace/connect-store.js +1 -2
- package/dist/parts/workspace/file-icons.d.ts +14 -0
- package/dist/parts/workspace/file-icons.js +81 -0
- package/dist/parts/workspace/icons.d.ts +2 -2
- package/dist/parts/workspace/icons.js +2 -2
- package/dist/parts/workspace/runners/render.d.ts +24 -0
- package/dist/parts/workspace/runners/render.js +123 -0
- package/dist/parts/workspace/runners/web-container.d.ts +27 -0
- package/dist/parts/workspace/runners/web-container.js +185 -0
- package/dist/parts/workspace/workspace-bar.d.ts +49 -0
- package/dist/parts/workspace/workspace-bar.js +50 -0
- package/dist/parts/workspace/workspace-boot-status.d.ts +1 -2
- package/dist/parts/workspace/workspace-boot-status.js +2 -3
- package/dist/parts/workspace/workspace-editor-head.d.ts +45 -0
- package/dist/parts/workspace/workspace-editor-head.js +65 -0
- package/dist/parts/workspace/workspace-editor.d.ts +18 -3
- package/dist/parts/workspace/workspace-editor.js +30 -5
- package/dist/parts/workspace/workspace-examples.d.ts +72 -0
- package/dist/parts/workspace/workspace-examples.js +71 -0
- package/dist/parts/workspace/workspace-file-link.d.ts +33 -0
- package/dist/parts/workspace/workspace-file-link.js +38 -0
- package/dist/parts/workspace/workspace-file-tree.d.ts +9 -11
- package/dist/parts/workspace/workspace-file-tree.js +28 -22
- package/dist/parts/workspace/workspace-guide.d.ts +50 -0
- package/dist/parts/workspace/workspace-guide.js +90 -0
- package/dist/parts/workspace/workspace-issues.d.ts +44 -0
- package/dist/parts/workspace/workspace-issues.js +48 -0
- package/dist/parts/workspace/workspace-preview.d.ts +1 -3
- package/dist/parts/workspace/workspace-preview.js +2 -3
- package/dist/parts/workspace/workspace-shell.d.ts +2 -88
- package/dist/parts/workspace/workspace-shell.js +132 -80
- package/dist/parts/workspace/workspace-sidebar.d.ts +73 -0
- package/dist/parts/workspace/workspace-sidebar.js +131 -0
- package/dist/parts/workspace/workspace-start.d.ts +45 -0
- package/dist/parts/workspace/workspace-start.js +59 -0
- package/dist/parts/workspace/workspace-status.d.ts +67 -0
- package/dist/parts/workspace/workspace-status.js +73 -0
- package/dist/parts/workspace/workspace-steps.d.ts +2 -0
- package/dist/parts/workspace/workspace-steps.js +127 -0
- package/dist/parts/workspace/workspace-task.d.ts +18 -0
- package/dist/parts/workspace/workspace-task.js +19 -0
- package/dist/parts/workspace/workspace-terminal.d.ts +1 -3
- package/dist/parts/workspace/workspace-terminal.js +1 -2
- package/dist/parts/workspace/workspace.d.ts +249 -0
- package/dist/parts/workspace/workspace.js +664 -0
- package/dist/{payload-text-sjkYAwvw.js → payload-text-DQNRbJY5.js} +1 -2
- package/dist/{pierre-code-view-NE35tkmR.js → pierre-code-view-C49BVDrc.js} +11333 -6718
- package/dist/pierre-dark-BtKHt2e4.js +166 -0
- package/dist/pierre-dark-CXW3KeKO.js +5 -0
- package/dist/pierre-dark-protanopia-deuteranopia-CS0Gs25Q.js +166 -0
- package/dist/pierre-dark-protanopia-deuteranopia-DajNv_A3.js +3 -0
- package/dist/pierre-dark-soft-BUFoeBEf.js +3 -0
- package/dist/pierre-dark-soft-D__0FtYP.js +166 -0
- package/dist/pierre-dark-tritanopia-C6fHROmA.js +166 -0
- package/dist/pierre-dark-tritanopia-oa3gpgIR.js +3 -0
- package/dist/pierre-dark-vibrant-COXpyAHb.js +166 -0
- package/dist/pierre-dark-vibrant-CYRHyDoW.js +3 -0
- package/dist/pierre-light-BD28C_vh.js +166 -0
- package/dist/pierre-light-BN0rL1e5.js +5 -0
- package/dist/pierre-light-protanopia-deuteranopia-CYsDHJt0.js +3 -0
- package/dist/pierre-light-protanopia-deuteranopia-CwWH1xGL.js +166 -0
- package/dist/pierre-light-soft-BkKY4pMj.js +166 -0
- package/dist/pierre-light-soft-F2QIpNbb.js +3 -0
- package/dist/pierre-light-tritanopia-BbKKIkua.js +3 -0
- package/dist/pierre-light-tritanopia-Mpubahl7.js +166 -0
- package/dist/pierre-light-vibrant-CdV9Besm.js +3 -0
- package/dist/pierre-light-vibrant-x11J3_aO.js +166 -0
- package/dist/plastic-BQnXkmvK.js +137 -0
- package/dist/playground.d.ts +1 -1
- package/dist/poimandres-DEfG-8RI.js +124 -0
- package/dist/progress-DL9k-ERG.js +265 -0
- package/dist/red-BfKrAjYG.js +169 -0
- package/dist/registry-DAIjCjWd.js +77 -0
- package/dist/{relative-time-BVmjOsYG.js → relative-time-DJnw45tr.js} +5 -8
- package/dist/ring-BN4d8vtw.js +173 -0
- package/dist/{rolldown-runtime-C9mWXvCC.js → rolldown-runtime-CahUhzF3.js} +2 -3
- package/dist/rose-pine-D0rhGGFg.js +136 -0
- package/dist/rose-pine-dawn-7jVaYUiD.js +136 -0
- package/dist/rose-pine-moon-CFyS0Mvu.js +136 -0
- package/dist/runtime/nuxt-plugin.d.ts +0 -2
- package/dist/runtime/nuxt-plugin.js +3 -4
- package/dist/{sankey-CAYwt82B-D4uDQoMR.js → sankey-CAYwt82B-BAAk7WkJ.js} +147 -151
- package/dist/shiki-CbfEu_Az.js +607 -0
- package/dist/slack-dark-Bv-KFSBD.js +87 -0
- package/dist/slack-ochin-Dg2BAv1D.js +107 -0
- package/dist/{slot-part-Doic71uh.js → slot-part-BWHvQ3mK.js} +1 -2
- package/dist/snazzy-light-sYDdR9rx.js +93 -0
- package/dist/solarized-dark-COt2tTmN.js +160 -0
- package/dist/solarized-light-BJrwFarZ.js +160 -0
- package/dist/stream-tokenizer-ByC3l0HQ.js +263 -0
- package/dist/styles.css +590 -573
- package/dist/synthwave-84-NUDBykTM.js +410 -0
- package/dist/{temml-BilSAAws.js → temml-m3ad3bfq.js} +2 -3
- package/dist/text-BWzZFnGY.js +822 -0
- package/dist/theme.d.ts +44 -3
- package/dist/theme.js +23 -9
- package/dist/themes-DKugPHlg.js +323 -0
- package/dist/tokyo-night-DD3B2QcO.js +153 -0
- package/dist/travel-CwVhU_GS.js +180 -0
- package/dist/tween-Dv3IIIQG.js +61 -0
- package/dist/{types-Dj7vp0lZ.d.ts → types-Ceh7h7NT.d.ts} +1 -3
- package/dist/vesper-oVQYrv8Y.js +99 -0
- package/dist/visual-copy-CHHBfJ6O.js +14 -0
- package/dist/vite.d.ts +1 -3
- package/dist/vite.js +13 -3
- package/dist/vitesse-black-D84DQZAP.js +196 -0
- package/dist/vitesse-dark-CMZ6olk_.js +196 -0
- package/dist/vitesse-light-D9d8hLOY.js +196 -0
- package/dist/{vue-DGstVdGn.js → vue-BlknIGIm.js} +43 -34
- package/dist/{vue-BDmSCtay.js → vue-kCdzBu0N.js} +4 -7
- package/dist/workspace-shell-ChCwWPyv.d.ts +110 -0
- package/dist/workspace-steps-BKByX9DW.d.ts +70 -0
- package/dist/workspace.d.ts +16 -5
- package/dist/workspace.js +16 -3
- package/package.json +66 -55
- package/dist/copy-button-CRN3kmSD.js +0 -253
- package/dist/icon-swap.css +0 -69
- package/dist/nuxt-ui-DSQFzq3s.js +0 -38
- package/dist/parts/playground/highlight.d.ts +0 -5
- package/dist/parts/playground/highlight.js +0 -23
- package/dist/parts/playground/playground-render.d.ts +0 -126
- package/dist/parts/playground/playground-render.js +0 -356
- package/dist/parts/workspace/playground-container.d.ts +0 -192
- package/dist/parts/workspace/playground-container.js +0 -603
- package/dist/pierre-dark-CzUmjETS.js +0 -6
- package/dist/pierre-dark-protanopia-deuteranopia-C35UMuvO.js +0 -4
- package/dist/pierre-dark-soft-Bb-4-biO.js +0 -4
- package/dist/pierre-dark-tritanopia-CIJISGWF.js +0 -4
- package/dist/pierre-dark-vibrant-8oZzB3gw.js +0 -4
- package/dist/pierre-light-Dn6E0sWv.js +0 -6
- package/dist/pierre-light-protanopia-deuteranopia-u0U7N4Hn.js +0 -4
- package/dist/pierre-light-soft-BCU6fuhO.js +0 -4
- package/dist/pierre-light-tritanopia-3c8Yx3co.js +0 -4
- package/dist/pierre-light-vibrant-Cwh332o_.js +0 -4
- package/dist/share-DM4eNy4q.d.ts +0 -37
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import "nostics";
|
|
2
|
-
//#region ../runtime/src/host.d.ts
|
|
3
|
-
declare global {
|
|
4
|
-
/** `wrangler types` adds the app's bindings to `Cloudflare.Env`. ViteHub reads it to type `getHostBinding()`. */
|
|
5
|
-
namespace Cloudflare {
|
|
6
|
-
interface Env {}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../runtime/src/index.d.ts
|
|
11
2
|
declare global {
|
|
12
3
|
namespace ViteHub {
|
|
13
|
-
/** Generated declarations set `sessionResult` to the result of the app's Auth Definition. */
|
|
14
4
|
interface AuthRegistry {}
|
|
15
5
|
}
|
|
16
6
|
}
|
|
@@ -71,5 +61,9 @@ interface TraceRunView {
|
|
|
71
61
|
status: TraceRunStatus;
|
|
72
62
|
steps: TraceStepView[];
|
|
73
63
|
}
|
|
74
|
-
|
|
64
|
+
declare global {
|
|
65
|
+
namespace Cloudflare {
|
|
66
|
+
interface Env {}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
75
69
|
export { TraceRunView as n, TraceStepView as r, TraceEventLogEntry as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,56 +1,59 @@
|
|
|
1
|
+
import { Chat, chatActivity } from "./parts/components/chat.js";
|
|
2
|
+
import { ChatMessage } from "./parts/components/chat-message.js";
|
|
3
|
+
import { PromptInput, PromptInputSubmit } from "./parts/components/prompt-input.js";
|
|
4
|
+
import { CodeView, FileDiff, FileView, MultiFileDiff, PatchDiff, UnresolvedFile } from "./parts/components/code-view.js";
|
|
5
|
+
import "./parts/components/patch-parsers.js";
|
|
6
|
+
import { n as TraceRunView, r as TraceStepView, t as TraceEventLogEntry } from "./index-B_PSX-5h.js";
|
|
7
|
+
import { a as useFileTreeSelection, i as useFileTree, n as FileTreeModel, r as FileTreeOptions, t as FileTree } from "./file-tree-DOtkeBaq.js";
|
|
8
|
+
import { Markdown, MarkdownValue } from "./parts/components/markdown.js";
|
|
9
|
+
import { MessageParts } from "./parts/components/message-parts.js";
|
|
1
10
|
import { AgentSession, AgentSessionDetailsRow, AgentSessionDetailsSection, AgentSessionItem, AgentSessionSurface, AgentSessionTimeline, AgentSessionWorkEntry, AgentSessionWorkGroup, AgentSessionWorkKind } from "./parts/components/agent-session.js";
|
|
11
|
+
import { a as CodeViewLineSelection, c as DiffLineAnnotation, d as LineAnnotation, f as SelectedLineRange, i as UnresolvedFileOptions, l as FileContents, m as FileOptions, n as parseDiffFromFile, o as CodeViewOptions, p as FileDiffOptions, r as getSingularPatch, s as CodeViewItem, t as parsePatchFiles, u as FileDiffMetadata } from "./index-B2cbt3py.js";
|
|
12
|
+
import { ChatSession } from "./parts/components/chat-session.js";
|
|
13
|
+
import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "./comment-composer-BI6CNJyO.js";
|
|
14
|
+
import { a as createCommentVisibility, i as commentLeaveMs, n as CommentVisibilityModel, r as CommentVisibilityOptions, t as CommentVisibility } from "./comment-visibility-CYctacNx.js";
|
|
15
|
+
import { a as CommentThreadAction, c as UseCommentsOptions, d as provideComments, f as useComments, i as CommentScope, l as defaultCommentCan, n as CommentDraft, o as CommentsOutboxState, p as useCommentsContext, r as CommentFilterState, s as CommentsState, t as CommentCan, u as draftPositionKey } from "./comments-DrE9DU-E.js";
|
|
16
|
+
import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "./comment-thread-DGm1cGJt.js";
|
|
17
|
+
import { a as CommentPanelVariant, c as CommentUpload, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentRowSlotScope, r as CommentPanel, s as CommentRowSlots, t as CommentGroup } from "./comment-panel-CEvOI3gk.js";
|
|
18
|
+
import { n as CommentPlacement, t as CommentLayer } from "./comment-layer-DyVstrs-.js";
|
|
19
|
+
import { n as CommentList, r as CommentToolbar, t as CommentFilters } from "./comment-list-CSK5o-Ua.js";
|
|
20
|
+
import { t as CommentPin } from "./comment-pin-C5UeLPTa.js";
|
|
21
|
+
import { n as CommentSelectionBarSide, t as CommentSelectionBar } from "./comment-selection-bar-CVuS-FNL.js";
|
|
22
|
+
import { t as CommentSend } from "./comment-send-MmxFsOQf.js";
|
|
23
|
+
import { ToolList } from "./parts/components/tool-list.js";
|
|
24
|
+
import { TraceRun } from "./parts/components/trace-run.js";
|
|
2
25
|
import { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentOrientation, AttachmentSize, AttachmentState, AttachmentTitle, AttachmentTrigger } from "./parts/components/attachment.js";
|
|
3
|
-
import { i as AvatarStackVariant, n as AvatarStackPerson, r as AvatarStackSize, t as AvatarStack } from "./avatar-stack-
|
|
26
|
+
import { i as AvatarStackVariant, n as AvatarStackPerson, r as AvatarStackSize, t as AvatarStack } from "./avatar-stack-C0IKwj6g.js";
|
|
4
27
|
import { Bubble, BubbleAlign, BubbleContent, BubbleGroup, BubbleReactions, BubbleVariant } from "./parts/components/bubble.js";
|
|
5
|
-
import { ChatMessage } from "./parts/components/chat-message.js";
|
|
6
|
-
import { n as TraceRunView, r as TraceStepView, t as TraceEventLogEntry } from "./index-BYRFQfCd.js";
|
|
7
|
-
import { i as ViteHubUISession, n as AgentToolInspection, r as ViteHubUIMessage, t as AgentInspectionValue } from "./types-Dj7vp0lZ.js";
|
|
8
|
-
import { ChatSession } from "./parts/components/chat-session.js";
|
|
9
|
-
import { Chat, chatActivity } from "./parts/components/chat.js";
|
|
10
28
|
import { CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockLineVariant, CodeBlockSize, CodeBlockTitle, CodeBlockVariant } from "./parts/components/code-block.js";
|
|
11
|
-
import { a as
|
|
12
|
-
import { CodeView, FileDiff, FileView, MultiFileDiff, PatchDiff, UnresolvedFile } from "./parts/components/code-view.js";
|
|
13
|
-
import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "./comment-composer-fINL5bxo.js";
|
|
14
|
-
import { a as createCommentVisibility, i as commentLeaveMs, n as CommentVisibilityModel, r as CommentVisibilityOptions, t as CommentVisibility } from "./comment-visibility-DsVuVndP.js";
|
|
15
|
-
import { a as CommentThreadAction, c as UseCommentsOptions, d as provideComments, f as useComments, i as CommentScope, l as defaultCommentCan, n as CommentDraft, o as CommentsOutboxState, p as useCommentsContext, r as CommentFilterState, s as CommentsState, t as CommentCan, u as draftPositionKey } from "./comments-D8hulVPy.js";
|
|
16
|
-
import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "./comment-thread-DKJjmWN0.js";
|
|
17
|
-
import { a as CommentPanelVariant, c as CommentUpload, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentRowSlotScope, r as CommentPanel, s as CommentRowSlots, t as CommentGroup } from "./comment-panel-CfvdRUMX.js";
|
|
18
|
-
import { n as CommentPlacement, t as CommentLayer } from "./comment-layer-C_sbPIR5.js";
|
|
19
|
-
import { n as CommentList, r as CommentToolbar, t as CommentFilters } from "./comment-list-BcSaLngS.js";
|
|
20
|
-
import { t as CommentPin } from "./comment-pin-DHOdRvUw.js";
|
|
21
|
-
import { n as CommentSelectionBarSide, t as CommentSelectionBar } from "./comment-selection-bar-CyVBNYl9.js";
|
|
29
|
+
import { a as ChoicesInputSource, i as ChoicesInputField, n as ChoicesInputClear, o as ChoicesInputState, r as ChoicesInputError, s as ChoicesInputStatus, t as ChoicesInput } from "./choices-input-BUf-QqGj.js";
|
|
22
30
|
import "./parts/components/comments.js";
|
|
23
31
|
import { ConnectionStatus, ConnectionStatusIndicator, ConnectionStatusLabel, ConnectionStatusState, ConnectionStatusValue } from "./parts/components/connection-status.js";
|
|
24
32
|
import { CopyButton, CopyButtonSize, CopyButtonVariant, CopyValue, UseCopyOptions, UseCopyReturn, useCopy } from "./parts/components/copy-button.js";
|
|
25
33
|
import { DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame, DeviceFrameBreakpoint, DeviceFramePreset, DeviceFrameSize } from "./parts/components/device-frame.js";
|
|
26
|
-
import {
|
|
27
|
-
import { a as ChoicesInputSource, i as ChoicesInputField, n as ChoicesInputClear, o as ChoicesInputState, r as ChoicesInputError, s as ChoicesInputStatus, t as ChoicesInput } from "./choices-input-ByXJvDn1.js";
|
|
34
|
+
import { DropField, DropFieldSlots } from "./parts/components/drop-field.js";
|
|
28
35
|
import { FilterSearch, FilterSearchSize } from "./parts/components/filter-search.js";
|
|
29
|
-
import {
|
|
36
|
+
import { HoldToDelete } from "./parts/components/hold-to-delete.js";
|
|
30
37
|
import { Marker, MarkerContent, MarkerIcon, MarkerVariant } from "./parts/components/marker.js";
|
|
31
|
-
import { MessageParts } from "./parts/components/message-parts.js";
|
|
32
38
|
import { Message, MessageAlign, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader } from "./parts/components/message.js";
|
|
33
|
-
import "./parts/components/
|
|
34
|
-
import {
|
|
39
|
+
import { MotionList } from "./parts/components/motion-list.js";
|
|
40
|
+
import { MorphText, RollNumber, SwapIcon, vRing } from "./parts/components/motion.js";
|
|
41
|
+
import { Progress } from "./parts/components/progress.js";
|
|
35
42
|
import { RelativeTime, RelativeTimeFormat, RelativeTimeValue, provideRelativeNow } from "./parts/components/relative-time.js";
|
|
36
43
|
import { Status, StatusSize, StatusTone } from "./parts/components/status.js";
|
|
37
44
|
import { SyncStatus, SyncStatusIndicator, SyncStatusLabel, SyncStatusValue } from "./parts/components/sync-status.js";
|
|
38
|
-
import { ToolList } from "./parts/components/tool-list.js";
|
|
39
|
-
import { TraceRun } from "./parts/components/trace-run.js";
|
|
40
45
|
import { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceLineStatus, TraceTitle } from "./parts/components/trace.js";
|
|
46
|
+
import { PlaygroundFiles } from "./parts/playground/share.js";
|
|
41
47
|
import { AgentAttachments, PendingAttachment, UseAgentAttachmentsOptions, fileToDataUrl, fileToUIPart, useAgentAttachments } from "./parts/composables/attachments.js";
|
|
42
48
|
import { useHighlightedCode } from "./parts/composables/highlighted-code.js";
|
|
43
|
-
import { a as MessageScrollerContent, c as MessageScrollerViewport, i as MessageScrollerButton, l as calculatePrependScrollTop, n as MessageScrollPosition, o as MessageScrollerContext, r as MessageScroller, s as MessageScrollerItem, t as MessageScrollBehavior, u as useMessageScroller } from "./message-scroller-
|
|
49
|
+
import { a as MessageScrollerContent, c as MessageScrollerViewport, i as MessageScrollerButton, l as calculatePrependScrollTop, n as MessageScrollPosition, o as MessageScrollerContext, r as MessageScroller, s as MessageScrollerItem, t as MessageScrollBehavior, u as useMessageScroller } from "./message-scroller-a6qaYHno.js";
|
|
50
|
+
import { a as ViteHubUIOptions, c as useViteHubUI, d as ViteHubUIComponents, i as ViteHubUIInjectionKey, l as useViteHubUIIcons, n as ViteHubUIDefaults, o as createViteHubUI, r as ViteHubUIIconOptions, s as resolveViteHubUIDefaults, t as ResolvedViteHubUIDefaults, u as ViteHubUIComponentName } from "./config-xL4EBeXw.js";
|
|
44
51
|
import "./headless.js";
|
|
45
|
-
import { t as
|
|
46
|
-
import { PlaygroundIssue, PlaygroundOpenEvent, PlaygroundPane, PlaygroundPaneSlotProps, PlaygroundPreset, PlaygroundRender, PlaygroundRenderer, PlaygroundResult } from "./parts/playground/playground-render.js";
|
|
47
|
-
import { a as ViteHubUIOptions, c as useViteHubUI, d as ViteHubUIComponents, i as ViteHubUIInjectionKey, l as useViteHubUIIcons, n as ViteHubUIDefaults, o as createViteHubUI, r as ViteHubUIIconOptions, s as resolveViteHubUIDefaults, t as ResolvedViteHubUIDefaults, u as ViteHubUIComponentName } from "./config-DgxBW013.js";
|
|
48
|
-
//#region src/ui-sdk/components.d.ts
|
|
52
|
+
import { i as ViteHubUISession, n as AgentToolInspection, r as ViteHubUIMessage, t as AgentInspectionValue } from "./types-Ceh7h7NT.js";
|
|
49
53
|
/**
|
|
50
54
|
* The components that the parts render, on ui-sdk instead of Nuxt UI. Give them to `createViteHubUI({ components })`
|
|
51
55
|
* and load the kit style family. `UIcon` draws the icons that the parts use; to show other icons, such as your own in
|
|
52
56
|
* `createViteHubUI({ icons })`, pass your own `UIcon` next to these.
|
|
53
57
|
*/
|
|
54
58
|
export declare const uiSdkComponents: ViteHubUIComponents;
|
|
55
|
-
|
|
56
|
-
export { AgentAttachments, type AgentInspectionValue, AgentSession, AgentSessionDetailsRow, AgentSessionDetailsSection, AgentSessionItem, AgentSessionSurface, AgentSessionTimeline, AgentSessionWorkEntry, AgentSessionWorkGroup, AgentSessionWorkKind, type AgentToolInspection, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentOrientation, AttachmentSize, AttachmentState, AttachmentTitle, AttachmentTrigger, AvatarStack, AvatarStackPerson, AvatarStackSize, AvatarStackVariant, Bubble, BubbleAlign, BubbleContent, BubbleGroup, BubbleReactions, BubbleVariant, Chat, ChatMessage, ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputSource, ChoicesInputState, ChoicesInputStatus, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockLineVariant, CodeBlockSize, CodeBlockTitle, CodeBlockVariant, CodeView, type CodeViewItem, type CodeViewLineSelection, type CodeViewOptions, CommentAttachmentLink, CommentAttachmentUrl, CommentCan, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentDraft, CommentFilterState, CommentFilters, CommentGroup, CommentGroupSlotScope, CommentLayer, CommentList, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, CommentPin, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, CommentRowSlotScope, CommentRowSlots, CommentScope, CommentSelectionBar, CommentSelectionBarSide, CommentStatusSlotScope, CommentThread, CommentThreadAction, CommentThreadSlotScope, CommentThreadSlots, CommentToolbar, CommentUpload, CommentVisibility, CommentVisibilityModel, CommentVisibilityOptions, CommentsOutboxState, CommentsState, ConnectionStatus, ConnectionStatusIndicator, ConnectionStatusLabel, ConnectionStatusState, ConnectionStatusValue, CopyButton, CopyButtonSize, CopyButtonVariant, CopyValue, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame, DeviceFrameBreakpoint, DeviceFramePreset, DeviceFrameSize, type DiffLineAnnotation, type FileContents, FileDiff, type FileDiffMetadata, type FileDiffOptions, type FileOptions, FileTree, FileTreeModel, FileTreeOptions, FileView, FilterSearch, FilterSearchSize, type LineAnnotation, Markdown, MarkdownValue, Marker, MarkerContent, MarkerIcon, MarkerVariant, Message, MessageAlign, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageParts, MessageScrollBehavior, MessageScrollPosition, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerContext, MessageScrollerItem, MessageScrollerViewport, MultiFileDiff, PatchDiff, PendingAttachment, type PlaygroundFiles, type PlaygroundIssue, type PlaygroundOpenEvent, type PlaygroundPane, type PlaygroundPaneSlotProps, type PlaygroundPreset, PlaygroundRender, type PlaygroundRenderer, type PlaygroundResult, PromptInput, PromptInputSubmit, RelativeTime, RelativeTimeFormat, RelativeTimeValue, ResolvedViteHubUIDefaults, type SelectedLineRange, Status, StatusSize, StatusTone, SyncStatus, SyncStatusIndicator, SyncStatusLabel, SyncStatusValue, ToolList, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, type TraceEventLogEntry, TraceIcon, TraceLine, TraceLineStatus, TraceRun, type TraceRunView, type TraceStepView, TraceTitle, UnresolvedFile, type UnresolvedFileOptions, UseAgentAttachmentsOptions, UseCommentsOptions, UseCopyOptions, UseCopyReturn, type ViteHubUIComponentName, type ViteHubUIComponents, ViteHubUIDefaults, ViteHubUIIconOptions, ViteHubUIInjectionKey, type ViteHubUIMessage, ViteHubUIOptions, type ViteHubUISession, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, resolveViteHubUIDefaults, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useViteHubUI, useViteHubUIIcons };
|
|
59
|
+
export { AgentAttachments, type AgentInspectionValue, AgentSession, AgentSessionDetailsRow, AgentSessionDetailsSection, AgentSessionItem, AgentSessionSurface, AgentSessionTimeline, AgentSessionWorkEntry, AgentSessionWorkGroup, AgentSessionWorkKind, type AgentToolInspection, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentOrientation, AttachmentSize, AttachmentState, AttachmentTitle, AttachmentTrigger, AvatarStack, AvatarStackPerson, AvatarStackSize, AvatarStackVariant, Bubble, BubbleAlign, BubbleContent, BubbleGroup, BubbleReactions, BubbleVariant, Chat, ChatMessage, ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputSource, ChoicesInputState, ChoicesInputStatus, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockLineVariant, CodeBlockSize, CodeBlockTitle, CodeBlockVariant, CodeView, type CodeViewItem, type CodeViewLineSelection, type CodeViewOptions, CommentAttachmentLink, CommentAttachmentUrl, CommentCan, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentDraft, CommentFilterState, CommentFilters, CommentGroup, CommentGroupSlotScope, CommentLayer, CommentList, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, CommentPin, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, CommentRowSlotScope, CommentRowSlots, CommentScope, CommentSelectionBar, CommentSelectionBarSide, CommentSend, CommentStatusSlotScope, CommentThread, CommentThreadAction, CommentThreadSlotScope, CommentThreadSlots, CommentToolbar, CommentUpload, CommentVisibility, CommentVisibilityModel, CommentVisibilityOptions, CommentsOutboxState, CommentsState, ConnectionStatus, ConnectionStatusIndicator, ConnectionStatusLabel, ConnectionStatusState, ConnectionStatusValue, CopyButton, CopyButtonSize, CopyButtonVariant, CopyValue, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame, DeviceFrameBreakpoint, DeviceFramePreset, DeviceFrameSize, type DiffLineAnnotation, DropField, type DropFieldSlots, type FileContents, FileDiff, type FileDiffMetadata, type FileDiffOptions, type FileOptions, FileTree, FileTreeModel, FileTreeOptions, FileView, FilterSearch, FilterSearchSize, HoldToDelete, type LineAnnotation, Markdown, MarkdownValue, Marker, MarkerContent, MarkerIcon, MarkerVariant, Message, MessageAlign, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageParts, MessageScrollBehavior, MessageScrollPosition, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerContext, MessageScrollerItem, MessageScrollerViewport, MorphText, MotionList, MultiFileDiff, PatchDiff, PendingAttachment, type PlaygroundFiles, Progress, PromptInput, PromptInputSubmit, RelativeTime, RelativeTimeFormat, RelativeTimeValue, ResolvedViteHubUIDefaults, RollNumber, type SelectedLineRange, Status, StatusSize, StatusTone, SwapIcon, SyncStatus, SyncStatusIndicator, SyncStatusLabel, SyncStatusValue, ToolList, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, type TraceEventLogEntry, TraceIcon, TraceLine, TraceLineStatus, TraceRun, type TraceRunView, type TraceStepView, TraceTitle, UnresolvedFile, type UnresolvedFileOptions, UseAgentAttachmentsOptions, UseCommentsOptions, UseCopyOptions, UseCopyReturn, type ViteHubUIComponentName, type ViteHubUIComponents, ViteHubUIDefaults, ViteHubUIIconOptions, ViteHubUIInjectionKey, type ViteHubUIMessage, ViteHubUIOptions, type ViteHubUISession, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, resolveViteHubUIDefaults, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useViteHubUI, useViteHubUIIcons, vRing };
|
package/dist/index.js
CHANGED
|
@@ -1,55 +1,60 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Chat, chatActivity } from "./parts/components/chat.js";
|
|
2
|
+
import { ChatMessage } from "./parts/components/chat-message.js";
|
|
3
|
+
import { PromptInput } from "./parts/components/prompt-input.js";
|
|
4
|
+
import { a as PatchDiff, i as MultiFileDiff, n as FileDiff, o as UnresolvedFile, r as FileView, t as CodeView } from "./code-view-Cg4nyTNA.js";
|
|
5
|
+
import { n as useFileTree, r as useFileTreeSelection, t as FileTree } from "./file-tree-CRFIdtzw.js";
|
|
3
6
|
import { Markdown } from "./parts/components/markdown.js";
|
|
7
|
+
import { MessageParts } from "./parts/components/message-parts.js";
|
|
4
8
|
import { AgentSession, AgentSessionDetailsRow, AgentSessionDetailsSection, AgentSessionTimeline, AgentSessionWorkGroup } from "./parts/components/agent-session.js";
|
|
9
|
+
import { ChatSession } from "./parts/components/chat-session.js";
|
|
10
|
+
import { ToolList } from "./parts/components/tool-list.js";
|
|
11
|
+
import { TraceRun } from "./parts/components/trace-run.js";
|
|
12
|
+
import { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerViewport, calculatePrependScrollTop, useMessageScroller } from "./parts/headless/message-scroller.js";
|
|
5
13
|
import { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger } from "./parts/components/attachment.js";
|
|
6
14
|
import { AvatarStack } from "./parts/components/avatar-stack.js";
|
|
7
15
|
import { Bubble, BubbleContent, BubbleGroup, BubbleReactions } from "./parts/components/bubble.js";
|
|
8
|
-
import { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader } from "./parts/components/message.js";
|
|
9
|
-
import { MessageParts } from "./parts/components/message-parts.js";
|
|
10
|
-
import { ChatMessage } from "./parts/components/chat-message.js";
|
|
11
|
-
import { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerViewport, calculatePrependScrollTop, useMessageScroller } from "./parts/headless/message-scroller.js";
|
|
12
|
-
import { Chat, chatActivity } from "./parts/components/chat.js";
|
|
13
|
-
import { ChatSession } from "./parts/components/chat-session.js";
|
|
14
|
-
import { n as useCopy, t as CopyButton } from "./copy-button-CRN3kmSD.js";
|
|
15
16
|
import { CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle } from "./parts/components/code-block.js";
|
|
16
|
-
import {
|
|
17
|
-
import { t as CommentComposer } from "./comment-composer-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
17
|
+
import { ConnectionStatus, ConnectionStatusIndicator, ConnectionStatusLabel } from "./parts/components/connection-status.js";
|
|
18
|
+
import { t as CommentComposer } from "./comment-composer-CzU7DdfD.js";
|
|
19
|
+
import { CopyButton, useCopy } from "./parts/components/copy-button.js";
|
|
20
|
+
import { DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame } from "./parts/components/device-frame.js";
|
|
20
21
|
import { commentLeaveMs, createCommentVisibility } from "./parts/headless/comment-visibility.js";
|
|
21
|
-
import { a as useCommentsContext, c as messagesSinceResolved, i as useComments, l as repliedSinceResolved, n as draftPositionKey, r as provideComments, t as defaultCommentCan } from "./comments-
|
|
22
|
-
import {
|
|
22
|
+
import { a as useCommentsContext, c as messagesSinceResolved, i as useComments, l as repliedSinceResolved, n as draftPositionKey, r as provideComments, t as defaultCommentCan } from "./comments-C0OdHh_F.js";
|
|
23
|
+
import { DropField } from "./parts/components/drop-field.js";
|
|
24
|
+
import { FilterSearch } from "./parts/components/filter-search.js";
|
|
23
25
|
import { CommentFilters, CommentList, CommentToolbar } from "./parts/components/comment-list.js";
|
|
24
26
|
import { CommentPin } from "./parts/components/comment-pin.js";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
+
import { n as CommentThread, t as CommentReply } from "./comment-thread-CbPtoi8-.js";
|
|
28
|
+
import { HoldToDelete } from "./parts/components/hold-to-delete.js";
|
|
27
29
|
import { CommentLayer } from "./parts/components/comment-layer.js";
|
|
28
30
|
import { CommentPanel } from "./parts/components/comment-panel.js";
|
|
29
31
|
import { CommentSelectionBar } from "./parts/components/comment-selection-bar.js";
|
|
32
|
+
import { t as CommentSend } from "./comment-send-DPzV9B8S.js";
|
|
30
33
|
import "./parts/components/comments.js";
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
+
import { Marker, MarkerContent, MarkerIcon } from "./parts/components/marker.js";
|
|
35
|
+
import { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader } from "./parts/components/message.js";
|
|
36
|
+
import { MotionList } from "./parts/components/motion-list.js";
|
|
37
|
+
import { MorphText, RollNumber, SwapIcon, vRing } from "./parts/components/motion.js";
|
|
34
38
|
import { ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus } from "./parts/headless/choices-input.js";
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
39
|
+
import { Progress } from "./parts/components/progress.js";
|
|
40
|
+
import { n as provideRelativeNow, t as RelativeTime } from "./relative-time-DJnw45tr.js";
|
|
41
|
+
import { a as parsePatchFiles, n as parseDiffFromFile, t as getSingularPatch } from "./getSingularPatch-C7LmmBrW.js";
|
|
37
42
|
import "./parts/components/patch-parsers.js";
|
|
38
43
|
import { Status } from "./parts/components/status.js";
|
|
39
44
|
import { SyncStatus, SyncStatusIndicator, SyncStatusLabel } from "./parts/components/sync-status.js";
|
|
40
|
-
import { ToolList } from "./parts/components/tool-list.js";
|
|
41
45
|
import { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle } from "./parts/components/trace.js";
|
|
42
|
-
import {
|
|
46
|
+
import { n as fileToUIPart, r as useAgentAttachments, t as fileToDataUrl } from "./attachments-DgwoQZKY.js";
|
|
43
47
|
import { useHighlightedCode } from "./parts/composables/highlighted-code.js";
|
|
44
|
-
import {
|
|
48
|
+
import { a as useViteHubUIIcons, i as useViteHubUI, n as createViteHubUI, r as resolveViteHubUIDefaults, t as ViteHubUIInjectionKey } from "./config-DztmAYYn.js";
|
|
49
|
+
import { r as useUIComponent } from "./nuxt-ui-7ByUrymx.js";
|
|
45
50
|
import "./headless.js";
|
|
46
51
|
import { Tabs, TabsList, TabsTab } from "@ui-sdk/vue/tabs";
|
|
47
52
|
import { cloneVNode, computed, defineAsyncComponent, defineComponent, h, isVNode, nextTick, onMounted, ref } from "vue";
|
|
48
53
|
import { Button } from "@ui-sdk/vue/button";
|
|
49
54
|
import { Dialog, DialogBackdrop, DialogClose, DialogContent, DialogDescription, DialogTitle, DialogTrigger } from "@ui-sdk/vue/dialog";
|
|
50
55
|
import { Input, InputGroup } from "@ui-sdk/vue/input";
|
|
51
|
-
import { Menu, MenuContent, MenuGroup, MenuGroupLabel, MenuItem, MenuItemIcon, MenuSeparator, MenuTrigger } from "@ui-sdk/vue/menu";
|
|
52
|
-
|
|
56
|
+
import { Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuGroupLabel, MenuItem, MenuItemIcon, MenuItemIndicator, MenuSeparator, MenuTrigger } from "@ui-sdk/vue/menu";
|
|
57
|
+
// src/internal/icon-shapes.ts
|
|
53
58
|
/** The stroke of every Lucide icon. An icon drawn from shapes without it sets it on its `<svg>`. */
|
|
54
59
|
const lucideStroke = {
|
|
55
60
|
fill: "none",
|
|
@@ -58,8 +63,7 @@ const lucideStroke = {
|
|
|
58
63
|
"stroke-linejoin": "round",
|
|
59
64
|
"stroke-width": "2"
|
|
60
65
|
};
|
|
61
|
-
|
|
62
|
-
//#region src/ui-sdk/icons.ts
|
|
66
|
+
// src/ui-sdk/icons.ts
|
|
63
67
|
const uiSdkIcons = {
|
|
64
68
|
"i-lucide-arrow-down": [["path", { "d": "M12 5v14m7-7l-7 7l-7-7" }]],
|
|
65
69
|
"i-lucide-arrow-left": [["path", { "d": "m12 19l-7-7l7-7m7 7H5" }]],
|
|
@@ -67,14 +71,13 @@ const uiSdkIcons = {
|
|
|
67
71
|
"i-lucide-arrow-up": [["path", { "d": "m5 12l7-7l7 7m-7 7V5" }]],
|
|
68
72
|
"i-lucide-arrow-up-right": [["path", { "d": "M7 7h10v10M7 17L17 7" }]],
|
|
69
73
|
"i-lucide-bold": [["path", { "d": "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" }]],
|
|
70
|
-
"i-lucide-box": [["path", { "d": "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z" }], ["path", { "d": "m3.3 7l8.7 5l8.7-5M12 22V12" }]],
|
|
71
74
|
"i-lucide-brain": [
|
|
72
|
-
["path", { "d": "M12 18V5m3 8a4.17 4.17 0 0 1-3-4a4.17 4.17 0 0 1-3 4m8.
|
|
73
|
-
["path", { "d": "M17.
|
|
74
|
-
["path", { "d": "M18 18a4 4 0 0 0 2-7.
|
|
75
|
-
["path", { "d": "M19.967 17.
|
|
76
|
-
["path", { "d": "M6 18a4 4 0 0 1-2-7.
|
|
77
|
-
["path", { "d": "M6.
|
|
75
|
+
["path", { "d": "M12 18V5m3 8a4.17 4.17 0 0 1-3-4a4.17 4.17 0 0 1-3 4m8.707-6.706A3 3 0 1 0 12 5a3 3 0 1 0-5.707 1.294" }],
|
|
76
|
+
["path", { "d": "M17.996 5.125a4 4 0 0 1 2.526 5.77" }],
|
|
77
|
+
["path", { "d": "M18 18a4 4 0 0 0 2-7.465" }],
|
|
78
|
+
["path", { "d": "M19.967 17.482a4 4 0 1 1-7.967.517a4 4 0 1 1-7.967-.517" }],
|
|
79
|
+
["path", { "d": "M6 18a4 4 0 0 1-2-7.465" }],
|
|
80
|
+
["path", { "d": "M6.004 5.125a4 4 0 0 0-2.526 5.77" }]
|
|
78
81
|
],
|
|
79
82
|
"i-lucide-check": [["path", { "d": "M20 6L9 17l-5-5" }]],
|
|
80
83
|
"i-lucide-chevron-down": [["path", { "d": "m6 9l6 6l6-6" }]],
|
|
@@ -216,35 +219,13 @@ const uiSdkIcons = {
|
|
|
216
219
|
}],
|
|
217
220
|
["path", { "d": "m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]
|
|
218
221
|
],
|
|
222
|
+
"i-lucide-inbox": [["path", { "d": "M22 12h-6l-2 3h-4l-2-3H2" }], ["path", { "d": "M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11" }]],
|
|
219
223
|
"i-lucide-info": [["circle", {
|
|
220
224
|
"cx": "12",
|
|
221
225
|
"cy": "12",
|
|
222
226
|
"r": "10"
|
|
223
227
|
}], ["path", { "d": "M12 16v-4m0-4h.01" }]],
|
|
224
228
|
"i-lucide-italic": [["path", { "d": "M19 4h-9m4 16H5M15 4L9 20" }]],
|
|
225
|
-
"i-lucide-layout-template": [
|
|
226
|
-
["rect", {
|
|
227
|
-
"width": "18",
|
|
228
|
-
"height": "7",
|
|
229
|
-
"x": "3",
|
|
230
|
-
"y": "3",
|
|
231
|
-
"rx": "1"
|
|
232
|
-
}],
|
|
233
|
-
["rect", {
|
|
234
|
-
"width": "9",
|
|
235
|
-
"height": "7",
|
|
236
|
-
"x": "3",
|
|
237
|
-
"y": "14",
|
|
238
|
-
"rx": "1"
|
|
239
|
-
}],
|
|
240
|
-
["rect", {
|
|
241
|
-
"width": "5",
|
|
242
|
-
"height": "7",
|
|
243
|
-
"x": "16",
|
|
244
|
-
"y": "14",
|
|
245
|
-
"rx": "1"
|
|
246
|
-
}]
|
|
247
|
-
],
|
|
248
229
|
"i-lucide-lightbulb": [["path", { "d": "M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4" }]],
|
|
249
230
|
"i-lucide-link": [["path", { "d": "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }], ["path", { "d": "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" }]],
|
|
250
231
|
"i-lucide-list": [["path", { "d": "M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13" }]],
|
|
@@ -264,6 +245,13 @@ const uiSdkIcons = {
|
|
|
264
245
|
"rx": "2"
|
|
265
246
|
}], ["path", { "d": "M8 21h8m-4-4v4" }]],
|
|
266
247
|
"i-lucide-moon": [["path", { "d": "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" }]],
|
|
248
|
+
"i-lucide-panel-left": [["rect", {
|
|
249
|
+
"width": "18",
|
|
250
|
+
"height": "18",
|
|
251
|
+
"x": "3",
|
|
252
|
+
"y": "3",
|
|
253
|
+
"rx": "2"
|
|
254
|
+
}], ["path", { "d": "M9 3v18" }]],
|
|
267
255
|
"i-lucide-panel-left-close": [["rect", {
|
|
268
256
|
"width": "18",
|
|
269
257
|
"height": "18",
|
|
@@ -301,6 +289,7 @@ const uiSdkIcons = {
|
|
|
301
289
|
"cy": "11",
|
|
302
290
|
"r": "8"
|
|
303
291
|
}]],
|
|
292
|
+
"i-lucide-send": [["path", { "d": "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939" }]],
|
|
304
293
|
"i-lucide-sparkles": [["path", { "d": "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4" }], ["circle", {
|
|
305
294
|
"cx": "4",
|
|
306
295
|
"cy": "20",
|
|
@@ -336,6 +325,7 @@ const uiSdkIcons = {
|
|
|
336
325
|
"r": "4"
|
|
337
326
|
}], ["path", { "d": "M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41" }]],
|
|
338
327
|
"i-lucide-terminal": [["path", { "d": "M12 19h8M4 17l6-6l-6-6" }]],
|
|
328
|
+
"i-lucide-text-wrap": [["path", { "d": "m16 16l-3 3l3 3" }], ["path", { "d": "M3 12h14.5a1 1 0 0 1 0 7H13M3 19h6M3 5h18" }]],
|
|
339
329
|
"i-lucide-trash-2": [["path", { "d": "M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]],
|
|
340
330
|
"i-lucide-triangle-alert": [["path", { "d": "m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01" }]],
|
|
341
331
|
"i-lucide-type": [["path", { "d": "M12 4v16M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2M9 20h6" }]],
|
|
@@ -343,8 +333,7 @@ const uiSdkIcons = {
|
|
|
343
333
|
"i-lucide-wrench": [["path", { "d": "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" }]],
|
|
344
334
|
"i-lucide-x": [["path", { "d": "M18 6L6 18M6 6l12 12" }]]
|
|
345
335
|
};
|
|
346
|
-
|
|
347
|
-
//#region src/ui-sdk/components.ts
|
|
336
|
+
// src/ui-sdk/components.ts
|
|
348
337
|
/**
|
|
349
338
|
* The parts render Nuxt UI components by name (see `internal/nuxt-ui.ts`). These take the same props that the parts
|
|
350
339
|
* pass, render ui-sdk parts, and carry the `data-slot` and `data-variant` names that the kit style family
|
|
@@ -645,36 +634,45 @@ const uiSdkComponents = {
|
|
|
645
634
|
emits: { "update:open": (_open) => true },
|
|
646
635
|
setup(props, { emit, slots }) {
|
|
647
636
|
const UIcon = useUIComponent("UIcon");
|
|
648
|
-
const entry = (item, index) => {
|
|
637
|
+
const entry = (item, index, group) => {
|
|
649
638
|
if (item.type === "label") return h(MenuGroupLabel, { key: index }, () => item.label);
|
|
650
639
|
if (item.type === "separator") return h(MenuSeparator, { key: index });
|
|
640
|
+
const body = () => [
|
|
641
|
+
item.icon ? h(MenuItemIcon, () => h(UIcon, { name: item.icon })) : null,
|
|
642
|
+
h("span", item.label),
|
|
643
|
+
item.description ? h("span", { "data-slot": "menu-item-description" }, item.description) : null
|
|
644
|
+
];
|
|
645
|
+
if (item.type === "checkbox") return h(MenuCheckboxItem, {
|
|
646
|
+
checked: item.checked ?? false,
|
|
647
|
+
closeOnSelect: true,
|
|
648
|
+
disabled: item.disabled,
|
|
649
|
+
key: index,
|
|
650
|
+
label: item.label,
|
|
651
|
+
value: `${group}-${index}`,
|
|
652
|
+
onCheckedChange: (_checked, details) => item.onSelect?.(details.event ?? new Event("select"))
|
|
653
|
+
}, () => [h(MenuItemIndicator), ...body()]);
|
|
651
654
|
return h(MenuItem, {
|
|
652
655
|
disabled: item.disabled,
|
|
653
656
|
key: index,
|
|
654
657
|
label: item.label,
|
|
655
658
|
onSelect: item.onSelect
|
|
656
|
-
},
|
|
657
|
-
item.icon ? h(MenuItemIcon, () => h(UIcon, { name: item.icon })) : null,
|
|
658
|
-
h("span", item.label),
|
|
659
|
-
item.description ? h("span", { "data-slot": "menu-item-description" }, item.description) : null
|
|
660
|
-
]);
|
|
659
|
+
}, body);
|
|
661
660
|
};
|
|
662
661
|
return () => {
|
|
663
662
|
const groups = props.items.length && Array.isArray(props.items[0]) ? props.items : [props.items];
|
|
664
663
|
return h(Menu, { onOpenChange: (open) => emit("update:open", open) }, () => [h(MenuTrigger, null, { render: ({ props: trigger }) => asTrigger(slots.default?.(), trigger) }), h(MenuContent, {
|
|
665
664
|
...props.content,
|
|
666
665
|
class: props.ui.content
|
|
667
|
-
}, () => groups.flatMap((group, index) => [index ? h(MenuSeparator, { key: `separator-${index}` }) : null, h(MenuGroup, { key: `group-${index}` }, () => group.map(entry))]))]);
|
|
666
|
+
}, () => groups.flatMap((group, index) => [index ? h(MenuSeparator, { key: `separator-${index}` }) : null, h(MenuGroup, { key: `group-${index}` }, () => group.map((item, position) => entry(item, position, index)))]))]);
|
|
668
667
|
};
|
|
669
668
|
}
|
|
670
669
|
}),
|
|
671
|
-
UEditorDragHandle: defineAsyncComponent(() => import("./editor-
|
|
672
|
-
UEditorSuggestionMenu: defineAsyncComponent(() => import("./editor-
|
|
673
|
-
UEditorToolbar: defineAsyncComponent(() => import("./editor-
|
|
670
|
+
UEditorDragHandle: defineAsyncComponent(() => import("./editor-CGiEVOnB.js").then((parts) => parts.UEditorDragHandle)),
|
|
671
|
+
UEditorSuggestionMenu: defineAsyncComponent(() => import("./editor-CGiEVOnB.js").then((parts) => parts.UEditorSuggestionMenu)),
|
|
672
|
+
UEditorToolbar: defineAsyncComponent(() => import("./editor-CGiEVOnB.js").then((parts) => parts.UEditorToolbar)),
|
|
674
673
|
UIcon,
|
|
675
674
|
UInput,
|
|
676
675
|
UModal,
|
|
677
676
|
UTabs
|
|
678
677
|
};
|
|
679
|
-
|
|
680
|
-
export { AgentSession, AgentSessionDetailsRow, AgentSessionDetailsSection, AgentSessionTimeline, AgentSessionWorkGroup, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, AvatarStack, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Chat, ChatMessage, ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, CodeView, CommentComposer, CommentFilters, CommentLayer, CommentList, CommentPanel, CommentPin, CommentReply, CommentSelectionBar, CommentThread, CommentToolbar, ConnectionStatus, ConnectionStatusIndicator, ConnectionStatusLabel, CopyButton, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame, FileDiff, FileTree, FileView, FilterSearch, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageParts, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerViewport, MultiFileDiff, PatchDiff, PlaygroundRender, PromptInput, RelativeTime, Status, SyncStatus, SyncStatusIndicator, SyncStatusLabel, ToolList, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceRun, TraceTitle, UnresolvedFile, ViteHubUIInjectionKey, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, resolveViteHubUIDefaults, uiSdkComponents, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useViteHubUI, useViteHubUIIcons };
|
|
678
|
+
export { AgentSession, AgentSessionDetailsRow, AgentSessionDetailsSection, AgentSessionTimeline, AgentSessionWorkGroup, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, AvatarStack, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Chat, ChatMessage, ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, CodeView, CommentComposer, CommentFilters, CommentLayer, CommentList, CommentPanel, CommentPin, CommentReply, CommentSelectionBar, CommentSend, CommentThread, CommentToolbar, ConnectionStatus, ConnectionStatusIndicator, ConnectionStatusLabel, CopyButton, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame, DropField, FileDiff, FileTree, FileView, FilterSearch, HoldToDelete, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageParts, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerViewport, MorphText, MotionList, MultiFileDiff, PatchDiff, Progress, PromptInput, RelativeTime, RollNumber, Status, SwapIcon, SyncStatus, SyncStatusIndicator, SyncStatusLabel, ToolList, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceRun, TraceTitle, UnresolvedFile, ViteHubUIInjectionKey, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, resolveViteHubUIDefaults, uiSdkComponents, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useViteHubUI, useViteHubUIIcons, vRing };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { g as installMotion$1, t as motionEffects } from "./effects-g4QucvgO.js";
|
|
2
|
+
// src/motion/install.ts
|
|
3
|
+
/**
|
|
4
|
+
* Starts the motion layer with every built-in effect: press, toggle, select, drag, and appear motion for every element
|
|
5
|
+
* by its role, in `root`: the document by default, a shadow root, or an element and everything in it. `createViteHubUI()`
|
|
6
|
+
* and the Nuxt module call it for the document. A surface with its own bundle, such as the page pill, takes
|
|
7
|
+
* `installMotion` from `@vite-hub/ui/motion/core` instead and lists the effects it runs, so the others stay out of its
|
|
8
|
+
* bundle.
|
|
9
|
+
*
|
|
10
|
+
* It is safe to call more than once. Returns a function that stops this install. On the server it does nothing.
|
|
11
|
+
*/
|
|
12
|
+
function installMotion(root) {
|
|
13
|
+
if (typeof document === "undefined") return () => {};
|
|
14
|
+
return installMotion$1(root ?? document, { effects: motionEffects });
|
|
15
|
+
}
|
|
16
|
+
export { installMotion as t };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@pierre+highlights@0.5.2/node_modules/@pierre/highlights/dist/themes/kanagawa-dragon.js
|
|
2
|
+
var kanagawa_dragon_default = {
|
|
3
|
+
"name": "Kanagawa Dragon",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"style": {
|
|
6
|
+
"background": "#181616",
|
|
7
|
+
"text": "#c5c9c5",
|
|
8
|
+
"editor.background": "#181616",
|
|
9
|
+
"editor.foreground": "#c5c9c5",
|
|
10
|
+
"editor.active_line.background": "#c5c9c50d",
|
|
11
|
+
"search.match_background": "#8ea4a233",
|
|
12
|
+
"players": [
|
|
13
|
+
{
|
|
14
|
+
"cursor": "#c5c9c5",
|
|
15
|
+
"selection": "#625e5a80",
|
|
16
|
+
"background": "#c5c9c5"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"cursor": "#8ba4b0",
|
|
20
|
+
"selection": "#8ba4b033",
|
|
21
|
+
"background": "#8ba4b0"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"cursor": "#8992a7",
|
|
25
|
+
"selection": "#8992a733",
|
|
26
|
+
"background": "#8992a7"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"cursor": "#7fb4ca",
|
|
30
|
+
"selection": "#7fb4ca33",
|
|
31
|
+
"background": "#7fb4ca"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"cursor": "#a292a3",
|
|
35
|
+
"selection": "#a292a333",
|
|
36
|
+
"background": "#a292a3"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"cursor": "#a6a69c",
|
|
40
|
+
"selection": "#a6a69c33",
|
|
41
|
+
"background": "#a6a69c"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"cursor": "#8ea4a2",
|
|
45
|
+
"selection": "#8ea4a233",
|
|
46
|
+
"background": "#8ea4a2"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"cursor": "#8a9a7b",
|
|
50
|
+
"selection": "#8a9a7b33",
|
|
51
|
+
"background": "#8a9a7b"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"error": "#e82424",
|
|
55
|
+
"warning": "#ff9e3b",
|
|
56
|
+
"info": "#8ba4b0",
|
|
57
|
+
"hint": "#8ea4a2",
|
|
58
|
+
"terminal.ansi.black": "#0d0c0c",
|
|
59
|
+
"terminal.ansi.red": "#c4746e",
|
|
60
|
+
"terminal.ansi.green": "#8a9a7b",
|
|
61
|
+
"terminal.ansi.yellow": "#c4b28a",
|
|
62
|
+
"terminal.ansi.blue": "#8ba4b0",
|
|
63
|
+
"terminal.ansi.magenta": "#a292a3",
|
|
64
|
+
"terminal.ansi.cyan": "#8ea4a2",
|
|
65
|
+
"terminal.ansi.white": "#c5c9c5",
|
|
66
|
+
"terminal.ansi.bright_black": "#a6a69c",
|
|
67
|
+
"terminal.ansi.bright_red": "#e46876",
|
|
68
|
+
"terminal.ansi.bright_green": "#87a987",
|
|
69
|
+
"terminal.ansi.bright_yellow": "#e6c384",
|
|
70
|
+
"terminal.ansi.bright_blue": "#7fb4ca",
|
|
71
|
+
"terminal.ansi.bright_magenta": "#938aa9",
|
|
72
|
+
"terminal.ansi.bright_cyan": "#7aa89f",
|
|
73
|
+
"terminal.ansi.bright_white": "#c5c9c5",
|
|
74
|
+
"syntax": {
|
|
75
|
+
"attribute": { "color": "#c4b28a" },
|
|
76
|
+
"boolean": { "color": "#ff9e3b" },
|
|
77
|
+
"comment": {
|
|
78
|
+
"color": "#7a8382",
|
|
79
|
+
"font_style": "italic"
|
|
80
|
+
},
|
|
81
|
+
"comment.doc": {
|
|
82
|
+
"color": "#7a8382",
|
|
83
|
+
"font_style": "italic"
|
|
84
|
+
},
|
|
85
|
+
"constant": { "color": "#b98d7b" },
|
|
86
|
+
"constructor": { "color": "#8ba4b0" },
|
|
87
|
+
"embedded": { "color": "#e82424" },
|
|
88
|
+
"emphasis": {
|
|
89
|
+
"color": "#e82424",
|
|
90
|
+
"font_style": "italic"
|
|
91
|
+
},
|
|
92
|
+
"emphasis.strong": {
|
|
93
|
+
"color": "#e82424",
|
|
94
|
+
"font_weight": 700
|
|
95
|
+
},
|
|
96
|
+
"enum": {
|
|
97
|
+
"color": "#8ea4a2",
|
|
98
|
+
"font_weight": 700
|
|
99
|
+
},
|
|
100
|
+
"function": {
|
|
101
|
+
"color": "#8ba4b0",
|
|
102
|
+
"font_style": "italic"
|
|
103
|
+
},
|
|
104
|
+
"hint": {
|
|
105
|
+
"color": "#8ea4a2",
|
|
106
|
+
"font_style": "italic"
|
|
107
|
+
},
|
|
108
|
+
"keyword": { "color": "#E46876" },
|
|
109
|
+
"link_text": { "color": "#8ba4b0" },
|
|
110
|
+
"link_uri": { "color": "#8ba4b0" },
|
|
111
|
+
"number": { "color": "#a292a3" },
|
|
112
|
+
"operator": { "color": "#b6927b" },
|
|
113
|
+
"predictive": { "color": "#625e5a" },
|
|
114
|
+
"predoc": { "color": "#e82424" },
|
|
115
|
+
"primary": { "color": "#e46876" },
|
|
116
|
+
"property": { "color": "#E7BD6E" },
|
|
117
|
+
"punctuation": { "color": "#8ea4a2" },
|
|
118
|
+
"punctuation.bracket": { "color": "#8ea4a2" },
|
|
119
|
+
"punctuation.delimiter": { "color": "#625e5a" },
|
|
120
|
+
"punctuation.list_marker": { "color": "#8ea4a2" },
|
|
121
|
+
"punctuation.special": { "color": "#8ea4a2" },
|
|
122
|
+
"punctuation.special.symbol": { "color": "#e82424" },
|
|
123
|
+
"string": { "color": "#8A9A7B" },
|
|
124
|
+
"string.escape": { "color": "#e46876" },
|
|
125
|
+
"string.regex": { "color": "#e46876" },
|
|
126
|
+
"string.special": { "color": "#e46876" },
|
|
127
|
+
"string.special.symbol": { "color": "#ff5d62" },
|
|
128
|
+
"tag": { "color": "#8ba4b0" },
|
|
129
|
+
"text.literal": { "color": "#87a987" },
|
|
130
|
+
"title": {
|
|
131
|
+
"color": "#c5c9c5",
|
|
132
|
+
"font_weight": 800
|
|
133
|
+
},
|
|
134
|
+
"type": { "color": "#8ea4a2" },
|
|
135
|
+
"type.interface": { "color": "#8ea4a2" },
|
|
136
|
+
"type.super": { "color": "#8ea4a2" },
|
|
137
|
+
"variable": { "color": "#c5c9c5" },
|
|
138
|
+
"variable.member": { "color": "#c5c9c5" },
|
|
139
|
+
"variable.parameter": {
|
|
140
|
+
"color": "#9e9b93",
|
|
141
|
+
"font_style": "italic"
|
|
142
|
+
},
|
|
143
|
+
"variable.special": {
|
|
144
|
+
"color": "#a292a3",
|
|
145
|
+
"font_style": "italic"
|
|
146
|
+
},
|
|
147
|
+
"variant": { "color": "#e82424" },
|
|
148
|
+
"label": { "color": "#8EA4A2" },
|
|
149
|
+
"namespace": { "color": "#C4B28A" },
|
|
150
|
+
"preproc": { "color": "#E46876" },
|
|
151
|
+
"selector": { "color": "#C4B28A" },
|
|
152
|
+
"diff.minus": { "color": "#C34043" },
|
|
153
|
+
"diff.plus": { "color": "#76946A" },
|
|
154
|
+
"selector.id": { "color": "#8992A7" },
|
|
155
|
+
"selector.pseudo": { "color": "#8992A7" }
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
export { kanagawa_dragon_default as default };
|