@tangle-network/sandbox-ui 0.137.0 → 0.137.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{WorkflowGraph-BcuJ0kgt.js → WorkflowGraph-DXmu60At.js} +4 -7
- package/dist/assets.d.ts +0 -18
- package/dist/assets.js +9 -17
- package/dist/{auth-CWe17Hly.js → auth-BDpoZ_2f.js} +1 -2
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -2
- package/dist/{chat-_aHUfqtH.js → chat-Cw13rqn9.js} +7 -13
- package/dist/chat.d.ts +1 -1
- package/dist/chat.js +1 -2
- package/dist/{connections-C5DxYxvz.js → connections-DymjzHe_.js} +1 -2
- package/dist/connections.d.ts +1 -1
- package/dist/connections.js +1 -2
- package/dist/connectors.d.ts +0 -10
- package/dist/connectors.js +5 -9
- package/dist/{dashboard-SFakZEtu.js → dashboard-ClKA3opr.js} +31 -55
- package/dist/dashboard.d.ts +3 -3
- package/dist/dashboard.js +3 -3
- package/dist/editor.js +1 -2
- package/dist/{embedded-app-view-CYb9hevq.js → embedded-app-view-DXsoPale.js} +5 -8
- package/dist/{embedded-app-view-B_vMTtJn.d.ts → embedded-app-view-Ta5GI4hx.d.ts} +0 -4
- package/dist/files.js +1 -2
- package/dist/hooks.d.ts +3 -7
- package/dist/hooks.js +4 -6
- package/dist/{index-QBCEflyf.d.ts → index-4KFqFK1f.d.ts} +0 -6
- package/dist/{index-C61CTrhx.d.ts → index-B1oEiBks.d.ts} +0 -36
- package/dist/{index-DsU8ts9f.d.ts → index-BAEvGqrn.d.ts} +0 -4
- package/dist/{index-DvmZLMT1.d.ts → index-BbfWVtZq.d.ts} +0 -2
- package/dist/{index-ClRHbsoX.d.ts → index-DLX35YAa.d.ts} +0 -2
- package/dist/{index-AVDzT8Jw.d.ts → index-DRDtTgb0.d.ts} +2 -54
- package/dist/{index-ByzdHyte.d.ts → index-T4-5mWTq.d.ts} +2 -24
- package/dist/{index-DGil6iqm.d.ts → index-y2OPUSoY.d.ts} +0 -4
- package/dist/index.d.ts +15 -15
- package/dist/index.js +15 -16
- package/dist/integrations.d.ts +0 -14
- package/dist/integrations.js +6 -11
- package/dist/markdown.js +1 -2
- package/dist/{model-brand-B57CV8Lg.d.ts → model-brand-ZwVS49Fq.d.ts} +0 -2
- package/dist/{model-brand-BSr9on8C.js → model-brand-bTcMjQtB.js} +34 -67
- package/dist/{motion-D4njYpys.js → motion-Bn7ESHrj.js} +1 -2
- package/dist/{node-output-fuk0NV0V.js → node-output-udnwhShN.js} +9 -16
- package/dist/openui.js +1 -2
- package/dist/{page-layout-2IRtfx51.js → page-layout-CuOpvZys.js} +5 -9
- package/dist/pages.d.ts +2 -14
- package/dist/pages.js +9 -15
- package/dist/{primitives-CLOVnjWz.js → primitives-CiwDp4-0.js} +4 -7
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +1 -2
- package/dist/{provider-logo-BGCziCbM.js → provider-logo-CPKRPHcS.js} +1 -2
- package/dist/{rolldown-runtime-BBjsoOtd.js → rolldown-runtime-782esTHO.js} +1 -2
- package/dist/run.js +1 -2
- package/dist/sdk-hooks.d.ts +1 -1
- package/dist/sdk-hooks.js +1 -1
- package/dist/{shell-header-CTh3oV_e.js → shell-header-CwqDzC4I.js} +2 -3
- package/dist/{sidecar-DgH_vQ6m.d.ts → sidecar-CNP4zXop.d.ts} +0 -2
- package/dist/stores.d.ts +0 -2
- package/dist/stores.js +1 -2
- package/dist/{terminal-X6r5pjgv.js → terminal-nUCznZRj.js} +3 -5
- package/dist/terminal.d.ts +1 -3
- package/dist/terminal.js +1 -2
- package/dist/{tree-data-DtoCNNBJ.js → tree-data-YXtcK6Ld.js} +2 -4
- package/dist/types.d.ts +1 -1
- package/dist/{usage-chart-BjM8ShvX.d.ts → usage-chart-BFpdkqNq.d.ts} +0 -6
- package/dist/{use-pty-session-B5Q_i9RI.js → use-pty-session-BHVQlSs-.js} +1 -2
- package/dist/{use-pty-session-DbAYO5uH.d.ts → use-pty-session-DSgtQyYX.d.ts} +0 -2
- package/dist/{use-sidecar-auth-CCTJcrq7.d.ts → use-sidecar-auth-CPevSSEj.d.ts} +0 -4
- package/dist/{use-sidecar-auth-DkdcufOz.js → use-sidecar-auth-DpG0aWQ3.js} +3 -6
- package/dist/utils-BER_bdgE.js +1 -0
- package/dist/utils.js +1 -2
- package/dist/vault-tree.d.ts +1 -1
- package/dist/vault-tree.js +1 -2
- package/dist/workbench/embedded-app.d.ts +1 -1
- package/dist/workbench/embedded-app.js +1 -2
- package/dist/{workbench-BdW-YQ68.js → workbench-GDuy3rB5.js} +96 -185
- package/dist/workbench.d.ts +2 -2
- package/dist/workbench.js +2 -2
- package/dist/workflows.d.ts +1 -13
- package/dist/workflows.js +4 -5
- package/dist/{workspace-Bg1MFr9I.js → workspace-Cpgyw5N7.js} +25 -39
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +2 -2
- package/package.json +28 -28
- package/dist/utils-DzWbktWG.js +0 -2
|
@@ -5,7 +5,6 @@ import { FileNode, FileTabData, FileTreeVisibilityOptions } from "@tangle-networ
|
|
|
5
5
|
import { ActiveSessionRecord, ActiveSessionStatus, SessionProjectKey } from "@tangle-network/ui/stores";
|
|
6
6
|
import { ChatContainerProps } from "@tangle-network/ui/chat";
|
|
7
7
|
import { OpenUIAction, OpenUIComponentNode } from "@tangle-network/ui/openui";
|
|
8
|
-
//#region src/workspace/workspace-layout.d.ts
|
|
9
8
|
interface WorkspaceLayoutProps {
|
|
10
9
|
/** Left sidebar content (file tree, navigation) */
|
|
11
10
|
left?: ReactNode;
|
|
@@ -123,8 +122,6 @@ interface WorkspaceLayoutProps {
|
|
|
123
122
|
className?: string;
|
|
124
123
|
}
|
|
125
124
|
declare function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen, defaultRightOpen, defaultBottomOpen, defaultLeftWidth, defaultRightWidth, defaultBottomHeight, minLeftWidth, maxLeftWidth, minRightWidth, maxRightWidth, minCenterWidth, minBottomHeight, maxBottomHeight, persistenceKey, resizable, theme, density, leftLabel, rightLabel, bottomLabel, leftOpen: leftOpenProp, onLeftOpenChange, rightOpen: rightOpenProp, onRightOpenChange, keyboardShortcuts, leftCollapsedControl, leftContentClassName, rightContentClassName, keepRightMounted, collapsedControlsPlacement, centerHeaderVisibility, surface, rightOpenLabel, rightCloseLabel, rightControlHint, className }: WorkspaceLayoutProps): import("react").JSX.Element;
|
|
126
|
-
//#endregion
|
|
127
|
-
//#region src/workspace/workspace-surface.d.ts
|
|
128
125
|
type WorkspaceSurfaceFrameProps = HTMLAttributes<HTMLDivElement>;
|
|
129
126
|
/**
|
|
130
127
|
* The raised panel every workspace page sits in: an even gutter of recessed
|
|
@@ -165,8 +162,6 @@ interface WorkspaceSurfaceProps extends Omit<HTMLAttributes<HTMLDivElement>, "ti
|
|
|
165
162
|
* the panel and the panel never scrolls the page.
|
|
166
163
|
*/
|
|
167
164
|
declare function WorkspaceSurface({ title, headingLevel, actions, header, contentClassName, children, ...props }: WorkspaceSurfaceProps): import("react").JSX.Element;
|
|
168
|
-
//#endregion
|
|
169
|
-
//#region src/workspace/shell-header.d.ts
|
|
170
165
|
/**
|
|
171
166
|
* One height for every header row in the app shell: the sidebar rail's top row,
|
|
172
167
|
* the main pane, side panels, drawers and the assistant. Their bottom dividers
|
|
@@ -197,8 +192,6 @@ declare function ShellHeader({ as: Tag, inset, divider, className, style, ...pro
|
|
|
197
192
|
declare const WorkspacePaneHeader: typeof ShellHeader;
|
|
198
193
|
/** @deprecated Use `ShellHeaderProps`. */
|
|
199
194
|
type WorkspacePaneHeaderProps = ShellHeaderProps;
|
|
200
|
-
//#endregion
|
|
201
|
-
//#region src/workspace/directory-pane.d.ts
|
|
202
195
|
interface DirectoryPaneProps {
|
|
203
196
|
root: FileNode;
|
|
204
197
|
selectedPath?: string;
|
|
@@ -217,8 +210,6 @@ interface DirectoryPaneProps {
|
|
|
217
210
|
* sessions.
|
|
218
211
|
*/
|
|
219
212
|
declare function DirectoryPane({ root, selectedPath, onSelect, onRefresh, onUpload, title, subtitle, defaultExpanded, searchPlaceholder, visibility, className }: DirectoryPaneProps): import("react").JSX.Element;
|
|
220
|
-
//#endregion
|
|
221
|
-
//#region src/workspace/status-banner.d.ts
|
|
222
213
|
/**
|
|
223
214
|
* StatusBanner — inline notice for connection and provisioning states.
|
|
224
215
|
*/
|
|
@@ -231,8 +222,6 @@ interface StatusBannerProps {
|
|
|
231
222
|
className?: string;
|
|
232
223
|
}
|
|
233
224
|
declare function StatusBanner({ type, message, detail, onDismiss, className }: StatusBannerProps): import("react").JSX.Element;
|
|
234
|
-
//#endregion
|
|
235
|
-
//#region src/workspace/status-bar.d.ts
|
|
236
225
|
/**
|
|
237
226
|
* StatusBar — compact bottom bar: connection state, file/artifact context
|
|
238
227
|
* badges, credits. The active model lives in the input box, not here.
|
|
@@ -255,8 +244,6 @@ interface StatusBarProps {
|
|
|
255
244
|
className?: string;
|
|
256
245
|
}
|
|
257
246
|
declare function StatusBar({ credits, contextBadges, onRemoveBadge, status, className }: StatusBarProps): import("react").JSX.Element;
|
|
258
|
-
//#endregion
|
|
259
|
-
//#region src/workspace/terminal-panel.d.ts
|
|
260
247
|
/**
|
|
261
248
|
* Terminal — read-only terminal output panel.
|
|
262
249
|
*
|
|
@@ -279,8 +266,6 @@ interface TerminalProps {
|
|
|
279
266
|
className?: string;
|
|
280
267
|
}
|
|
281
268
|
declare function TerminalPanel({ lines, title, isCollapsed, onToggle, onClose, maxHeight, className }: TerminalProps): import("react").JSX.Element;
|
|
282
|
-
//#endregion
|
|
283
|
-
//#region src/workspace/runtime-pane.d.ts
|
|
284
269
|
interface RuntimePaneProps {
|
|
285
270
|
title?: string;
|
|
286
271
|
subtitle?: string;
|
|
@@ -299,8 +284,6 @@ interface RuntimePaneProps {
|
|
|
299
284
|
* output, audit results, and runtime metadata.
|
|
300
285
|
*/
|
|
301
286
|
declare function RuntimePane({ title, subtitle, statusBanner, statusBar, content, terminal, audit, inspector, footer, className }: RuntimePaneProps): import("react").JSX.Element;
|
|
302
|
-
//#endregion
|
|
303
|
-
//#region src/workspace/session-optimistic.d.ts
|
|
304
287
|
/**
|
|
305
288
|
* Optimistic session/thread list: reflect a just-created / renamed / deleted
|
|
306
289
|
* item in the sidebar INSTANTLY, before the server loader round-trips.
|
|
@@ -361,8 +344,6 @@ declare function useOptimisticSessionItems(items: SessionSidebarItem[], options?
|
|
|
361
344
|
items: SessionSidebarItem[];
|
|
362
345
|
controller: SessionOptimisticController;
|
|
363
346
|
};
|
|
364
|
-
//#endregion
|
|
365
|
-
//#region src/workspace/session-sidebar.d.ts
|
|
366
347
|
interface SessionSidebarItem {
|
|
367
348
|
id: string;
|
|
368
349
|
title: string;
|
|
@@ -478,8 +459,6 @@ interface SessionSidebarProps {
|
|
|
478
459
|
fill?: boolean;
|
|
479
460
|
}
|
|
480
461
|
declare function SessionSidebar({ title, subtitle, projectId, items, currentItemId, createLabel, onCreate, onSelectItem, onSelectLink, links, className, emptyMessage, searchPlaceholder, enableSearch, activityMonitor, filters, defaultFilterId, resizable, defaultWidth, minWidth, maxWidth, onWidthChange, renderItemActions, optimistic, optimisticRef, variant, groupBy, showUpdatedAt, onCollapse, fill }: SessionSidebarProps): import("react").JSX.Element;
|
|
481
|
-
//#endregion
|
|
482
|
-
//#region src/lib/format-relative-age.d.ts
|
|
483
462
|
/**
|
|
484
463
|
* Compact age for a session rail: `now`, `5m`, `3h`, `2d`, `3w`, `4mo`, `1y`.
|
|
485
464
|
* Unlike `timeAgo` from `@tangle-network/ui/utils` it accepts any date input,
|
|
@@ -488,8 +467,6 @@ declare function SessionSidebar({ title, subtitle, projectId, items, currentItem
|
|
|
488
467
|
* empty rather than a negative count. `now` is injectable for deterministic tests.
|
|
489
468
|
*/
|
|
490
469
|
declare function formatRelativeAge(date: string | number | Date, now?: number): string;
|
|
491
|
-
//#endregion
|
|
492
|
-
//#region src/workspace/shell-revalidation.d.ts
|
|
493
470
|
/**
|
|
494
471
|
* Snappy in-app navigation: a shared `shouldRevalidate` rule for the agent-app
|
|
495
472
|
* shell route(s) that own the workspace-list / sidebar loader.
|
|
@@ -564,8 +541,6 @@ declare function createShellShouldRevalidate(options?: ShellShouldRevalidateOpti
|
|
|
564
541
|
* For a non-`/app` prefix, use {@link createShellShouldRevalidate}.
|
|
565
542
|
*/
|
|
566
543
|
declare const shellShouldRevalidate: (args: ShellShouldRevalidateArgs) => boolean;
|
|
567
|
-
//#endregion
|
|
568
|
-
//#region src/workspace/sandbox-workbench.d.ts
|
|
569
544
|
type SandboxWorkbenchPlacement = "left" | "right" | "bottom" | "hidden";
|
|
570
545
|
interface SandboxWorkbenchArtifactBase {
|
|
571
546
|
id: string;
|
|
@@ -674,8 +649,6 @@ interface SandboxWorkbenchProps {
|
|
|
674
649
|
* runtime in one reusable shell.
|
|
675
650
|
*/
|
|
676
651
|
declare function SandboxWorkbench({ title, subtitle, status, centerHeader: centerHeaderProp, composer, rail, directory, session, artifacts: artifactsProp, activeArtifactId, onArtifactChange, onArtifactClose, runtime, layout, emptyArtifactState, className }: SandboxWorkbenchProps): import("react").JSX.Element;
|
|
677
|
-
//#endregion
|
|
678
|
-
//#region src/workspace/task-board.d.ts
|
|
679
652
|
interface TaskBoardItem {
|
|
680
653
|
id: string;
|
|
681
654
|
title: string;
|
|
@@ -725,8 +698,6 @@ interface TaskBoardProps {
|
|
|
725
698
|
renderItemWrapper?: (item: TaskBoardItem, index: number, defaultCard: ReactNode) => ReactNode;
|
|
726
699
|
}
|
|
727
700
|
declare function TaskBoard({ items, columns, className, onMoveItem, onClickItem, renderItemMeta, renderColumnAction, renderBadge, columnEmptyState, header, renderColumnBody, renderItemWrapper }: TaskBoardProps): import("react").JSX.Element;
|
|
728
|
-
//#endregion
|
|
729
|
-
//#region src/workspace/calendar-view.d.ts
|
|
730
701
|
interface CalendarEvent {
|
|
731
702
|
id: string;
|
|
732
703
|
title: string;
|
|
@@ -766,8 +737,6 @@ interface CalendarViewProps {
|
|
|
766
737
|
* state when uncontrolled. All rendering is customizable via render props.
|
|
767
738
|
*/
|
|
768
739
|
declare function CalendarView({ events, className, month: controlledMonth, year: controlledYear, onMonthChange, selectedDay: controlledSelectedDay, onSelectDay, onDoubleClickDay, renderEventChip, renderDayDetail, headerLeft, headerRight, showDayPanel }: CalendarViewProps): import("react").JSX.Element;
|
|
769
|
-
//#endregion
|
|
770
|
-
//#region src/workspace/approval-queue.d.ts
|
|
771
740
|
interface ApprovalItem {
|
|
772
741
|
id: string;
|
|
773
742
|
title: string;
|
|
@@ -814,8 +783,6 @@ interface ApprovalQueueProps {
|
|
|
814
783
|
* loop: agent proposes → user approves/rejects → rejection reasons feed back.
|
|
815
784
|
*/
|
|
816
785
|
declare function ApprovalQueue({ items, className, onApprove, onReject, renderItemDetail, renderTypeBadge, renderStats, canResolve, header, emptyState, showResolved: controlledShowResolved }: ApprovalQueueProps): import("react").JSX.Element;
|
|
817
|
-
//#endregion
|
|
818
|
-
//#region src/workspace/workspace-files-pane.d.ts
|
|
819
786
|
interface WorkspaceFilesPreview {
|
|
820
787
|
path: string;
|
|
821
788
|
content: ReactNode;
|
|
@@ -870,8 +837,6 @@ type WorkspaceFilesPaneProps = WorkspaceFilesSource & {
|
|
|
870
837
|
* remembered under `expansionKey`, and a preview replaces the tree until Back.
|
|
871
838
|
*/
|
|
872
839
|
declare function WorkspaceFilesPane({ root, paths, selectedPath, onSelect, preview, onBack, emptyState, expansionKey, search, label, headerActions, surface, className, style }: WorkspaceFilesPaneProps): import("react").JSX.Element;
|
|
873
|
-
//#endregion
|
|
874
|
-
//#region src/workspace/workspace-artifact-view.d.ts
|
|
875
840
|
interface WorkspaceArtifactViewProps {
|
|
876
841
|
artifact: SandboxWorkbenchArtifact;
|
|
877
842
|
/** Hide identity already supplied by the containing pane; retain actions and content. */
|
|
@@ -879,5 +844,4 @@ interface WorkspaceArtifactViewProps {
|
|
|
879
844
|
}
|
|
880
845
|
/** The shared technical renderer for workspace files and generated artifacts. */
|
|
881
846
|
declare function WorkspaceArtifactView({ artifact, hideTitleBlock }: WorkspaceArtifactViewProps): import("react").JSX.Element;
|
|
882
|
-
//#endregion
|
|
883
847
|
export { StatusBar as $, createShellShouldRevalidate as A, SessionSidebarVariant as B, SandboxWorkbenchLayoutOptions as C, SandboxWorkbenchSessionProps as D, SandboxWorkbenchProps as E, SessionSidebarFilter as F, dispatchSessionCreated as G, SessionCreatedDetail as H, SessionSidebarGroupBy as I, RuntimePaneProps as J, useOptimisticSessionItems as K, SessionSidebarItem as L, formatRelativeAge as M, SessionSidebar as N, ShellShouldRevalidateArgs as O, SessionSidebarBadge as P, ContextBadge as Q, SessionSidebarLink as R, SandboxWorkbenchFileArtifact as S, SandboxWorkbenchOpenUIArtifact as T, SessionOptimisticController as U, SESSION_CREATED_EVENT as V, UseOptimisticSessionItemsOptions as W, TerminalPanel as X, TerminalLine as Y, TerminalProps as Z, TaskBoardItem as _, WorkspaceSurfaceTitle as _t, WorkspaceFilesPane as a, DirectoryPaneProps as at, SandboxWorkbenchArtifact as b, WorkspaceLayoutProps as bt, ApprovalConfidenceStat as c, ShellHeader as ct, ApprovalQueueProps as d, WorkspacePaneHeaderProps as dt, StatusBarProps as et, CalendarEvent as f, WorkspaceSurface as ft, TaskBoardColumn as g, WorkspaceSurfaceProps as gt, TaskBoard as h, WorkspaceSurfaceHeadingLevel as ht, WorkspaceArtifactViewProps as i, DirectoryPane as it, shellShouldRevalidate as j, ShellShouldRevalidateOptions as k, ApprovalItem as l, ShellHeaderProps as lt, CalendarViewProps as m, WorkspaceSurfaceFrameProps as mt, ArtifactPaneProps as n, StatusBanner as nt, WorkspaceFilesPaneProps as o, SHELL_HEADER_HEIGHT as ot, CalendarView as p, WorkspaceSurfaceFrame as pt, RuntimePane as q, WorkspaceArtifactView as r, StatusBannerProps as rt, WorkspaceFilesPreview as s, SHELL_INSET_GUTTER as st, ArtifactPane$1 as t, BannerType as tt, ApprovalQueue as u, WorkspacePaneHeader as ut, TaskBoardProps as v, WorkspaceSurfaceTitleProps as vt, SandboxWorkbenchMarkdownArtifact as w, SandboxWorkbenchCustomArtifact as x, SandboxWorkbench as y, WorkspaceLayout as yt, SessionSidebarProps as z };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { HeadingVariant, PageHeaderProps } from "@tangle-network/ui/primitives";
|
|
2
2
|
import { TangleKnot as TangleKnot$1 } from "@tangle-network/brand";
|
|
3
3
|
import { ElementType, HTMLAttributes, ReactNode } from "react";
|
|
4
|
-
//#region src/primitives/logo.d.ts
|
|
5
4
|
interface LogoProps {
|
|
6
5
|
variant?: "sandbox";
|
|
7
6
|
size?: "sm" | "md" | "lg" | "xl";
|
|
@@ -13,8 +12,6 @@ declare function Logo$1({ variant, size, className, iconOnly }: LogoProps): impo
|
|
|
13
12
|
declare namespace Logo$1 {
|
|
14
13
|
var displayName: string;
|
|
15
14
|
}
|
|
16
|
-
//#endregion
|
|
17
|
-
//#region src/primitives/heading.d.ts
|
|
18
15
|
/** Preserve the existing public type's required visual role and children.
|
|
19
16
|
* The binding above remains UI's object, without a local render function.
|
|
20
17
|
*/
|
|
@@ -26,5 +23,4 @@ interface HeadingProps extends Omit<HTMLAttributes<HTMLElement>, "role"> {
|
|
|
26
23
|
type SectionTitleProps = Pick<PageHeaderProps, "title" | "description" | "action" | "className">;
|
|
27
24
|
/** Compatibility name for the canonical nested (h2) page header. */
|
|
28
25
|
declare function SectionTitle(props: SectionTitleProps): import("react").JSX.Element;
|
|
29
|
-
//#endregion
|
|
30
26
|
export { LogoProps as a, Logo$1 as i, SectionTitle as n, TangleKnot$1 as o, SectionTitleProps as r, HeadingProps as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from "@tangle-network/ui/primitives";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { AuthHeader, AuthHeaderProps, GitHubLoginButton, GitHubLoginButtonProps, LoginLayout, LoginLayoutProps, SessionUser, UserMenu, UserMenuProps } from "@tangle-network/ui/auth";
|
|
4
|
-
//#region src/auth/tangle-login-button.d.ts
|
|
5
4
|
interface TangleLoginButtonProps extends Omit<ButtonProps, "onClick"> {
|
|
6
5
|
/**
|
|
7
6
|
* Consumer-app endpoint that starts the cross-site SSO flow. The
|
|
@@ -26,5 +25,4 @@ interface TangleLoginButtonProps extends Omit<ButtonProps, "onClick"> {
|
|
|
26
25
|
* server owns the platform URL construction.
|
|
27
26
|
*/
|
|
28
27
|
declare function TangleLoginButton({ authUrl, variant, className, children, ...props }: TangleLoginButtonProps): React$1.JSX.Element;
|
|
29
|
-
//#endregion
|
|
30
28
|
export { LoginLayout as a, UserMenu as c, TangleLoginButtonProps as d, GitHubLoginButtonProps as i, UserMenuProps as l, AuthHeaderProps as n, LoginLayoutProps as o, GitHubLoginButton as r, SessionUser as s, AuthHeader as t, TangleLoginButton as u };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
//#region src/connections/agent-messaging-connection.d.ts
|
|
3
2
|
/** Safe display fields for a host-resolved, authorized private agent target. */
|
|
4
3
|
interface AgentTargetSummary {
|
|
5
4
|
agentLabel: string;
|
|
@@ -57,5 +56,4 @@ interface AgentMessagingConnectionProps {
|
|
|
57
56
|
className?: string;
|
|
58
57
|
}
|
|
59
58
|
declare function AgentMessagingConnection({ enrollment, route, onEnroll, onOpenMessages, onRetry, className }: AgentMessagingConnectionProps): React$1.JSX.Element;
|
|
60
|
-
//#endregion
|
|
61
59
|
export { SharedMessagingRouteViewState as a, AgentTargetSummary as i, AgentMessagingConnection as n, AgentMessagingConnectionProps as r, AgentEnrollmentViewState as t };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import "./model-brand-
|
|
2
|
-
import "./usage-chart-
|
|
1
|
+
import "./model-brand-ZwVS49Fq.js";
|
|
2
|
+
import "./usage-chart-BFpdkqNq.js";
|
|
3
3
|
import { StatusPillProps, StatusTone } from "@tangle-network/ui/primitives";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import { HarnessType as HarnessType$1 } from "@tangle-network/agent-interface";
|
|
7
|
-
//#region src/dashboard/app-sidebar.d.ts
|
|
8
7
|
interface SidebarUser {
|
|
9
8
|
email: string;
|
|
10
9
|
name?: string;
|
|
@@ -291,8 +290,6 @@ interface ProfileAvatarProps {
|
|
|
291
290
|
LinkComponent?: React$1.ComponentType<any>;
|
|
292
291
|
}
|
|
293
292
|
declare function ProfileAvatar({ user, isLoading, onLogout, onSettingsClick, settingsHref, children, className, showDetails, appearance, LinkComponent }: ProfileAvatarProps): React$1.JSX.Element;
|
|
294
|
-
//#endregion
|
|
295
|
-
//#region src/dashboard/mcp-server.d.ts
|
|
296
293
|
/** An MCP server attached to a sandbox backend, as the backend status API reports it. */
|
|
297
294
|
interface McpServer {
|
|
298
295
|
name: string;
|
|
@@ -300,8 +297,6 @@ interface McpServer {
|
|
|
300
297
|
args?: string[];
|
|
301
298
|
status?: "running" | "stopped" | "error";
|
|
302
299
|
}
|
|
303
|
-
//#endregion
|
|
304
|
-
//#region src/dashboard/rail-tooltip.d.ts
|
|
305
300
|
interface RailTooltipProps {
|
|
306
301
|
/** Tooltip text shown to the right of the trigger. */
|
|
307
302
|
label: string;
|
|
@@ -331,8 +326,6 @@ interface RailTooltipProps {
|
|
|
331
326
|
* One element type, both states.
|
|
332
327
|
*/
|
|
333
328
|
declare function RailTooltip({ label, description, children, disabled, className }: RailTooltipProps): React$1.JSX.Element;
|
|
334
|
-
//#endregion
|
|
335
|
-
//#region src/dashboard/sidebar-context.d.ts
|
|
336
329
|
/** Width constants (px) — Tangle Quiet density (ChatGPT-minimal) */
|
|
337
330
|
declare const SIDEBAR_RAIL_WIDTH = 56;
|
|
338
331
|
declare const SIDEBAR_PANEL_WIDTH = 268;
|
|
@@ -418,8 +411,6 @@ interface SidebarProviderProps {
|
|
|
418
411
|
}
|
|
419
412
|
declare function SidebarProvider({ defaultPanelOpen, defaultMode, hasPanels, labeledRail, panelOpen: controlledPanelOpen, onPanelOpenChange, railCollapsed: controlledRailCollapsed, onRailCollapsedChange, defaultRailCollapsed, children }: SidebarProviderProps): React$1.JSX.Element;
|
|
420
413
|
declare function useSidebar(): SidebarContextValue;
|
|
421
|
-
//#endregion
|
|
422
|
-
//#region src/dashboard/out-of-credits.d.ts
|
|
423
414
|
/**
|
|
424
415
|
* Canonical "out of credits" UX, shared across every Tangle product.
|
|
425
416
|
*
|
|
@@ -467,8 +458,6 @@ interface OutOfCreditsModalProps {
|
|
|
467
458
|
* the user can add credits, subscribe, or connect a card for pay-per-use.
|
|
468
459
|
*/
|
|
469
460
|
declare function OutOfCreditsModal({ balance, onClose, ctaLabel, className }: OutOfCreditsModalProps): React$1.JSX.Element | null;
|
|
470
|
-
//#endregion
|
|
471
|
-
//#region src/dashboard/resource-meter.d.ts
|
|
472
461
|
interface ResourceMeterProps {
|
|
473
462
|
label: string;
|
|
474
463
|
value: number;
|
|
@@ -484,8 +473,6 @@ interface ResourceMeterProps {
|
|
|
484
473
|
className?: string;
|
|
485
474
|
}
|
|
486
475
|
declare function ResourceMeter({ label, value, max, unit, valueLabel, icon, className }: ResourceMeterProps): React$1.JSX.Element;
|
|
487
|
-
//#endregion
|
|
488
|
-
//#region src/dashboard/resource-snapshot.d.ts
|
|
489
476
|
interface ResourceSnapshotItem {
|
|
490
477
|
/** Stable React key; falls back to `label` plus row index when omitted. */
|
|
491
478
|
id?: string;
|
|
@@ -516,8 +503,6 @@ interface ResourceSnapshotProps {
|
|
|
516
503
|
* belongs in a dedicated metrics view; this is the snapshot.
|
|
517
504
|
*/
|
|
518
505
|
declare function ResourceSnapshot({ title, action, items, loading, error, className }: ResourceSnapshotProps): React$1.JSX.Element;
|
|
519
|
-
//#endregion
|
|
520
|
-
//#region src/dashboard/activity-feed.d.ts
|
|
521
506
|
interface ActivityItem {
|
|
522
507
|
/** Stable key. */
|
|
523
508
|
id: string;
|
|
@@ -543,8 +528,6 @@ interface ActivityFeedProps {
|
|
|
543
528
|
* callers can merge heterogeneous sources without pre-sorting.
|
|
544
529
|
*/
|
|
545
530
|
declare function ActivityFeed({ title, action, items, loading, maxItems, emptyLabel, className }: ActivityFeedProps): React$1.JSX.Element;
|
|
546
|
-
//#endregion
|
|
547
|
-
//#region src/dashboard/sandbox-card.d.ts
|
|
548
531
|
type SandboxStatus = "running" | "hibernating" | "provisioning" | "stopped" | "failed" | "archived" | "creating" | "expired";
|
|
549
532
|
type TeamRole = "owner" | "admin" | "member" | "viewer";
|
|
550
533
|
interface SandboxCardData {
|
|
@@ -618,8 +601,6 @@ interface NewSandboxCardProps {
|
|
|
618
601
|
className?: string;
|
|
619
602
|
}
|
|
620
603
|
declare function NewSandboxCard({ onClick, className }: NewSandboxCardProps): React$1.JSX.Element;
|
|
621
|
-
//#endregion
|
|
622
|
-
//#region src/dashboard/sandbox-status.d.ts
|
|
623
604
|
/**
|
|
624
605
|
* The one mapping from a sandbox's lifecycle state to a status tone and label.
|
|
625
606
|
* Cards, tables and products read it here, so a state cannot be green in one
|
|
@@ -646,8 +627,6 @@ interface SandboxStatusPillProps extends Omit<StatusPillProps, "tone" | "childre
|
|
|
646
627
|
}
|
|
647
628
|
/** `StatusPill` for a sandbox lifecycle state. */
|
|
648
629
|
declare function SandboxStatusPill({ status, ...props }: SandboxStatusPillProps): import("react").JSX.Element;
|
|
649
|
-
//#endregion
|
|
650
|
-
//#region src/dashboard/sandbox-table.d.ts
|
|
651
630
|
interface SandboxTableProps {
|
|
652
631
|
sandboxes: SandboxCardData[];
|
|
653
632
|
page?: number;
|
|
@@ -685,8 +664,6 @@ interface SandboxTableProps {
|
|
|
685
664
|
className?: string;
|
|
686
665
|
}
|
|
687
666
|
declare function SandboxTable({ sandboxes, page, pageSize, total, onPageChange, onOpenIDE, onOpenTerminal, onSSH, onResume, onWake, onMore, onDelete, onStop, onKeepAlive, onUsage, onHealth, onFork, className }: SandboxTableProps): React$1.JSX.Element;
|
|
688
|
-
//#endregion
|
|
689
|
-
//#region src/dashboard/backend-selector.d.ts
|
|
690
667
|
interface Backend {
|
|
691
668
|
type: string;
|
|
692
669
|
label: string;
|
|
@@ -713,8 +690,6 @@ interface BackendSelectorProps {
|
|
|
713
690
|
triggerClassName?: string;
|
|
714
691
|
}
|
|
715
692
|
declare function BackendSelector({ backends, selected, onChange, variant, label, placeholder, className, triggerClassName }: BackendSelectorProps): import("react").JSX.Element;
|
|
716
|
-
//#endregion
|
|
717
|
-
//#region src/dashboard/harness-picker.d.ts
|
|
718
693
|
interface HarnessOption extends Backend {
|
|
719
694
|
type: HarnessType$1;
|
|
720
695
|
/**
|
|
@@ -755,8 +730,6 @@ interface HarnessPickerProps extends Omit<BackendSelectorProps, "backends" | "se
|
|
|
755
730
|
* the SDK enum).
|
|
756
731
|
*/
|
|
757
732
|
declare function HarnessPicker({ value, onChange, available, optionsOverride, label, ...rest }: HarnessPickerProps): import("react").JSX.Element;
|
|
758
|
-
//#endregion
|
|
759
|
-
//#region src/dashboard/harness-logo.d.ts
|
|
760
733
|
/**
|
|
761
734
|
* Per-harness brand glyph. `logoUrl` is a bundled lobehub data-url rendered
|
|
762
735
|
* as a CSS mask filled with the foreground token (single-color brand mark,
|
|
@@ -784,8 +757,6 @@ interface HarnessLogoProps {
|
|
|
784
757
|
* glyph. Keeps harness pills visually consistent with model pills.
|
|
785
758
|
*/
|
|
786
759
|
declare function HarnessLogo({ type, size, className }: HarnessLogoProps): React$1.JSX.Element;
|
|
787
|
-
//#endregion
|
|
788
|
-
//#region src/dashboard/dashboard-layout.d.ts
|
|
789
760
|
type ProductVariant = "sandbox";
|
|
790
761
|
interface NavItem {
|
|
791
762
|
id: string;
|
|
@@ -901,8 +872,6 @@ interface DashboardLayoutProps {
|
|
|
901
872
|
};
|
|
902
873
|
}
|
|
903
874
|
declare function DashboardLayout({ defaultPanelOpen, defaultMode, labeledRail, defaultRailCollapsed, ...props }: DashboardLayoutProps): React$1.JSX.Element;
|
|
904
|
-
//#endregion
|
|
905
|
-
//#region src/dashboard/sidebar-layout.d.ts
|
|
906
875
|
/** A sub-destination revealed inside a nav item's right-flyout. */
|
|
907
876
|
interface SidebarLayoutFlyoutItem {
|
|
908
877
|
id: string;
|
|
@@ -1060,8 +1029,6 @@ interface SidebarLayoutProps {
|
|
|
1060
1029
|
* SSR-safe persistence.
|
|
1061
1030
|
*/
|
|
1062
1031
|
declare function SidebarLayout({ panelOpen, onPanelOpenChange, defaultPanelOpen, railCollapsed, onRailCollapsedChange, defaultRailCollapsed, ...props }: SidebarLayoutProps): React$1.JSX.Element;
|
|
1063
|
-
//#endregion
|
|
1064
|
-
//#region src/dashboard/metric-area-chart.d.ts
|
|
1065
1032
|
interface MetricChartPoint {
|
|
1066
1033
|
/** Wall-clock ms. */
|
|
1067
1034
|
at: number;
|
|
@@ -1094,16 +1061,12 @@ interface MetricAreaChartProps {
|
|
|
1094
1061
|
* Pure SVG — no chart dependency. Null samples render as gaps.
|
|
1095
1062
|
*/
|
|
1096
1063
|
declare function MetricAreaChart({ points, label, formatValue, maxValue, detail, tone, height, emptyState, className }: MetricAreaChartProps): React$1.JSX.Element;
|
|
1097
|
-
//#endregion
|
|
1098
|
-
//#region src/dashboard/system-logs.d.ts
|
|
1099
1064
|
interface SystemLogsViewerProps {
|
|
1100
1065
|
apiUrl: string;
|
|
1101
1066
|
token: string;
|
|
1102
1067
|
className?: string;
|
|
1103
1068
|
}
|
|
1104
1069
|
declare function SystemLogsViewer({ apiUrl, token, className }: SystemLogsViewerProps): React.JSX.Element;
|
|
1105
|
-
//#endregion
|
|
1106
|
-
//#region src/dashboard/usage-summary.d.ts
|
|
1107
1070
|
interface UsageSummaryData {
|
|
1108
1071
|
computeHours: number;
|
|
1109
1072
|
activeSessions: number;
|
|
@@ -1116,8 +1079,6 @@ interface UsageSummaryProps {
|
|
|
1116
1079
|
className?: string;
|
|
1117
1080
|
}
|
|
1118
1081
|
declare function UsageSummary({ data, loading, className }: UsageSummaryProps): React$1.JSX.Element;
|
|
1119
|
-
//#endregion
|
|
1120
|
-
//#region src/dashboard/git-panel.d.ts
|
|
1121
1082
|
interface GitStatusData {
|
|
1122
1083
|
branch: string;
|
|
1123
1084
|
isDirty: boolean;
|
|
@@ -1141,8 +1102,6 @@ interface GitPanelProps {
|
|
|
1141
1102
|
className?: string;
|
|
1142
1103
|
}
|
|
1143
1104
|
declare function GitPanel({ status, log, loading, onRefresh, className }: GitPanelProps): React$1.JSX.Element;
|
|
1144
|
-
//#endregion
|
|
1145
|
-
//#region src/dashboard/ports-list.d.ts
|
|
1146
1105
|
interface ExposedPort {
|
|
1147
1106
|
port: number;
|
|
1148
1107
|
url: string;
|
|
@@ -1156,8 +1115,6 @@ interface PortsListProps {
|
|
|
1156
1115
|
className?: string;
|
|
1157
1116
|
}
|
|
1158
1117
|
declare function PortsList({ ports, onExposePort, onRemovePort, isExposing, className }: PortsListProps): React$1.JSX.Element;
|
|
1159
|
-
//#endregion
|
|
1160
|
-
//#region src/dashboard/template-card.d.ts
|
|
1161
1118
|
interface TemplateCardData {
|
|
1162
1119
|
id: string;
|
|
1163
1120
|
name: string;
|
|
@@ -1171,8 +1128,6 @@ interface TemplateCardProps {
|
|
|
1171
1128
|
className?: string;
|
|
1172
1129
|
}
|
|
1173
1130
|
declare function TemplateCard({ template, onUseTemplate, className }: TemplateCardProps): React$1.JSX.Element;
|
|
1174
|
-
//#endregion
|
|
1175
|
-
//#region src/dashboard/process-list.d.ts
|
|
1176
1131
|
interface ProcessInfo {
|
|
1177
1132
|
pid: number;
|
|
1178
1133
|
command: string;
|
|
@@ -1189,8 +1144,6 @@ interface ProcessListProps {
|
|
|
1189
1144
|
className?: string;
|
|
1190
1145
|
}
|
|
1191
1146
|
declare function ProcessList({ processes, onSpawn, onKill, loading, className }: ProcessListProps): React$1.JSX.Element;
|
|
1192
|
-
//#endregion
|
|
1193
|
-
//#region src/dashboard/snapshot-list.d.ts
|
|
1194
1147
|
interface SnapshotInfo {
|
|
1195
1148
|
id: string;
|
|
1196
1149
|
createdAt: string;
|
|
@@ -1206,8 +1159,6 @@ interface SnapshotListProps {
|
|
|
1206
1159
|
className?: string;
|
|
1207
1160
|
}
|
|
1208
1161
|
declare function SnapshotList({ snapshots, onCreate, onRestore, onSaveAsTemplate, loading, className }: SnapshotListProps): React$1.JSX.Element;
|
|
1209
|
-
//#endregion
|
|
1210
|
-
//#region src/dashboard/promo-banner.d.ts
|
|
1211
1162
|
interface PromoBannerProps {
|
|
1212
1163
|
title: string;
|
|
1213
1164
|
description: string;
|
|
@@ -1219,8 +1170,6 @@ interface PromoBannerProps {
|
|
|
1219
1170
|
className?: string;
|
|
1220
1171
|
}
|
|
1221
1172
|
declare function PromoBanner({ title, description, buttonLabel, href, onClick, icon, disabled, className }: PromoBannerProps): React$1.JSX.Element;
|
|
1222
|
-
//#endregion
|
|
1223
|
-
//#region src/dashboard/page-layout.d.ts
|
|
1224
1173
|
interface SandboxPageShellProps {
|
|
1225
1174
|
children: ReactNode;
|
|
1226
1175
|
className?: string;
|
|
@@ -1234,5 +1183,4 @@ interface DashboardPageHeaderProps {
|
|
|
1234
1183
|
className?: string;
|
|
1235
1184
|
}
|
|
1236
1185
|
declare function DashboardPageHeader({ title, description, actions, className }: DashboardPageHeaderProps): import("react").JSX.Element;
|
|
1237
|
-
//#endregion
|
|
1238
1186
|
export { SandboxTable as $, Sidebar as $t, MetricChartPoint as A, SIDEBAR_TOTAL_WIDTH as At, ProductVariant as B, RailButton as Bt, UsageSummary as C, OutOfCreditsModal as Ct, SystemLogsViewerProps as D, SIDEBAR_PANEL_WIDTH as Dt, SystemLogsViewer as E, SIDEBAR_MOBILE_WIDTH as Et, SidebarLayoutProps as F, RailTooltipProps as Ft, HARNESS_OPTIONS as G, RailFlyout as Gt, HarnessBrand as H, RailExpandable as Ht, DashboardLayout as I, McpServer as It, HarnessType$1 as J, RailHeaderProps as Jt, HarnessPicker as K, RailFlyoutProps as Kt, DashboardLayoutProps as L, AppearanceController as Lt, SidebarLayout as M, SidebarProviderProps as Mt, SidebarLayoutFlyoutItem as N, useSidebar as Nt, MetricAreaChart as O, SIDEBAR_RAIL_LABELED_WIDTH as Ot, SidebarLayoutNavItem as P, RailTooltip as Pt, BackendSelectorProps as Q, RailSeparatorProps as Qt, DashboardUser as R, ProfileAvatar as Rt, GitStatusData as S, InsufficientBalance as St, UsageSummaryProps as T, parseInsufficientBalance as Tt, HarnessLogo as U, RailExpandableProps as Ut, HARNESS_BRAND as V, RailButtonProps as Vt, HarnessLogoProps as W, RailExpandableSubItem as Wt, Backend as X, RailModeButtonProps as Xt, chatCapableHarnesses as Y, RailModeButton as Yt, BackendSelector as Z, RailSeparator as Zt, PortsList as _, ResourceSnapshotItem as _t, PromoBanner as a, SidebarPanelHeader as an, NewSandboxCard as at, GitPanel as b, ResourceMeterProps as bt, SnapshotList as c, SidebarProps as cn, SandboxCardData as ct, ProcessList as d, SidebarRailFooterProps as dn, TeamRole as dt, SidebarContent as en, SandboxTableProps as et, ProcessListProps as f, SidebarRailNav as fn, canAdminSandbox as ft, ExposedPort as g, ThemeMode as gn, ResourceSnapshot as gt, TemplateCardProps as h, SidebarUser as hn, ActivityItem as ht, SandboxPageShellProps as i, SidebarPanelContentProps as in, sandboxStatus as it, MetricChartTone as j, SidebarProvider as jt, MetricAreaChartProps as k, SIDEBAR_RAIL_WIDTH as kt, SnapshotListProps as l, SidebarRail as ln, SandboxCardProps as lt, TemplateCardData as m, SidebarRailProps as mn, ActivityFeedProps as mt, DashboardPageHeaderProps as n, SidebarPanel as nn, SandboxStatusPill as nt, PromoBannerProps as o, SidebarPanelHeaderProps as on, NewSandboxCardProps as ot, TemplateCard as p, SidebarRailNavProps as pn, ActivityFeed as pt, HarnessPickerProps as q, RailHeader as qt, SandboxPageShell as r, SidebarPanelContent as rn, SandboxStatusPillProps as rt, SnapshotInfo as s, SidebarPanelProps as sn, SandboxCard as st, DashboardPageHeader as t, SidebarContentProps as tn, SANDBOX_STATUS as tt, ProcessInfo as u, SidebarRailFooter as un, SandboxStatus as ut, PortsListProps as v, ResourceSnapshotProps as vt, UsageSummaryData as w, OutOfCreditsModalProps as wt, GitPanelProps as x, INSUFFICIENT_BALANCE_CODE as xt, GitCommitData as y, ResourceMeter as yt, NavItem as z, ProfileAvatarProps as zt };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { g as ExposedPort } from "./index-
|
|
1
|
+
import { g as ExposedPort } from "./index-DRDtTgb0.js";
|
|
2
2
|
import { D as RichFileTreeGitStatus, E as RichFileTreeGitEntry } from "./index-BoHOpP2_.js";
|
|
3
|
-
import { a as PreviewReadiness, i as PreviewAccess } from "./embedded-app-view-
|
|
3
|
+
import { a as PreviewReadiness, i as PreviewAccess } from "./embedded-app-view-Ta5GI4hx.js";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { CSSProperties } from "react";
|
|
6
|
-
//#region src/workbench/types.d.ts
|
|
7
6
|
/** Which surface the artifact pane is currently showing. */
|
|
8
7
|
type ArtifactView = "code" | "diff" | "preview" | "ports" | "terminal";
|
|
9
8
|
/**
|
|
@@ -114,8 +113,6 @@ interface ChangesPaneProps {
|
|
|
114
113
|
onOpenFile?: (path: string) => void;
|
|
115
114
|
className?: string;
|
|
116
115
|
}
|
|
117
|
-
//#endregion
|
|
118
|
-
//#region src/workbench/sandbox-artifact-pane.d.ts
|
|
119
116
|
/**
|
|
120
117
|
* Blueprint-grade artifact workbench. Composes the sandbox-ui substrate
|
|
121
118
|
* (`RichFileTree`, `PortsList`, `TerminalView`, `@pierre/diffs`) behind a
|
|
@@ -125,8 +122,6 @@ interface ChangesPaneProps {
|
|
|
125
122
|
* chrome never shows a dead surface.
|
|
126
123
|
*/
|
|
127
124
|
declare function SandboxArtifactPane({ artifact, paths, gitStatus, showTree, ports, previewUrl, terminal, activeView, defaultView, onViewChange, onFileSelect, onExposePort, onRemovePort, className, style }: SandboxArtifactPaneProps): React$1.JSX.Element;
|
|
128
|
-
//#endregion
|
|
129
|
-
//#region src/workbench/changes-pane.d.ts
|
|
130
125
|
/**
|
|
131
126
|
* The sandbox's git working tree as a review surface: every changed file with
|
|
132
127
|
* its line counts, the selected file's word-level diff beneath, and a commit
|
|
@@ -141,8 +136,6 @@ declare function SandboxArtifactPane({ artifact, paths, gitStatus, showTree, por
|
|
|
141
136
|
* second tall bar.
|
|
142
137
|
*/
|
|
143
138
|
declare function ChangesPane({ branch, ahead, behind, files, selectedPath, onSelectFile, loading, error, onRefresh, onCommit, onPush, busy, onOpenFile, className }: ChangesPaneProps): React$1.JSX.Element;
|
|
144
|
-
//#endregion
|
|
145
|
-
//#region src/workbench/pill-tabs.d.ts
|
|
146
139
|
interface PillTabItem<T extends string> {
|
|
147
140
|
value: T;
|
|
148
141
|
label: string;
|
|
@@ -166,8 +159,6 @@ interface PillTabsProps<T extends string> {
|
|
|
166
159
|
* sandbox-ui surface ladder.
|
|
167
160
|
*/
|
|
168
161
|
declare function PillTabs<T extends string>({ items, value, onChange, className, "aria-label": ariaLabel, idPrefix, panelId }: PillTabsProps<T>): React$1.JSX.Element;
|
|
169
|
-
//#endregion
|
|
170
|
-
//#region src/workbench/diff-utils.d.ts
|
|
171
162
|
interface DiffStats {
|
|
172
163
|
added: number;
|
|
173
164
|
removed: number;
|
|
@@ -189,8 +180,6 @@ declare function computeDiffStats(original: string, current: string): DiffStats;
|
|
|
189
180
|
* yield an empty string so callers can treat "" as "no diff".
|
|
190
181
|
*/
|
|
191
182
|
declare function buildUnifiedPatch(filename: string, baseline: string, current: string): string;
|
|
192
|
-
//#endregion
|
|
193
|
-
//#region src/workbench/panel-header.d.ts
|
|
194
183
|
declare function GitStatusBadge({ status }: {
|
|
195
184
|
status: RichFileTreeGitStatus;
|
|
196
185
|
}): React$1.JSX.Element;
|
|
@@ -217,8 +206,6 @@ interface PanelHeaderProps {
|
|
|
217
206
|
* horizontal rhythm), retoned to the sandbox-ui surface ladder.
|
|
218
207
|
*/
|
|
219
208
|
declare function PanelHeader({ filename, gitStatus, stats, copyText, children, className }: PanelHeaderProps): React$1.JSX.Element;
|
|
220
|
-
//#endregion
|
|
221
|
-
//#region src/workbench/file-breadcrumb.d.ts
|
|
222
209
|
interface FileBreadcrumbProps {
|
|
223
210
|
/** Canonical path, e.g. `src/lib/retry.ts`. */
|
|
224
211
|
path: string;
|
|
@@ -232,8 +219,6 @@ interface FileBreadcrumbProps {
|
|
|
232
219
|
* segments with a file-icon leaf.
|
|
233
220
|
*/
|
|
234
221
|
declare function FileBreadcrumb({ path, className }: FileBreadcrumbProps): React$1.JSX.Element;
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region src/workbench/code-view.d.ts
|
|
237
222
|
interface CodeViewProps {
|
|
238
223
|
path: string;
|
|
239
224
|
filename: string;
|
|
@@ -254,8 +239,6 @@ interface CodeViewProps {
|
|
|
254
239
|
* so the host can swap the active artifact.
|
|
255
240
|
*/
|
|
256
241
|
declare function CodeView({ path, filename, content, language, paths, gitStatus, onFileSelect, showTree, className }: CodeViewProps): React$1.JSX.Element;
|
|
257
|
-
//#endregion
|
|
258
|
-
//#region src/workbench/diff-view.d.ts
|
|
259
242
|
interface DiffViewProps {
|
|
260
243
|
filename: string;
|
|
261
244
|
baseline: string;
|
|
@@ -275,8 +258,6 @@ interface DiffViewProps {
|
|
|
275
258
|
* root; the plain patch disclosure is the accessible, engine-independent view.
|
|
276
259
|
*/
|
|
277
260
|
declare function DiffView({ filename, baseline, current, showFileHeader, defaultWrap, themeType, className }: DiffViewProps): React$1.JSX.Element;
|
|
278
|
-
//#endregion
|
|
279
|
-
//#region src/workbench/preview-view.d.ts
|
|
280
261
|
interface PreviewViewProps {
|
|
281
262
|
/** A product-authorized preview URL. Relative navigation stays on its origin. */
|
|
282
263
|
url: string;
|
|
@@ -295,8 +276,6 @@ interface PreviewViewProps {
|
|
|
295
276
|
className?: string;
|
|
296
277
|
}
|
|
297
278
|
declare function PreviewView({ url, allowedOrigins, access, readiness, onCheckReadiness, onNavigate, variant, title, toolbarActions, className }: PreviewViewProps): React$1.JSX.Element;
|
|
298
|
-
//#endregion
|
|
299
|
-
//#region src/workbench/syntax.d.ts
|
|
300
279
|
/** Resolve a Prism language id from an explicit hint or the filename. */
|
|
301
280
|
declare function resolveLanguage(filename: string, explicit?: string): string;
|
|
302
281
|
declare const BRAND_PRISM_THEME: Record<string, CSSProperties>;
|
|
@@ -313,5 +292,4 @@ interface CodeSurfaceProps {
|
|
|
313
292
|
* tabular column.
|
|
314
293
|
*/
|
|
315
294
|
declare function CodeSurface({ code, filename, language, showLineNumbers, className }: CodeSurfaceProps): React$1.JSX.Element;
|
|
316
|
-
//#endregion
|
|
317
295
|
export { SandboxArtifactTerminal as A, ChangesPane as C, ChangesPaneProps as D, ChangedFile as E, SandboxArtifact as O, PillTabsProps as S, ArtifactView as T, DiffStats as _, PreviewView as a, PillTabItem as b, DiffViewProps as c, FileBreadcrumb as d, FileBreadcrumbProps as f, PanelHeaderProps as g, PanelHeader as h, resolveLanguage as i, SandboxArtifactPaneProps as k, CodeView as l, GitStatusBadge as m, CodeSurface as n, PreviewViewProps as o, DiffStatsBadge as p, CodeSurfaceProps as r, DiffView as s, BRAND_PRISM_THEME as t, CodeViewProps as u, buildUnifiedPatch as v, SandboxArtifactPane as w, PillTabs as x, computeDiffStats as y };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FileNode } from "@tangle-network/ui/files";
|
|
2
|
-
//#region src/vault-tree/vault-tree.d.ts
|
|
3
2
|
/** Children rendered per folder before a "Show more" row. */
|
|
4
3
|
declare const VAULT_TREE_CHILD_PAGE = 200;
|
|
5
4
|
interface VaultTreeProps {
|
|
@@ -30,8 +29,6 @@ interface VaultTreeProps {
|
|
|
30
29
|
className?: string;
|
|
31
30
|
}
|
|
32
31
|
declare function VaultTree({ root, selectedPath, activeFolder, onSelect, onFolderToggle, onFolderSelect, storageKey, expandAll, label, className }: VaultTreeProps): import("react").JSX.Element;
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region src/vault-tree/tree-data.d.ts
|
|
35
32
|
/**
|
|
36
33
|
* Nests flat paths into folders. A path ending in `/` is a directory, so an
|
|
37
34
|
* empty folder survives; leading `./` and `/` are ignored.
|
|
@@ -43,5 +40,4 @@ declare function fileTreeFromPaths(paths: ReadonlyArray<string>): FileNode[];
|
|
|
43
40
|
* descendants that survive.
|
|
44
41
|
*/
|
|
45
42
|
declare function filterFileNodes(nodes: ReadonlyArray<FileNode>, query: string): FileNode[];
|
|
46
|
-
//#endregion
|
|
47
43
|
export { VaultTreeProps as a, VaultTree as i, filterFileNodes as n, VAULT_TREE_CHILD_PAGE as r, fileTreeFromPaths as t };
|