@vite-hub/ui 0.7.0 → 0.9.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.
- package/README.md +68 -52
- package/dist/{Chat-BZxkf3Tt.js → Chat-DYQitDw8.js} +1 -1
- package/dist/{ChatMessage-Blr5F-zi.js → ChatMessage-DzjHnxMT.js} +1 -1
- package/dist/{CodeBlockTitle-DYrYpc1U.js → CodeBlockTitle-DX13mCTi.js} +1 -1
- package/dist/{CommentRow-ViZ7r8nr.js → CommentRow-DLW77qch.js} +2 -2
- package/dist/CopyButton-D-g6PWc8.js +188 -0
- package/dist/{Markdown-_w7feFzl.js → Markdown-3-Tvy5Kl.js} +1 -1
- package/dist/{MarkdownCodeBlock-B4j7x0H6.js → MarkdownCodeBlock-CALGW0iw.js} +1 -1
- package/dist/{MessageParts-FVyYZNsn.js → MessageParts-BGSctG7Z.js} +1 -1
- package/dist/{MorphText-CYTndbyp.js → MorphText-DAHAswWX.js} +1 -1
- package/dist/{RollNumber-Bo2tzfAp.js → RollNumber-CkdLiy2i.js} +1 -1
- package/dist/{motion-dPwxx3Wk.js → SwapIcon-Bjkk7WlZ.js} +2 -11
- package/dist/{agent-session-DhlTKCQG.js → agent-session-D291hyRk.js} +1 -1
- package/dist/{avatar-stack-nQErr0qn.js → avatar-stack-Bi4CJPuU.js} +1 -1
- package/dist/{chat-session-hjZRL6jY.js → chat-session-Bl-x4c9b.js} +1 -1
- package/dist/{comment-composer-BUt6vbnr.js → comment-composer-BtYrIT5W.js} +14 -19
- package/dist/{comment-composer-CIsbz-78.d.ts → comment-composer-PmERtNNb.d.ts} +3 -3
- package/dist/{comment-layer-BlVNORgj.d.ts → comment-layer-BgQz1ixK.d.ts} +3 -3
- package/dist/{comment-layer-Ck2H24oJ.js → comment-layer-T8hN_7bN.js} +11 -12
- package/dist/{comment-panel-Djx-KxVa.d.ts → comment-panel-Vo3m6rHB.d.ts} +2 -2
- package/dist/{comment-selection-bar-CxPkJxVl.js → comment-selection-bar-BMFTtI3V.js} +2 -4
- package/dist/{comment-selection-bar-CbOEI98x.d.ts → comment-selection-bar-B_bchB2O.d.ts} +1 -1
- package/dist/{comment-thread-C_Q4UDaV.js → comment-thread-CAexk1r7.js} +78 -38
- package/dist/{comment-thread-X6gYMNay.d.ts → comment-thread-Cp9k80uv.d.ts} +50 -2
- package/dist/{comments-B1itauwb.d.ts → comments-BBNiQTxK.d.ts} +12 -14
- package/dist/{components-CM5mZe0a.js → components-D44u1fsy.js} +22 -47
- package/dist/{config-CFwvNt4Y.js → config-7CiYbXk6.js} +9 -6
- package/dist/{config-JmsTI7gs.d.ts → config-BYLPA0Ts.d.ts} +8 -6
- package/dist/{drop-field-DKpYQ3tO.js → drop-field-BkoJOWR9.js} +1 -1
- package/dist/{editor-DJPUs1nt.js → editor-CE_q2Yzb.js} +89 -49
- package/dist/{editor-BsOTjnnN.d.ts → editor-DZxaa6vs.d.ts} +8 -7
- package/dist/editor.d.ts +2 -2
- package/dist/editor.js +2 -2
- package/dist/{hold-to-delete-cOPqQ9FJ.js → hold-to-delete-pyrlKzk0.js} +1 -1
- package/dist/{hold-to-delete-CcQbfiQx.js → hold-to-delete-sscThmPW.js} +30 -3
- package/dist/icon-component-ofUeRW4L.js +4 -0
- package/dist/{index-9Z6Gwtnf.d.ts → index-BlQsW8ZZ.d.ts} +1 -1
- package/dist/index.d.ts +32 -39
- package/dist/index.js +25 -26
- package/dist/{markdown-DDyOdYq_.js → markdown-CqVyNG-h.js} +2 -2
- package/dist/markdown-editor.d.ts +1 -1
- package/dist/markdown-editor.js +4 -4
- package/dist/markdown.js +1 -1
- package/dist/motion/core.d.ts +1 -1
- package/dist/motion/core.js +4 -4
- package/dist/{motion-itHFtXwA.js → motion-C8P5yWaA.js} +1 -1
- package/dist/{motion-core-BfIefToe.d.ts → motion-core-BEwxN7Il.d.ts} +4 -2
- package/dist/{motion-core-BdTfxAhY.js → motion-core-pkL0M4Y1.js} +57 -115
- package/dist/{motion-list-BBbz93WT.js → motion-list-DDVUyVYa.js} +1 -1
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +5 -5
- package/dist/nuxt.d.ts +2 -4
- package/dist/nuxt.js +1 -34
- package/dist/parts/components/agent-session.js +1 -1
- package/dist/parts/components/avatar-stack.js +1 -1
- package/dist/parts/components/chat-message.js +1 -1
- package/dist/parts/components/chat-session.js +1 -1
- package/dist/parts/components/chat.js +1 -1
- package/dist/parts/components/code-block.js +1 -1
- package/dist/parts/components/comment-composer.d.ts +1 -1
- package/dist/parts/components/comment-composer.js +1 -1
- package/dist/parts/components/comment-layer.d.ts +1 -1
- package/dist/parts/components/comment-layer.js +1 -1
- package/dist/parts/components/comment-panel.d.ts +1 -1
- package/dist/parts/components/comment-panel.js +6 -7
- package/dist/parts/components/comment-selection-bar.d.ts +1 -1
- package/dist/parts/components/comment-selection-bar.js +1 -1
- package/dist/parts/components/comment-thread.d.ts +1 -1
- package/dist/parts/components/comment-thread.js +1 -1
- package/dist/parts/components/comments.d.ts +8 -8
- package/dist/parts/components/comments.js +5 -6
- package/dist/parts/components/copy-button.js +1 -3
- package/dist/parts/components/drop-field.js +1 -1
- package/dist/parts/components/hold-to-delete.js +1 -1
- package/dist/parts/components/markdown.js +1 -1
- package/dist/parts/components/message-parts.js +1 -1
- package/dist/parts/components/motion-list.d.ts +1 -1
- package/dist/parts/components/motion-list.js +1 -1
- package/dist/parts/components/motion.d.ts +2 -2
- package/dist/parts/components/motion.js +12 -3
- package/dist/parts/components/progress.js +1 -1
- package/dist/parts/components/prompt-input.d.ts +1 -1
- package/dist/parts/components/sync-status.js +1 -1
- package/dist/parts/playground/share.js +0 -1
- package/dist/parts/workspace/browser-support-notice.d.ts +1 -1
- package/dist/parts/workspace/browser-support-notice.js +4 -4
- package/dist/parts/workspace/codemirror.js +0 -4
- package/dist/parts/workspace/connect-panel.js +2 -3
- package/dist/parts/workspace/file-icons.js +0 -8
- package/dist/parts/workspace/runners/web-container.js +2 -2
- package/dist/parts/workspace/workspace-bar.d.ts +1 -1
- package/dist/parts/workspace/workspace-bar.js +2 -3
- package/dist/parts/workspace/workspace-boot-status.js +1 -1
- package/dist/parts/workspace/workspace-editor-head.js +2 -3
- package/dist/parts/workspace/workspace-examples.js +4 -5
- package/dist/parts/workspace/workspace-file-tree.d.ts +1 -1
- package/dist/parts/workspace/workspace-guide.js +3 -4
- package/dist/parts/workspace/workspace-preview.d.ts +1 -1
- package/dist/parts/workspace/workspace-preview.js +2 -4
- package/dist/parts/workspace/workspace-shell.d.ts +1 -1
- package/dist/parts/workspace/workspace-shell.js +2 -7
- package/dist/parts/workspace/workspace-sidebar.d.ts +1 -1
- package/dist/parts/workspace/workspace-sidebar.js +5 -6
- package/dist/parts/workspace/workspace-start.js +2 -3
- package/dist/parts/workspace/workspace-steps.js +6 -7
- package/dist/parts/workspace/workspace-terminal.js +0 -6
- package/dist/parts/workspace/workspace.d.ts +3 -3
- package/dist/parts/workspace/workspace.js +15 -18
- package/dist/{progress-D_9sG648.js → progress-D7CyDkLW.js} +1 -1
- package/dist/{prompt-input-j4OFTF5p.d.ts → prompt-input-DZM3E6WP.d.ts} +2 -2
- package/dist/{ring-DoL9jivj.js → ring-C5lNUEAG.js} +1 -1
- package/dist/runtime/nuxt-plugin.js +27 -1
- package/dist/{stand-ins-CuKM1UH1.js → stand-ins-C2oSoNwV.js} +29 -84
- package/dist/styles.css +37 -21
- package/dist/{sync-status-BRroyOre.js → sync-status-D27Qt7mk.js} +1 -1
- package/dist/theme-focus-ring.css +1 -1
- package/dist/{tween-lVMRCUEv.js → tween-DGAmrS3r.js} +4 -2
- package/dist/{types-BF_U0tgp.d.ts → types-CMU8Vmew.d.ts} +2 -5
- package/dist/{vue-DdYvDVOr.js → vue-D70TZJhJ.js} +1 -1
- package/dist/{workspace-boot-status-CyGlJS06.js → workspace-boot-status-BDkpubHd.js} +0 -1
- package/dist/{workspace-shell-B4A7CINd.d.ts → workspace-shell-CwEQT_1s.d.ts} +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +1 -1
- package/package.json +10 -18
- package/dist/CopyButton-Dtg_Oc9_.js +0 -115
- package/dist/announce-CJNXaYbT.js +0 -29
- package/dist/comment-send.css +0 -267
- package/dist/comments-BtD28xEn.js +0 -390
- package/dist/nuxt-ui-CPdiTwwD.js +0 -22
- package/dist/theme.css +0 -379
- package/dist/theme.d.ts +0 -410
- package/dist/theme.js +0 -290
- package/dist/ui-components-CKQAPI-W.js +0 -7
- package/dist/use-copy-DK1SSZkh.js +0 -66
package/dist/editor.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { x as typesetCss } from "./client-BG-oCUtv-5i4sRwXP.js";
|
|
2
|
-
import { a as useMarkdownEditor, c as mapEditorItems, i as blobUpload, n as
|
|
3
|
-
export {
|
|
2
|
+
import { a as useMarkdownEditor, c as mapEditorItems, i as blobUpload, n as EditorSuggestionMenu, o as createEditorHandlers, r as EditorToolbar, s as editorHandlersKey, t as EditorDragHandle } from "./editor-CE_q2Yzb.js";
|
|
3
|
+
export { EditorDragHandle, EditorSuggestionMenu, EditorToolbar, blobUpload, createEditorHandlers, editorHandlersKey, mapEditorItems, typesetCss, useMarkdownEditor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createHoldToDelete } from "./hold-to-delete-
|
|
1
|
+
import { t as createHoldToDelete } from "./hold-to-delete-sscThmPW.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, createStaticVNode, defineComponent, onBeforeUnmount, onMounted, openBlock, ref, renderSlot, useTemplateRef } from "vue";
|
|
3
3
|
// registry/hold-to-delete/HoldToDelete.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
const _hoisted_1 = ["data-status", "data-icon-only"];
|
|
@@ -1,5 +1,32 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
1
|
+
import { c as createSpring, h as prefersReducedMotion, i as playTween, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, t as cubicBezier, u as onEachFrame } from "./tween-DGAmrS3r.js";
|
|
2
|
+
// registry/core/announce.ts
|
|
3
|
+
const regionSlot = "live-announcer";
|
|
4
|
+
const hidden = "position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0";
|
|
5
|
+
function regionFor(element) {
|
|
6
|
+
const container = element.closest("[role=dialog], [role=alertdialog]") ?? element.ownerDocument.body;
|
|
7
|
+
for (const child of container.children) if (child instanceof HTMLElement && child.dataset.slot === regionSlot) return child;
|
|
8
|
+
const region = element.ownerDocument.createElement("div");
|
|
9
|
+
region.dataset.slot = regionSlot;
|
|
10
|
+
region.setAttribute("aria-live", "polite");
|
|
11
|
+
region.setAttribute("aria-atomic", "true");
|
|
12
|
+
region.style.cssText = hidden;
|
|
13
|
+
container.append(region);
|
|
14
|
+
return region;
|
|
15
|
+
}
|
|
16
|
+
function prepareAnnouncer(element) {
|
|
17
|
+
if (element) regionFor(element);
|
|
18
|
+
}
|
|
19
|
+
const clearTimers = /* @__PURE__ */ new WeakMap();
|
|
20
|
+
function announce(element, message, duration = 2e3) {
|
|
21
|
+
if (!element) return;
|
|
22
|
+
const region = regionFor(element);
|
|
23
|
+
clearTimeout(clearTimers.get(region));
|
|
24
|
+
region.textContent = "";
|
|
25
|
+
requestAnimationFrame(() => {
|
|
26
|
+
region.textContent = message;
|
|
27
|
+
});
|
|
28
|
+
clearTimers.set(region, setTimeout(() => region.textContent = "", duration));
|
|
29
|
+
}
|
|
3
30
|
// src/motion/registry.ts
|
|
4
31
|
/** The attributes whose change the motion layer reports to the `state` hook of an effect. */
|
|
5
32
|
const motionStateAttributes = [
|
|
@@ -521,4 +548,4 @@ function createHoldToDelete(button, options) {
|
|
|
521
548
|
}
|
|
522
549
|
};
|
|
523
550
|
}
|
|
524
|
-
export { defineOwnEffect as a, motionEffectRegistrations as c, otherMotionLayer as d, writeMotionStyle as f, defineMotionEffect as i, motionStateAttributes as l, visualCopy as n, handOffMotionEffects as o, claimMotionLayer as r, listMotionEffects as s, createHoldToDelete as t, onMotionEffectsChange as u };
|
|
551
|
+
export { defineOwnEffect as a, motionEffectRegistrations as c, otherMotionLayer as d, writeMotionStyle as f, defineMotionEffect as i, motionStateAttributes as l, prepareAnnouncer as m, visualCopy as n, handOffMotionEffects as o, announce as p, claimMotionLayer as r, listMotionEffects as s, createHoldToDelete as t, onMotionEffectsChange as u };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,56 +8,55 @@ import { n as ChatMessageSlots, t as ChatMessageProps } from "./types-D0a3i4Fw.j
|
|
|
8
8
|
import { t as _default$21 } from "./chat-message-QLHnX_ED.js";
|
|
9
9
|
import { i as MessageScrollerContext, l as useMessageScroller, n as MessageScrollPosition, s as calculatePrependScrollTop, t as MessageScrollBehavior } from "./message-scroller-D7AvM31v.js";
|
|
10
10
|
import { a as MessageScrollerContentProps, c as MessageScrollerProps, i as MessageScrollerButtonSlots, l as MessageScrollerScope, n as ChatSlots, o as MessageScrollerItemProps, r as MessageScrollerButtonProps, s as MessageScrollerPartSlots, t as ChatProps, u as MessageScrollerSlots } from "./types-D_BWab7g.js";
|
|
11
|
-
import { _ as PromptInputTextareaProps, a as _default$
|
|
12
|
-
import { a as _default$
|
|
11
|
+
import { _ as PromptInputTextareaProps, a as _default$71, c as PromptInputAttachSlots, d as PromptInputProps, f as PromptInputSlotScope, g as PromptInputSubmitSlots, h as PromptInputSubmitProps, i as _default$72, l as PromptInputAttachmentsProps, m as PromptInputSubmitEvent, n as _default$74, o as _default$70, p as PromptInputSlots, r as _default$73, s as PromptInputAttachProps, t as _default$75, u as PromptInputEmits, v as PromptInputToolbarProps, y as PromptInputToolbarSlots } from "./prompt-input-DZM3E6WP.js";
|
|
12
|
+
import { a as _default$43, c as FileDiffProps, d as PatchDiffProps, f as UnresolvedFileProps, i as _default$45, l as FileViewProps, n as _default$68, o as _default$31, r as _default$67, s as CodeViewProps, t as _default$95, u as MultiFileDiffProps } from "./code-view-D8yYdFUc.js";
|
|
13
13
|
import { a as CopyButtonVariant, c as UseCopyReturn, i as CopyButtonSlots, l as useCopy, n as CopyButtonProps, o as CopyValue, r as CopyButtonSize, s as UseCopyOptions, t as CopyButtonEmits } from "./types-DTecvcsZ.js";
|
|
14
14
|
import "./parts/components/patch-parsers.js";
|
|
15
15
|
import { a as CodeViewLineSelection, c as DiffLineAnnotation, d as LineAnnotation, h as FileOptions, i as UnresolvedFileOptions, l as FileContents, m as FileDiffOptions, n as parseDiffFromFile, o as CodeViewOptions, p as SelectedLineRange, r as getSingularPatch, s as CodeViewItem, t as parsePatchFiles, u as FileDiffMetadata } from "./index-D3-uYBqH.js";
|
|
16
|
-
import { i as FileTreeProps, n as FileTreeEmits, r as FileTreeExposed, t as _default$
|
|
17
|
-
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-
|
|
16
|
+
import { i as FileTreeProps, n as FileTreeEmits, r as FileTreeExposed, t as _default$44 } from "./file-tree-DDSIafDn.js";
|
|
17
|
+
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-PmERtNNb.js";
|
|
18
18
|
import { a as createCommentVisibility, i as commentLeaveMs, n as CommentVisibilityModel, r as CommentVisibilityOptions, t as CommentVisibility } from "./comment-visibility-CYctacNx.js";
|
|
19
19
|
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-ZfV6IZs8.js";
|
|
20
|
-
import { i as MarkdownProps, n as MarkdownCodeBlockProps, r as MarkdownImageProps, t as _default$
|
|
20
|
+
import { i as MarkdownProps, n as MarkdownCodeBlockProps, r as MarkdownImageProps, t as _default$48 } from "./markdown-BLALLOc0.js";
|
|
21
21
|
import { a as ChoicesInputRenderScope, c as ChoicesInputStatus, i as ChoicesInputField, n as ChoicesInputClear, o as ChoicesInputSource, r as ChoicesInputError, s as ChoicesInputState, t as ChoicesInput } from "./choices-input-DqgXl5a-.js";
|
|
22
22
|
import { a as provideRelativeNow, i as RelativeTimeValue, n as RelativeTimeOptions, o as useRelativeTime, r as RelativeTimeState, t as RelativeTimeFormat } from "./relative-time-BuP-Gvzn.js";
|
|
23
|
-
import {
|
|
24
|
-
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-
|
|
25
|
-
import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "./comment-panel-
|
|
26
|
-
import { n as CommentPlacement, t as CommentLayer } from "./comment-layer-
|
|
27
|
-
import { t as CommentSelectionBar } from "./comment-selection-bar-
|
|
28
|
-
import { t as _default$
|
|
29
|
-
import { a as ConnectionStatusProps, c as ConnectionStatusValue, i as ConnectionStatusLabelSlots, n as _default$
|
|
23
|
+
import { a as CommentPinEmits, c as CommentRowProps, d as CommentSelectionBarEmits, f as CommentSelectionBarProps, g as CommentToolbarSlots, h as CommentToolbarProps, i as CommentListSlots, l as CommentRowSlotScope, m as CommentSelectionBarSlots, n as CommentListEmits, o as CommentPinProps, p as CommentSelectionBarSide, r as CommentListProps, s as CommentRowPartSlots, t as CommentFiltersProps, u as CommentRowSlots } from "./types-CMU8Vmew.js";
|
|
24
|
+
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-Cp9k80uv.js";
|
|
25
|
+
import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "./comment-panel-Vo3m6rHB.js";
|
|
26
|
+
import { n as CommentPlacement, t as CommentLayer } from "./comment-layer-BgQz1ixK.js";
|
|
27
|
+
import { t as CommentSelectionBar } from "./comment-selection-bar-B_bchB2O.js";
|
|
28
|
+
import { t as _default$59 } from "./message-parts-CG3gNWn8.js";
|
|
29
|
+
import { a as ConnectionStatusProps, c as ConnectionStatusValue, i as ConnectionStatusLabelSlots, n as _default$37, o as ConnectionStatusSlots, r as _default$36, s as ConnectionStatusState, t as _default$38 } from "./connection-status-g62BTn44.js";
|
|
30
30
|
import { C as AgentSessionWorkDetailScope, D as AgentSessionWorkKind, E as AgentSessionWorkGroupSlots, S as AgentSessionTitleSlots, T as AgentSessionWorkGroupProps, _ as AgentSessionSlots, a as _default$2, b as AgentSessionTimelineSlots, c as AgentSessionDetailsRowProps, d as AgentSessionDetailsSectionProps, f as AgentSessionDetailsSectionSlots, g as AgentSessionProps, h as AgentSessionItem, i as _default$3, l as AgentSessionDetailsRowSlots, m as AgentSessionExposed, n as _default$5, o as _default$1, p as AgentSessionEmits, r as _default$4, s as _default, t as agentSessionProviderLabel, u as AgentSessionDetailsRowTone, v as AgentSessionSurface, w as AgentSessionWorkEntry, x as AgentSessionTitleProps, y as AgentSessionTimelineProps } from "./agent-session-BwZSMi4S.js";
|
|
31
|
-
import { a as DeviceFrameBreakpoint, c as DeviceFrameKind, d as DeviceFrameSize, f as DeviceFrameSlots, i as _default$
|
|
31
|
+
import { a as DeviceFrameBreakpoint, c as DeviceFrameKind, d as DeviceFrameSize, f as DeviceFrameSlots, i as _default$40, l as DeviceFramePreset, m as DeviceFrameToolbarSlots, n as DEVICE_FRAME_PRESETS, o as DeviceFrameEmits, p as DeviceFrameToolbarProps, r as _default$41, s as DeviceFrameExposed, t as DEVICE_FRAME_BREAKPOINTS, u as DeviceFrameProps } from "./device-frame-BW6IjB6P.js";
|
|
32
32
|
import { i as ChatSessionValue, n as ChatSessionProps, r as ChatSessionSlots, t as _default$22 } from "./chat-session-BOj5L3Ey.js";
|
|
33
33
|
import { n as FileTreeOptions, o as useFileTree, s as useFileTreeSelection, t as FileTreeModel } from "./file-tree-BdnKA6UA.js";
|
|
34
|
-
import { a as TraceRunStep, i as TraceRunSlots, n as TraceRunData, r as TraceRunProps, t as _default$
|
|
34
|
+
import { a as TraceRunStep, i as TraceRunSlots, n as TraceRunData, r as TraceRunProps, t as _default$93 } from "./trace-run-Dk962P5a.js";
|
|
35
35
|
import { _ as CodeBlockSize, a as _default$26, c as _default$23, d as CodeBlockCopyButtonProps, f as CodeBlockCopyButtonSlots, g as CodeBlockProps, h as CodeBlockLineSlots, i as _default$27, l as CodeBlockContentProps, m as CodeBlockLineProps, n as _default$29, o as _default$25, p as CodeBlockLineKind, r as _default$28, s as _default$24, t as _default$30, u as CodeBlockContentSlots, v as CodeBlockSlots, y as CodeBlockTone } from "./code-block-Bp8y-XJp.js";
|
|
36
|
-
import {
|
|
36
|
+
import { i as _default$32, n as _default$34, r as _default$33, t as _default$35 } from "./comments-BBNiQTxK.js";
|
|
37
37
|
import { a as MarkdownValue, n as MarkdownOptions, r as MarkdownPlugins } from "./markdown-DkDxdpMU.js";
|
|
38
|
-
import { t as _default$
|
|
39
|
-
import { i as DropFieldSlots, n as DropFieldEmits, r as DropFieldProps, t as _default$
|
|
40
|
-
import { i as FilterSearchSlots, n as FilterSearchProps, r as FilterSearchSize, t as _default$
|
|
41
|
-
import { a as _default$
|
|
42
|
-
import { b as IconEnter, x as IconExit } from "./motion-core-
|
|
38
|
+
import { t as _default$39 } from "./copy-button-CRiXUFsl.js";
|
|
39
|
+
import { i as DropFieldSlots, n as DropFieldEmits, r as DropFieldProps, t as _default$42 } from "./drop-field-C0bXv1J-.js";
|
|
40
|
+
import { i as FilterSearchSlots, n as FilterSearchProps, r as FilterSearchSize, t as _default$46 } from "./filter-search-C9e6sGij.js";
|
|
41
|
+
import { a as _default$54, c as MessageProps, i as _default$55, l as MessageSlots, n as _default$57, o as _default$53, r as _default$56, s as MessageAlign, t as _default$58 } from "./message-DEq4K5cQ.js";
|
|
42
|
+
import { b as IconEnter, x as IconExit } from "./motion-core-BEwxN7Il.js";
|
|
43
43
|
import { t as MotionPressMode } from "./press-BuEC-XvZ.js";
|
|
44
|
-
import { a as MorphTextProps, c as MotionListSlots, d as RollNumberSlots, f as SwapIconProps, i as _default$
|
|
45
|
-
import { a as HoldToDeleteSlots, i as HoldToDeleteProps, n as HoldToDeleteEmits, o as HoldToDeleteStatus, r as HoldToDeleteExposed, t as _default$
|
|
46
|
-
import { a as MarkerContentSlots, c as MarkerSeparatorProps, d as MarkerVariant, i as _default$
|
|
44
|
+
import { a as MorphTextProps, c as MotionListSlots, d as RollNumberSlots, f as SwapIconProps, i as _default$65, l as MotionRenderProps, n as _default$77, o as MorphTextSlots, p as SwapIconSlots, r as _default$66, s as MotionListProps, t as _default$81, u as RollNumberProps } from "./index-BlQsW8ZZ.js";
|
|
45
|
+
import { a as HoldToDeleteSlots, i as HoldToDeleteProps, n as HoldToDeleteEmits, o as HoldToDeleteStatus, r as HoldToDeleteExposed, t as _default$47 } from "./hold-to-delete-ksBE7wxc.js";
|
|
46
|
+
import { a as MarkerContentSlots, c as MarkerSeparatorProps, d as MarkerVariant, i as _default$49, l as MarkerSeparatorSlots, n as _default$51, o as MarkerIconSlots, r as _default$50, s as MarkerProps, t as _default$52, u as MarkerSlots } from "./marker-CvcWZ3Zp.js";
|
|
47
47
|
import "./parts/components/motion-list.js";
|
|
48
48
|
import { vRing } from "./parts/components/motion.js";
|
|
49
|
-
import { n as ProgressProps, t as _default$
|
|
50
|
-
import { n as RelativeTimeProps, t as _default$
|
|
51
|
-
import { a as StatusSize, i as StatusProps, n as _default$
|
|
52
|
-
import { a as SyncStatusProps, i as SyncStatusLabelSlots, n as _default$
|
|
53
|
-
import { a as ToolListSlots, i as ToolListSchemaProps, n as ToolListEmits, o as ToolListTool, r as ToolListProps, t as _default$
|
|
49
|
+
import { n as ProgressProps, t as _default$69 } from "./progress-Ch0fA-bf.js";
|
|
50
|
+
import { n as RelativeTimeProps, t as _default$76 } from "./relative-time-grHFu1kY.js";
|
|
51
|
+
import { a as StatusSize, i as StatusProps, n as _default$79, o as StatusSlots, r as _default$78, s as StatusTone, t as _default$80 } from "./status-ySiRa-8O.js";
|
|
52
|
+
import { a as SyncStatusProps, i as SyncStatusLabelSlots, n as _default$83, o as SyncStatusSlots, r as _default$82, s as SyncStatusValue, t as _default$84 } from "./sync-status-D4KdGO6y.js";
|
|
53
|
+
import { a as ToolListSlots, i as ToolListSchemaProps, n as ToolListEmits, o as ToolListTool, r as ToolListProps, t as _default$85 } from "./tool-list-DMRPM0Yi.js";
|
|
54
54
|
import { PlaygroundFiles } from "./parts/playground/share.js";
|
|
55
|
-
import { _ as TraceLineSlots, a as _default$
|
|
55
|
+
import { _ as TraceLineSlots, a as _default$89, b as TraceTitleSlots, c as _default$86, d as TraceCollapsibleProps, f as TraceCollapsibleSlots, g as TraceLineProps, h as TraceIconSlots, i as _default$90, l as TraceCollapsibleContentSlots, m as TraceDescriptionSlots, n as _default$92, o as _default$88, p as TraceCollapsibleTriggerSlots, r as _default$91, s as _default$87, t as _default$94, u as TraceCollapsibleEmits, v as TraceLineStatus, y as TraceSlots } from "./trace-KCBvOsw_.js";
|
|
56
56
|
import { AgentAttachments, PendingAttachment, UseAgentAttachmentsOptions, fileToDataUrl, fileToUIPart, useAgentAttachments } from "./parts/composables/attachments.js";
|
|
57
57
|
import { useHighlightedCode } from "./parts/composables/highlighted-code.js";
|
|
58
|
-
import { a as
|
|
59
|
-
import { a as _default$
|
|
60
|
-
import { Component } from "vue";
|
|
58
|
+
import { a as useViteHubUIIconComponent, i as createViteHubUI, n as ViteHubUIMotionOptions, o as useViteHubUIIcons, r as ViteHubUIOptions, s as useViteHubUIMotionEnabled, t as ViteHubUIIconOptions } from "./config-BYLPA0Ts.js";
|
|
59
|
+
import { a as _default$60, i as _default$61, n as _default$63, r as _default$62, t as _default$64 } from "./headless-2IcUWHMq.js";
|
|
61
60
|
import "nostics";
|
|
62
61
|
import { UIDataTypes, UIMessage, UITools } from "ai";
|
|
63
62
|
interface AgentPromptInput {
|
|
@@ -68,12 +67,6 @@ export declare const agentPromptMaxLength = 320;
|
|
|
68
67
|
export declare const agentPromptDocsBase = "https://vitehub.dev/docs/";
|
|
69
68
|
export declare function agentPrompt({ task, docs }: AgentPromptInput): string;
|
|
70
69
|
export declare function agentPromptProblems(text: string): string[];
|
|
71
|
-
/**
|
|
72
|
-
* The components that the parts render by default, on ui-sdk. Load the kit style family for their look. `UIcon` draws
|
|
73
|
-
* the icons that the parts use; to show other icons, such as your own in `createViteHubUI({ icons })`, pass your own
|
|
74
|
-
* `UIcon` to `createViteHubUI({ components })`.
|
|
75
|
-
*/
|
|
76
|
-
export declare const uiSdkComponents: Record<Exclude<ViteHubUIComponentName, `UEditor${string}`>, Component>;
|
|
77
70
|
declare global {
|
|
78
71
|
namespace ViteHub {
|
|
79
72
|
interface AuthRegistry {}
|
|
@@ -169,4 +162,4 @@ interface AgentToolInspection {
|
|
|
169
162
|
};
|
|
170
163
|
outputSchema?: AgentInspectionValue;
|
|
171
164
|
}
|
|
172
|
-
export { AgentAttachments, type AgentInspectionValue, type AgentPromptInput, _default as AgentSession, _default$1 as AgentSessionDetailsRow, type AgentSessionDetailsRowProps, type AgentSessionDetailsRowSlots, type AgentSessionDetailsRowTone, _default$2 as AgentSessionDetailsSection, type AgentSessionDetailsSectionProps, type AgentSessionDetailsSectionSlots, type AgentSessionEmits, type AgentSessionExposed, type AgentSessionItem, type AgentSessionProps, type AgentSessionSlots, type AgentSessionSurface, _default$3 as AgentSessionTimeline, type AgentSessionTimelineProps, type AgentSessionTimelineSlots, _default$4 as AgentSessionTitle, type AgentSessionTitleProps, type AgentSessionTitleSlots, type AgentSessionWorkDetailScope, type AgentSessionWorkEntry, _default$5 as AgentSessionWorkGroup, type AgentSessionWorkGroupProps, type AgentSessionWorkGroupSlots, type AgentSessionWorkKind, type AgentToolInspection, _default$6 as Attachment, _default$7 as AttachmentAction, type AttachmentActionProps, type AttachmentActionSlots, _default$8 as AttachmentActions, _default$9 as AttachmentContent, _default$10 as AttachmentDescription, _default$11 as AttachmentGroup, _default$12 as AttachmentMedia, type AttachmentMediaKind, type AttachmentMediaProps, type AttachmentMediaSlots, type AttachmentOrientation, type AttachmentProps, type AttachmentSize, type AttachmentSlots, type AttachmentStatus, _default$13 as AttachmentTitle, _default$14 as AttachmentTrigger, type AttachmentTriggerSlots, _default$15 as AvatarStack, type AvatarStackPerson, type AvatarStackProps, type AvatarStackSize, type AvatarStackVariant, _default$16 as Bubble, type BubbleAlign, _default$17 as BubbleContent, type BubbleContentSlots, _default$18 as BubbleGroup, type BubbleProps, _default$19 as BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSlots, type BubbleSlots, type BubbleTone, type BubbleVariant, _default$20 as Chat, _default$21 as ChatMessage, type ChatMessageProps, type ChatMessageSlots, type ChatProps, _default$22 as ChatSession, type ChatSessionProps, type ChatSessionSlots, type ChatSessionValue, type ChatSlots, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputRenderScope, ChoicesInputSource, ChoicesInputState, ChoicesInputStatus, _default$23 as CodeBlock, _default$24 as CodeBlockActions, _default$25 as CodeBlockContent, type CodeBlockContentProps, type CodeBlockContentSlots, _default$26 as CodeBlockCopyButton, type CodeBlockCopyButtonProps, type CodeBlockCopyButtonSlots, _default$27 as CodeBlockFooter, _default$28 as CodeBlockHeader, _default$29 as CodeBlockLine, type CodeBlockLineKind, type CodeBlockLineProps, type CodeBlockLineSlots, type CodeBlockProps, type CodeBlockSize, type CodeBlockSlots, _default$30 as CodeBlockTitle, type CodeBlockTone, _default$31 as CodeView, type CodeViewItem, type CodeViewLineSelection, type CodeViewOptions, type CodeViewProps, CommentAttachmentLink, CommentAttachmentUrl, CommentCan, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentDraft, CommentFilterState, _default$32 as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$33 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$34 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentScope, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, _default$35 as CommentSend, type CommentSendProps, CommentStatusSlotScope, CommentThread, CommentThreadAction, CommentThreadSlotScope, CommentThreadSlots, _default$36 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, CommentVisibility, CommentVisibilityModel, CommentVisibilityOptions, CommentsOutboxState, CommentsState, _default$37 as ConnectionStatus, _default$38 as ConnectionStatusIndicator, _default$39 as ConnectionStatusLabel, type ConnectionStatusLabelSlots, type ConnectionStatusProps, type ConnectionStatusSlots, type ConnectionStatusState, type ConnectionStatusValue, _default$40 as CopyButton, type CopyButtonEmits, type CopyButtonProps, type CopyButtonSize, type CopyButtonSlots, type CopyButtonVariant, type CopyValue, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, _default$41 as DeviceFrame, type DeviceFrameBreakpoint, type DeviceFrameEmits, type DeviceFrameExposed, type DeviceFrameKind, type DeviceFramePreset, type DeviceFrameProps, type DeviceFrameSize, type DeviceFrameSlots, _default$42 as DeviceFrameToolbar, type DeviceFrameToolbarProps, type DeviceFrameToolbarSlots, type DiffLineAnnotation, _default$43 as DropField, type DropFieldEmits, type DropFieldProps, type DropFieldSlots, type FileContents, _default$44 as FileDiff, type FileDiffMetadata, type FileDiffOptions, type FileDiffProps, type FileOptions, _default$45 as FileTree, type FileTreeEmits, type FileTreeExposed, type FileTreeModel, type FileTreeOptions, type FileTreeProps, _default$46 as FileView, type FileViewProps, _default$47 as FilterSearch, type FilterSearchProps, type FilterSearchSize, type FilterSearchSlots, _default$48 as HoldToDelete, type HoldToDeleteEmits, type HoldToDeleteExposed, type HoldToDeleteProps, type HoldToDeleteSlots, type HoldToDeleteStatus, type IconEnter, type IconExit, type LineAnnotation, _default$49 as Markdown, type MarkdownCodeBlockProps, type MarkdownImageProps, type MarkdownOptions, type MarkdownPlugins, type MarkdownProps, type MarkdownValue, _default$50 as Marker, _default$51 as MarkerContent, type MarkerContentSlots, _default$52 as MarkerIcon, type MarkerIconSlots, type MarkerProps, _default$53 as MarkerSeparator, type MarkerSeparatorProps, type MarkerSeparatorSlots, type MarkerSlots, type MarkerVariant, _default$54 as Message, type MessageAlign, _default$55 as MessageAvatar, _default$56 as MessageContent, _default$57 as MessageFooter, _default$58 as MessageGroup, _default$59 as MessageHeader, _default$60 as MessageParts, type MessagePartsProps, type MessagePartsSlots, type MessageProps, type MessageScrollBehavior, type MessageScrollPosition, _default$61 as MessageScroller, _default$62 as MessageScrollerButton, type MessageScrollerButtonProps, type MessageScrollerButtonSlots, _default$63 as MessageScrollerContent, type MessageScrollerContentProps, type MessageScrollerContext, _default$64 as MessageScrollerItem, type MessageScrollerItemProps, type MessageScrollerPartSlots, type MessageScrollerProps, type MessageScrollerScope, type MessageScrollerSlots, _default$65 as MessageScrollerViewport, type MessageSlots, _default$66 as MorphText, type MorphTextProps, type MorphTextSlots, _default$67 as MotionList, type MotionListProps, type MotionListSlots, type MotionPressMode, type MotionRenderProps, _default$68 as MultiFileDiff, type MultiFileDiffProps, _default$69 as PatchDiff, type PatchDiffProps, PendingAttachment, type PlaygroundFiles, _default$70 as Progress, type ProgressProps, _default$71 as PromptInput, _default$72 as PromptInputAttach, type PromptInputAttachProps, type PromptInputAttachSlots, _default$73 as PromptInputAttachments, type PromptInputAttachmentsProps, type PromptInputEmits, type PromptInputProps, type PromptInputSlotScope, type PromptInputSlots, _default$74 as PromptInputSubmit, type PromptInputSubmitEvent, type PromptInputSubmitProps, type PromptInputSubmitSlots, _default$75 as PromptInputTextarea, type PromptInputTextareaProps, _default$76 as PromptInputToolbar, type PromptInputToolbarProps, type PromptInputToolbarSlots, _default$77 as RelativeTime, RelativeTimeFormat, RelativeTimeOptions, type RelativeTimeProps, RelativeTimeState, RelativeTimeValue, _default$78 as RollNumber, type RollNumberProps, type RollNumberSlots, type SelectedLineRange, _default$79 as Status, _default$80 as StatusIndicator, _default$81 as StatusLabel, type StatusProps, type StatusSize, type StatusSlots, type StatusTone, _default$82 as SwapIcon, type SwapIconProps, type SwapIconSlots, _default$83 as SyncStatus, _default$84 as SyncStatusIndicator, _default$85 as SyncStatusLabel, type SyncStatusLabelSlots, type SyncStatusProps, type SyncStatusSlots, type SyncStatusValue, _default$86 as ToolList, type ToolListEmits, type ToolListProps, type ToolListSchemaProps, type ToolListSlots, type ToolListTool, _default$87 as Trace, _default$88 as TraceCollapsible, _default$89 as TraceCollapsibleContent, type TraceCollapsibleContentSlots, type TraceCollapsibleEmits, type TraceCollapsibleProps, type TraceCollapsibleSlots, _default$90 as TraceCollapsibleTrigger, type TraceCollapsibleTriggerSlots, _default$91 as TraceDescription, type TraceDescriptionSlots, type TraceEventLogEntry, _default$92 as TraceIcon, type TraceIconSlots, _default$93 as TraceLine, type TraceLineProps, type TraceLineSlots, type TraceLineStatus, _default$94 as TraceRun, type TraceRunData, type TraceRunProps, type TraceRunSlots, type TraceRunStep, type TraceRunView, type TraceSlots, type TraceStepView, _default$95 as TraceTitle, type TraceTitleSlots, _default$96 as UnresolvedFile, type UnresolvedFileOptions, type UnresolvedFileProps, UseAgentAttachmentsOptions, UseCommentsOptions, type UseCopyOptions, type UseCopyReturn, type ViteHubUIComponentName, type ViteHubUIComponents, ViteHubUIIconOptions, type ViteHubUIMessage, ViteHubUIMotionOptions, ViteHubUIOptions, type ViteHubUISession, agentSessionProviderLabel, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useRelativeTime, useViteHubUIIcons, useViteHubUIMotionEnabled, vRing };
|
|
165
|
+
export { AgentAttachments, type AgentInspectionValue, type AgentPromptInput, _default as AgentSession, _default$1 as AgentSessionDetailsRow, type AgentSessionDetailsRowProps, type AgentSessionDetailsRowSlots, type AgentSessionDetailsRowTone, _default$2 as AgentSessionDetailsSection, type AgentSessionDetailsSectionProps, type AgentSessionDetailsSectionSlots, type AgentSessionEmits, type AgentSessionExposed, type AgentSessionItem, type AgentSessionProps, type AgentSessionSlots, type AgentSessionSurface, _default$3 as AgentSessionTimeline, type AgentSessionTimelineProps, type AgentSessionTimelineSlots, _default$4 as AgentSessionTitle, type AgentSessionTitleProps, type AgentSessionTitleSlots, type AgentSessionWorkDetailScope, type AgentSessionWorkEntry, _default$5 as AgentSessionWorkGroup, type AgentSessionWorkGroupProps, type AgentSessionWorkGroupSlots, type AgentSessionWorkKind, type AgentToolInspection, _default$6 as Attachment, _default$7 as AttachmentAction, type AttachmentActionProps, type AttachmentActionSlots, _default$8 as AttachmentActions, _default$9 as AttachmentContent, _default$10 as AttachmentDescription, _default$11 as AttachmentGroup, _default$12 as AttachmentMedia, type AttachmentMediaKind, type AttachmentMediaProps, type AttachmentMediaSlots, type AttachmentOrientation, type AttachmentProps, type AttachmentSize, type AttachmentSlots, type AttachmentStatus, _default$13 as AttachmentTitle, _default$14 as AttachmentTrigger, type AttachmentTriggerSlots, _default$15 as AvatarStack, type AvatarStackPerson, type AvatarStackProps, type AvatarStackSize, type AvatarStackVariant, _default$16 as Bubble, type BubbleAlign, _default$17 as BubbleContent, type BubbleContentSlots, _default$18 as BubbleGroup, type BubbleProps, _default$19 as BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSlots, type BubbleSlots, type BubbleTone, type BubbleVariant, _default$20 as Chat, _default$21 as ChatMessage, type ChatMessageProps, type ChatMessageSlots, type ChatProps, _default$22 as ChatSession, type ChatSessionProps, type ChatSessionSlots, type ChatSessionValue, type ChatSlots, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputRenderScope, ChoicesInputSource, ChoicesInputState, ChoicesInputStatus, _default$23 as CodeBlock, _default$24 as CodeBlockActions, _default$25 as CodeBlockContent, type CodeBlockContentProps, type CodeBlockContentSlots, _default$26 as CodeBlockCopyButton, type CodeBlockCopyButtonProps, type CodeBlockCopyButtonSlots, _default$27 as CodeBlockFooter, _default$28 as CodeBlockHeader, _default$29 as CodeBlockLine, type CodeBlockLineKind, type CodeBlockLineProps, type CodeBlockLineSlots, type CodeBlockProps, type CodeBlockSize, type CodeBlockSlots, _default$30 as CodeBlockTitle, type CodeBlockTone, _default$31 as CodeView, type CodeViewItem, type CodeViewLineSelection, type CodeViewOptions, type CodeViewProps, CommentAttachmentLink, CommentAttachmentUrl, CommentCan, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentDraft, CommentFilterState, _default$32 as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$33 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$34 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentScope, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, CommentStatusSlotScope, CommentThread, CommentThreadAction, CommentThreadSlotScope, CommentThreadSlots, _default$35 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, CommentVisibility, CommentVisibilityModel, CommentVisibilityOptions, CommentsOutboxState, CommentsState, _default$36 as ConnectionStatus, _default$37 as ConnectionStatusIndicator, _default$38 as ConnectionStatusLabel, type ConnectionStatusLabelSlots, type ConnectionStatusProps, type ConnectionStatusSlots, type ConnectionStatusState, type ConnectionStatusValue, _default$39 as CopyButton, type CopyButtonEmits, type CopyButtonProps, type CopyButtonSize, type CopyButtonSlots, type CopyButtonVariant, type CopyValue, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, _default$40 as DeviceFrame, type DeviceFrameBreakpoint, type DeviceFrameEmits, type DeviceFrameExposed, type DeviceFrameKind, type DeviceFramePreset, type DeviceFrameProps, type DeviceFrameSize, type DeviceFrameSlots, _default$41 as DeviceFrameToolbar, type DeviceFrameToolbarProps, type DeviceFrameToolbarSlots, type DiffLineAnnotation, _default$42 as DropField, type DropFieldEmits, type DropFieldProps, type DropFieldSlots, type FileContents, _default$43 as FileDiff, type FileDiffMetadata, type FileDiffOptions, type FileDiffProps, type FileOptions, _default$44 as FileTree, type FileTreeEmits, type FileTreeExposed, type FileTreeModel, type FileTreeOptions, type FileTreeProps, _default$45 as FileView, type FileViewProps, _default$46 as FilterSearch, type FilterSearchProps, type FilterSearchSize, type FilterSearchSlots, _default$47 as HoldToDelete, type HoldToDeleteEmits, type HoldToDeleteExposed, type HoldToDeleteProps, type HoldToDeleteSlots, type HoldToDeleteStatus, type IconEnter, type IconExit, type LineAnnotation, _default$48 as Markdown, type MarkdownCodeBlockProps, type MarkdownImageProps, type MarkdownOptions, type MarkdownPlugins, type MarkdownProps, type MarkdownValue, _default$49 as Marker, _default$50 as MarkerContent, type MarkerContentSlots, _default$51 as MarkerIcon, type MarkerIconSlots, type MarkerProps, _default$52 as MarkerSeparator, type MarkerSeparatorProps, type MarkerSeparatorSlots, type MarkerSlots, type MarkerVariant, _default$53 as Message, type MessageAlign, _default$54 as MessageAvatar, _default$55 as MessageContent, _default$56 as MessageFooter, _default$57 as MessageGroup, _default$58 as MessageHeader, _default$59 as MessageParts, type MessagePartsProps, type MessagePartsSlots, type MessageProps, type MessageScrollBehavior, type MessageScrollPosition, _default$60 as MessageScroller, _default$61 as MessageScrollerButton, type MessageScrollerButtonProps, type MessageScrollerButtonSlots, _default$62 as MessageScrollerContent, type MessageScrollerContentProps, type MessageScrollerContext, _default$63 as MessageScrollerItem, type MessageScrollerItemProps, type MessageScrollerPartSlots, type MessageScrollerProps, type MessageScrollerScope, type MessageScrollerSlots, _default$64 as MessageScrollerViewport, type MessageSlots, _default$65 as MorphText, type MorphTextProps, type MorphTextSlots, _default$66 as MotionList, type MotionListProps, type MotionListSlots, type MotionPressMode, type MotionRenderProps, _default$67 as MultiFileDiff, type MultiFileDiffProps, _default$68 as PatchDiff, type PatchDiffProps, PendingAttachment, type PlaygroundFiles, _default$69 as Progress, type ProgressProps, _default$70 as PromptInput, _default$71 as PromptInputAttach, type PromptInputAttachProps, type PromptInputAttachSlots, _default$72 as PromptInputAttachments, type PromptInputAttachmentsProps, type PromptInputEmits, type PromptInputProps, type PromptInputSlotScope, type PromptInputSlots, _default$73 as PromptInputSubmit, type PromptInputSubmitEvent, type PromptInputSubmitProps, type PromptInputSubmitSlots, _default$74 as PromptInputTextarea, type PromptInputTextareaProps, _default$75 as PromptInputToolbar, type PromptInputToolbarProps, type PromptInputToolbarSlots, _default$76 as RelativeTime, RelativeTimeFormat, RelativeTimeOptions, type RelativeTimeProps, RelativeTimeState, RelativeTimeValue, _default$77 as RollNumber, type RollNumberProps, type RollNumberSlots, type SelectedLineRange, _default$78 as Status, _default$79 as StatusIndicator, _default$80 as StatusLabel, type StatusProps, type StatusSize, type StatusSlots, type StatusTone, _default$81 as SwapIcon, type SwapIconProps, type SwapIconSlots, _default$82 as SyncStatus, _default$83 as SyncStatusIndicator, _default$84 as SyncStatusLabel, type SyncStatusLabelSlots, type SyncStatusProps, type SyncStatusSlots, type SyncStatusValue, _default$85 as ToolList, type ToolListEmits, type ToolListProps, type ToolListSchemaProps, type ToolListSlots, type ToolListTool, _default$86 as Trace, _default$87 as TraceCollapsible, _default$88 as TraceCollapsibleContent, type TraceCollapsibleContentSlots, type TraceCollapsibleEmits, type TraceCollapsibleProps, type TraceCollapsibleSlots, _default$89 as TraceCollapsibleTrigger, type TraceCollapsibleTriggerSlots, _default$90 as TraceDescription, type TraceDescriptionSlots, type TraceEventLogEntry, _default$91 as TraceIcon, type TraceIconSlots, _default$92 as TraceLine, type TraceLineProps, type TraceLineSlots, type TraceLineStatus, _default$93 as TraceRun, type TraceRunData, type TraceRunProps, type TraceRunSlots, type TraceRunStep, type TraceRunView, type TraceSlots, type TraceStepView, _default$94 as TraceTitle, type TraceTitleSlots, _default$95 as UnresolvedFile, type UnresolvedFileOptions, type UnresolvedFileProps, UseAgentAttachmentsOptions, UseCommentsOptions, type UseCopyOptions, type UseCopyReturn, ViteHubUIIconOptions, type ViteHubUIMessage, ViteHubUIMotionOptions, ViteHubUIOptions, type ViteHubUISession, agentSessionProviderLabel, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useRelativeTime, useViteHubUIIconComponent, useViteHubUIIcons, useViteHubUIMotionEnabled, vRing };
|
package/dist/index.js
CHANGED
|
@@ -1,64 +1,63 @@
|
|
|
1
|
-
import { a as AgentSession_default, i as AgentSessionDetailsRow_default, n as AgentSessionWorkGroup_default, o as agentSessionProviderLabel, r as AgentSessionDetailsSection_default, s as AgentSessionTitle_default, t as AgentSessionTimeline_default } from "./agent-session-
|
|
2
|
-
import { t as Markdown_default } from "./Markdown-
|
|
1
|
+
import { a as AgentSession_default, i as AgentSessionDetailsRow_default, n as AgentSessionWorkGroup_default, o as agentSessionProviderLabel, r as AgentSessionDetailsSection_default, s as AgentSessionTitle_default, t as AgentSessionTimeline_default } from "./agent-session-D291hyRk.js";
|
|
2
|
+
import { t as Markdown_default } from "./Markdown-3-Tvy5Kl.js";
|
|
3
3
|
import { n as CodeBlockLine_default, r as CodeBlock_default, t as CodeBlockContent_default } from "./CodeBlockContent-BjXJm8lO.js";
|
|
4
|
-
import { i as CodeBlockActions_default, n as CodeBlockHeader_default, r as CodeBlockCopyButton_default, t as CodeBlockTitle_default } from "./CodeBlockTitle-
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
4
|
+
import { i as CodeBlockActions_default, n as CodeBlockHeader_default, r as CodeBlockCopyButton_default, t as CodeBlockTitle_default } from "./CodeBlockTitle-DX13mCTi.js";
|
|
5
|
+
import { t as MorphText_default } from "./MorphText-DAHAswWX.js";
|
|
6
|
+
import { t as DropField_default } from "./drop-field-BkoJOWR9.js";
|
|
7
|
+
import { t as RollNumber_default } from "./RollNumber-CkdLiy2i.js";
|
|
8
|
+
import { t as SwapIcon_default } from "./SwapIcon-Bjkk7WlZ.js";
|
|
9
|
+
import { n as useCopy, t as CopyButton_default } from "./CopyButton-D-g6PWc8.js";
|
|
7
10
|
import { t as CodeBlockFooter_default } from "./code-block-CMERLfew.js";
|
|
8
11
|
import { a as AttachmentActions_default, i as AttachmentContent_default, n as AttachmentMedia_default, o as AttachmentAction_default, r as AttachmentGroup_default, s as Attachment_default, t as AttachmentTitle_default } from "./AttachmentTitle-BWw0ck0T.js";
|
|
9
12
|
import { n as AttachmentDescription_default, t as AttachmentTrigger_default } from "./attachment-DQMJNfj0.js";
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as DropField_default } from "./drop-field-DKpYQ3tO.js";
|
|
12
|
-
import { t as RollNumber_default } from "./RollNumber-Bo2tzfAp.js";
|
|
13
|
-
import { t as HoldToDelete_default } from "./hold-to-delete-cOPqQ9FJ.js";
|
|
14
|
-
import { t as AvatarStack_default } from "./avatar-stack-nQErr0qn.js";
|
|
13
|
+
import { t as AvatarStack_default } from "./avatar-stack-Bi4CJPuU.js";
|
|
15
14
|
import { n as Bubble_default, t as BubbleContent_default } from "./BubbleContent-B1a4e3vE.js";
|
|
16
15
|
import { n as BubbleGroup_default, t as BubbleReactions_default } from "./bubble-D3M2_InY.js";
|
|
17
16
|
import { a as Message_default, i as MessageAvatar_default, n as MessageFooter_default, r as MessageContent_default, t as MessageHeader_default } from "./MessageHeader-CJ9eBHSS.js";
|
|
18
17
|
import { t as MessageGroup_default } from "./message-BwivYIEl.js";
|
|
19
|
-
import { t as MessageParts_default } from "./MessageParts-
|
|
20
|
-
import { t as ChatMessage_default } from "./ChatMessage-
|
|
18
|
+
import { t as MessageParts_default } from "./MessageParts-BGSctG7Z.js";
|
|
19
|
+
import { t as ChatMessage_default } from "./ChatMessage-DzjHnxMT.js";
|
|
21
20
|
import "./parts/components/chat-message.js";
|
|
22
|
-
import { n as chatActivity, t as Chat_default } from "./Chat-
|
|
21
|
+
import { n as chatActivity, t as Chat_default } from "./Chat-DYQitDw8.js";
|
|
23
22
|
import { calculatePrependScrollTop, useMessageScroller } from "./parts/headless/message-scroller.js";
|
|
24
23
|
import { a as MessageScroller_default, i as MessageScrollerButton_default, n as MessageScrollerItem_default, r as MessageScrollerContent_default, t as MessageScrollerViewport_default } from "./MessageScrollerViewport-BaTlWLki.js";
|
|
25
|
-
import { t as ChatSession_default } from "./chat-session-
|
|
24
|
+
import { t as ChatSession_default } from "./chat-session-Bl-x4c9b.js";
|
|
26
25
|
import "./parts/components/chat.js";
|
|
27
26
|
import { a as FileDiff_default, i as FileView_default, n as PatchDiff_default, o as CodeView_default, r as MultiFileDiff_default, t as UnresolvedFile_default } from "./code-view-26RY6dX8.js";
|
|
28
|
-
import { t as CommentComposer } from "./comment-composer-
|
|
29
|
-
import { t as
|
|
27
|
+
import { t as CommentComposer } from "./comment-composer-BtYrIT5W.js";
|
|
28
|
+
import { t as HoldToDelete_default } from "./hold-to-delete-pyrlKzk0.js";
|
|
29
|
+
import { t as MotionList_default } from "./motion-list-DDVUyVYa.js";
|
|
30
30
|
import { a as PromptInputAttachments_default, i as PromptInputSubmit_default, n as PromptInputToolbar_default, o as PromptInputAttach_default, r as PromptInputTextarea_default, t as PromptInput_default } from "./prompt-input-CRXEJBAK.js";
|
|
31
31
|
import { commentLeaveMs, createCommentVisibility } from "./parts/headless/comment-visibility.js";
|
|
32
32
|
import { a as useCommentsContext, i as useComments, n as draftPositionKey, r as provideComments, t as defaultCommentCan } from "./comments-BaSrroRV.js";
|
|
33
33
|
import { n as useRelativeTime, t as provideRelativeNow } from "./relative-time-Dz2DR4eb.js";
|
|
34
34
|
import { t as RelativeTime_default } from "./relative-time-BnJfjeEm.js";
|
|
35
|
-
import { a as CommentFilters_default, i as CommentList_default, n as CommentToolbar_default, r as CommentPin_default, t as CommentLayer } from "./comment-layer-
|
|
36
|
-
import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "./comment-thread-
|
|
35
|
+
import { a as CommentFilters_default, i as CommentList_default, n as CommentToolbar_default, r as CommentPin_default, t as CommentLayer } from "./comment-layer-T8hN_7bN.js";
|
|
36
|
+
import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "./comment-thread-CAexk1r7.js";
|
|
37
37
|
import { ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus } from "./parts/headless/choices-input.js";
|
|
38
|
-
import { t as CommentSelectionBar } from "./comment-selection-bar-
|
|
39
|
-
import { t as CommentSend_default } from "./comments-BtD28xEn.js";
|
|
38
|
+
import { t as CommentSelectionBar } from "./comment-selection-bar-BMFTtI3V.js";
|
|
40
39
|
import { i as Marker_default, n as MarkerIcon_default, r as MarkerContent_default, t as MarkerSeparator_default } from "./marker-DNL6QR3L.js";
|
|
41
40
|
import { CommentPanel } from "./parts/components/comment-panel.js";
|
|
41
|
+
import "./parts/components/comments.js";
|
|
42
42
|
import { n as ConnectionStatusLabel_default, r as ConnectionStatusIndicator_default, t as ConnectionStatus_default } from "./connection-status-BVSH2ZVo.js";
|
|
43
43
|
import { i as DEVICE_FRAME_PRESETS, n as DeviceFrameToolbar_default, r as DEVICE_FRAME_BREAKPOINTS, t as DeviceFrame_default } from "./device-frame-DDWoyB-G.js";
|
|
44
|
-
import {
|
|
44
|
+
import { vRing } from "./parts/components/motion.js";
|
|
45
45
|
import { n as useFileTree, r as useFileTreeSelection } from "./file-tree-B4JKbp4r.js";
|
|
46
46
|
import { t as FileTree_default } from "./file-tree-DS5shGSL.js";
|
|
47
47
|
import { t as FilterSearch_default } from "./filter-search-COZsoRiR.js";
|
|
48
|
-
import { t as Progress_default } from "./progress-
|
|
48
|
+
import { t as Progress_default } from "./progress-D7CyDkLW.js";
|
|
49
49
|
import "./parts/components/message-parts.js";
|
|
50
50
|
import { a as parsePatchFiles, n as parseDiffFromFile, t as getSingularPatch } from "./getSingularPatch-C7LmmBrW.js";
|
|
51
51
|
import "./parts/components/patch-parsers.js";
|
|
52
52
|
import { fileToDataUrl, fileToUIPart, useAgentAttachments } from "./parts/composables/attachments.js";
|
|
53
53
|
import { n as StatusLabel_default, r as StatusIndicator_default, t as Status_default } from "./status-B2Yhrwv8.js";
|
|
54
|
-
import { n as SyncStatusLabel_default, r as SyncStatusIndicator_default, t as SyncStatus_default } from "./sync-status-
|
|
54
|
+
import { n as SyncStatusLabel_default, r as SyncStatusIndicator_default, t as SyncStatus_default } from "./sync-status-D27Qt7mk.js";
|
|
55
55
|
import { t as ToolList_default } from "./tool-list-DDaCqpR6.js";
|
|
56
56
|
import { a as TraceCollapsibleTrigger_default, c as Trace_default, i as TraceDescription_default, n as TraceLine_default, o as TraceCollapsibleContent_default, r as TraceIcon_default, s as TraceCollapsible_default, t as TraceTitle_default } from "./TraceTitle-Cp0y7RRD.js";
|
|
57
57
|
import { t as TraceRun_default } from "./trace-run-nh6FIsl6.js";
|
|
58
58
|
import "./parts/components/trace.js";
|
|
59
59
|
import { useHighlightedCode } from "./parts/composables/highlighted-code.js";
|
|
60
|
-
import { n as
|
|
61
|
-
import { n as uiSdkComponents } from "./components-CM5mZe0a.js";
|
|
60
|
+
import { i as useViteHubUIMotionEnabled, n as useViteHubUIIconComponent, r as useViteHubUIIcons, t as createViteHubUI } from "./config-7CiYbXk6.js";
|
|
62
61
|
// src/agent-prompt.ts
|
|
63
62
|
const agentPromptMaxLength = 320;
|
|
64
63
|
const agentPromptDocsBase = "https://vitehub.dev/docs/";
|
|
@@ -132,4 +131,4 @@ function agentPromptProblems(text) {
|
|
|
132
131
|
if (hasSecret(urls.reduce((rest, link) => rest.replace(link, ""), prompt))) problems.push("Remove the value that looks like a secret. Tell the agent where to read it.");
|
|
133
132
|
return problems;
|
|
134
133
|
}
|
|
135
|
-
export { AgentSession_default as AgentSession, AgentSessionDetailsRow_default as AgentSessionDetailsRow, AgentSessionDetailsSection_default as AgentSessionDetailsSection, AgentSessionTimeline_default as AgentSessionTimeline, AgentSessionTitle_default as AgentSessionTitle, AgentSessionWorkGroup_default as AgentSessionWorkGroup, Attachment_default as Attachment, AttachmentAction_default as AttachmentAction, AttachmentActions_default as AttachmentActions, AttachmentContent_default as AttachmentContent, AttachmentDescription_default as AttachmentDescription, AttachmentGroup_default as AttachmentGroup, AttachmentMedia_default as AttachmentMedia, AttachmentTitle_default as AttachmentTitle, AttachmentTrigger_default as AttachmentTrigger, AvatarStack_default as AvatarStack, Bubble_default as Bubble, BubbleContent_default as BubbleContent, BubbleGroup_default as BubbleGroup, BubbleReactions_default as BubbleReactions, Chat_default as Chat, ChatMessage_default as ChatMessage, ChatSession_default as ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus, CodeBlock_default as CodeBlock, CodeBlockActions_default as CodeBlockActions, CodeBlockContent_default as CodeBlockContent, CodeBlockCopyButton_default as CodeBlockCopyButton, CodeBlockFooter_default as CodeBlockFooter, CodeBlockHeader_default as CodeBlockHeader, CodeBlockLine_default as CodeBlockLine, CodeBlockTitle_default as CodeBlockTitle, CodeView_default as CodeView, CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar,
|
|
134
|
+
export { AgentSession_default as AgentSession, AgentSessionDetailsRow_default as AgentSessionDetailsRow, AgentSessionDetailsSection_default as AgentSessionDetailsSection, AgentSessionTimeline_default as AgentSessionTimeline, AgentSessionTitle_default as AgentSessionTitle, AgentSessionWorkGroup_default as AgentSessionWorkGroup, Attachment_default as Attachment, AttachmentAction_default as AttachmentAction, AttachmentActions_default as AttachmentActions, AttachmentContent_default as AttachmentContent, AttachmentDescription_default as AttachmentDescription, AttachmentGroup_default as AttachmentGroup, AttachmentMedia_default as AttachmentMedia, AttachmentTitle_default as AttachmentTitle, AttachmentTrigger_default as AttachmentTrigger, AvatarStack_default as AvatarStack, Bubble_default as Bubble, BubbleContent_default as BubbleContent, BubbleGroup_default as BubbleGroup, BubbleReactions_default as BubbleReactions, Chat_default as Chat, ChatMessage_default as ChatMessage, ChatSession_default as ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus, CodeBlock_default as CodeBlock, CodeBlockActions_default as CodeBlockActions, CodeBlockContent_default as CodeBlockContent, CodeBlockCopyButton_default as CodeBlockCopyButton, CodeBlockFooter_default as CodeBlockFooter, CodeBlockHeader_default as CodeBlockHeader, CodeBlockLine_default as CodeBlockLine, CodeBlockTitle_default as CodeBlockTitle, CodeView_default as CodeView, CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar, CommentThread, CommentToolbar_default as CommentToolbar, ConnectionStatus_default as ConnectionStatus, ConnectionStatusIndicator_default as ConnectionStatusIndicator, ConnectionStatusLabel_default as ConnectionStatusLabel, CopyButton_default as CopyButton, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame_default as DeviceFrame, DeviceFrameToolbar_default as DeviceFrameToolbar, DropField_default as DropField, FileDiff_default as FileDiff, FileTree_default as FileTree, FileView_default as FileView, FilterSearch_default as FilterSearch, HoldToDelete_default as HoldToDelete, Markdown_default as Markdown, Marker_default as Marker, MarkerContent_default as MarkerContent, MarkerIcon_default as MarkerIcon, MarkerSeparator_default as MarkerSeparator, Message_default as Message, MessageAvatar_default as MessageAvatar, MessageContent_default as MessageContent, MessageFooter_default as MessageFooter, MessageGroup_default as MessageGroup, MessageHeader_default as MessageHeader, MessageParts_default as MessageParts, MessageScroller_default as MessageScroller, MessageScrollerButton_default as MessageScrollerButton, MessageScrollerContent_default as MessageScrollerContent, MessageScrollerItem_default as MessageScrollerItem, MessageScrollerViewport_default as MessageScrollerViewport, MorphText_default as MorphText, MotionList_default as MotionList, MultiFileDiff_default as MultiFileDiff, PatchDiff_default as PatchDiff, Progress_default as Progress, PromptInput_default as PromptInput, PromptInputAttach_default as PromptInputAttach, PromptInputAttachments_default as PromptInputAttachments, PromptInputSubmit_default as PromptInputSubmit, PromptInputTextarea_default as PromptInputTextarea, PromptInputToolbar_default as PromptInputToolbar, RelativeTime_default as RelativeTime, RollNumber_default as RollNumber, Status_default as Status, StatusIndicator_default as StatusIndicator, StatusLabel_default as StatusLabel, SwapIcon_default as SwapIcon, SyncStatus_default as SyncStatus, SyncStatusIndicator_default as SyncStatusIndicator, SyncStatusLabel_default as SyncStatusLabel, ToolList_default as ToolList, Trace_default as Trace, TraceCollapsible_default as TraceCollapsible, TraceCollapsibleContent_default as TraceCollapsibleContent, TraceCollapsibleTrigger_default as TraceCollapsibleTrigger, TraceDescription_default as TraceDescription, TraceIcon_default as TraceIcon, TraceLine_default as TraceLine, TraceRun_default as TraceRun, TraceTitle_default as TraceTitle, UnresolvedFile_default as UnresolvedFile, agentPrompt, agentPromptDocsBase, agentPromptMaxLength, agentPromptProblems, agentSessionProviderLabel, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useRelativeTime, useViteHubUIIconComponent, useViteHubUIIcons, useViteHubUIMotionEnabled, vRing };
|
|
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./rolldown-runtime-CahUhzF3.js";
|
|
|
2
2
|
import { S as theme$29, T as isElement$35, _ as rawText$4, a as vue_exports$34, b as TABLE_WIDTHS, d as src_default$41, f as src_default$39, h as src_default$38, i as components$36, l as describeTime, m as src_default$40, n as start$13, o as css$31, p as css$32, s as start$12, u as addStyles$23, w as childrenOf$31, x as typesetCss, y as FOLD_WIDTHS } from "./client-BG-oCUtv-5i4sRwXP.js";
|
|
3
3
|
import { n as SERIES, t as INK } from "./colors-BghReA9C-A4M9YE0s.js";
|
|
4
4
|
import { t as uiErrorDiagnostics } from "./error-diagnostics-BlgA9rI2.js";
|
|
5
|
-
import {
|
|
5
|
+
import { i as useViteHubUIMotionEnabled } from "./config-7CiYbXk6.js";
|
|
6
6
|
import { defineAsyncComponent, defineComponent, h, inject, onBeforeUnmount, onMounted, provide, shallowRef, useId, watch, watchEffect } from "vue";
|
|
7
7
|
import { Markdown, MarkdownDocument } from "@comark/vue";
|
|
8
8
|
import { defineComarkPlugin } from "comark";
|
|
@@ -4204,7 +4204,7 @@ function startMermaid() {
|
|
|
4204
4204
|
return start$11();
|
|
4205
4205
|
}
|
|
4206
4206
|
// ../../node_modules/.pnpm/comark-ui@0.14.3_@comark+html@0.9.2_katex@0.19.1_shiki@4.6.0__@tiptap+core@3.35.0_@tipt_12c0f6863a75018f6c283382c6d06ad0/node_modules/comark-ui/dist/vue-mermaid-BKeezR-B.mjs
|
|
4207
|
-
const Pele = defineAsyncComponent(() => import("./vue-
|
|
4207
|
+
const Pele = defineAsyncComponent(() => import("./vue-D70TZJhJ.js").then(({ createPeleComponent }) => createPeleComponent({
|
|
4208
4208
|
onRender: addMermaidStyles,
|
|
4209
4209
|
onError: addMermaidStyles
|
|
4210
4210
|
})));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as mapEditorItems, _ as EditorItem, a as blobUpload, b as createEditorHandlers, c as
|
|
1
|
+
import { S as mapEditorItems, _ as EditorItem, a as blobUpload, b as createEditorHandlers, c as EditorDragHandleNode, f as EditorToolbarItem, g as EditorHandlers, h as EditorHandler, m as EditorToolbarTooltip, n as MarkdownEditorUpload, p as EditorToolbarMenuEntry, r as UseMarkdownEditorOptions, t as MarkdownEditorError, u as EditorSuggestionMenuItem, v as EditorMenuEntry, x as editorHandlersKey, y as MappedEditorMenuEntry } from "./editor-DZxaa6vs.js";
|
|
2
2
|
import { PropType } from "vue";
|
|
3
3
|
import { AnyExtension } from "@tiptap/core";
|
|
4
4
|
import { Editor as Editor$1 } from "@tiptap/vue-3";
|
package/dist/markdown-editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as useMarkdownEditor, c as mapEditorItems, i as blobUpload, n as
|
|
1
|
+
import { a as useMarkdownEditor, c as mapEditorItems, i as blobUpload, n as EditorSuggestionMenu, o as createEditorHandlers, r as EditorToolbar, s as editorHandlersKey, t as EditorDragHandle } from "./editor-CE_q2Yzb.js";
|
|
2
2
|
import { x as typesetCss } from "./client-BG-oCUtv-5i4sRwXP.js";
|
|
3
3
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, mergeProps, openBlock, ref, renderSlot, resolveDynamicComponent, toRef, unref, useModel, watch } from "vue";
|
|
4
4
|
import { EditorContent } from "@tiptap/vue-3";
|
|
@@ -52,16 +52,16 @@ var MarkdownEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
"data-comark-typeset": "",
|
|
53
53
|
innerHTML: unref(typesetCss)
|
|
54
54
|
}, null, 8, ["innerHTML"])), createVNode(unref(EditorContent), { editor: unref(editor) }, null, 8, ["editor"])]),
|
|
55
|
-
createVNode(unref(
|
|
55
|
+
createVNode(unref(EditorToolbar), {
|
|
56
56
|
editor: unref(editor),
|
|
57
57
|
items: unref(toolbarItems),
|
|
58
58
|
layout: "bubble"
|
|
59
59
|
}, null, 8, ["editor", "items"]),
|
|
60
|
-
createVNode(unref(
|
|
60
|
+
createVNode(unref(EditorSuggestionMenu), {
|
|
61
61
|
editor: unref(editor),
|
|
62
62
|
items: unref(menuItems)
|
|
63
63
|
}, null, 8, ["editor", "items"]),
|
|
64
|
-
createVNode(unref(
|
|
64
|
+
createVNode(unref(EditorDragHandle), { editor: unref(editor) }, null, 8, ["editor"]),
|
|
65
65
|
renderSlot(_ctx.$slots, "default", { editor: unref(editor) })
|
|
66
66
|
], 16)) : createCommentVNode("v-if", true);
|
|
67
67
|
};
|
package/dist/markdown.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as MarkdownRenderer } from "./markdown-
|
|
1
|
+
export { t as MarkdownRenderer } from "./markdown-CqVyNG-h.js";
|
package/dist/motion/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { i as createHoldToDelete, n as HoldToDeleteOptions, r as HoldToDeleteState, t as HoldToDelete } from "../hold-to-delete-CQc1JaG_.js";
|
|
2
|
-
import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Y as installMotion, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "../motion-core-
|
|
2
|
+
import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Y as installMotion, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "../motion-core-BEwxN7Il.js";
|
|
3
3
|
import { a as MotionEffect, c as MotionStateAttribute, d as defineMotionEffect, f as listMotionEffects, i as MotionContentChange, l as MotionStateChange, m as writeMotionStyle, n as press, o as MotionPress, p as motionStateAttributes, r as setMotionPressMode, s as MotionRoot, t as MotionPressMode, u as MotionStyleProperty } from "../press-BuEC-XvZ.js";
|
|
4
4
|
export { type DropField, type DropFieldOptions, type HoldToDelete, type HoldToDeleteOptions, type HoldToDeleteState, type IconEnter, type IconExit, type InstallMotionOptions, type MotionContentChange, type MotionEffect, type MotionList, type MotionListOptions, type MotionListOrigin, type MotionListPlay, type MotionPress, type MotionPressMode, type MotionRoot, type MotionStateAttribute, type MotionStateChange, type MotionStyleProperty, type Progress, type ProgressOptions, type ProgressPhase, type Spring, type SpringFrame, type SpringPreset, type SpringTarget, type SwapIconOptions, type Travel, type TravelBox, type TravelOptions, appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };
|
package/dist/motion/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { f as
|
|
4
|
-
import { t as ring } from "../ring-
|
|
1
|
+
import { f as writeMotionStyle, i as defineMotionEffect, l as motionStateAttributes, s as listMotionEffects, t as createHoldToDelete } from "../hold-to-delete-sscThmPW.js";
|
|
2
|
+
import { c as createSpring, d as setMotionSlowFactor, f as springs, h as prefersReducedMotion, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, p as forceReducedMotion } from "../tween-DGAmrS3r.js";
|
|
3
|
+
import { C as disclosure, E as divider, S as jelly, T as installMotion, _ as leave, a as shake, b as morphText, c as appear, d as switchKnob, f as slider, g as panel, h as setMotionPressMode, i as travel, l as tooltip, m as press, n as createProgress, o as rollNumber, p as select, r as createMotionList, s as motionEffects, t as createDropField, u as toast, v as buttonIcon, w as check, x as swapIcon, y as label } from "../motion-core-pkL0M4Y1.js";
|
|
4
|
+
import { t as ring } from "../ring-C5lNUEAG.js";
|
|
5
5
|
export { appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as installMotion$1, s as motionEffects } from "./motion-core-
|
|
1
|
+
import { T as installMotion$1, s as motionEffects } from "./motion-core-pkL0M4Y1.js";
|
|
2
2
|
// src/motion/install.ts
|
|
3
3
|
/**
|
|
4
4
|
* Starts the motion layer with every built-in effect: press, toggle, select, drag, and appear motion for every element
|
|
@@ -115,12 +115,14 @@ interface SpringPreset {
|
|
|
115
115
|
}
|
|
116
116
|
/** The named springs of docs/design/motion.md. Use them, not numbers of your own. */
|
|
117
117
|
declare const springs: {
|
|
118
|
-
/** Moves and resizes: an indicator that travels, a width that follows its label. */
|
|
119
118
|
readonly snappy: {
|
|
120
119
|
readonly stiffness: 520;
|
|
121
120
|
readonly damping: 34;
|
|
122
121
|
};
|
|
123
|
-
|
|
122
|
+
readonly glide: {
|
|
123
|
+
readonly stiffness: 800;
|
|
124
|
+
readonly damping: 57;
|
|
125
|
+
};
|
|
124
126
|
readonly soft: {
|
|
125
127
|
readonly stiffness: 380;
|
|
126
128
|
readonly damping: 20;
|