@tangle-network/sandbox-ui 0.136.1 → 0.137.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 +1 -1
- package/dist/{dashboard-C1ALa6lw.js → dashboard-SFakZEtu.js} +3 -3
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +15 -0
- package/dist/index-DsU8ts9f.d.ts +30 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +286 -5
- package/dist/primitives-CLOVnjWz.js +35 -0
- package/dist/primitives.d.ts +3 -2
- package/dist/primitives.js +3 -2
- package/dist/rolldown-runtime-BBjsoOtd.js +27 -0
- package/dist/styles.css +15 -0
- package/dist/{workbench-BzXAYUId.js → workbench-BdW-YQ68.js} +3 -14
- package/dist/workbench.js +1 -1
- package/dist/{workspace-BJgSt2WW.js → workspace-Bg1MFr9I.js} +9 -3
- package/dist/workspace.js +1 -1
- package/package.json +9 -8
- package/dist/index-DHF7thHh.d.ts +0 -30
- package/dist/primitives-CxpjGadw.js +0 -25
package/README.md
CHANGED
|
@@ -489,7 +489,7 @@ Retheming is absolutely supported, but the documentation was thinner than it sho
|
|
|
489
489
|
|
|
490
490
|
| Subpath | Description |
|
|
491
491
|
|---------|-------------|
|
|
492
|
-
| `/primitives` | Button, Card, Dialog,
|
|
492
|
+
| `/primitives` | Deprecated compatibility re-export of `@tangle-network/ui/primitives` (Button, Card, Dialog, Select, Table, Tabs, Toast, ...), plus Sandbox's own `Logo`, `TangleKnot` and `SectionTitle`. New code imports `@tangle-network/ui/primitives`. |
|
|
493
493
|
| `/chat` | ChatContainer, ChatInput, ChatMessage, AgentTimeline, ThinkingIndicator |
|
|
494
494
|
| `/run` | ToolCallFeed, RunGroup, InlineToolItem, ExpandedToolDetail |
|
|
495
495
|
| `/workspace` | WorkspaceFilesPane, WorkspaceArtifactView, SandboxWorkbench, WorkspaceLayout, DirectoryPane, RuntimePane, StatusBar |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as Logo, t as primitives_exports } from "./primitives-CLOVnjWz.js";
|
|
2
2
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
3
3
|
import { r as ShellHeader } from "./shell-header-CTh3oV_e.js";
|
|
4
4
|
import { n as MOTION_SURFACE, t as MOTION_CONTROL } from "./motion-D4njYpys.js";
|
|
@@ -1177,11 +1177,11 @@ function OutOfCreditsModal({ balance, onClose, ctaLabel = "Add credits", classNa
|
|
|
1177
1177
|
}),
|
|
1178
1178
|
/* @__PURE__ */ jsxs("div", {
|
|
1179
1179
|
className: "flex gap-2 justify-end",
|
|
1180
|
-
children: [onClose && /* @__PURE__ */ jsx(Button
|
|
1180
|
+
children: [onClose && /* @__PURE__ */ jsx(primitives_exports.Button, {
|
|
1181
1181
|
variant: "outline",
|
|
1182
1182
|
onClick: onClose,
|
|
1183
1183
|
children: "Not now"
|
|
1184
|
-
}), /* @__PURE__ */ jsx(Button
|
|
1184
|
+
}), /* @__PURE__ */ jsx(primitives_exports.Button, {
|
|
1185
1185
|
asChild: true,
|
|
1186
1186
|
children: /* @__PURE__ */ jsx("a", {
|
|
1187
1187
|
href: balance.manageUrl,
|
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-SFakZEtu.js";
|
|
2
2
|
import { i as modelBrandFor, n as ProviderMark, r as canonicalModelId, t as ModelBrandStack } from "./model-brand-BSr9on8C.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, ProviderMark, 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 };
|
package/dist/globals.css
CHANGED
|
@@ -1846,6 +1846,9 @@
|
|
|
1846
1846
|
.scroll-mt-\[calc\(var\(--shell-header-height\)_\+_1rem\)\] {
|
|
1847
1847
|
scroll-margin-top: calc(var(--shell-header-height) + 1rem);
|
|
1848
1848
|
}
|
|
1849
|
+
.scrollbar-none {
|
|
1850
|
+
scrollbar-width: none;
|
|
1851
|
+
}
|
|
1849
1852
|
.\[scrollbar-gutter\:stable\] {
|
|
1850
1853
|
scrollbar-gutter: stable;
|
|
1851
1854
|
}
|
|
@@ -3140,6 +3143,9 @@
|
|
|
3140
3143
|
.\[mask-image\:linear-gradient\(to_bottom\,black_75\%\,transparent\)\] {
|
|
3141
3144
|
mask-image: linear-gradient(to bottom,black 75%,transparent);
|
|
3142
3145
|
}
|
|
3146
|
+
.\[mask-image\:linear-gradient\(to_right\,transparent\,black_16px\,black_calc\(100\%-16px\)\,transparent\)\] {
|
|
3147
|
+
mask-image: linear-gradient(to right,transparent,black 16px,black calc(100% - 16px),transparent);
|
|
3148
|
+
}
|
|
3143
3149
|
.fill-current {
|
|
3144
3150
|
fill: currentcolor;
|
|
3145
3151
|
}
|
|
@@ -4073,6 +4079,12 @@
|
|
|
4073
4079
|
.opacity-0 {
|
|
4074
4080
|
opacity: 0%;
|
|
4075
4081
|
}
|
|
4082
|
+
.opacity-10 {
|
|
4083
|
+
opacity: 10%;
|
|
4084
|
+
}
|
|
4085
|
+
.opacity-20 {
|
|
4086
|
+
opacity: 20%;
|
|
4087
|
+
}
|
|
4076
4088
|
.opacity-25 {
|
|
4077
4089
|
opacity: 25%;
|
|
4078
4090
|
}
|
|
@@ -4387,6 +4399,9 @@
|
|
|
4387
4399
|
.\[--field-surface\:hsl\(var\(--card\)\)\] {
|
|
4388
4400
|
--field-surface: hsl(var(--card));
|
|
4389
4401
|
}
|
|
4402
|
+
.\[-webkit-mask-image\:linear-gradient\(to_right\,transparent\,black_16px\,black_calc\(100\%-16px\)\,transparent\)\] {
|
|
4403
|
+
-webkit-mask-image: linear-gradient(to right,transparent,black 16px,black calc(100% - 16px),transparent);
|
|
4404
|
+
}
|
|
4390
4405
|
.\[transition\:color_var\(--motion-control\)\,background-color_var\(--motion-control\)\,border-color_var\(--motion-control\)\,box-shadow_var\(--motion-control\)\,transform_var\(--motion-control\)\,scale_var\(--motion-control\)\,opacity_var\(--motion-control\)\] {
|
|
4391
4406
|
transition: color var(--motion-control),background-color var(--motion-control),border-color var(--motion-control),box-shadow var(--motion-control),transform var(--motion-control),scale var(--motion-control),opacity var(--motion-control);
|
|
4392
4407
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HeadingVariant, PageHeaderProps } from "@tangle-network/ui/primitives";
|
|
2
|
+
import { TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
|
+
import { ElementType, HTMLAttributes, ReactNode } from "react";
|
|
4
|
+
//#region src/primitives/logo.d.ts
|
|
5
|
+
interface LogoProps {
|
|
6
|
+
variant?: "sandbox";
|
|
7
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
8
|
+
className?: string;
|
|
9
|
+
iconOnly?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
12
|
+
declare function Logo$1({ variant, size, className, iconOnly }: LogoProps): import("react").JSX.Element;
|
|
13
|
+
declare namespace Logo$1 {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/primitives/heading.d.ts
|
|
18
|
+
/** Preserve the existing public type's required visual role and children.
|
|
19
|
+
* The binding above remains UI's object, without a local render function.
|
|
20
|
+
*/
|
|
21
|
+
interface HeadingProps extends Omit<HTMLAttributes<HTMLElement>, "role"> {
|
|
22
|
+
role: HeadingVariant;
|
|
23
|
+
as?: ElementType;
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
type SectionTitleProps = Pick<PageHeaderProps, "title" | "description" | "action" | "className">;
|
|
27
|
+
/** Compatibility name for the canonical nested (h2) page header. */
|
|
28
|
+
declare function SectionTitle(props: SectionTitleProps): import("react").JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { LogoProps as a, Logo$1 as i, SectionTitle as n, TangleKnot$1 as o, SectionTitleProps as r, HeadingProps as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { n as UsePtySessionReturn, r as usePtySession, t as UsePtySessionOptions
|
|
|
9
9
|
import { t as Session } from "./sidecar-DgH_vQ6m.js";
|
|
10
10
|
import { d as useSessionStream, l as UseSessionStreamOptions, n as UseSidecarAuthOptions, o as SessionDegradation, r as useSidecarAuth, s as SessionInfo, t as SidecarAuth, u as UseSessionStreamResult } from "./use-sidecar-auth-CCTJcrq7.js";
|
|
11
11
|
import { AgentStreamEvent, AppendUserMessageOptions, ApplySdkEventOptions, AuthUser, AutomationStreamEvent, BeginAssistantMessageOptions, BotStreamEvent, CompleteAssistantMessageOptions, RealtimeSessionOptions, RealtimeSessionRegistry, RealtimeSessionRegistryProps, RealtimeSessionState, RealtimeSessionTarget, SSEEvent, SandboxMetrics, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, SidecarMetricsPayload, TaskStreamEvent, TerminalStreamEvent, UseAuthOptions, UseAuthResult, UseRunGroupsOptions, UseSSEStreamOptions, UseSSEStreamResult, UseSandboxMetricsOptions, UseSandboxMetricsResult, UseSdkSessionOptions, UseSdkSessionReturn, UseToolCallStreamReturn, createAuthFetcher, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useLiveTime, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessions, useToolCallStream } from "./hooks.js";
|
|
12
|
-
import {
|
|
12
|
+
import { a as LogoProps, i as Logo, n as SectionTitle, o as TangleKnot, r as SectionTitleProps, t as HeadingProps } from "./index-DsU8ts9f.js";
|
|
13
13
|
import { $ as StatusBar, A as createShellShouldRevalidate, B as SessionSidebarVariant, C as SandboxWorkbenchLayoutOptions, D as SandboxWorkbenchSessionProps, E as SandboxWorkbenchProps, F as SessionSidebarFilter, G as dispatchSessionCreated, H as SessionCreatedDetail, I as SessionSidebarGroupBy, J as RuntimePaneProps, K as useOptimisticSessionItems, L as SessionSidebarItem, M as formatRelativeAge, N as SessionSidebar, O as ShellShouldRevalidateArgs, P as SessionSidebarBadge, Q as ContextBadge, R as SessionSidebarLink, S as SandboxWorkbenchFileArtifact, T as SandboxWorkbenchOpenUIArtifact, U as SessionOptimisticController, V as SESSION_CREATED_EVENT, W as UseOptimisticSessionItemsOptions, X as TerminalPanel, Y as TerminalLine, Z as TerminalProps, _ as TaskBoardItem, _t as WorkspaceSurfaceTitle, a as WorkspaceFilesPane, at as DirectoryPaneProps, b as SandboxWorkbenchArtifact, bt as WorkspaceLayoutProps, c as ApprovalConfidenceStat, ct as ShellHeader, d as ApprovalQueueProps, dt as WorkspacePaneHeaderProps, et as StatusBarProps, f as CalendarEvent, ft as WorkspaceSurface, g as TaskBoardColumn, gt as WorkspaceSurfaceProps, h as TaskBoard, ht as WorkspaceSurfaceHeadingLevel, i as WorkspaceArtifactViewProps, it as DirectoryPane, j as shellShouldRevalidate, k as ShellShouldRevalidateOptions, l as ApprovalItem, lt as ShellHeaderProps, m as CalendarViewProps, mt as WorkspaceSurfaceFrameProps, n as ArtifactPaneProps, nt as StatusBanner, o as WorkspaceFilesPaneProps, ot as SHELL_HEADER_HEIGHT, p as CalendarView, pt as WorkspaceSurfaceFrame, q as RuntimePane, r as WorkspaceArtifactView, rt as StatusBannerProps, s as WorkspaceFilesPreview, st as SHELL_INSET_GUTTER, t as ArtifactPane, tt as BannerType, u as ApprovalQueue, ut as WorkspacePaneHeader, v as TaskBoardProps, vt as WorkspaceSurfaceTitleProps, w as SandboxWorkbenchMarkdownArtifact, x as SandboxWorkbenchCustomArtifact, y as SandboxWorkbench, yt as WorkspaceLayout, z as SessionSidebarProps } from "./index-C61CTrhx.js";
|
|
14
14
|
import { A as SandboxArtifactTerminal, C as ChangesPane, D as ChangesPaneProps, E as ChangedFile, O as SandboxArtifact, S as PillTabsProps, T as ArtifactView, _ as DiffStats, a as PreviewView, b as PillTabItem, c as DiffViewProps, d as FileBreadcrumb, f as FileBreadcrumbProps, g as PanelHeaderProps, h as PanelHeader, i as resolveLanguage, k as SandboxArtifactPaneProps, l as CodeView, m as GitStatusBadge, n as CodeSurface, o as PreviewViewProps, p as DiffStatsBadge, r as CodeSurfaceProps, s as DiffView, t as BRAND_PRISM_THEME, u as CodeViewProps, v as buildUnifiedPatch, w as SandboxArtifactPane, x as PillTabs, y as computeDiffStats } from "./index-ByzdHyte.js";
|
|
15
15
|
import { a as PreviewReadiness, i as PreviewAccess, n as EmbeddedAppView, r as EmbeddedAppViewProps, t as EmbeddedApp } from "./embedded-app-view-B_vMTtJn.js";
|
|
@@ -22,4 +22,5 @@ import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focus
|
|
|
22
22
|
import { TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine } from "@tangle-network/ui/primitives";
|
|
23
23
|
import { ApiSchema, ApiSchemaProps, CodeBlock as CodeBlockDisplay, CopyButtonProps, Markdown, MarkdownLinkChip, MarkdownLinkChipResolver, MarkdownProps, codeBlockGrammar, fenceInfo, getSanitizedMarkdownHeadingIdFromRawFragment, numericColumns, tableCsv } from "@tangle-network/ui/markdown";
|
|
24
24
|
import { CommandPreview, CommandPreviewProps, DiffPreview, DiffPreviewProps, GlobResultsPreview, GlobResultsPreviewProps, GrepResultsPreview, GrepResultsPreviewProps, QuestionPreview, QuestionPreviewProps, WebSearchPreview, WebSearchPreviewProps, WriteFilePreview, WriteFilePreviewProps } from "@tangle-network/ui/tool-previews";
|
|
25
|
-
export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AgentBranding, type AgentEnrollmentViewState, AgentMessagingConnection, type AgentMessagingConnectionProps, type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, type AgentStreamEvent, type AgentTargetSummary, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTone, ApiSchema, type ApiSchemaProps, type AppearanceController, type AppendUserMessageOptions, type ApplySdkEventOptions, ApprovalCard, type ApprovalCardProps, type ApprovalConfidenceStat, type ApprovalDiffFile, ApprovalDiffSummary, type ApprovalItem, type ApprovalPlanStep, ApprovalQueue, type ApprovalQueueProps, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, ArtifactPane, type ArtifactPaneProps, type ArtifactScope, type ArtifactView, AuthHeader, type AuthHeaderProps, type AuthUser, type AutomationStreamEvent, Avatar, AvatarFallback, AvatarImage, type AvatarProps, BRAND_PRISM_THEME, type Backend, BackendSelector, type BackendSelectorProps, Badge, type BadgeProps, type BannerType, type BeginAssistantMessageOptions, type BillingBalance, BillingDashboard, type BillingDashboardProps, type BillingSubscription, type BillingUsage, type BotStreamEvent, Button, type ButtonProps, CATEGORY_TONES, CSV_PREVIEW_ROW_LIMIT, Calendar, type CalendarDate, type CalendarEvent, type CalendarProps, CalendarView, type CalendarViewProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardTitleProps, type CategoryTone, type ChangedFile, ChangesPane, type ChangesPaneProps, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, ChatSession, Checkbox, Chip, type ChipProps, CodeBlock, CodeBlockDisplay, type CodeBlockProps, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandPreview, type CommandPreviewProps, type CompleteAssistantMessageOptions, type ContextBadge, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type CustomToolRenderer, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, type DashboardLayoutProps, DashboardPageHeader, type DashboardPageHeaderProps, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, type DiffPreviewProps, type DiffStats, DiffStatsBadge, DiffView, type DiffViewProps, DirectoryPane, type DirectoryPaneProps, type DisplayVariant, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EmbeddedApp, EmbeddedAppView, type EmbeddedAppViewProps, EmptyState, type EmptyStateProps, ExpandedToolDetail, type ExpandedToolDetailProps, type ExposedPort, type FeedSegment, Field, type FieldProps, FileArtifactPane, type FileArtifactPaneProps, FileBreadcrumb, type FileBreadcrumbProps, FileCard, type FileCardProps, type FileDetails, type FileFormat, FileList, type FileListItem, type FileListProps, type FileNode, FilePreview, type FilePreviewKind, type FilePreviewProps, type FileTabData, FileTabs, type FileTabsProps, FileTree, type FileTreeProps, type FileTreeVisibilityOptions, type FileUploader, FilterField, type FilterFieldProps, type FinalTextPart, type GitCommitData, GitHubLoginButton, type GitHubLoginButtonProps, GitPanel, type GitPanelProps, GitStatusBadge, type GitStatusData, GlobResultsPreview, type GlobResultsPreviewProps, GrepResultsPreview, type GrepResultsPreviewProps, type GroupedMessage, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, type HarnessType, Heading, type HeadingProps, type HeadingVariant, HelpText, type HelpTextProps, INSUFFICIENT_BALANCE_CODE, IconTile, type IconTileProps, InlineCode, type InlineCodeProps, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, Input, type InputProps, type InsufficientBalance, Label, LiveDuration, LoginLayout, type LoginLayoutProps, Logo, type LogoProps, Markdown, type MarkdownLinkChip, type MarkdownLinkChipResolver, type MarkdownProps, type McpServer, MessageAuthor, type MessageAuthorProps, MessageList, type MessageListProps, type MessageRole, type MessageRun, type MessageUser, Metric, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, type MetricProps, MetricStrip, type MetricStripProps, type ModelBrandIdentity, ModelBrandStack, type ModelInfo, type NavItem, NewSandboxCard, type NewSandboxCardProps, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISchemaIssue, type OpenUISchemaValidation, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode, OutOfCreditsModal, type OutOfCreditsModalProps, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, Pagination, type PaginationProps, PanelHeader, type PanelHeaderProps, PdfViewer, type PdfViewerConfig, type PdfViewerProps, type PillTabItem, PillTabs, type PillTabsProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PortsList, type PortsListProps, type PreviewAccess, type PreviewReadiness, PreviewView, type PreviewViewProps, PricingPage, type PricingPageProps, type PricingTier, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, Progress, PromoBanner, type PromoBannerProps, ProviderMark, QuestionPreview, type QuestionPreviewProps, RadioGroup, RadioGroupItem, RailButton, type RailButtonProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailTooltip, type RailTooltipProps, type RealtimeSessionOptions, RealtimeSessionRegistry, type RealtimeSessionRegistryProps, type RealtimeSessionState, type RealtimeSessionTarget, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, type ReasoningPart, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, RichFileTree, type RichFileTreeGitEntry, type RichFileTreeGitStatus, type RichFileTreeProps, type RichFileTreeThemeVars, type Run, RunGroup, type RunGroupProps, type RunPhase, RunPhaseList, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStats, RuntimePane, type RuntimePaneProps, SANDBOX_STATUS, SESSION_CREATED_EVENT, SHELL_HEADER_HEIGHT, SHELL_INSET_GUTTER, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, type SSEEvent, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, SandboxCard, type SandboxCardData, type SandboxCardProps, type SandboxMetrics, SandboxPageShell, type SandboxPageShellProps, type SandboxStatus, SandboxStatusPill, type SandboxStatusPillProps, SandboxTable, type SandboxTableProps, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, type SdkSessionAttachment, type SdkSessionEvent, type SdkSessionSeed, SectionTitle, type SectionTitleProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Session, type SessionCreatedDetail, type SessionDegradation, type SessionInfo, type SessionMessage, type SessionOptimisticController, type SessionPart, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarGroupBy, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type SessionSidebarVariant, type SessionUser, SettingsList, type SettingsListAction, type SettingsListColumns, SettingsListItem, type SettingsListItemProps, type SettingsListMenuItem, type SettingsListProps, SettingsRow, type SettingsRowLayout, type SettingsRowProps, SettingsSection, type SettingsSectionProps, type SharedMessagingRouteViewState, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShellHeader, type ShellHeaderProps, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, Sidebar, SidebarContent, type SidebarContentProps, SidebarDropZone, type SidebarDropZoneProps, 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, type SidecarAuth, type SidecarMetricsPayload, Skeleton, SkeletonCard, SkeletonTable, Slider, SnapshotList, type SnapshotListProps, StatCard, type StatCardProps, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, StatusPill, type StatusPillProps, type StatusTone, Switch, SystemLogsViewer, type SystemLogsViewerProps, TONE_CLASSES, TOOL_CATEGORY_ICONS, TRANSCRIPT_TEXT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TangleKnot, TangleLoginButton, type TangleLoginButtonProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, TaskList, type TaskListItem, type TaskListProps, type TaskStatus, type TaskStreamEvent, type TeamRole, TemplateCard, type TemplateCardData, type TemplateCardProps, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, type TerminalLine, TerminalPanel, type TerminalProps, type TerminalStreamEvent, type TextPart, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggle, ThinkingIndicator, type ThinkingIndicatorProps, TimeSelect, type TimeSelectProps, type Toast, ToastContainer, ToastProvider, type Tone, type ToneClasses, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, type ToolCategory, type ToolDisplayMetadata, type ToolPart, type ToolState, type ToolStatus, type ToolTime, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UploadFile, UploadProgress, type UploadProgressProps, UsageChart, type UsageChartProps, type UsageDataPoint, UsageSummary, type UsageSummaryData, type UsageSummaryProps, type UseAuthOptions, type UseAuthResult, type UseOptimisticSessionItemsOptions, type UsePtySessionOptions, type UsePtySessionReturn, type UseRunGroupsOptions, type UseSSEStreamOptions, type UseSSEStreamResult, type UseSandboxMetricsOptions, type UseSandboxMetricsResult, type UseSdkSessionOptions, type UseSdkSessionReturn, type UseSessionStreamOptions, type UseSessionStreamResult, type UseSidecarAuthOptions, type UseToolCallStreamReturn, UserMenu, type UserMenuProps, UserMessage, type UserMessageProps, VAULT_TREE_CHILD_PAGE, VaultTree, type VaultTreeProps, WebSearchPreview, type WebSearchPreviewProps, Wizard, type WizardProps, WizardStep, type WizardStepProps, WorkspaceArtifactView, type WorkspaceArtifactViewProps, WorkspaceFilesPane, type WorkspaceFilesPaneProps, type WorkspaceFilesPreview, WorkspaceLayout, type WorkspaceLayoutProps, WorkspacePaneHeader, type WorkspacePaneHeaderProps, WorkspaceSurface, WorkspaceSurfaceFrame, type WorkspaceSurfaceFrameProps, type WorkspaceSurfaceHeadingLevel, type WorkspaceSurfaceProps, WorkspaceSurfaceTitle, type WorkspaceSurfaceTitleProps, WriteFilePreview, type WriteFilePreviewProps, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, codeBlockGrammar, computeDiffStats, configurePdfViewer, connectSession, copyText, createAuthFetcher, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fenceInfo, fieldMessageId, fileExtension, fileTreeFromPaths, filterFileNodes, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatCalendarDate, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSanitizedMarkdownHeadingIdFromRawFragment, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, initialsOf, isStreamingAtom, isViewerMessage, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, localToday, messagesAtom, modelBrandFor, modelProvider, numericColumns, parseCalendarDate, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, plainTextFromMarkdown, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sandboxStatus, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, showsTaskPriority, snapHarnessToModel, tableCsv, taskProgress, taskStatus, timeAgo, toneFor, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
|
25
|
+
export * from "@tangle-network/ui/primitives";
|
|
26
|
+
export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AgentBranding, type AgentEnrollmentViewState, AgentMessagingConnection, type AgentMessagingConnectionProps, type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, type AgentStreamEvent, type AgentTargetSummary, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, ApiSchema, type ApiSchemaProps, type AppearanceController, type AppendUserMessageOptions, type ApplySdkEventOptions, ApprovalCard, type ApprovalCardProps, type ApprovalConfidenceStat, type ApprovalDiffFile, ApprovalDiffSummary, type ApprovalItem, type ApprovalPlanStep, ApprovalQueue, type ApprovalQueueProps, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, ArtifactPane, type ArtifactPaneProps, type ArtifactScope, type ArtifactView, AuthHeader, type AuthHeaderProps, type AuthUser, type AutomationStreamEvent, BRAND_PRISM_THEME, type Backend, BackendSelector, type BackendSelectorProps, type BannerType, type BeginAssistantMessageOptions, type BillingBalance, BillingDashboard, type BillingDashboardProps, type BillingSubscription, type BillingUsage, type BotStreamEvent, CSV_PREVIEW_ROW_LIMIT, type CalendarEvent, CalendarView, type CalendarViewProps, type ChangedFile, ChangesPane, type ChangesPaneProps, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, ChatSession, CodeBlockDisplay, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, CommandPreview, type CommandPreviewProps, type CompleteAssistantMessageOptions, type ContextBadge, type CopyButtonProps, type CustomToolRenderer, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, type DashboardLayoutProps, DashboardPageHeader, type DashboardPageHeaderProps, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, DiffPreview, type DiffPreviewProps, type DiffStats, DiffStatsBadge, DiffView, type DiffViewProps, DirectoryPane, type DirectoryPaneProps, type DisplayVariant, type EmbeddedApp, EmbeddedAppView, type EmbeddedAppViewProps, ExpandedToolDetail, type ExpandedToolDetailProps, type ExposedPort, type FeedSegment, FileArtifactPane, type FileArtifactPaneProps, FileBreadcrumb, type FileBreadcrumbProps, FileCard, type FileCardProps, type FileDetails, type FileFormat, FileList, type FileListItem, type FileListProps, type FileNode, FilePreview, type FilePreviewKind, type FilePreviewProps, type FileTabData, FileTabs, type FileTabsProps, FileTree, type FileTreeProps, type FileTreeVisibilityOptions, type FileUploader, type FinalTextPart, type GitCommitData, GitHubLoginButton, type GitHubLoginButtonProps, GitPanel, type GitPanelProps, GitStatusBadge, type GitStatusData, GlobResultsPreview, type GlobResultsPreviewProps, GrepResultsPreview, type GrepResultsPreviewProps, type GroupedMessage, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, type HarnessType, type HeadingProps, INSUFFICIENT_BALANCE_CODE, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, type InsufficientBalance, LiveDuration, LoginLayout, type LoginLayoutProps, Logo, type LogoProps, Markdown, type MarkdownLinkChip, type MarkdownLinkChipResolver, type MarkdownProps, type McpServer, MessageAuthor, type MessageAuthorProps, MessageList, type MessageListProps, type MessageRole, type MessageRun, type MessageUser, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, type ModelBrandIdentity, ModelBrandStack, type ModelInfo, type NavItem, NewSandboxCard, type NewSandboxCardProps, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISchemaIssue, type OpenUISchemaValidation, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode, OutOfCreditsModal, type OutOfCreditsModalProps, PanelHeader, type PanelHeaderProps, PdfViewer, type PdfViewerConfig, type PdfViewerProps, type PillTabItem, PillTabs, type PillTabsProps, PortsList, type PortsListProps, type PreviewAccess, type PreviewReadiness, PreviewView, type PreviewViewProps, PricingPage, type PricingPageProps, type PricingTier, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, PromoBanner, type PromoBannerProps, ProviderMark, QuestionPreview, type QuestionPreviewProps, RailButton, type RailButtonProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailTooltip, type RailTooltipProps, type RealtimeSessionOptions, RealtimeSessionRegistry, type RealtimeSessionRegistryProps, type RealtimeSessionState, type RealtimeSessionTarget, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, type ReasoningPart, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, RichFileTree, type RichFileTreeGitEntry, type RichFileTreeGitStatus, type RichFileTreeProps, type RichFileTreeThemeVars, type Run, RunGroup, type RunGroupProps, type RunPhase, RunPhaseList, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStats, RuntimePane, type RuntimePaneProps, SANDBOX_STATUS, SESSION_CREATED_EVENT, SHELL_HEADER_HEIGHT, SHELL_INSET_GUTTER, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, type SSEEvent, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, SandboxCard, type SandboxCardData, type SandboxCardProps, type SandboxMetrics, SandboxPageShell, type SandboxPageShellProps, type SandboxStatus, SandboxStatusPill, type SandboxStatusPillProps, SandboxTable, type SandboxTableProps, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, type SdkSessionAttachment, type SdkSessionEvent, type SdkSessionSeed, SectionTitle, type SectionTitleProps, Session, type SessionCreatedDetail, type SessionDegradation, type SessionInfo, type SessionMessage, type SessionOptimisticController, type SessionPart, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarGroupBy, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type SessionSidebarVariant, type SessionUser, type SharedMessagingRouteViewState, ShellHeader, type ShellHeaderProps, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, 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, type SidecarAuth, type SidecarMetricsPayload, SnapshotList, type SnapshotListProps, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, SystemLogsViewer, type SystemLogsViewerProps, TOOL_CATEGORY_ICONS, TRANSCRIPT_TEXT, TangleKnot, TangleLoginButton, type TangleLoginButtonProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, TaskList, type TaskListItem, type TaskListProps, type TaskStatus, type TaskStreamEvent, type TeamRole, TemplateCard, type TemplateCardData, type TemplateCardProps, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, type TerminalLine, TerminalPanel, type TerminalProps, type TerminalStreamEvent, type TextPart, type ThemeMode, ThinkingIndicator, type ThinkingIndicatorProps, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, type ToolCategory, type ToolDisplayMetadata, type ToolPart, type ToolState, type ToolStatus, type ToolTime, UsageChart, type UsageChartProps, type UsageDataPoint, UsageSummary, type UsageSummaryData, type UsageSummaryProps, type UseAuthOptions, type UseAuthResult, type UseOptimisticSessionItemsOptions, type UsePtySessionOptions, type UsePtySessionReturn, type UseRunGroupsOptions, type UseSSEStreamOptions, type UseSSEStreamResult, type UseSandboxMetricsOptions, type UseSandboxMetricsResult, type UseSdkSessionOptions, type UseSdkSessionReturn, type UseSessionStreamOptions, type UseSessionStreamResult, type UseSidecarAuthOptions, type UseToolCallStreamReturn, UserMenu, type UserMenuProps, UserMessage, type UserMessageProps, VAULT_TREE_CHILD_PAGE, VaultTree, type VaultTreeProps, WebSearchPreview, type WebSearchPreviewProps, WorkspaceArtifactView, type WorkspaceArtifactViewProps, WorkspaceFilesPane, type WorkspaceFilesPaneProps, type WorkspaceFilesPreview, WorkspaceLayout, type WorkspaceLayoutProps, WorkspacePaneHeader, type WorkspacePaneHeaderProps, WorkspaceSurface, WorkspaceSurfaceFrame, type WorkspaceSurfaceFrameProps, type WorkspaceSurfaceHeadingLevel, type WorkspaceSurfaceProps, WorkspaceSurfaceTitle, type WorkspaceSurfaceTitleProps, WriteFilePreview, type WriteFilePreviewProps, activeSessionsAtom, addMessage, addParts, buildUnifiedPatch, bumpActiveSessionActivity, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, codeBlockGrammar, computeDiffStats, configurePdfViewer, connectSession, copyText, createAuthFetcher, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fenceInfo, fileExtension, fileTreeFromPaths, filterFileNodes, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSanitizedMarkdownHeadingIdFromRawFragment, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, isViewerMessage, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, messagesAtom, modelBrandFor, modelProvider, numericColumns, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, plainTextFromMarkdown, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sandboxStatus, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, showsTaskPriority, snapHarnessToModel, tableCsv, taskProgress, taskStatus, timeAgo, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./rolldown-runtime-BBjsoOtd.js";
|
|
2
|
+
import { i as TangleKnot, n as SectionTitle, r as Logo, t as primitives_exports } from "./primitives-CLOVnjWz.js";
|
|
3
3
|
import { i as WorkspacePaneHeader, n as SHELL_INSET_GUTTER, r as ShellHeader, t as SHELL_HEADER_HEIGHT } from "./shell-header-CTh3oV_e.js";
|
|
4
|
-
import { C as WorkspaceSurfaceTitle, S as WorkspaceSurfaceFrame, _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, x as WorkspaceSurface, y as DirectoryPane } from "./workspace-
|
|
4
|
+
import { C as WorkspaceSurfaceTitle, S as WorkspaceSurfaceFrame, _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, x as WorkspaceSurface, y as DirectoryPane } from "./workspace-Bg1MFr9I.js";
|
|
5
5
|
import { i as VaultTree, n as filterFileNodes, r as VAULT_TREE_CHILD_PAGE, t as fileTreeFromPaths } from "./tree-data-DtoCNNBJ.js";
|
|
6
|
-
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-
|
|
6
|
+
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-SFakZEtu.js";
|
|
7
7
|
import { i as modelBrandFor, n as ProviderMark, r as canonicalModelId, t as ModelBrandStack } from "./model-brand-BSr9on8C.js";
|
|
8
8
|
import { a as formatPrice, i as PricingPage, n as SandboxPageShell, o as BillingDashboard, r as UsageChart, t as DashboardPageHeader } from "./page-layout-2IRtfx51.js";
|
|
9
9
|
import { t as usePtySession } from "./use-pty-session-B5Q_i9RI.js";
|
|
10
|
+
import { a as computeDiffStats, c as BRAND_PRISM_THEME, d as DiffStatsBadge, f as GitStatusBadge, i as buildUnifiedPatch, l as CodeSurface, m as PillTabs, n as SandboxArtifactPane, o as CodeView, p as PanelHeader, r as DiffView, s as FileBreadcrumb, t as ChangesPane, u as resolveLanguage } from "./workbench-BdW-YQ68.js";
|
|
10
11
|
import { CSV_PREVIEW_ROW_LIMIT, FileArtifactPane, FileCard, FileList, FilePreview, FileTabs, FileTree, PdfViewer, RichFileTree, configurePdfViewer, detectFileFormat, fileExtension, filterFileTree, getCodeLanguage, getFormatLabel, getSyntaxLanguage, parseCsv, resolveFilePreviewKind } from "./files.js";
|
|
11
12
|
import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-CYb9hevq.js";
|
|
12
13
|
import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "./openui.js";
|
|
@@ -23,4 +24,284 @@ import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focus
|
|
|
23
24
|
import { TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine } from "@tangle-network/ui/primitives";
|
|
24
25
|
import { ApiSchema, CodeBlock as CodeBlockDisplay, Markdown, codeBlockGrammar, fenceInfo, getSanitizedMarkdownHeadingIdFromRawFragment, numericColumns, tableCsv } from "@tangle-network/ui/markdown";
|
|
25
26
|
import { CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, QuestionPreview, WebSearchPreview, WriteFilePreview } from "@tangle-network/ui/tool-previews";
|
|
26
|
-
export
|
|
27
|
+
export * from "@tangle-network/ui/primitives";
|
|
28
|
+
__reExport(/* @__PURE__ */ __exportAll({
|
|
29
|
+
ActivityFeed: () => ActivityFeed,
|
|
30
|
+
AgentMessagingConnection: () => AgentMessagingConnection,
|
|
31
|
+
AgentProfilePicker: () => AgentProfilePicker,
|
|
32
|
+
AgentTimeline: () => AgentTimeline,
|
|
33
|
+
ApiSchema: () => ApiSchema,
|
|
34
|
+
ApprovalCard: () => ApprovalCard,
|
|
35
|
+
ApprovalDiffSummary: () => ApprovalDiffSummary,
|
|
36
|
+
ApprovalQueue: () => ApprovalQueue,
|
|
37
|
+
ArtifactAgentDock: () => ArtifactAgentDock,
|
|
38
|
+
ArtifactPane: () => ArtifactPane,
|
|
39
|
+
AuthHeader: () => AuthHeader,
|
|
40
|
+
BRAND_PRISM_THEME: () => BRAND_PRISM_THEME,
|
|
41
|
+
BackendSelector: () => BackendSelector,
|
|
42
|
+
BillingDashboard: () => BillingDashboard,
|
|
43
|
+
CSV_PREVIEW_ROW_LIMIT: () => CSV_PREVIEW_ROW_LIMIT,
|
|
44
|
+
CalendarView: () => CalendarView,
|
|
45
|
+
ChangesPane: () => ChangesPane,
|
|
46
|
+
ChatContainer: () => ChatContainer,
|
|
47
|
+
ChatMessage: () => ChatMessage,
|
|
48
|
+
CodeBlockDisplay: () => CodeBlockDisplay,
|
|
49
|
+
CodeSurface: () => CodeSurface,
|
|
50
|
+
CodeView: () => CodeView,
|
|
51
|
+
CommandPreview: () => CommandPreview,
|
|
52
|
+
DEFAULT_REASONING_LEVEL_OPTIONS: () => DEFAULT_REASONING_LEVEL_OPTIONS,
|
|
53
|
+
DashboardLayout: () => DashboardLayout,
|
|
54
|
+
DashboardPageHeader: () => DashboardPageHeader,
|
|
55
|
+
DiffPreview: () => DiffPreview,
|
|
56
|
+
DiffStatsBadge: () => DiffStatsBadge,
|
|
57
|
+
DiffView: () => DiffView,
|
|
58
|
+
DirectoryPane: () => DirectoryPane,
|
|
59
|
+
EmbeddedAppView: () => EmbeddedAppView,
|
|
60
|
+
ExpandedToolDetail: () => ExpandedToolDetail,
|
|
61
|
+
FileArtifactPane: () => FileArtifactPane,
|
|
62
|
+
FileBreadcrumb: () => FileBreadcrumb,
|
|
63
|
+
FileCard: () => FileCard,
|
|
64
|
+
FileList: () => FileList,
|
|
65
|
+
FilePreview: () => FilePreview,
|
|
66
|
+
FileTabs: () => FileTabs,
|
|
67
|
+
FileTree: () => FileTree,
|
|
68
|
+
GitHubLoginButton: () => GitHubLoginButton,
|
|
69
|
+
GitPanel: () => GitPanel,
|
|
70
|
+
GitStatusBadge: () => GitStatusBadge,
|
|
71
|
+
GlobResultsPreview: () => GlobResultsPreview,
|
|
72
|
+
GrepResultsPreview: () => GrepResultsPreview,
|
|
73
|
+
HARNESS_BRAND: () => HARNESS_BRAND,
|
|
74
|
+
HARNESS_OPTIONS: () => HARNESS_OPTIONS,
|
|
75
|
+
HARNESS_REASONING_OPTIONS: () => HARNESS_REASONING_OPTIONS,
|
|
76
|
+
HarnessLogo: () => HarnessLogo,
|
|
77
|
+
HarnessPicker: () => HarnessPicker,
|
|
78
|
+
INSUFFICIENT_BALANCE_CODE: () => INSUFFICIENT_BALANCE_CODE,
|
|
79
|
+
InlineThinkingItem: () => InlineThinkingItem,
|
|
80
|
+
InlineToolItem: () => InlineToolItem,
|
|
81
|
+
LiveDuration: () => LiveDuration,
|
|
82
|
+
LoginLayout: () => LoginLayout,
|
|
83
|
+
Logo: () => Logo,
|
|
84
|
+
Markdown: () => Markdown,
|
|
85
|
+
MessageAuthor: () => MessageAuthor,
|
|
86
|
+
MessageList: () => MessageList,
|
|
87
|
+
MetricAreaChart: () => MetricAreaChart,
|
|
88
|
+
ModelBrandStack: () => ModelBrandStack,
|
|
89
|
+
NewSandboxCard: () => NewSandboxCard,
|
|
90
|
+
OPENUI_NODE_JSON_SCHEMA: () => OPENUI_NODE_JSON_SCHEMA,
|
|
91
|
+
OPENUI_NODE_TYPES: () => OPENUI_NODE_TYPES,
|
|
92
|
+
OpenUIArtifactRenderer: () => OpenUIArtifactRenderer,
|
|
93
|
+
OutOfCreditsModal: () => OutOfCreditsModal,
|
|
94
|
+
PanelHeader: () => PanelHeader,
|
|
95
|
+
PdfViewer: () => PdfViewer,
|
|
96
|
+
PillTabs: () => PillTabs,
|
|
97
|
+
PortsList: () => PortsList,
|
|
98
|
+
PreviewView: () => PreviewView,
|
|
99
|
+
PricingPage: () => PricingPage,
|
|
100
|
+
ProcessList: () => ProcessList,
|
|
101
|
+
ProfileAvatar: () => ProfileAvatar,
|
|
102
|
+
PromoBanner: () => PromoBanner,
|
|
103
|
+
ProviderMark: () => ProviderMark,
|
|
104
|
+
QuestionPreview: () => QuestionPreview,
|
|
105
|
+
RailButton: () => RailButton,
|
|
106
|
+
RailExpandable: () => RailExpandable,
|
|
107
|
+
RailFlyout: () => RailFlyout,
|
|
108
|
+
RailHeader: () => RailHeader,
|
|
109
|
+
RailModeButton: () => RailModeButton,
|
|
110
|
+
RailSeparator: () => RailSeparator,
|
|
111
|
+
RailTooltip: () => RailTooltip,
|
|
112
|
+
RealtimeSessionRegistry: () => RealtimeSessionRegistry,
|
|
113
|
+
ReasoningLevelPicker: () => ReasoningLevelPicker,
|
|
114
|
+
ResourceMeter: () => ResourceMeter,
|
|
115
|
+
ResourceSnapshot: () => ResourceSnapshot,
|
|
116
|
+
RichFileTree: () => RichFileTree,
|
|
117
|
+
RunGroup: () => RunGroup,
|
|
118
|
+
RunPhaseList: () => RunPhaseList,
|
|
119
|
+
RunRowShell: () => RunRowShell,
|
|
120
|
+
RunRowStatusDot: () => RunRowStatusDot,
|
|
121
|
+
RuntimePane: () => RuntimePane,
|
|
122
|
+
SANDBOX_STATUS: () => SANDBOX_STATUS,
|
|
123
|
+
SESSION_CREATED_EVENT: () => SESSION_CREATED_EVENT,
|
|
124
|
+
SHELL_HEADER_HEIGHT: () => SHELL_HEADER_HEIGHT,
|
|
125
|
+
SHELL_INSET_GUTTER: () => SHELL_INSET_GUTTER,
|
|
126
|
+
SIDEBAR_MOBILE_WIDTH: () => 256,
|
|
127
|
+
SIDEBAR_PANEL_WIDTH: () => 268,
|
|
128
|
+
SIDEBAR_RAIL_LABELED_WIDTH: () => 248,
|
|
129
|
+
SIDEBAR_RAIL_WIDTH: () => 56,
|
|
130
|
+
SIDEBAR_TOTAL_WIDTH: () => 324,
|
|
131
|
+
SandboxArtifactPane: () => SandboxArtifactPane,
|
|
132
|
+
SandboxCard: () => SandboxCard,
|
|
133
|
+
SandboxPageShell: () => SandboxPageShell,
|
|
134
|
+
SandboxStatusPill: () => SandboxStatusPill,
|
|
135
|
+
SandboxTable: () => SandboxTable,
|
|
136
|
+
SandboxWorkbench: () => SandboxWorkbench,
|
|
137
|
+
SectionTitle: () => SectionTitle,
|
|
138
|
+
SessionSidebar: () => SessionSidebar,
|
|
139
|
+
ShellHeader: () => ShellHeader,
|
|
140
|
+
Sidebar: () => Sidebar,
|
|
141
|
+
SidebarContent: () => SidebarContent,
|
|
142
|
+
SidebarLayout: () => SidebarLayout,
|
|
143
|
+
SidebarPanel: () => SidebarPanel,
|
|
144
|
+
SidebarPanelContent: () => SidebarPanelContent,
|
|
145
|
+
SidebarPanelHeader: () => SidebarPanelHeader,
|
|
146
|
+
SidebarProvider: () => SidebarProvider,
|
|
147
|
+
SidebarRail: () => SidebarRail,
|
|
148
|
+
SidebarRailFooter: () => SidebarRailFooter,
|
|
149
|
+
SidebarRailNav: () => SidebarRailNav,
|
|
150
|
+
SnapshotList: () => SnapshotList,
|
|
151
|
+
StatusBanner: () => StatusBanner,
|
|
152
|
+
StatusBar: () => StatusBar,
|
|
153
|
+
SystemLogsViewer: () => SystemLogsViewer,
|
|
154
|
+
TOOL_CATEGORY_ICONS: () => TOOL_CATEGORY_ICONS,
|
|
155
|
+
TRANSCRIPT_TEXT: () => TRANSCRIPT_TEXT,
|
|
156
|
+
TangleKnot: () => TangleKnot,
|
|
157
|
+
TangleLoginButton: () => TangleLoginButton,
|
|
158
|
+
TaskBoard: () => TaskBoard,
|
|
159
|
+
TaskList: () => TaskList,
|
|
160
|
+
TemplateCard: () => TemplateCard,
|
|
161
|
+
TerminalDisplayCursor: () => TerminalDisplayCursor,
|
|
162
|
+
TerminalDisplayInput: () => TerminalDisplayInput,
|
|
163
|
+
TerminalDisplayLine: () => TerminalDisplayLine,
|
|
164
|
+
TerminalPanel: () => TerminalPanel,
|
|
165
|
+
ThinkingIndicator: () => ThinkingIndicator,
|
|
166
|
+
ToolCallFeed: () => ToolCallFeed,
|
|
167
|
+
UsageChart: () => UsageChart,
|
|
168
|
+
UsageSummary: () => UsageSummary,
|
|
169
|
+
UserMenu: () => UserMenu,
|
|
170
|
+
UserMessage: () => UserMessage,
|
|
171
|
+
VAULT_TREE_CHILD_PAGE: () => 200,
|
|
172
|
+
VaultTree: () => VaultTree,
|
|
173
|
+
WebSearchPreview: () => WebSearchPreview,
|
|
174
|
+
WorkspaceArtifactView: () => WorkspaceArtifactView,
|
|
175
|
+
WorkspaceFilesPane: () => WorkspaceFilesPane,
|
|
176
|
+
WorkspaceLayout: () => WorkspaceLayout,
|
|
177
|
+
WorkspacePaneHeader: () => WorkspacePaneHeader,
|
|
178
|
+
WorkspaceSurface: () => WorkspaceSurface,
|
|
179
|
+
WorkspaceSurfaceFrame: () => WorkspaceSurfaceFrame,
|
|
180
|
+
WorkspaceSurfaceTitle: () => WorkspaceSurfaceTitle,
|
|
181
|
+
WriteFilePreview: () => WriteFilePreview,
|
|
182
|
+
activeSessionsAtom: () => activeSessionsAtom,
|
|
183
|
+
addMessage: () => addMessage,
|
|
184
|
+
addParts: () => addParts,
|
|
185
|
+
buildUnifiedPatch: () => buildUnifiedPatch,
|
|
186
|
+
bumpActiveSessionActivity: () => bumpActiveSessionActivity,
|
|
187
|
+
canAdminSandbox: () => canAdminSandbox,
|
|
188
|
+
canonicalModelId: () => canonicalModelId,
|
|
189
|
+
chatCapableHarnesses: () => chatCapableHarnesses,
|
|
190
|
+
clearChat: () => clearChat,
|
|
191
|
+
cn: () => cn,
|
|
192
|
+
codeBlockGrammar: () => codeBlockGrammar,
|
|
193
|
+
computeDiffStats: () => computeDiffStats,
|
|
194
|
+
configurePdfViewer: () => configurePdfViewer,
|
|
195
|
+
connectSession: () => connectSession,
|
|
196
|
+
copyText: () => copyText,
|
|
197
|
+
createAuthFetcher: () => createAuthFetcher,
|
|
198
|
+
createShellShouldRevalidate: () => createShellShouldRevalidate,
|
|
199
|
+
detectFileFormat: () => detectFileFormat,
|
|
200
|
+
disconnectSession: () => disconnectSession,
|
|
201
|
+
dispatchSessionCreated: () => dispatchSessionCreated,
|
|
202
|
+
fenceInfo: () => fenceInfo,
|
|
203
|
+
fileExtension: () => fileExtension,
|
|
204
|
+
fileTreeFromPaths: () => fileTreeFromPaths,
|
|
205
|
+
filterFileNodes: () => filterFileNodes,
|
|
206
|
+
filterFileTree: () => filterFileTree,
|
|
207
|
+
findUnsupportedOpenUINode: () => findUnsupportedOpenUINode,
|
|
208
|
+
focusField: () => focusField,
|
|
209
|
+
focusFieldInvalid: () => focusFieldInvalid,
|
|
210
|
+
focusFieldWithin: () => focusFieldWithin,
|
|
211
|
+
focusRing: () => focusRing,
|
|
212
|
+
focusRingInset: () => focusRingInset,
|
|
213
|
+
formatBytes: () => formatBytes,
|
|
214
|
+
formatDuration: () => formatDuration,
|
|
215
|
+
formatPrice: () => formatPrice,
|
|
216
|
+
formatRelativeAge: () => formatRelativeAge,
|
|
217
|
+
formatUptime: () => formatUptime,
|
|
218
|
+
getActiveSession: () => getActiveSession,
|
|
219
|
+
getAllActiveSessions: () => getAllActiveSessions,
|
|
220
|
+
getAllProjectActivity: () => getAllProjectActivity,
|
|
221
|
+
getCodeLanguage: () => getCodeLanguage,
|
|
222
|
+
getFormatLabel: () => getFormatLabel,
|
|
223
|
+
getSanitizedMarkdownHeadingIdFromRawFragment: () => getSanitizedMarkdownHeadingIdFromRawFragment,
|
|
224
|
+
getSessionsByActivity: () => getSessionsByActivity,
|
|
225
|
+
getSessionsForNavbar: () => getSessionsForNavbar,
|
|
226
|
+
getSessionsForProject: () => getSessionsForProject,
|
|
227
|
+
getSyntaxLanguage: () => getSyntaxLanguage,
|
|
228
|
+
getToolCategory: () => getToolCategory,
|
|
229
|
+
getToolDisplayMetadata: () => getToolDisplayMetadata,
|
|
230
|
+
getToolErrorText: () => getToolErrorText,
|
|
231
|
+
getTotalRunningSessionCount: () => getTotalRunningSessionCount,
|
|
232
|
+
hasBackgroundRunningSessions: () => hasBackgroundRunningSessions,
|
|
233
|
+
isStreamingAtom: () => isStreamingAtom,
|
|
234
|
+
isViewerMessage: () => isViewerMessage,
|
|
235
|
+
ixControl: () => ixControl,
|
|
236
|
+
ixControlAfter: () => ixControlAfter,
|
|
237
|
+
ixControlSoft: () => ixControlSoft,
|
|
238
|
+
ixField: () => ixField,
|
|
239
|
+
ixRow: () => ixRow,
|
|
240
|
+
ixSelected: () => ixSelected,
|
|
241
|
+
ixTabUnderline: () => ixTabUnderline,
|
|
242
|
+
messagesAtom: () => messagesAtom,
|
|
243
|
+
modelBrandFor: () => modelBrandFor,
|
|
244
|
+
modelProvider: () => modelProvider,
|
|
245
|
+
numericColumns: () => numericColumns,
|
|
246
|
+
parseCsv: () => parseCsv,
|
|
247
|
+
parseInsufficientBalance: () => parseInsufficientBalance,
|
|
248
|
+
parseToolEvent: () => parseToolEvent,
|
|
249
|
+
partMapAtom: () => partMapAtom,
|
|
250
|
+
plainTextFromMarkdown: () => plainTextFromMarkdown,
|
|
251
|
+
registerActiveSession: () => registerActiveSession,
|
|
252
|
+
resetActiveSessions: () => resetActiveSessions,
|
|
253
|
+
resolveFilePreviewKind: () => resolveFilePreviewKind,
|
|
254
|
+
resolveLanguage: () => resolveLanguage,
|
|
255
|
+
sandboxStatus: () => sandboxStatus,
|
|
256
|
+
sessionAtom: () => sessionAtom,
|
|
257
|
+
setActiveSessionAttention: () => setActiveSessionAttention,
|
|
258
|
+
setActiveSessionConnection: () => setActiveSessionConnection,
|
|
259
|
+
setActiveSessionError: () => setActiveSessionError,
|
|
260
|
+
setActiveSessionRunning: () => setActiveSessionRunning,
|
|
261
|
+
setForegroundActiveSession: () => setForegroundActiveSession,
|
|
262
|
+
shellShouldRevalidate: () => shellShouldRevalidate,
|
|
263
|
+
showsTaskPriority: () => showsTaskPriority,
|
|
264
|
+
snapHarnessToModel: () => snapHarnessToModel,
|
|
265
|
+
tableCsv: () => tableCsv,
|
|
266
|
+
taskProgress: () => taskProgress,
|
|
267
|
+
taskStatus: () => taskStatus,
|
|
268
|
+
timeAgo: () => timeAgo,
|
|
269
|
+
truncateText: () => truncateText,
|
|
270
|
+
unregisterActiveSession: () => unregisterActiveSession,
|
|
271
|
+
updateActiveSessionMeta: () => updateActiveSessionMeta,
|
|
272
|
+
updatePart: () => updatePart,
|
|
273
|
+
useActiveSession: () => useActiveSession,
|
|
274
|
+
useActiveSessions: () => useActiveSessions,
|
|
275
|
+
useActiveSessionsState: () => useActiveSessionsState,
|
|
276
|
+
useApiKey: () => useApiKey,
|
|
277
|
+
useAuth: () => useAuth,
|
|
278
|
+
useAutoScroll: () => useAutoScroll,
|
|
279
|
+
useCreateSession: () => useCreateSession,
|
|
280
|
+
useDeleteSession: () => useDeleteSession,
|
|
281
|
+
useDropdownMenu: () => useDropdownMenu,
|
|
282
|
+
useHasBackgroundRunningSessions: () => useHasBackgroundRunningSessions,
|
|
283
|
+
useLiveTime: () => useLiveTime,
|
|
284
|
+
useNavbarSessions: () => useNavbarSessions,
|
|
285
|
+
useOptimisticSessionItems: () => useOptimisticSessionItems,
|
|
286
|
+
useProjectActivity: () => useProjectActivity,
|
|
287
|
+
useProjectSessions: () => useProjectSessions,
|
|
288
|
+
usePtySession: () => usePtySession,
|
|
289
|
+
useRealtimeSession: () => useRealtimeSession,
|
|
290
|
+
useRenameSession: () => useRenameSession,
|
|
291
|
+
useRunCollapseState: () => useRunCollapseState,
|
|
292
|
+
useRunGroups: () => useRunGroups,
|
|
293
|
+
useSSEStream: () => useSSEStream,
|
|
294
|
+
useSandboxMetrics: () => useSandboxMetrics,
|
|
295
|
+
useSdkSession: () => useSdkSession,
|
|
296
|
+
useSessionStream: () => useSessionStream,
|
|
297
|
+
useSessions: () => useSessions,
|
|
298
|
+
useSessionsByActivity: () => useSessionsByActivity,
|
|
299
|
+
useSidebar: () => useSidebar,
|
|
300
|
+
useSidecarAuth: () => useSidecarAuth,
|
|
301
|
+
useToolCallStream: () => useToolCallStream,
|
|
302
|
+
useTotalRunningSessions: () => useTotalRunningSessions,
|
|
303
|
+
validateOpenUIJsonArtifact: () => validateOpenUIJsonArtifact,
|
|
304
|
+
validateOpenUIJsonNode: () => validateOpenUIJsonNode
|
|
305
|
+
}), primitives_exports);
|
|
306
|
+
//#endregion
|
|
307
|
+
export { ActivityFeed, AgentMessagingConnection, AgentProfilePicker, AgentTimeline, ApiSchema, ApprovalCard, ApprovalDiffSummary, ApprovalQueue, ArtifactAgentDock, ArtifactPane, AuthHeader, BRAND_PRISM_THEME, BackendSelector, BillingDashboard, CSV_PREVIEW_ROW_LIMIT, CalendarView, ChangesPane, ChatContainer, ChatMessage, CodeBlockDisplay, CodeSurface, CodeView, CommandPreview, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, DashboardPageHeader, DiffPreview, DiffStatsBadge, DiffView, DirectoryPane, EmbeddedAppView, ExpandedToolDetail, FileArtifactPane, FileBreadcrumb, FileCard, FileList, FilePreview, FileTabs, FileTree, GitHubLoginButton, GitPanel, GitStatusBadge, GlobResultsPreview, GrepResultsPreview, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, InlineThinkingItem, InlineToolItem, LiveDuration, LoginLayout, Logo, Markdown, MessageAuthor, MessageList, MetricAreaChart, ModelBrandStack, NewSandboxCard, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, OutOfCreditsModal, PanelHeader, PdfViewer, PillTabs, PortsList, PreviewView, PricingPage, ProcessList, ProfileAvatar, PromoBanner, ProviderMark, QuestionPreview, RailButton, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailTooltip, RealtimeSessionRegistry, ReasoningLevelPicker, ResourceMeter, ResourceSnapshot, RichFileTree, RunGroup, RunPhaseList, RunRowShell, RunRowStatusDot, RuntimePane, SANDBOX_STATUS, SESSION_CREATED_EVENT, SHELL_HEADER_HEIGHT, SHELL_INSET_GUTTER, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxArtifactPane, SandboxCard, SandboxPageShell, SandboxStatusPill, SandboxTable, SandboxWorkbench, SectionTitle, SessionSidebar, ShellHeader, Sidebar, SidebarContent, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailNav, SnapshotList, StatusBanner, StatusBar, SystemLogsViewer, TOOL_CATEGORY_ICONS, TRANSCRIPT_TEXT, TangleKnot, TangleLoginButton, TaskBoard, TaskList, TemplateCard, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, TerminalPanel, ThinkingIndicator, ToolCallFeed, UsageChart, UsageSummary, UserMenu, UserMessage, VAULT_TREE_CHILD_PAGE, VaultTree, WebSearchPreview, WorkspaceArtifactView, WorkspaceFilesPane, WorkspaceLayout, WorkspacePaneHeader, WorkspaceSurface, WorkspaceSurfaceFrame, WorkspaceSurfaceTitle, WriteFilePreview, activeSessionsAtom, addMessage, addParts, buildUnifiedPatch, bumpActiveSessionActivity, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, codeBlockGrammar, computeDiffStats, configurePdfViewer, connectSession, copyText, createAuthFetcher, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fenceInfo, fileExtension, fileTreeFromPaths, filterFileNodes, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSanitizedMarkdownHeadingIdFromRawFragment, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, isViewerMessage, ixControl, ixControlAfter, ixControlSoft, ixField, ixRow, ixSelected, ixTabUnderline, messagesAtom, modelBrandFor, modelProvider, numericColumns, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, plainTextFromMarkdown, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sandboxStatus, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, showsTaskPriority, snapHarnessToModel, tableCsv, taskProgress, taskStatus, timeAgo, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./rolldown-runtime-BBjsoOtd.js";
|
|
2
|
+
import { PageHeader } from "@tangle-network/ui/primitives";
|
|
3
|
+
import { Logo, TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
//#region src/primitives/logo.tsx
|
|
6
|
+
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
7
|
+
function Logo$1({ variant = "sandbox", size = "md", className, iconOnly = false }) {
|
|
8
|
+
return /* @__PURE__ */ jsx(Logo, {
|
|
9
|
+
size,
|
|
10
|
+
variant: iconOnly ? "icon" : "full",
|
|
11
|
+
suffix: variant === "sandbox" ? "Sandbox" : null,
|
|
12
|
+
className
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
Logo$1.displayName = "Logo";
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/primitives/heading.tsx
|
|
18
|
+
/** Compatibility name for the canonical nested (h2) page header. */
|
|
19
|
+
function SectionTitle(props) {
|
|
20
|
+
return /* @__PURE__ */ jsx(PageHeader, {
|
|
21
|
+
...props,
|
|
22
|
+
level: 2
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/primitives/index.ts
|
|
27
|
+
var primitives_exports = /* @__PURE__ */ __exportAll({
|
|
28
|
+
Logo: () => Logo$1,
|
|
29
|
+
SectionTitle: () => SectionTitle,
|
|
30
|
+
TangleKnot: () => TangleKnot$1
|
|
31
|
+
});
|
|
32
|
+
import * as import__tangle_network_ui_primitives from "@tangle-network/ui/primitives";
|
|
33
|
+
__reExport(primitives_exports, import__tangle_network_ui_primitives);
|
|
34
|
+
//#endregion
|
|
35
|
+
export { TangleKnot$1 as i, SectionTitle as n, Logo$1 as r, primitives_exports as t };
|
package/dist/primitives.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { a as LogoProps, i as Logo, n as SectionTitle, o as TangleKnot, r as SectionTitleProps, t as HeadingProps } from "./index-DsU8ts9f.js";
|
|
2
|
+
export * from "@tangle-network/ui/primitives";
|
|
3
|
+
export { type HeadingProps, Logo, type LogoProps, SectionTitle, type SectionTitleProps, TangleKnot };
|
package/dist/primitives.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { i as TangleKnot, n as SectionTitle, r as Logo } from "./primitives-CLOVnjWz.js";
|
|
2
|
+
export * from "@tangle-network/ui/primitives";
|
|
3
|
+
export { Logo, SectionTitle, TangleKnot };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __exportAll = (all, no_symbols) => {
|
|
7
|
+
let target = {};
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
17
|
+
key = keys[i];
|
|
18
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
19
|
+
get: ((k) => from[k]).bind(null, key),
|
|
20
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
24
|
+
};
|
|
25
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
26
|
+
//#endregion
|
|
27
|
+
export { __reExport as n, __exportAll as t };
|
package/dist/styles.css
CHANGED
|
@@ -1846,6 +1846,9 @@
|
|
|
1846
1846
|
.scroll-mt-\[calc\(var\(--shell-header-height\)_\+_1rem\)\] {
|
|
1847
1847
|
scroll-margin-top: calc(var(--shell-header-height) + 1rem);
|
|
1848
1848
|
}
|
|
1849
|
+
.scrollbar-none {
|
|
1850
|
+
scrollbar-width: none;
|
|
1851
|
+
}
|
|
1849
1852
|
.\[scrollbar-gutter\:stable\] {
|
|
1850
1853
|
scrollbar-gutter: stable;
|
|
1851
1854
|
}
|
|
@@ -3140,6 +3143,9 @@
|
|
|
3140
3143
|
.\[mask-image\:linear-gradient\(to_bottom\,black_75\%\,transparent\)\] {
|
|
3141
3144
|
mask-image: linear-gradient(to bottom,black 75%,transparent);
|
|
3142
3145
|
}
|
|
3146
|
+
.\[mask-image\:linear-gradient\(to_right\,transparent\,black_16px\,black_calc\(100\%-16px\)\,transparent\)\] {
|
|
3147
|
+
mask-image: linear-gradient(to right,transparent,black 16px,black calc(100% - 16px),transparent);
|
|
3148
|
+
}
|
|
3143
3149
|
.fill-current {
|
|
3144
3150
|
fill: currentcolor;
|
|
3145
3151
|
}
|
|
@@ -4073,6 +4079,12 @@
|
|
|
4073
4079
|
.opacity-0 {
|
|
4074
4080
|
opacity: 0%;
|
|
4075
4081
|
}
|
|
4082
|
+
.opacity-10 {
|
|
4083
|
+
opacity: 10%;
|
|
4084
|
+
}
|
|
4085
|
+
.opacity-20 {
|
|
4086
|
+
opacity: 20%;
|
|
4087
|
+
}
|
|
4076
4088
|
.opacity-25 {
|
|
4077
4089
|
opacity: 25%;
|
|
4078
4090
|
}
|
|
@@ -4387,6 +4399,9 @@
|
|
|
4387
4399
|
.\[--field-surface\:hsl\(var\(--card\)\)\] {
|
|
4388
4400
|
--field-surface: hsl(var(--card));
|
|
4389
4401
|
}
|
|
4402
|
+
.\[-webkit-mask-image\:linear-gradient\(to_right\,transparent\,black_16px\,black_calc\(100\%-16px\)\,transparent\)\] {
|
|
4403
|
+
-webkit-mask-image: linear-gradient(to right,transparent,black 16px,black calc(100% - 16px),transparent);
|
|
4404
|
+
}
|
|
4390
4405
|
.\[transition\:color_var\(--motion-control\)\,background-color_var\(--motion-control\)\,border-color_var\(--motion-control\)\,box-shadow_var\(--motion-control\)\,transform_var\(--motion-control\)\,scale_var\(--motion-control\)\,opacity_var\(--motion-control\)\] {
|
|
4391
4406
|
transition: color var(--motion-control),background-color var(--motion-control),border-color var(--motion-control),box-shadow var(--motion-control),transform var(--motion-control),scale var(--motion-control),opacity var(--motion-control);
|
|
4392
4407
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-BBjsoOtd.js";
|
|
1
2
|
import { t as cn$1 } from "./utils-DzWbktWG.js";
|
|
2
|
-
import { a as PortsList } from "./dashboard-
|
|
3
|
+
import { a as PortsList } from "./dashboard-SFakZEtu.js";
|
|
3
4
|
import { n as TerminalView } from "./terminal-X6r5pjgv.js";
|
|
4
5
|
import { RichFileTree } from "./files.js";
|
|
5
6
|
import { n as PreviewView } from "./embedded-app-view-CYb9hevq.js";
|
|
@@ -11,18 +12,6 @@ import { Check, ChevronRight, Code2, Copy, FileCode2, GitBranch, GitCompare, Glo
|
|
|
11
12
|
import { focusRing, focusRingInset } from "@tangle-network/ui/utils";
|
|
12
13
|
import { FileDiff, getSingularPatch } from "@pierre/diffs";
|
|
13
14
|
import { createTwoFilesPatch, diffLines } from "diff";
|
|
14
|
-
//#region \0rolldown/runtime.js
|
|
15
|
-
var __defProp = Object.defineProperty;
|
|
16
|
-
var __exportAll = (all, no_symbols) => {
|
|
17
|
-
let target = {};
|
|
18
|
-
for (var name in all) __defProp(target, name, {
|
|
19
|
-
get: all[name],
|
|
20
|
-
enumerable: true
|
|
21
|
-
});
|
|
22
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
23
|
-
return target;
|
|
24
|
-
};
|
|
25
|
-
//#endregion
|
|
26
15
|
//#region src/workbench/pill-tabs.tsx
|
|
27
16
|
/**
|
|
28
17
|
* Sliding-pill segmented control. Reimplemented from blueprint-agent's
|
|
@@ -7571,7 +7560,7 @@ function DiffView({ filename, baseline, current, showFileHeader = true, defaultW
|
|
|
7571
7560
|
themeType: latestThemeType.current,
|
|
7572
7561
|
overflow: wrap ? "wrap" : "scroll",
|
|
7573
7562
|
disableFileHeader: !showFileHeader
|
|
7574
|
-
}, void 0
|
|
7563
|
+
}, void 0);
|
|
7575
7564
|
instanceRef.current = instance;
|
|
7576
7565
|
appliedThemeType.current = latestThemeType.current;
|
|
7577
7566
|
instance.hydrate({
|
package/dist/workbench.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as computeDiffStats, c as BRAND_PRISM_THEME, d as DiffStatsBadge, f as GitStatusBadge, i as buildUnifiedPatch, l as CodeSurface, m as PillTabs, n as SandboxArtifactPane, o as CodeView, p as PanelHeader, r as DiffView, s as FileBreadcrumb, t as ChangesPane, u as resolveLanguage } from "./workbench-
|
|
1
|
+
import { a as computeDiffStats, c as BRAND_PRISM_THEME, d as DiffStatsBadge, f as GitStatusBadge, i as buildUnifiedPatch, l as CodeSurface, m as PillTabs, n as SandboxArtifactPane, o as CodeView, p as PanelHeader, r as DiffView, s as FileBreadcrumb, t as ChangesPane, u as resolveLanguage } from "./workbench-BdW-YQ68.js";
|
|
2
2
|
import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-CYb9hevq.js";
|
|
3
3
|
export { BRAND_PRISM_THEME, ChangesPane, CodeSurface, CodeView, DiffStatsBadge, DiffView, EmbeddedAppView, FileBreadcrumb, GitStatusBadge, PanelHeader, PillTabs, PreviewView, SandboxArtifactPane, buildUnifiedPatch, computeDiffStats, resolveLanguage };
|
|
@@ -2556,12 +2556,18 @@ function WorkspaceFilesPane({ root, paths, selectedPath, onSelect, preview, onBa
|
|
|
2556
2556
|
const hasPreview = preview !== void 0;
|
|
2557
2557
|
const isEmpty = nodes.length === 0;
|
|
2558
2558
|
const normalizedSelection = selectedPath?.replace(/^(\.\/|\/)+/, "").replace(/\/+$/, "");
|
|
2559
|
+
const mountedRef = useRef(false);
|
|
2559
2560
|
useEffect(() => {
|
|
2560
|
-
if (
|
|
2561
|
+
if (!mountedRef.current) {
|
|
2562
|
+
mountedRef.current = true;
|
|
2563
|
+
wasPreviewRef.current = hasPreview;
|
|
2564
|
+
return;
|
|
2565
|
+
}
|
|
2566
|
+
if (hasPreview && !wasPreviewRef.current) backRef.current?.focus({ preventScroll: true });
|
|
2561
2567
|
if (!hasPreview && wasPreviewRef.current) {
|
|
2562
2568
|
const target = returnFocusRef.current;
|
|
2563
|
-
if (target?.isConnected) target.focus();
|
|
2564
|
-
else treeRef.current?.focus();
|
|
2569
|
+
if (target?.isConnected) target.focus({ preventScroll: true });
|
|
2570
|
+
else treeRef.current?.focus({ preventScroll: true });
|
|
2565
2571
|
}
|
|
2566
2572
|
wasPreviewRef.current = hasPreview;
|
|
2567
2573
|
}, [hasPreview]);
|
package/dist/workspace.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as WorkspacePaneHeader, n as SHELL_INSET_GUTTER, r as ShellHeader, t as SHELL_HEADER_HEIGHT } from "./shell-header-CTh3oV_e.js";
|
|
2
|
-
import { C as WorkspaceSurfaceTitle, S as WorkspaceSurfaceFrame, _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, x as WorkspaceSurface, y as DirectoryPane } from "./workspace-
|
|
2
|
+
import { C as WorkspaceSurfaceTitle, S as WorkspaceSurfaceFrame, _ as StatusBar, a as TaskBoard, b as WorkspaceLayout, c as createShellShouldRevalidate, d as SESSION_CREATED_EVENT, f as dispatchSessionCreated, g as TerminalPanel, h as RuntimePane, i as CalendarView, l as shellShouldRevalidate, m as formatRelativeAge, n as WorkspaceFilesPane, o as SandboxWorkbench, p as useOptimisticSessionItems, r as ApprovalQueue, s as WorkspaceArtifactView, t as ArtifactPane, u as SessionSidebar, v as StatusBanner, x as WorkspaceSurface, y as DirectoryPane } from "./workspace-Bg1MFr9I.js";
|
|
3
3
|
export { ApprovalQueue, ArtifactPane, CalendarView, DirectoryPane, RuntimePane, SESSION_CREATED_EVENT, SHELL_HEADER_HEIGHT, SHELL_INSET_GUTTER, SandboxWorkbench, SessionSidebar, ShellHeader, StatusBanner, StatusBar, TaskBoard, TerminalPanel, WorkspaceArtifactView, WorkspaceFilesPane, WorkspaceLayout, WorkspacePaneHeader, WorkspaceSurface, WorkspaceSurfaceFrame, WorkspaceSurfaceTitle, createShellShouldRevalidate, dispatchSessionCreated, formatRelativeAge, shellShouldRevalidate, useOptimisticSessionItems };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.137.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
6
6
|
"repository": {
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
"@hocuspocus/provider": ">=2.15.0 <5.0.0",
|
|
134
134
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
135
135
|
"@tangle-network/agent-interface": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^5.2.0",
|
|
136
|
-
"@tangle-network/brand": "^1.26.
|
|
137
|
-
"@tangle-network/ui": "^11.
|
|
136
|
+
"@tangle-network/brand": "^1.26.2",
|
|
137
|
+
"@tangle-network/ui": "^11.42.0",
|
|
138
138
|
"@tanstack/react-query": "^5.0.0",
|
|
139
139
|
"@tiptap/core": ">=3.20.4 <4.0.0",
|
|
140
140
|
"@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
|
|
@@ -205,9 +205,10 @@
|
|
|
205
205
|
"dependencies": {
|
|
206
206
|
"@lobehub/icons-static-svg": "^1.95.1",
|
|
207
207
|
"@pierre/diffs": "^1.5.1",
|
|
208
|
-
"@radix-ui/react-dialog": "^1.1
|
|
209
|
-
"@radix-ui/react-dropdown-menu": "^2.1
|
|
210
|
-
"@radix-ui/react-select": "^2.
|
|
208
|
+
"@radix-ui/react-dialog": "^1.3.1",
|
|
209
|
+
"@radix-ui/react-dropdown-menu": "^2.2.1",
|
|
210
|
+
"@radix-ui/react-select": "^2.4.1",
|
|
211
|
+
"@tangle-network/ui": "11.42.0",
|
|
211
212
|
"diff": "^9.0.0",
|
|
212
213
|
"eventsource-parser": "4.1.1",
|
|
213
214
|
"lucide-react": "^1.48.0",
|
|
@@ -227,8 +228,8 @@
|
|
|
227
228
|
"@storybook/react-vite": "^10.6.0",
|
|
228
229
|
"@tailwindcss/postcss": "^4.3.3",
|
|
229
230
|
"@tangle-network/agent-interface": "5.2.0",
|
|
230
|
-
"@tangle-network/brand": "1.26.
|
|
231
|
-
"@tangle-network/ui": "11.
|
|
231
|
+
"@tangle-network/brand": "1.26.2",
|
|
232
|
+
"@tangle-network/ui": "11.42.0",
|
|
232
233
|
"@tanstack/react-query": "^5.104.0",
|
|
233
234
|
"@testing-library/dom": "^10.4.2",
|
|
234
235
|
"@testing-library/jest-dom": "^7.0.1",
|
package/dist/index-DHF7thHh.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Alert as Alert$1, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertProps, AlertTitle, AlertTone, ArtifactPane as ArtifactPane$1, ArtifactPaneProps, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, AvatarProps, Badge as Badge$1, BadgeProps, Button as Button$1, ButtonProps as ButtonProps$1, CATEGORY_TONES, Calendar, CalendarDate, CalendarProps, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, CardTitleProps, CategoryTone, Checkbox, Chip, ChipProps, CodeBlock, CodeBlockProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker as DatePicker$1, DatePickerProps, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropZoneProps, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, EmptyStateProps, Field, FieldProps, FilterField as FilterField$1, FilterFieldProps, Heading, HeadingVariant, HeadingVariant as HeadingVariant$1, HelpText, HelpTextProps, IconTile, IconTileProps, InlineCode, InlineCodeProps, Input as Input$1, InputProps, Label as Label$1, Metric, MetricProps, MetricStrip, MetricStripProps, PageHeader as PageHeader$1, PageHeaderProps, PageHeaderProps as PageHeaderProps$1, PageShell as PageShell$1, PageShellProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, RadioGroup, RadioGroupItem, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, SettingsList, SettingsListAction, SettingsListColumns, SettingsListItem, SettingsListItemProps, SettingsListMenuItem, SettingsListProps, SettingsRow, SettingsRowLayout, SettingsRowProps, SettingsSection, SettingsSectionProps, Sheet as Sheet$1, SheetClose as SheetClose$1, SheetContent as SheetContent$1, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle as SheetTitle$1, SheetTrigger as SheetTrigger$1, SidebarDropZone, SidebarDropZoneProps, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatCardProps, StatusPill as StatusPill$1, StatusPillProps as StatusPillProps$1, StatusTone as StatusTone$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableProps, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TagProps, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, TextShimmerProps, Textarea as Textarea$1, TextareaProps, ThemeToggle, TimeSelect, TimeSelectProps, Toast, ToastContainer, ToastProvider, Tone, ToneClasses, Toolbar as Toolbar$1, ToolbarProps, Tooltip as Tooltip$1, TooltipContent as TooltipContent$1, TooltipProvider as TooltipProvider$1, TooltipTrigger as TooltipTrigger$1, UploadFile, UploadProgress, UploadProgressProps, Wizard, WizardProps, WizardStep, WizardStepProps, badgeVariants, buttonVariants, fieldMessageId, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
|
-
import { TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
|
-
import { ElementType, HTMLAttributes, ReactNode } from "react";
|
|
4
|
-
//#region src/primitives/logo.d.ts
|
|
5
|
-
interface LogoProps {
|
|
6
|
-
variant?: "sandbox";
|
|
7
|
-
size?: "sm" | "md" | "lg" | "xl";
|
|
8
|
-
className?: string;
|
|
9
|
-
iconOnly?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
12
|
-
declare function Logo$1({ variant, size, className, iconOnly }: LogoProps): import("react").JSX.Element;
|
|
13
|
-
declare namespace Logo$1 {
|
|
14
|
-
var displayName: string;
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/primitives/heading.d.ts
|
|
18
|
-
/** Preserve the existing public type's required visual role and children.
|
|
19
|
-
* The binding above remains UI's object, without a local render function.
|
|
20
|
-
*/
|
|
21
|
-
interface HeadingProps extends Omit<HTMLAttributes<HTMLElement>, "role"> {
|
|
22
|
-
role: HeadingVariant;
|
|
23
|
-
as?: ElementType;
|
|
24
|
-
children: ReactNode;
|
|
25
|
-
}
|
|
26
|
-
type SectionTitleProps = Pick<PageHeaderProps, "title" | "description" | "action" | "className">;
|
|
27
|
-
/** Compatibility name for the canonical nested (h2) page header. */
|
|
28
|
-
declare function SectionTitle(props: SectionTitleProps): import("react").JSX.Element;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { ContextMenuPortal as $, SheetTitle$1 as $n, UploadProgressProps as $r, InputProps as $t, CalendarProps as A, SelectTrigger$1 as An, TerminalDisplay as Ar, DropdownMenuRadioGroup as At, Chip as B, SettingsRow as Bn, Toast as Br, Field as Bt, Badge$1 as C, SelectContent$1 as Cn, Tabs$1 as Cr, DropdownMenu$1 as Ct, CATEGORY_TONES as D, SelectScrollDownButton as Dn, Tag as Dr, DropdownMenuItem$1 as Dt, ButtonProps$1 as E, SelectLabel as En, TabsTrigger$1 as Er, DropdownMenuGroup as Et, CardHeader$1 as F, SettingsListColumns as Fn, Textarea$1 as Fr, DropdownMenuSubContent$1 as Ft, CollapsibleContent as G, Sheet$1 as Gn, Toolbar$1 as Gr, HeadingVariant$1 as Gt, CodeBlock as H, SettingsRowProps as Hn, ToastProvider as Hr, FilterField$1 as Ht, CardTitle$1 as I, SettingsListItem as In, TextareaProps as Ir, DropdownMenuSubTrigger$1 as It, ContextMenuCheckboxItem as J, SheetDescription as Jn, TooltipContent$1 as Jr, IconTile as Jt, CollapsibleTrigger as K, SheetClose$1 as Kn, ToolbarProps as Kr, HelpText as Kt, CardTitleProps as L, SettingsListItemProps as Ln, ThemeToggle as Lr, DropdownMenuTrigger$1 as Lt, CardContent$1 as M, Separator as Mn, TerminalLine as Mr, DropdownMenuSeparator$1 as Mt, CardDescription$1 as N, SettingsList as Nn, TextShimmer as Nr, DropdownMenuShortcut as Nt, Calendar as O, SelectScrollUpButton as On, TagProps as Or, DropdownMenuLabel$1 as Ot, CardFooter as P, SettingsListAction as Pn, TextShimmerProps as Pr, DropdownMenuSub$1 as Pt, ContextMenuLabel as Q, SheetPortal as Qn, UploadProgress as Qr, Input$1 as Qt, CategoryTone as R, SettingsListMenuItem as Rn, TimeSelect as Rr, EmptyState$1 as Rt, AvatarProps as S, Select$1 as Sn, TableRow as Sr, DropZoneProps as St, Button$1 as T, SelectItem$1 as Tn, TabsList$1 as Tr, DropdownMenuContent$1 as Tt, CodeBlockProps as U, SettingsSection as Un, Tone as Ur, FilterFieldProps as Ut, ChipProps as V, SettingsRowLayout as Vn, ToastContainer as Vr, FieldProps as Vt, Collapsible as W, SettingsSectionProps as Wn, ToneClasses as Wr, Heading as Wt, ContextMenuGroup as X, SheetHeader as Xn, TooltipTrigger$1 as Xr, InlineCode as Xt, ContextMenuContent as Y, SheetFooter as Yn, TooltipProvider$1 as Yr, IconTileProps as Yt, ContextMenuItem as Z, SheetOverlay as Zn, UploadFile as Zr, InlineCodeProps as Zt, ArtifactPane$1 as _, Logo$1 as _i, RadioGroup as _n, TableCell as _r, DialogOverlay as _t, AlertDialogCancel as a, buttonVariants as ai, PageHeader$1 as an, SkeletonTable as ar, ContextMenuSubContent as at, AvatarFallback$1 as b, SegmentedControlOption as bn, TableHeader as br, DialogTrigger$1 as bt, AlertDialogFooter as c, initialsOf as ci, PageShellProps as cn, StatCardProps as cr, CopyButton as ct, AlertDialogPortal as d, toneFor as di, Popover as dn, StatusTone$1 as dr, Dialog$1 as dt, Wizard as ei, Label$1 as en, SheetTrigger$1 as er, ContextMenuRadioGroup as et, AlertDialogTitle as f, useTheme as fi, PopoverAnchor as fn, Switch as fr, DialogClose$1 as ft, AlertTone as g, SectionTitleProps as gi, Progress$1 as gn, TableCaption as gr, DialogHeader$1 as gt, AlertTitle as h, SectionTitle as hi, PopoverTrigger as hn, TableBody as hr, DialogFooter$1 as ht, AlertDialogAction as i, badgeVariants as ii, MetricStripProps as in, SkeletonCard$1 as ir, ContextMenuSub as it, Card$1 as j, SelectValue$1 as jn, TerminalInput as jr, DropdownMenuRadioItem as jt, CalendarDate as k, SelectSeparator as kn, TerminalCursor as kr, DropdownMenuPortal as kt, AlertDialogHeader as l, localToday$1 as li, Pagination as ln, StatusPill$1 as lr, DatePicker$1 as lt, AlertProps as m, HeadingProps as mi, PopoverContent as mn, Table as mr, DialogDescription$1 as mt, AlertDescription as n, WizardStep as ni, MetricProps as nn, SidebarDropZoneProps as nr, ContextMenuSeparator as nt, AlertDialogContent as o, fieldMessageId as oi, PageHeaderProps$1 as on, Slider as or, ContextMenuSubTrigger as ot, AlertDialogTrigger as p, useToast as pi, PopoverClose as pn, TONE_CLASSES as pr, DialogContent$1 as pt, ContextMenu as q, SheetContent$1 as qn, Tooltip$1 as qr, HelpTextProps as qt, AlertDialog as r, WizardStepProps as ri, MetricStrip as rn, Skeleton$1 as rr, ContextMenuShortcut as rt, AlertDialogDescription as s, formatCalendarDate as si, PageShell$1 as sn, StatCard$1 as sr, ContextMenuTrigger as st, Alert$1 as t, WizardProps as ti, Metric as tn, SidebarDropZone as tr, ContextMenuRadioItem as tt, AlertDialogOverlay as u, parseCalendarDate as ui, PaginationProps as un, StatusPillProps$1 as ur, DatePickerProps as ut, ArtifactPaneProps as v, LogoProps as vi, RadioGroupItem as vn, TableFooter as vr, DialogPortal as vt, BadgeProps as w, SelectGroup as wn, TabsContent$1 as wr, DropdownMenuCheckboxItem as wt, AvatarImage$1 as x, SegmentedControlProps as xn, TableProps as xr, DropZone as xt, Avatar$1 as y, TangleKnot$1 as yi, SegmentedControl as yn, TableHead as yr, DialogTitle$1 as yt, Checkbox as z, SettingsListProps as zn, TimeSelectProps as zr, EmptyStateProps as zt };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Alert as Alert$1, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArtifactPane as ArtifactPane$1, Avatar as Avatar$1, AvatarFallback as AvatarFallback$1, AvatarImage as AvatarImage$1, Badge as Badge$1, Button as Button$1, CATEGORY_TONES, Calendar, Card as Card$1, CardContent as CardContent$1, CardDescription as CardDescription$1, CardFooter, CardHeader as CardHeader$1, CardTitle as CardTitle$1, Checkbox, Chip, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DatePicker as DatePicker$1, Dialog as Dialog$1, DialogClose as DialogClose$1, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, DialogOverlay, DialogPortal, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropZone, DropdownMenu as DropdownMenu$1, DropdownMenuCheckboxItem, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel as DropdownMenuLabel$1, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuShortcut, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, EmptyState as EmptyState$1, Field, FilterField as FilterField$1, Heading, HelpText, IconTile, InlineCode, Input as Input$1, Label as Label$1, Metric, MetricStrip, PageHeader, PageHeader as PageHeader$1, PageShell as PageShell$1, Pagination, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress as Progress$1, RadioGroup, RadioGroupItem, SegmentedControl, Select as Select$1, SelectContent as SelectContent$1, SelectGroup, SelectItem as SelectItem$1, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger as SelectTrigger$1, SelectValue as SelectValue$1, Separator, SettingsList, SettingsListItem, SettingsRow, SettingsSection, Sheet as Sheet$1, SheetClose as SheetClose$1, SheetContent as SheetContent$1, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle as SheetTitle$1, SheetTrigger as SheetTrigger$1, SidebarDropZone, Skeleton as Skeleton$1, SkeletonCard as SkeletonCard$1, SkeletonTable, Slider, StatCard as StatCard$1, StatusPill as StatusPill$1, Switch, TONE_CLASSES, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, Tag, TerminalCursor, TerminalDisplay, TerminalInput, TerminalLine, TextShimmer, Textarea as Textarea$1, ThemeToggle, TimeSelect, ToastContainer, ToastProvider, Toolbar as Toolbar$1, Tooltip as Tooltip$1, TooltipContent as TooltipContent$1, TooltipProvider as TooltipProvider$1, TooltipTrigger as TooltipTrigger$1, UploadProgress, Wizard, WizardStep, badgeVariants, buttonVariants, fieldMessageId, formatCalendarDate, initialsOf, localToday as localToday$1, parseCalendarDate, toneFor, useTheme, useToast } from "@tangle-network/ui/primitives";
|
|
2
|
-
import { Logo, TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
//#region src/primitives/logo.tsx
|
|
5
|
-
/** Keep the Sandbox wordmark API while Brand owns the mark and layout. */
|
|
6
|
-
function Logo$1({ variant = "sandbox", size = "md", className, iconOnly = false }) {
|
|
7
|
-
return /* @__PURE__ */ jsx(Logo, {
|
|
8
|
-
size,
|
|
9
|
-
variant: iconOnly ? "icon" : "full",
|
|
10
|
-
suffix: variant === "sandbox" ? "Sandbox" : null,
|
|
11
|
-
className
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
Logo$1.displayName = "Logo";
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/primitives/heading.tsx
|
|
17
|
-
/** Compatibility name for the canonical nested (h2) page header. */
|
|
18
|
-
function SectionTitle(props) {
|
|
19
|
-
return /* @__PURE__ */ jsx(PageHeader, {
|
|
20
|
-
...props,
|
|
21
|
-
level: 2
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
export { DialogClose$1 as $, TooltipProvider$1 as $n, SelectScrollUpButton as $t, Chip as A, TableCell as An, InlineCode as At, ContextMenuLabel as B, TerminalCursor as Bn, PopoverClose as Bt, Card$1 as C, StatCard$1 as Cn, DropdownMenuTrigger$1 as Ct, CardHeader$1 as D, Table as Dn, Heading as Dt, CardFooter as E, TONE_CLASSES as En, FilterField$1 as Et, ContextMenu as F, Tabs$1 as Fn, PageHeader$1 as Ft, ContextMenuShortcut as G, Textarea$1 as Gn, RadioGroupItem as Gt, ContextMenuRadioGroup as H, TerminalInput as Hn, PopoverTrigger as Ht, ContextMenuCheckboxItem as I, TabsContent$1 as In, PageShell$1 as It, ContextMenuSubTrigger as J, ToastContainer as Jn, SelectContent$1 as Jt, ContextMenuSub as K, ThemeToggle as Kn, SegmentedControl as Kt, ContextMenuContent as L, TabsList$1 as Ln, Pagination as Lt, Collapsible as M, TableHead as Mn, Label$1 as Mt, CollapsibleContent as N, TableHeader as Nn, Metric as Nt, CardTitle$1 as O, TableBody as On, HelpText as Ot, CollapsibleTrigger as P, TableRow as Pn, MetricStrip as Pt, Dialog$1 as Q, TooltipContent$1 as Qn, SelectScrollDownButton as Qt, ContextMenuGroup as R, TabsTrigger$1 as Rn, Popover as Rt, Calendar as S, Slider as Sn, DropdownMenuSubTrigger$1 as St, CardDescription$1 as T, Switch as Tn, Field as Tt, ContextMenuRadioItem as U, TerminalLine as Un, Progress$1 as Ut, ContextMenuPortal as V, TerminalDisplay as Vn, PopoverContent as Vt, ContextMenuSeparator as W, TextShimmer as Wn, RadioGroup as Wt, CopyButton as X, Toolbar$1 as Xn, SelectItem$1 as Xt, ContextMenuTrigger as Y, ToastProvider as Yn, SelectGroup as Yt, DatePicker$1 as Z, Tooltip$1 as Zn, SelectLabel as Zt, AvatarFallback$1 as _, SheetTrigger$1 as _n, DropdownMenuRadioItem as _t, AlertDialogCancel as a, SettingsListItem as an, buttonVariants as ar, DialogPortal as at, Button$1 as b, SkeletonCard$1 as bn, DropdownMenuSub$1 as bt, AlertDialogFooter as c, Sheet$1 as cn, initialsOf as cr, DropZone as ct, AlertDialogPortal as d, SheetDescription as dn, toneFor as dr, DropdownMenuContent$1 as dt, SelectSeparator as en, TooltipTrigger$1 as er, DialogContent$1 as et, AlertDialogTitle as f, SheetFooter as fn, useTheme as fr, DropdownMenuGroup as ft, Avatar$1 as g, SheetTitle$1 as gn, TangleKnot$1 as gr, DropdownMenuRadioGroup as gt, ArtifactPane$1 as h, SheetPortal as hn, Logo$1 as hr, DropdownMenuPortal as ht, AlertDialogAction as i, SettingsList as in, badgeVariants as ir, DialogOverlay as it, CodeBlock as j, TableFooter as jn, Input$1 as jt, Checkbox as k, TableCaption as kn, IconTile as kt, AlertDialogHeader as l, SheetClose$1 as ln, localToday$1 as lr, DropdownMenu$1 as lt, AlertTitle as m, SheetOverlay as mn, SectionTitle as mr, DropdownMenuLabel$1 as mt, AlertDescription as n, SelectValue$1 as nn, Wizard as nr, DialogFooter$1 as nt, AlertDialogContent as o, SettingsRow as on, fieldMessageId as or, DialogTitle$1 as ot, AlertDialogTrigger as p, SheetHeader as pn, useToast as pr, DropdownMenuItem$1 as pt, ContextMenuSubContent as q, TimeSelect as qn, Select$1 as qt, AlertDialog as r, Separator as rn, WizardStep as rr, DialogHeader$1 as rt, AlertDialogDescription as s, SettingsSection as sn, formatCalendarDate as sr, DialogTrigger$1 as st, Alert$1 as t, SelectTrigger$1 as tn, UploadProgress as tr, DialogDescription$1 as tt, AlertDialogOverlay as u, SheetContent$1 as un, parseCalendarDate as ur, DropdownMenuCheckboxItem as ut, AvatarImage$1 as v, SidebarDropZone as vn, DropdownMenuSeparator$1 as vt, CardContent$1 as w, StatusPill$1 as wn, EmptyState$1 as wt, CATEGORY_TONES as x, SkeletonTable as xn, DropdownMenuSubContent$1 as xt, Badge$1 as y, Skeleton$1 as yn, DropdownMenuShortcut as yt, ContextMenuItem as z, Tag as zn, PopoverAnchor as zt };
|