@tangle-network/sandbox-ui 0.132.2 → 0.133.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/dist/{chat-Cc6pWroz.js → chat-DRkKyE8E.js} +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +2 -2
- package/dist/{dashboard-De9PJUjT.js → dashboard-ByNeu9gf.js} +41 -12
- package/dist/dashboard.d.ts +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/{embedded-app-view-CMRPEvon.js → embedded-app-view-CYb9hevq.js} +2 -2
- package/dist/globals.css +99 -17
- package/dist/{index-DeJpBMFX.d.ts → index-04xUKbln.d.ts} +2 -2
- package/dist/{index-DNClXEEe.d.ts → index-CpsuWqrT.d.ts} +1 -1
- package/dist/{index-D7zJLs_I.d.ts → index-Dm-tABpL.d.ts} +30 -6
- package/dist/{index-DTRXdurE.d.ts → index-DzxpFptj.d.ts} +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js +2 -2
- package/dist/pages.js +11 -12
- package/dist/run.d.ts +2 -2
- package/dist/run.js +2 -2
- package/dist/shell-header-CTh3oV_e.js +41 -0
- package/dist/styles.css +99 -17
- package/dist/tokens.css +11 -0
- package/dist/workbench/embedded-app.js +1 -1
- package/dist/{workbench-Bi-EUtkt.js → workbench-CPS8qGlD.js} +2 -2
- package/dist/workbench.d.ts +1 -1
- package/dist/workbench.js +2 -2
- package/dist/{workspace-DLlilck6.js → workspace-D3ABWOa9.js} +15 -13
- package/dist/workspace.d.ts +2 -2
- package/dist/workspace.js +3 -3
- package/package.json +5 -5
- package/dist/workspace-pane-header-Bg1cCcHX.js +0 -15
|
@@ -4,7 +4,7 @@ import * as React$1 from "react";
|
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
5
|
import { Bot, Brain, Check, ChevronDown, Lock, Pencil, Plus, Send, Sparkles, Square, Trash2, X } from "lucide-react";
|
|
6
6
|
import { focusField, focusRing } from "@tangle-network/ui/utils";
|
|
7
|
-
import { AgentTimeline, ChatContainer as ChatContainer$1, ChatMessage, ChatMessage as ChatMessage$1, MessageAuthor, MessageList, ThinkingIndicator, UserMessage, isViewerMessage } from "@tangle-network/ui/chat";
|
|
7
|
+
import { AgentTimeline, ChatContainer as ChatContainer$1, ChatMessage, ChatMessage as ChatMessage$1, MessageAuthor, MessageList, TRANSCRIPT_TEXT, ThinkingIndicator, UserMessage, isViewerMessage } from "@tangle-network/ui/chat";
|
|
8
8
|
import { modelProvider, reasoningLadder, snapHarnessToModel } from "@tangle-network/agent-interface";
|
|
9
9
|
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
10
10
|
//#region src/chat/reasoning-level-picker.tsx
|
|
@@ -802,4 +802,4 @@ function ArtifactAgentDock({ scope, open, onOpenChange, transport, defaultPrompt
|
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
//#endregion
|
|
805
|
-
export { MessageList as a,
|
|
805
|
+
export { MessageList as a, UserMessage as c, modelProvider as d, snapHarnessToModel as f, ReasoningLevelPicker as g, HARNESS_REASONING_OPTIONS as h, MessageAuthor as i, isViewerMessage as l, DEFAULT_REASONING_LEVEL_OPTIONS as m, ChatContainer$1 as n, TRANSCRIPT_TEXT as o, AgentProfilePicker as p, ChatMessage$1 as r, ThinkingIndicator as s, AgentTimeline as t, ArtifactAgentDock as u };
|
package/dist/chat.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, type ArtifactScope, type ChatAuthor, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, DEFAULT_REASONING_LEVEL_OPTIONS, HARNESS_REASONING_OPTIONS, MessageAuthor, type MessageAuthorProps, MessageList, type MessageListProps, type MessageRole, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, ThinkingIndicator, type ThinkingIndicatorProps, UserMessage, type UserMessageProps, isViewerMessage, modelProvider, snapHarnessToModel };
|
|
1
|
+
import { A as ArtifactDockMessage, B as AgentProfilePickerProps, C as ThinkingIndicatorProps, D as ArtifactAgentDock, E as isViewerMessage, F as snapHarnessToModel, G as ReasoningLevelPicker, H as HARNESS_REASONING_OPTIONS, I as AgentProfileCapability, K as ReasoningLevelPickerProps, L as AgentProfileDraft, M as ArtifactKind, N as ArtifactScope, O as ArtifactAgentDockProps, P as modelProvider, R as AgentProfileOption, S as ThinkingIndicator, T as UserMessageProps, U as ReasoningLevel, V as DEFAULT_REASONING_LEVEL_OPTIONS, W as ReasoningLevelOption, _ as MessageAuthorProps, a as AgentTimelineMessageItem, b as MessageRole, c as AgentTimelineTone, d as ChatAuthor, f as ChatContainer, g as MessageAuthor, h as ChatMessageProps, i as AgentTimelineItem, j as ArtifactDockStreamEvent, k as ArtifactAgentDockTransport, l as AgentTimelineToolGroupItem, m as ChatMessage, n as AgentTimelineArtifactItem, o as AgentTimelineProps, p as ChatContainerProps, r as AgentTimelineCustomItem, s as AgentTimelineStatusItem, t as AgentTimeline, u as AgentTimelineToolItem, v as MessageList, w as UserMessage, x as TRANSCRIPT_TEXT, y as MessageListProps, z as AgentProfilePicker } from "./index-04xUKbln.js";
|
|
2
|
+
export { type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, type ArtifactScope, type ChatAuthor, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, DEFAULT_REASONING_LEVEL_OPTIONS, HARNESS_REASONING_OPTIONS, MessageAuthor, type MessageAuthorProps, MessageList, type MessageListProps, type MessageRole, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, TRANSCRIPT_TEXT, ThinkingIndicator, type ThinkingIndicatorProps, UserMessage, type UserMessageProps, isViewerMessage, modelProvider, snapHarnessToModel };
|
package/dist/chat.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MessageList, c as
|
|
2
|
-
export { AgentProfilePicker, AgentTimeline, ArtifactAgentDock, ChatContainer, ChatMessage, DEFAULT_REASONING_LEVEL_OPTIONS, HARNESS_REASONING_OPTIONS, MessageAuthor, MessageList, ReasoningLevelPicker, ThinkingIndicator, UserMessage, isViewerMessage, modelProvider, snapHarnessToModel };
|
|
1
|
+
import { a as MessageList, c as UserMessage, d as modelProvider, f as snapHarnessToModel, g as ReasoningLevelPicker, h as HARNESS_REASONING_OPTIONS, i as MessageAuthor, l as isViewerMessage, m as DEFAULT_REASONING_LEVEL_OPTIONS, n as ChatContainer, o as TRANSCRIPT_TEXT, p as AgentProfilePicker, r as ChatMessage, s as ThinkingIndicator, t as AgentTimeline, u as ArtifactAgentDock } from "./chat-DRkKyE8E.js";
|
|
2
|
+
export { AgentProfilePicker, AgentTimeline, ArtifactAgentDock, ChatContainer, ChatMessage, DEFAULT_REASONING_LEVEL_OPTIONS, HARNESS_REASONING_OPTIONS, MessageAuthor, MessageList, ReasoningLevelPicker, TRANSCRIPT_TEXT, ThinkingIndicator, UserMessage, isViewerMessage, modelProvider, snapHarnessToModel };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { b as Button$1, sr as Logo } from "./primitives-KFAPbGBD.js";
|
|
2
2
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
3
|
+
import { r as ShellHeader } from "./shell-header-CTh3oV_e.js";
|
|
3
4
|
import { n as MOTION_SURFACE, r as MOTION_TRAVEL, t as MOTION_CONTROL } from "./motion-DkyBRJb9.js";
|
|
4
5
|
import { i as moonshot_default } from "./model-brand-hMyDTUqB.js";
|
|
5
6
|
import "./page-layout-2IRtfx51.js";
|
|
@@ -322,7 +323,8 @@ function PanelToggleButton({ collapsed, onToggle, className }) {
|
|
|
322
323
|
* box) so the collapse affordance is discoverable without spending rail width.
|
|
323
324
|
* With no `brand` but `children`, the collapsed rail falls back to `children` —
|
|
324
325
|
* the consumer's header content is then the only mark it has.
|
|
325
|
-
* Renders
|
|
326
|
+
* Renders a bordered `ShellHeader` row, so its divider is the line every main-pane
|
|
327
|
+
* header meets — drop it in at the top of {@link SidebarRail}.
|
|
326
328
|
*/
|
|
327
329
|
/**
|
|
328
330
|
* React renders nothing for `null`, `undefined`, booleans, empty (or
|
|
@@ -352,8 +354,9 @@ function RailHeader({ brand, brandHref, children, collapsed, onToggle, collapsib
|
|
|
352
354
|
className: "flex items-center justify-center p-1",
|
|
353
355
|
children: brand
|
|
354
356
|
});
|
|
355
|
-
return /* @__PURE__ */ jsx(
|
|
356
|
-
|
|
357
|
+
return /* @__PURE__ */ jsx(ShellHeader, {
|
|
358
|
+
divider: false,
|
|
359
|
+
className: cn$1("border-b border-[var(--md3-outline-variant)] bg-transparent", collapsed ? "justify-center px-2" : "gap-2 px-3", className),
|
|
357
360
|
children: collapsed ? !hasBrand && hasChildren ? /* @__PURE__ */ jsxs("div", {
|
|
358
361
|
className: "relative flex min-w-0 items-center justify-center",
|
|
359
362
|
children: [children, collapsible && /* @__PURE__ */ jsx(PanelToggleButton, {
|
|
@@ -850,8 +853,9 @@ function SidebarPanel({ children, className }) {
|
|
|
850
853
|
});
|
|
851
854
|
}
|
|
852
855
|
function SidebarPanelHeader({ children, title, className }) {
|
|
853
|
-
return /* @__PURE__ */ jsx(
|
|
854
|
-
|
|
856
|
+
return /* @__PURE__ */ jsx(ShellHeader, {
|
|
857
|
+
divider: false,
|
|
858
|
+
className: cn$1("border-b border-[var(--md3-outline-variant)] bg-transparent px-4", className),
|
|
855
859
|
children: children ?? /* @__PURE__ */ jsx("h2", {
|
|
856
860
|
className: "text-sm font-semibold text-foreground",
|
|
857
861
|
children: title
|
|
@@ -2761,6 +2765,26 @@ const HIDE_BELOW_CLASS = {
|
|
|
2761
2765
|
md: "max-md:hidden",
|
|
2762
2766
|
lg: "max-lg:hidden"
|
|
2763
2767
|
};
|
|
2768
|
+
/** The width at which each `hideBelow` breakpoint shows the rail again. */
|
|
2769
|
+
const DESKTOP_QUERY = {
|
|
2770
|
+
md: "(min-width: 48rem)",
|
|
2771
|
+
lg: "(min-width: 64rem)"
|
|
2772
|
+
};
|
|
2773
|
+
/**
|
|
2774
|
+
* Whether the rail is showing. A host without matchMedia (jsdom, an old
|
|
2775
|
+
* embedded webview) and the server both count as desktop.
|
|
2776
|
+
*/
|
|
2777
|
+
function useRailVisible(hideBelow) {
|
|
2778
|
+
const query = hideBelow ? DESKTOP_QUERY[hideBelow] : void 0;
|
|
2779
|
+
const subscribe = React$1.useCallback((onChange) => {
|
|
2780
|
+
if (!query || typeof window.matchMedia !== "function") return () => {};
|
|
2781
|
+
const media = window.matchMedia(query);
|
|
2782
|
+
media.addEventListener("change", onChange);
|
|
2783
|
+
return () => media.removeEventListener("change", onChange);
|
|
2784
|
+
}, [query]);
|
|
2785
|
+
const read = () => !query || typeof window.matchMedia !== "function" || window.matchMedia(query).matches;
|
|
2786
|
+
return React$1.useSyncExternalStore(subscribe, read, () => true);
|
|
2787
|
+
}
|
|
2764
2788
|
/** Inverse of {@link HIDE_BELOW_CLASS} — the mobile surfaces that stand in for
|
|
2765
2789
|
* the hidden rail show exactly where the rail does not. */
|
|
2766
2790
|
const SHOW_BELOW_CLASS = {
|
|
@@ -2818,7 +2842,7 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
2818
2842
|
return;
|
|
2819
2843
|
}
|
|
2820
2844
|
if (typeof window.matchMedia !== "function") return;
|
|
2821
|
-
const desktop = window.matchMedia(hideBelow
|
|
2845
|
+
const desktop = window.matchMedia(DESKTOP_QUERY[hideBelow]);
|
|
2822
2846
|
const closeOnDesktop = () => {
|
|
2823
2847
|
if (desktop.matches) setMobileNavOpen(false);
|
|
2824
2848
|
};
|
|
@@ -2826,6 +2850,8 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
2826
2850
|
desktop.addEventListener("change", closeOnDesktop);
|
|
2827
2851
|
return () => desktop.removeEventListener("change", closeOnDesktop);
|
|
2828
2852
|
}, [hideBelow, mobileNavOpen]);
|
|
2853
|
+
const railVisible = useRailVisible(hideBelow);
|
|
2854
|
+
const headerSlot = mobileNavOpen ? "drawer" : railVisible ? "rail" : "bar";
|
|
2829
2855
|
/**
|
|
2830
2856
|
* One nav list, rendered twice — once in the desktop rail, once in the mobile
|
|
2831
2857
|
* drawer. Sharing the renderer is the point: a product adds a destination to
|
|
@@ -2933,7 +2959,7 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
2933
2959
|
onToggle: toggleRail,
|
|
2934
2960
|
collapsible: railLabels,
|
|
2935
2961
|
LinkComponent,
|
|
2936
|
-
children: railHeaderContent
|
|
2962
|
+
children: headerSlot === "rail" ? railHeaderContent : void 0
|
|
2937
2963
|
}),
|
|
2938
2964
|
/* @__PURE__ */ jsx(SidebarRailNav, {
|
|
2939
2965
|
className: cn$1(showLabels ? "px-2" : void 0, expandOnEmptyClick && "cursor-pointer"),
|
|
@@ -2962,8 +2988,10 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
2962
2988
|
}),
|
|
2963
2989
|
/* @__PURE__ */ jsxs(SidebarContent, {
|
|
2964
2990
|
className: contentClassName,
|
|
2965
|
-
children: [hideBelow && /* @__PURE__ */ jsxs(
|
|
2966
|
-
|
|
2991
|
+
children: [hideBelow && /* @__PURE__ */ jsxs(ShellHeader, {
|
|
2992
|
+
as: "header",
|
|
2993
|
+
divider: false,
|
|
2994
|
+
className: cn$1("gap-1 border-b border-[var(--md3-outline-variant)] bg-surface px-2", SHOW_BELOW_CLASS[hideBelow]),
|
|
2967
2995
|
children: [
|
|
2968
2996
|
/* @__PURE__ */ jsx(Dialog$1.Trigger, {
|
|
2969
2997
|
asChild: true,
|
|
@@ -2979,7 +3007,7 @@ function SidebarLayoutInner({ children, navItems, activeId, panel, logo, logoHre
|
|
|
2979
3007
|
}),
|
|
2980
3008
|
/* @__PURE__ */ jsx("div", {
|
|
2981
3009
|
className: "flex min-w-0 flex-1 items-center",
|
|
2982
|
-
children: railHeaderContent ?? (logo !== void 0 ? /* @__PURE__ */ jsx(Link, {
|
|
3010
|
+
children: (headerSlot === "bar" ? railHeaderContent : void 0) ?? (logo !== void 0 ? /* @__PURE__ */ jsx(Link, {
|
|
2983
3011
|
href: logoHref,
|
|
2984
3012
|
to: logoHref,
|
|
2985
3013
|
className: "flex min-w-0 items-center",
|
|
@@ -3045,8 +3073,9 @@ function MobileNavDrawer({ breakpoint, header, footer, panel, children }) {
|
|
|
3045
3073
|
className: "sr-only",
|
|
3046
3074
|
children: "Navigation"
|
|
3047
3075
|
}),
|
|
3048
|
-
/* @__PURE__ */ jsxs(
|
|
3049
|
-
|
|
3076
|
+
/* @__PURE__ */ jsxs(ShellHeader, {
|
|
3077
|
+
divider: false,
|
|
3078
|
+
className: "gap-1 border-b border-[var(--md3-outline-variant)] bg-transparent px-2",
|
|
3050
3079
|
children: [/* @__PURE__ */ jsx("div", {
|
|
3051
3080
|
className: "flex min-w-0 flex-1 items-center",
|
|
3052
3081
|
children: header
|
package/dist/dashboard.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as SandboxTable, $t as Sidebar, A as MetricChartPoint, At as SIDEBAR_TOTAL_WIDTH, B as ProductVariant, Bt as RailButton, C as UsageSummary, Ct as OutOfCreditsModal, D as SystemLogsViewerProps, Dt as SIDEBAR_PANEL_WIDTH, E as SystemLogsViewer, Et as SIDEBAR_MOBILE_WIDTH, F as SidebarLayoutProps, Ft as RailTooltipProps, G as HARNESS_OPTIONS, Gt as RailFlyout, H as HarnessBrand, Ht as RailExpandable, I as DashboardLayout, It as McpServer, J as HarnessType, Jt as RailHeaderProps, K as HarnessPicker, Kt as RailFlyoutProps, L as DashboardLayoutProps, Lt as AppearanceController, M as SidebarLayout, Mt as SidebarProviderProps, N as SidebarLayoutFlyoutItem, Nt as useSidebar, O as MetricAreaChart, Ot as SIDEBAR_RAIL_LABELED_WIDTH, P as SidebarLayoutNavItem, Pt as RailTooltip, Q as BackendSelectorProps, Qt as RailSeparatorProps, R as DashboardUser, Rt as ProfileAvatar, S as GitStatusData, St as InsufficientBalance, T as UsageSummaryProps, Tt as parseInsufficientBalance, U as HarnessLogo, Ut as RailExpandableProps, V as HARNESS_BRAND, Vt as RailButtonProps, W as HarnessLogoProps, Wt as RailExpandableSubItem, X as Backend, Xt as RailModeButtonProps, Y as chatCapableHarnesses, Yt as RailModeButton, Z as BackendSelector, Zt as RailSeparator, _ as PortsList, _t as ResourceSnapshotItem, a as PromoBanner, an as SidebarPanelHeader, at as NewSandboxCard, b as GitPanel, bt as ResourceMeterProps, c as SnapshotList, cn as SidebarProps, ct as SandboxCardData, d as ProcessList, dn as SidebarRailFooterProps, dt as TeamRole, en as SidebarContent, et as SandboxTableProps, f as ProcessListProps, fn as SidebarRailNav, ft as canAdminSandbox, g as ExposedPort, gn as ThemeMode, gt as ResourceSnapshot, h as TemplateCardProps, hn as SidebarUser, ht as ActivityItem, i as SandboxPageShellProps, in as SidebarPanelContentProps, it as sandboxStatus, j as MetricChartTone, jt as SidebarProvider, k as MetricAreaChartProps, kt as SIDEBAR_RAIL_WIDTH, l as SnapshotListProps, ln as SidebarRail, lt as SandboxCardProps, m as TemplateCardData, mn as SidebarRailProps, mt as ActivityFeedProps, n as DashboardPageHeaderProps, nn as SidebarPanel, nt as SandboxStatusPill, o as PromoBannerProps, on as SidebarPanelHeaderProps, ot as NewSandboxCardProps, p as TemplateCard, pn as SidebarRailNavProps, pt as ActivityFeed, q as HarnessPickerProps, qt as RailHeader, r as SandboxPageShell, rn as SidebarPanelContent, rt as SandboxStatusPillProps, s as SnapshotInfo, sn as SidebarPanelProps, st as SandboxCard, t as DashboardPageHeader, tn as SidebarContentProps, tt as SANDBOX_STATUS, u as ProcessInfo, un as SidebarRailFooter, ut as SandboxStatus, v as PortsListProps, vt as ResourceSnapshotProps, w as UsageSummaryData, wt as OutOfCreditsModalProps, x as GitPanelProps, xt as INSUFFICIENT_BALANCE_CODE, y as GitCommitData, yt as ResourceMeter, z as NavItem, zt as ProfileAvatarProps } from "./index-
|
|
1
|
+
import { $ as SandboxTable, $t as Sidebar, A as MetricChartPoint, At as SIDEBAR_TOTAL_WIDTH, B as ProductVariant, Bt as RailButton, C as UsageSummary, Ct as OutOfCreditsModal, D as SystemLogsViewerProps, Dt as SIDEBAR_PANEL_WIDTH, E as SystemLogsViewer, Et as SIDEBAR_MOBILE_WIDTH, F as SidebarLayoutProps, Ft as RailTooltipProps, G as HARNESS_OPTIONS, Gt as RailFlyout, H as HarnessBrand, Ht as RailExpandable, I as DashboardLayout, It as McpServer, J as HarnessType, Jt as RailHeaderProps, K as HarnessPicker, Kt as RailFlyoutProps, L as DashboardLayoutProps, Lt as AppearanceController, M as SidebarLayout, Mt as SidebarProviderProps, N as SidebarLayoutFlyoutItem, Nt as useSidebar, O as MetricAreaChart, Ot as SIDEBAR_RAIL_LABELED_WIDTH, P as SidebarLayoutNavItem, Pt as RailTooltip, Q as BackendSelectorProps, Qt as RailSeparatorProps, R as DashboardUser, Rt as ProfileAvatar, S as GitStatusData, St as InsufficientBalance, T as UsageSummaryProps, Tt as parseInsufficientBalance, U as HarnessLogo, Ut as RailExpandableProps, V as HARNESS_BRAND, Vt as RailButtonProps, W as HarnessLogoProps, Wt as RailExpandableSubItem, X as Backend, Xt as RailModeButtonProps, Y as chatCapableHarnesses, Yt as RailModeButton, Z as BackendSelector, Zt as RailSeparator, _ as PortsList, _t as ResourceSnapshotItem, a as PromoBanner, an as SidebarPanelHeader, at as NewSandboxCard, b as GitPanel, bt as ResourceMeterProps, c as SnapshotList, cn as SidebarProps, ct as SandboxCardData, d as ProcessList, dn as SidebarRailFooterProps, dt as TeamRole, en as SidebarContent, et as SandboxTableProps, f as ProcessListProps, fn as SidebarRailNav, ft as canAdminSandbox, g as ExposedPort, gn as ThemeMode, gt as ResourceSnapshot, h as TemplateCardProps, hn as SidebarUser, ht as ActivityItem, i as SandboxPageShellProps, in as SidebarPanelContentProps, it as sandboxStatus, j as MetricChartTone, jt as SidebarProvider, k as MetricAreaChartProps, kt as SIDEBAR_RAIL_WIDTH, l as SnapshotListProps, ln as SidebarRail, lt as SandboxCardProps, m as TemplateCardData, mn as SidebarRailProps, mt as ActivityFeedProps, n as DashboardPageHeaderProps, nn as SidebarPanel, nt as SandboxStatusPill, o as PromoBannerProps, on as SidebarPanelHeaderProps, ot as NewSandboxCardProps, p as TemplateCard, pn as SidebarRailNavProps, pt as ActivityFeed, q as HarnessPickerProps, qt as RailHeader, r as SandboxPageShell, rn as SidebarPanelContent, rt as SandboxStatusPillProps, s as SnapshotInfo, sn as SidebarPanelProps, st as SandboxCard, t as DashboardPageHeader, tn as SidebarContentProps, tt as SANDBOX_STATUS, u as ProcessInfo, un as SidebarRailFooter, ut as SandboxStatus, v as PortsListProps, vt as ResourceSnapshotProps, w as UsageSummaryData, wt as OutOfCreditsModalProps, x as GitPanelProps, xt as INSUFFICIENT_BALANCE_CODE, y as GitCommitData, yt as ResourceMeter, z as NavItem, zt as ProfileAvatarProps } from "./index-DzxpFptj.js";
|
|
2
2
|
import { a as modelBrandFor, i as canonicalModelId, n as ModelBrandStack, r as ModelInfo, t as ModelBrandIdentity } from "./model-brand-B9A4H9pJ.js";
|
|
3
3
|
import { a as PricingPageProps, c as BillingBalance, d as BillingSubscription, f as BillingUsage, i as PricingPage, l as BillingDashboard, n as UsageChartProps, o as PricingTier, r as UsageDataPoint, s as formatPrice, t as UsageChart, u as BillingDashboardProps } from "./usage-chart-BjM8ShvX.js";
|
|
4
4
|
export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AppearanceController, type Backend, BackendSelector, type BackendSelectorProps, type BillingBalance, BillingDashboard, type BillingDashboardProps, type BillingSubscription, type BillingUsage, DashboardLayout, type DashboardLayoutProps, DashboardPageHeader, type DashboardPageHeaderProps, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, type ExposedPort, type GitCommitData, GitPanel, type GitPanelProps, type GitStatusData, HARNESS_BRAND, HARNESS_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, type HarnessType, INSUFFICIENT_BALANCE_CODE, type InsufficientBalance, type McpServer, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, type ModelBrandIdentity, ModelBrandStack, type ModelInfo, type NavItem, NewSandboxCard, type NewSandboxCardProps, OutOfCreditsModal, type OutOfCreditsModalProps, PortsList, type PortsListProps, PricingPage, type PricingPageProps, type PricingTier, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, PromoBanner, type PromoBannerProps, RailButton, type RailButtonProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailTooltip, type RailTooltipProps, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, SANDBOX_STATUS, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxCard, type SandboxCardData, type SandboxCardProps, SandboxPageShell, type SandboxPageShellProps, type SandboxStatus, SandboxStatusPill, type SandboxStatusPillProps, SandboxTable, type SandboxTableProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarLayout, type SidebarLayoutFlyoutItem, type SidebarLayoutNavItem, type SidebarLayoutProps, SidebarPanel, SidebarPanelContent, type SidebarPanelContentProps, SidebarPanelHeader, type SidebarPanelHeaderProps, type SidebarPanelProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarRailFooter, type SidebarRailFooterProps, SidebarRailNav, type SidebarRailNavProps, type SidebarRailProps, type SidebarUser, SnapshotList, type SnapshotListProps, SystemLogsViewer, type SystemLogsViewerProps, type TeamRole, TemplateCard, type TemplateCardData, type TemplateCardProps, type ThemeMode, UsageChart, type UsageChartProps, type UsageDataPoint, UsageSummary, type UsageSummaryData, type UsageSummaryProps, canAdminSandbox, canonicalModelId, chatCapableHarnesses, formatPrice, modelBrandFor, parseInsufficientBalance, sandboxStatus, useSidebar };
|
package/dist/dashboard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-
|
|
1
|
+
import { $ as useSidebar, A as parseInsufficientBalance, B as SidebarPanel, C as SandboxStatusPill, D as ResourceMeter, E as ResourceSnapshot, F as RailHeader, G as SidebarRailNav, H as SidebarPanelHeader, I as RailModeButton, J as SIDEBAR_PANEL_WIDTH, K as RailTooltip, L as RailSeparator, M as RailButton, N as RailExpandable, O as INSUFFICIENT_BALANCE_CODE, P as RailFlyout, Q as SidebarProvider, R as Sidebar, S as SANDBOX_STATUS, T as ActivityFeed, U as SidebarRail, V as SidebarPanelContent, W as SidebarRailFooter, X as SIDEBAR_RAIL_WIDTH, Y as SIDEBAR_RAIL_LABELED_WIDTH, Z as SIDEBAR_TOTAL_WIDTH, _ as BackendSelector, a as PortsList, b as SandboxCard, c as SystemLogsViewer, d as DashboardLayout, f as HARNESS_OPTIONS, g as HarnessLogo, h as HARNESS_BRAND, i as TemplateCard, j as ProfileAvatar, k as OutOfCreditsModal, l as MetricAreaChart, m as chatCapableHarnesses, n as SnapshotList, o as GitPanel, p as HarnessPicker, q as SIDEBAR_MOBILE_WIDTH, r as ProcessList, s as UsageSummary, t as PromoBanner, u as SidebarLayout, v as SandboxTable, w as sandboxStatus, x as canAdminSandbox, y as NewSandboxCard, z as SidebarContent } from "./dashboard-ByNeu9gf.js";
|
|
2
2
|
import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
|
|
3
3
|
import { a as formatPrice, i as PricingPage, n as SandboxPageShell, o as BillingDashboard, r as UsageChart, t as DashboardPageHeader } from "./page-layout-2IRtfx51.js";
|
|
4
4
|
export { ActivityFeed, BackendSelector, BillingDashboard, DashboardLayout, DashboardPageHeader, GitPanel, HARNESS_BRAND, HARNESS_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, MetricAreaChart, ModelBrandStack, NewSandboxCard, OutOfCreditsModal, PortsList, PricingPage, ProcessList, ProfileAvatar, PromoBanner, RailButton, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailTooltip, ResourceMeter, ResourceSnapshot, SANDBOX_STATUS, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxCard, SandboxPageShell, SandboxStatusPill, SandboxTable, Sidebar, SidebarContent, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailNav, SnapshotList, SystemLogsViewer, TemplateCard, UsageChart, UsageSummary, canAdminSandbox, canonicalModelId, chatCapableHarnesses, formatPrice, modelBrandFor, parseInsufficientBalance, sandboxStatus, useSidebar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
2
|
-
import {
|
|
2
|
+
import { r as ShellHeader } from "./shell-header-CTh3oV_e.js";
|
|
3
3
|
import { Button } from "@tangle-network/ui/primitives";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import * as React$1 from "react";
|
|
@@ -169,7 +169,7 @@ function PreviewView({ url, allowedOrigins, access, readiness, onCheckReadiness,
|
|
|
169
169
|
})
|
|
170
170
|
})
|
|
171
171
|
]
|
|
172
|
-
}) : /* @__PURE__ */ jsxs(
|
|
172
|
+
}) : /* @__PURE__ */ jsxs(ShellHeader, {
|
|
173
173
|
className: "min-w-0 gap-1 overflow-x-auto px-2",
|
|
174
174
|
children: [
|
|
175
175
|
/* @__PURE__ */ jsx("h2", {
|
package/dist/globals.css
CHANGED
|
@@ -651,6 +651,9 @@
|
|
|
651
651
|
.ml-3 {
|
|
652
652
|
margin-left: calc(var(--spacing) * 3);
|
|
653
653
|
}
|
|
654
|
+
.ml-6 {
|
|
655
|
+
margin-left: calc(var(--spacing) * 6);
|
|
656
|
+
}
|
|
654
657
|
.ml-10 {
|
|
655
658
|
margin-left: calc(var(--spacing) * 10);
|
|
656
659
|
}
|
|
@@ -1122,6 +1125,9 @@
|
|
|
1122
1125
|
.min-h-\[60px\] {
|
|
1123
1126
|
min-height: 60px;
|
|
1124
1127
|
}
|
|
1128
|
+
.min-h-\[66px\] {
|
|
1129
|
+
min-height: 66px;
|
|
1130
|
+
}
|
|
1125
1131
|
.min-h-\[72px\] {
|
|
1126
1132
|
min-height: 72px;
|
|
1127
1133
|
}
|
|
@@ -1599,6 +1605,9 @@
|
|
|
1599
1605
|
.min-w-\[12rem\] {
|
|
1600
1606
|
min-width: 12rem;
|
|
1601
1607
|
}
|
|
1608
|
+
.min-w-\[14rem\] {
|
|
1609
|
+
min-width: 14rem;
|
|
1610
|
+
}
|
|
1602
1611
|
.min-w-\[15rem\] {
|
|
1603
1612
|
min-width: 15rem;
|
|
1604
1613
|
}
|
|
@@ -1662,9 +1671,6 @@
|
|
|
1662
1671
|
.basis-1\/3 {
|
|
1663
1672
|
flex-basis: calc(1 / 3 * 100%);
|
|
1664
1673
|
}
|
|
1665
|
-
.basis-64 {
|
|
1666
|
-
flex-basis: calc(var(--spacing) * 64);
|
|
1667
|
-
}
|
|
1668
1674
|
.table-fixed {
|
|
1669
1675
|
table-layout: fixed;
|
|
1670
1676
|
}
|
|
@@ -2006,6 +2012,12 @@
|
|
|
2006
2012
|
:where(.divide-border > :not(:last-child)) {
|
|
2007
2013
|
border-color: hsl(var(--border));
|
|
2008
2014
|
}
|
|
2015
|
+
:where(.divide-border\/70 > :not(:last-child)) {
|
|
2016
|
+
border-color: hsl(var(--border));
|
|
2017
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2018
|
+
border-color: color-mix(in oklab, hsl(var(--border)) 70%, transparent);
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2009
2021
|
.self-start {
|
|
2010
2022
|
align-self: flex-start;
|
|
2011
2023
|
}
|
|
@@ -2341,6 +2353,12 @@
|
|
|
2341
2353
|
.border-border {
|
|
2342
2354
|
border-color: hsl(var(--border));
|
|
2343
2355
|
}
|
|
2356
|
+
.border-border\/60 {
|
|
2357
|
+
border-color: hsl(var(--border));
|
|
2358
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2359
|
+
border-color: color-mix(in oklab, hsl(var(--border)) 60%, transparent);
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2344
2362
|
.border-destructive\/20 {
|
|
2345
2363
|
border-color: hsl(var(--destructive));
|
|
2346
2364
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3066,6 +3084,9 @@
|
|
|
3066
3084
|
.p-16 {
|
|
3067
3085
|
padding: calc(var(--spacing) * 16);
|
|
3068
3086
|
}
|
|
3087
|
+
.p-\[var\(--shell-inset-gutter\,0\.5rem\)\] {
|
|
3088
|
+
padding: var(--shell-inset-gutter,0.5rem);
|
|
3089
|
+
}
|
|
3069
3090
|
.px-0 {
|
|
3070
3091
|
padding-inline: 0px;
|
|
3071
3092
|
}
|
|
@@ -3225,6 +3246,9 @@
|
|
|
3225
3246
|
.pr-3 {
|
|
3226
3247
|
padding-right: calc(var(--spacing) * 3);
|
|
3227
3248
|
}
|
|
3249
|
+
.pr-4 {
|
|
3250
|
+
padding-right: calc(var(--spacing) * 4);
|
|
3251
|
+
}
|
|
3228
3252
|
.pr-8 {
|
|
3229
3253
|
padding-right: calc(var(--spacing) * 8);
|
|
3230
3254
|
}
|
|
@@ -3357,6 +3381,9 @@
|
|
|
3357
3381
|
.text-\[0\.85em\] {
|
|
3358
3382
|
font-size: 0.85em;
|
|
3359
3383
|
}
|
|
3384
|
+
.text-\[0\.9375em\] {
|
|
3385
|
+
font-size: 0.9375em;
|
|
3386
|
+
}
|
|
3360
3387
|
.text-\[8px\] {
|
|
3361
3388
|
font-size: 8px;
|
|
3362
3389
|
}
|
|
@@ -3396,9 +3423,6 @@
|
|
|
3396
3423
|
.text-\[length\:var\(--font-size-3xl\,1\.875rem\)\] {
|
|
3397
3424
|
font-size: var(--font-size-3xl,1.875rem);
|
|
3398
3425
|
}
|
|
3399
|
-
.text-\[length\:var\(--font-size-base\)\] {
|
|
3400
|
-
font-size: var(--font-size-base);
|
|
3401
|
-
}
|
|
3402
3426
|
.text-\[length\:var\(--font-size-display\,3rem\)\] {
|
|
3403
3427
|
font-size: var(--font-size-display,3rem);
|
|
3404
3428
|
}
|
|
@@ -3423,6 +3447,9 @@
|
|
|
3423
3447
|
.text-\[length\:var\(--font-size-xs\)\] {
|
|
3424
3448
|
font-size: var(--font-size-xs);
|
|
3425
3449
|
}
|
|
3450
|
+
.text-\[length\:var\(--transcript-font-size\)\] {
|
|
3451
|
+
font-size: var(--transcript-font-size);
|
|
3452
|
+
}
|
|
3426
3453
|
.leading-4 {
|
|
3427
3454
|
--tw-leading: calc(var(--spacing) * 4);
|
|
3428
3455
|
line-height: calc(var(--spacing) * 4);
|
|
@@ -3451,10 +3478,6 @@
|
|
|
3451
3478
|
--tw-leading: 1.4;
|
|
3452
3479
|
line-height: 1.4;
|
|
3453
3480
|
}
|
|
3454
|
-
.leading-\[1\.5\] {
|
|
3455
|
-
--tw-leading: 1.5;
|
|
3456
|
-
line-height: 1.5;
|
|
3457
|
-
}
|
|
3458
3481
|
.leading-\[1\.6\] {
|
|
3459
3482
|
--tw-leading: 1.6;
|
|
3460
3483
|
line-height: 1.6;
|
|
@@ -3467,10 +3490,6 @@
|
|
|
3467
3490
|
--tw-leading: 15px;
|
|
3468
3491
|
line-height: 15px;
|
|
3469
3492
|
}
|
|
3470
|
-
.leading-\[var\(--line-height-base\)\] {
|
|
3471
|
-
--tw-leading: var(--line-height-base);
|
|
3472
|
-
line-height: var(--line-height-base);
|
|
3473
|
-
}
|
|
3474
3493
|
.leading-\[var\(--line-height-display\,1\.05\)\] {
|
|
3475
3494
|
--tw-leading: var(--line-height-display,1.05);
|
|
3476
3495
|
line-height: var(--line-height-display,1.05);
|
|
@@ -3479,6 +3498,10 @@
|
|
|
3479
3498
|
--tw-leading: var(--line-height-heading,1.15);
|
|
3480
3499
|
line-height: var(--line-height-heading,1.15);
|
|
3481
3500
|
}
|
|
3501
|
+
.leading-\[var\(--transcript-line-height\)\] {
|
|
3502
|
+
--tw-leading: var(--transcript-line-height);
|
|
3503
|
+
line-height: var(--transcript-line-height);
|
|
3504
|
+
}
|
|
3482
3505
|
.leading-none {
|
|
3483
3506
|
--tw-leading: 1;
|
|
3484
3507
|
line-height: 1;
|
|
@@ -3905,6 +3928,9 @@
|
|
|
3905
3928
|
--tw-numeric-spacing: tabular-nums;
|
|
3906
3929
|
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
3907
3930
|
}
|
|
3931
|
+
.line-through {
|
|
3932
|
+
text-decoration-line: line-through;
|
|
3933
|
+
}
|
|
3908
3934
|
.no-underline {
|
|
3909
3935
|
text-decoration-line: none;
|
|
3910
3936
|
}
|
|
@@ -4165,6 +4191,11 @@
|
|
|
4165
4191
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
4166
4192
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
4167
4193
|
}
|
|
4194
|
+
.transition-\[width\] {
|
|
4195
|
+
transition-property: width;
|
|
4196
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
4197
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
4198
|
+
}
|
|
4168
4199
|
.transition-all {
|
|
4169
4200
|
transition-property: all;
|
|
4170
4201
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -4378,10 +4409,16 @@
|
|
|
4378
4409
|
content: var(--tw-content);
|
|
4379
4410
|
background-color: hsl(var(--primary));
|
|
4380
4411
|
}
|
|
4412
|
+
.first\:pt-0:first-child {
|
|
4413
|
+
padding-top: 0px;
|
|
4414
|
+
}
|
|
4381
4415
|
.last\:border-b-0:last-child {
|
|
4382
4416
|
border-bottom-style: var(--tw-border-style);
|
|
4383
4417
|
border-bottom-width: 0px;
|
|
4384
4418
|
}
|
|
4419
|
+
.last\:pb-0:last-child {
|
|
4420
|
+
padding-bottom: 0px;
|
|
4421
|
+
}
|
|
4385
4422
|
.autofill\:caret-\[var\(--text-primary\)\]:autofill {
|
|
4386
4423
|
caret-color: var(--text-primary);
|
|
4387
4424
|
}
|
|
@@ -5374,9 +5411,6 @@
|
|
|
5374
5411
|
text-overflow: ellipsis;
|
|
5375
5412
|
white-space: nowrap;
|
|
5376
5413
|
}
|
|
5377
|
-
.sm\:p-2 {
|
|
5378
|
-
padding: calc(var(--spacing) * 2);
|
|
5379
|
-
}
|
|
5380
5414
|
.sm\:p-4 {
|
|
5381
5415
|
padding: calc(var(--spacing) * 4);
|
|
5382
5416
|
}
|
|
@@ -5842,9 +5876,52 @@
|
|
|
5842
5876
|
border-bottom-style: var(--tw-border-style);
|
|
5843
5877
|
border-bottom-width: 0px;
|
|
5844
5878
|
}
|
|
5879
|
+
.\[\&\>tr\:last-child\>td\]\:border-b-0 > tr:last-child > td {
|
|
5880
|
+
border-bottom-style: var(--tw-border-style);
|
|
5881
|
+
border-bottom-width: 0px;
|
|
5882
|
+
}
|
|
5845
5883
|
.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open] > svg {
|
|
5846
5884
|
rotate: 180deg;
|
|
5847
5885
|
}
|
|
5886
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:m-0\! {
|
|
5887
|
+
margin: 0px !important;
|
|
5888
|
+
}
|
|
5889
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:table\! {
|
|
5890
|
+
display: table !important;
|
|
5891
|
+
}
|
|
5892
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:overflow-visible\! {
|
|
5893
|
+
overflow: visible !important;
|
|
5894
|
+
}
|
|
5895
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:border-t-0\! {
|
|
5896
|
+
border-top-style: var(--tw-border-style) !important;
|
|
5897
|
+
border-top-width: 0px !important;
|
|
5898
|
+
}
|
|
5899
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:border-l-0\! {
|
|
5900
|
+
border-left-style: var(--tw-border-style) !important;
|
|
5901
|
+
border-left-width: 0px !important;
|
|
5902
|
+
}
|
|
5903
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:px-3\! {
|
|
5904
|
+
padding-inline: calc(var(--spacing) * 3) !important;
|
|
5905
|
+
}
|
|
5906
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:py-2\! {
|
|
5907
|
+
padding-block: calc(var(--spacing) * 2) !important;
|
|
5908
|
+
}
|
|
5909
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:text-left\! {
|
|
5910
|
+
text-align: left !important;
|
|
5911
|
+
}
|
|
5912
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:text-right\! {
|
|
5913
|
+
text-align: right !important;
|
|
5914
|
+
}
|
|
5915
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:text-sm\! {
|
|
5916
|
+
font-size: var(--text-sm) !important;
|
|
5917
|
+
line-height: var(--tw-leading, var(--text-sm--line-height)) !important;
|
|
5918
|
+
}
|
|
5919
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:text-foreground\! {
|
|
5920
|
+
color: hsl(var(--foreground)) !important;
|
|
5921
|
+
}
|
|
5922
|
+
.tangle-prose .\[\.tangle-prose_\&\]\:no-underline\! {
|
|
5923
|
+
text-decoration-line: none !important;
|
|
5924
|
+
}
|
|
5848
5925
|
@media (pointer:coarse) {
|
|
5849
5926
|
.\[\@media\(pointer\:coarse\)\]\:min-h-10 {
|
|
5850
5927
|
min-height: calc(var(--spacing) * 10);
|
|
@@ -6134,6 +6211,10 @@
|
|
|
6134
6211
|
--font-size-help: 0.75rem;
|
|
6135
6212
|
--panel-padding: 1rem;
|
|
6136
6213
|
--content-max-width: 80rem;
|
|
6214
|
+
--shell-header-height: 3.5rem;
|
|
6215
|
+
--shell-inset-gutter: 0.5rem;
|
|
6216
|
+
--transcript-font-size: var(--font-size-base);
|
|
6217
|
+
--transcript-line-height: var(--line-height-base);
|
|
6137
6218
|
--font-size-xs: 0.6875rem;
|
|
6138
6219
|
--font-size-sm: 0.75rem;
|
|
6139
6220
|
--font-size-base: 0.9375rem;
|
|
@@ -6589,6 +6670,7 @@
|
|
|
6589
6670
|
--spacing-control-sm: var(--control-height-sm);
|
|
6590
6671
|
--spacing-control-md: var(--control-height);
|
|
6591
6672
|
--spacing-control-lg: var(--control-height-lg);
|
|
6673
|
+
--spacing-shell-header: var(--shell-header-height);
|
|
6592
6674
|
--color-scrim: var(--scrim);
|
|
6593
6675
|
--color-scrim-strong: var(--scrim-strong);
|
|
6594
6676
|
--color-on-media: var(--on-media);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import { AgentTimeline, AgentTimelineArtifactItem, AgentTimelineCustomItem, AgentTimelineItem, AgentTimelineMessageItem, AgentTimelineProps, AgentTimelineStatusItem, AgentTimelineTone, AgentTimelineToolGroupItem, AgentTimelineToolItem, ChatAuthor, ChatContainer as ChatContainer$1, ChatContainerProps as ChatContainerProps$1, ChatMessage as ChatMessage$1, ChatMessageProps, MessageAuthor, MessageAuthorProps, MessageList, MessageListProps, MessageRole, MessageRole as MessageRole$1, ThinkingIndicator, ThinkingIndicatorProps, UserMessage, UserMessageProps, isViewerMessage } from "@tangle-network/ui/chat";
|
|
2
|
+
import { AgentTimeline, AgentTimelineArtifactItem, AgentTimelineCustomItem, AgentTimelineItem, AgentTimelineMessageItem, AgentTimelineProps, AgentTimelineStatusItem, AgentTimelineTone, AgentTimelineToolGroupItem, AgentTimelineToolItem, ChatAuthor, ChatContainer as ChatContainer$1, ChatContainerProps as ChatContainerProps$1, ChatMessage as ChatMessage$1, ChatMessageProps, MessageAuthor, MessageAuthorProps, MessageList, MessageListProps, MessageRole, MessageRole as MessageRole$1, TRANSCRIPT_TEXT, ThinkingIndicator, ThinkingIndicatorProps, UserMessage, UserMessageProps, isViewerMessage } from "@tangle-network/ui/chat";
|
|
3
3
|
import { HarnessType, ReasoningEffort, modelProvider, snapHarnessToModel } from "@tangle-network/agent-interface";
|
|
4
4
|
import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
5
5
|
//#region src/chat/reasoning-level-picker.d.ts
|
|
@@ -205,4 +205,4 @@ interface ArtifactAgentDockProps {
|
|
|
205
205
|
*/
|
|
206
206
|
declare function ArtifactAgentDock({ scope, open, onOpenChange, transport, defaultPrompt, onError, className }: ArtifactAgentDockProps): React$1.JSX.Element | null;
|
|
207
207
|
//#endregion
|
|
208
|
-
export {
|
|
208
|
+
export { ArtifactDockMessage as A, AgentProfilePickerProps as B, ThinkingIndicatorProps as C, ArtifactAgentDock as D, isViewerMessage as E, snapHarnessToModel as F, ReasoningLevelPicker as G, HARNESS_REASONING_OPTIONS as H, AgentProfileCapability as I, ReasoningLevelPickerProps as K, AgentProfileDraft as L, ArtifactKind as M, ArtifactScope as N, ArtifactAgentDockProps as O, modelProvider as P, AgentProfileOption as R, ThinkingIndicator as S, UserMessageProps as T, ReasoningLevel as U, DEFAULT_REASONING_LEVEL_OPTIONS as V, ReasoningLevelOption as W, MessageAuthorProps as _, AgentTimelineMessageItem as a, MessageRole$1 as b, AgentTimelineTone as c, ChatAuthor as d, ChatContainer$1 as f, MessageAuthor as g, ChatMessageProps as h, AgentTimelineItem as i, ArtifactDockStreamEvent as j, ArtifactAgentDockTransport as k, AgentTimelineToolGroupItem as l, ChatMessage$1 as m, AgentTimelineArtifactItem as n, AgentTimelineProps as o, ChatContainerProps$1 as p, AgentTimelineCustomItem as r, AgentTimelineStatusItem as s, AgentTimeline as t, AgentTimelineToolItem as u, MessageList as v, UserMessage as w, TRANSCRIPT_TEXT as x, MessageListProps as y, AgentProfilePicker as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as ExposedPort } from "./index-
|
|
1
|
+
import { g as ExposedPort } from "./index-DzxpFptj.js";
|
|
2
2
|
import { D as RichFileTreeGitStatus, E as RichFileTreeGitEntry } from "./index-BoHOpP2_.js";
|
|
3
3
|
import { a as PreviewReadiness, i as PreviewAccess } from "./embedded-app-view-B_vMTtJn.js";
|
|
4
4
|
import * as React$1 from "react";
|
|
@@ -124,13 +124,37 @@ interface WorkspaceLayoutProps {
|
|
|
124
124
|
}
|
|
125
125
|
declare function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen, defaultRightOpen, defaultBottomOpen, defaultLeftWidth, defaultRightWidth, defaultBottomHeight, minLeftWidth, maxLeftWidth, minRightWidth, maxRightWidth, minCenterWidth, minBottomHeight, maxBottomHeight, persistenceKey, resizable, theme, density, leftLabel, rightLabel, bottomLabel, leftOpen: leftOpenProp, onLeftOpenChange, rightOpen: rightOpenProp, onRightOpenChange, keyboardShortcuts, leftCollapsedControl, leftContentClassName, rightContentClassName, keepRightMounted, collapsedControlsPlacement, centerHeaderVisibility, surface, rightOpenLabel, rightCloseLabel, rightControlHint, className }: WorkspaceLayoutProps): import("react").JSX.Element;
|
|
126
126
|
//#endregion
|
|
127
|
-
//#region src/workspace/
|
|
128
|
-
type WorkspacePaneHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
127
|
+
//#region src/workspace/shell-header.d.ts
|
|
129
128
|
/**
|
|
130
|
-
*
|
|
131
|
-
*
|
|
129
|
+
* One height for every header row in the app shell: the sidebar rail's top row,
|
|
130
|
+
* the main pane, side panels, drawers and the assistant. Their bottom dividers
|
|
131
|
+
* share one y, so the main header's underline continues the sidebar's.
|
|
132
|
+
* Brand owns the value (`--shell-header-height`, 56px).
|
|
132
133
|
*/
|
|
133
|
-
declare
|
|
134
|
+
declare const SHELL_HEADER_HEIGHT = "var(--shell-header-height, 3.5rem)";
|
|
135
|
+
/**
|
|
136
|
+
* An inset pane sits one gutter plus its 1px border below the shell top, so its
|
|
137
|
+
* header is shorter by exactly that amount and its divider lands on the same y.
|
|
138
|
+
*/
|
|
139
|
+
declare const SHELL_INSET_GUTTER = "var(--shell-inset-gutter, 0.5rem)";
|
|
140
|
+
type ShellHeaderProps = HTMLAttributes<HTMLElement> & {
|
|
141
|
+
/** Render as `<header>` (a page or pane landmark) instead of a `<div>`. */
|
|
142
|
+
as?: "div" | "header";
|
|
143
|
+
/** The header of a pane raised inside the inset gutter. */
|
|
144
|
+
inset?: boolean;
|
|
145
|
+
/** Draw the bottom divider. Off only for a row that sits on a surface which draws its own. */
|
|
146
|
+
divider?: boolean;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* The shell's header row. Content fills it; nothing changes its height: the
|
|
150
|
+
* height is set inline after `style`, so neither a class nor a style prop can
|
|
151
|
+
* move this row's divider off the shared line.
|
|
152
|
+
*/
|
|
153
|
+
declare function ShellHeader({ as: Tag, inset, divider, className, style, ...props }: ShellHeaderProps): import("react").JSX.Element;
|
|
154
|
+
/** @deprecated Use `ShellHeader`; kept so existing imports keep the shared row. */
|
|
155
|
+
declare const WorkspacePaneHeader: typeof ShellHeader;
|
|
156
|
+
/** @deprecated Use `ShellHeaderProps`. */
|
|
157
|
+
type WorkspacePaneHeaderProps = ShellHeaderProps;
|
|
134
158
|
//#endregion
|
|
135
159
|
//#region src/workspace/directory-pane.d.ts
|
|
136
160
|
interface DirectoryPaneProps {
|
|
@@ -814,4 +838,4 @@ interface WorkspaceArtifactViewProps {
|
|
|
814
838
|
/** The shared technical renderer for workspace files and generated artifacts. */
|
|
815
839
|
declare function WorkspaceArtifactView({ artifact, hideTitleBlock }: WorkspaceArtifactViewProps): import("react").JSX.Element;
|
|
816
840
|
//#endregion
|
|
817
|
-
export { StatusBar as $, createShellShouldRevalidate as A, SessionSidebarVariant as B, SandboxWorkbenchLayoutOptions as C, SandboxWorkbenchSessionProps as D, SandboxWorkbenchProps as E, SessionSidebarFilter as F, dispatchSessionCreated as G, SessionCreatedDetail as H, SessionSidebarGroupBy as I, RuntimePaneProps as J, useOptimisticSessionItems as K, SessionSidebarItem as L, formatRelativeAge as M, SessionSidebar as N, ShellShouldRevalidateArgs as O, SessionSidebarBadge as P, ContextBadge as Q, SessionSidebarLink as R, SandboxWorkbenchFileArtifact as S, SandboxWorkbenchOpenUIArtifact as T, SessionOptimisticController as U, SESSION_CREATED_EVENT as V, UseOptimisticSessionItemsOptions as W, TerminalPanel as X, TerminalLine as Y, TerminalProps as Z, TaskBoardItem as _, WorkspaceFilesPane as a, DirectoryPaneProps as at, SandboxWorkbenchArtifact as b, ApprovalConfidenceStat as c,
|
|
841
|
+
export { StatusBar as $, createShellShouldRevalidate as A, SessionSidebarVariant as B, SandboxWorkbenchLayoutOptions as C, SandboxWorkbenchSessionProps as D, SandboxWorkbenchProps as E, SessionSidebarFilter as F, dispatchSessionCreated as G, SessionCreatedDetail as H, SessionSidebarGroupBy as I, RuntimePaneProps as J, useOptimisticSessionItems as K, SessionSidebarItem as L, formatRelativeAge as M, SessionSidebar as N, ShellShouldRevalidateArgs as O, SessionSidebarBadge as P, ContextBadge as Q, SessionSidebarLink as R, SandboxWorkbenchFileArtifact as S, SandboxWorkbenchOpenUIArtifact as T, SessionOptimisticController as U, SESSION_CREATED_EVENT as V, UseOptimisticSessionItemsOptions as W, TerminalPanel as X, TerminalLine as Y, TerminalProps as Z, TaskBoardItem as _, WorkspaceFilesPane as a, DirectoryPaneProps as at, SandboxWorkbenchArtifact as b, ApprovalConfidenceStat as c, ShellHeader as ct, ApprovalQueueProps as d, WorkspacePaneHeaderProps as dt, StatusBarProps as et, CalendarEvent as f, WorkspaceLayout as ft, TaskBoardColumn as g, TaskBoard as h, WorkspaceArtifactViewProps as i, DirectoryPane as it, shellShouldRevalidate as j, ShellShouldRevalidateOptions as k, ApprovalItem as l, ShellHeaderProps as lt, CalendarViewProps as m, ArtifactPaneProps as n, StatusBanner as nt, WorkspaceFilesPaneProps as o, SHELL_HEADER_HEIGHT as ot, CalendarView as p, WorkspaceLayoutProps as pt, RuntimePane as q, WorkspaceArtifactView as r, StatusBannerProps as rt, WorkspaceFilesPreview as s, SHELL_INSET_GUTTER as st, ArtifactPane$1 as t, BannerType as tt, ApprovalQueue as u, WorkspacePaneHeader as ut, TaskBoardProps as v, SandboxWorkbenchMarkdownArtifact as w, SandboxWorkbenchCustomArtifact as x, SandboxWorkbench as y, SessionSidebarProps as z };
|
|
@@ -966,7 +966,7 @@ interface SidebarLayoutProps {
|
|
|
966
966
|
* Content rendered in the rail header in place of the logo link — e.g. a
|
|
967
967
|
* project/workspace switcher. Spans the header so the app's primary
|
|
968
968
|
* orientation control sits at the top of the rail. When set, `logo`/`logoHref`
|
|
969
|
-
* are ignored. The header
|
|
969
|
+
* are ignored. The header is a `ShellHeader`, so its divider is the line main-pane headers meet.
|
|
970
970
|
*/
|
|
971
971
|
railHeaderContent?: React$1.ReactNode;
|
|
972
972
|
user?: SidebarUser | null;
|