@tangle-network/sandbox-ui 0.87.0 → 0.87.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{WorkflowGraph-J2SVX3WP.js → WorkflowGraph-YZGPXSDJ.js} +1 -1
- package/dist/assets.d.ts +7 -8
- package/dist/auth.d.ts +2 -2
- package/dist/chat.d.ts +10 -11
- package/dist/chat.js +4 -4
- package/dist/{chunk-R5OVYRIY.js → chunk-3RIYD2WD.js} +15 -5
- package/dist/{chunk-I3G23XHN.js → chunk-5XRAKVIV.js} +30 -30
- package/dist/{chunk-R4AR3TKR.js → chunk-EHMD4JJM.js} +1 -1
- package/dist/{chunk-2T6KBMLN.js → chunk-NF3Q4RJU.js} +7 -7
- package/dist/{chunk-HCOZO53G.js → chunk-WTUPC4OZ.js} +15 -15
- package/dist/connectors.d.ts +4 -4
- package/dist/dashboard.d.ts +55 -56
- package/dist/dashboard.js +3 -3
- package/dist/globals.css +872 -1513
- package/dist/hooks.d.ts +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.js +5 -5
- package/dist/integrations.d.ts +2 -2
- package/dist/{logo-CZ6moVvw.d.ts → logo-CaIvk3J1.d.ts} +3 -3
- package/dist/{model-brand-CsFykzMA.d.ts → model-brand-CuXKfTMh.d.ts} +2 -2
- package/dist/pages.d.ts +10 -11
- package/dist/pages.js +2 -2
- package/dist/{ports-list-DfG0VfPt.d.ts → ports-list-CDIvTNnX.d.ts} +2 -2
- package/dist/primitives.d.ts +4 -5
- package/dist/styles.css +872 -1513
- package/dist/{template-card-UhV3pmRC.d.ts → template-card-Bn-Bw5xC.d.ts} +4 -5
- package/dist/terminal.d.ts +2 -2
- package/dist/workbench.d.ts +10 -11
- package/dist/workbench.js +4 -4
- package/dist/workflows.d.ts +3 -3
- package/dist/workflows.js +2 -2
- package/dist/workspace.d.ts +15 -15
- package/package.json +76 -68
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
interface BillingSubscription {
|
|
@@ -25,7 +24,7 @@ interface BillingDashboardProps {
|
|
|
25
24
|
className?: string;
|
|
26
25
|
cardClassName?: string;
|
|
27
26
|
}
|
|
28
|
-
declare function BillingDashboard({ subscription, balance, usage, onManageSubscription, onAddCredits, variant, className, cardClassName, }: BillingDashboardProps):
|
|
27
|
+
declare function BillingDashboard({ subscription, balance, usage, onManageSubscription, onAddCredits, variant, className, cardClassName, }: BillingDashboardProps): React.JSX.Element;
|
|
29
28
|
|
|
30
29
|
interface PricingTier {
|
|
31
30
|
id: string;
|
|
@@ -57,7 +56,7 @@ interface PricingPageProps {
|
|
|
57
56
|
* @param cents - Amount in whole US cents (e.g. 1099 for $10.99).
|
|
58
57
|
*/
|
|
59
58
|
declare function formatPrice(cents: number): string;
|
|
60
|
-
declare function PricingPage({ tiers, currentTierId, billingPeriod, onBillingPeriodChange, onSelectTier, loading, className, }: PricingPageProps):
|
|
59
|
+
declare function PricingPage({ tiers, currentTierId, billingPeriod, onBillingPeriodChange, onSelectTier, loading, className, }: PricingPageProps): React.JSX.Element;
|
|
61
60
|
|
|
62
61
|
interface UsageDataPoint {
|
|
63
62
|
date: string;
|
|
@@ -69,7 +68,7 @@ interface UsageChartProps {
|
|
|
69
68
|
unit: string;
|
|
70
69
|
className?: string;
|
|
71
70
|
}
|
|
72
|
-
declare function UsageChart({ data, title, unit, className }: UsageChartProps):
|
|
71
|
+
declare function UsageChart({ data, title, unit, className }: UsageChartProps): React.JSX.Element;
|
|
73
72
|
|
|
74
73
|
interface TemplateCardData {
|
|
75
74
|
id: string;
|
|
@@ -83,6 +82,6 @@ interface TemplateCardProps {
|
|
|
83
82
|
onUseTemplate: (templateId: string) => void;
|
|
84
83
|
className?: string;
|
|
85
84
|
}
|
|
86
|
-
declare function TemplateCard({ template, onUseTemplate, className }: TemplateCardProps):
|
|
85
|
+
declare function TemplateCard({ template, onUseTemplate, className }: TemplateCardProps): React.JSX.Element;
|
|
87
86
|
|
|
88
87
|
export { type BillingBalance as B, PricingPage as P, TemplateCard as T, UsageChart as U, BillingDashboard as a, type BillingDashboardProps as b, type BillingSubscription as c, type BillingUsage as d, type PricingPageProps as e, type PricingTier as f, type TemplateCardData as g, type TemplateCardProps as h, type UsageChartProps as i, type UsageDataPoint as j, formatPrice as k };
|
package/dist/terminal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
interface TerminalTheme {
|
|
4
4
|
background: string;
|
|
@@ -54,6 +54,6 @@ interface TerminalViewProps {
|
|
|
54
54
|
connectionId?: string;
|
|
55
55
|
}
|
|
56
56
|
declare const DEFAULT_TERMINAL_THEME: TerminalTheme;
|
|
57
|
-
declare function TerminalView({ apiUrl, token, theme, title, subtitle, isActive, connectionId, fontSize, }: TerminalViewProps):
|
|
57
|
+
declare function TerminalView({ apiUrl, token, theme, title, subtitle, isActive, connectionId, fontSize, }: TerminalViewProps): React.JSX.Element;
|
|
58
58
|
|
|
59
59
|
export { DEFAULT_TERMINAL_THEME, type TerminalTheme, TerminalView, type TerminalViewProps };
|
package/dist/workbench.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { CSSProperties } from 'react';
|
|
4
3
|
import { RichFileTreeGitEntry, RichFileTreeGitStatus } from '@tangle-network/ui/files';
|
|
5
|
-
import { E as ExposedPort } from './ports-list-
|
|
4
|
+
import { E as ExposedPort } from './ports-list-CDIvTNnX.js';
|
|
6
5
|
|
|
7
6
|
/** Which surface the artifact pane is currently showing. */
|
|
8
7
|
type ArtifactView = "code" | "diff" | "preview" | "ports" | "terminal";
|
|
@@ -77,7 +76,7 @@ interface SandboxArtifactPaneProps {
|
|
|
77
76
|
* baseline; Preview a url; Ports a port list; Terminal a live binding), so the
|
|
78
77
|
* chrome never shows a dead surface.
|
|
79
78
|
*/
|
|
80
|
-
declare function SandboxArtifactPane({ artifact, paths, gitStatus, showTree, ports, previewUrl, terminal, activeView, defaultView, onViewChange, onFileSelect, onExposePort, onRemovePort, className, style, }: SandboxArtifactPaneProps):
|
|
79
|
+
declare function SandboxArtifactPane({ artifact, paths, gitStatus, showTree, ports, previewUrl, terminal, activeView, defaultView, onViewChange, onFileSelect, onExposePort, onRemovePort, className, style, }: SandboxArtifactPaneProps): React.JSX.Element;
|
|
81
80
|
|
|
82
81
|
interface PillTabItem<T extends string> {
|
|
83
82
|
value: T;
|
|
@@ -98,7 +97,7 @@ interface PillTabsProps<T extends string> {
|
|
|
98
97
|
* load so the indicator tracks the active tab exactly. Token-swapped onto the
|
|
99
98
|
* sandbox-ui surface ladder.
|
|
100
99
|
*/
|
|
101
|
-
declare function PillTabs<T extends string>({ items, value, onChange, className, "aria-label": ariaLabel, }: PillTabsProps<T>):
|
|
100
|
+
declare function PillTabs<T extends string>({ items, value, onChange, className, "aria-label": ariaLabel, }: PillTabsProps<T>): React.JSX.Element;
|
|
102
101
|
|
|
103
102
|
interface DiffStats {
|
|
104
103
|
added: number;
|
|
@@ -124,7 +123,7 @@ declare function buildUnifiedPatch(filename: string, baseline: string, current:
|
|
|
124
123
|
|
|
125
124
|
declare function GitStatusBadge({ status }: {
|
|
126
125
|
status: RichFileTreeGitStatus;
|
|
127
|
-
}):
|
|
126
|
+
}): React.JSX.Element;
|
|
128
127
|
interface PanelHeaderProps {
|
|
129
128
|
filename: string;
|
|
130
129
|
gitStatus?: RichFileTreeGitStatus;
|
|
@@ -142,7 +141,7 @@ interface PanelHeaderProps {
|
|
|
142
141
|
* blueprint-agent's `PanelHeader` (min-h, hairline bottom border, dense
|
|
143
142
|
* horizontal rhythm), retoned to the sandbox-ui surface ladder.
|
|
144
143
|
*/
|
|
145
|
-
declare function PanelHeader({ filename, gitStatus, stats, copyText, children, className }: PanelHeaderProps):
|
|
144
|
+
declare function PanelHeader({ filename, gitStatus, stats, copyText, children, className }: PanelHeaderProps): React.JSX.Element;
|
|
146
145
|
|
|
147
146
|
interface FileBreadcrumbProps {
|
|
148
147
|
/** Canonical path, e.g. `src/lib/retry.ts`. */
|
|
@@ -156,7 +155,7 @@ interface FileBreadcrumbProps {
|
|
|
156
155
|
* already owns navigation, so this is a read-only trail: caret-separated parent
|
|
157
156
|
* segments with a file-icon leaf.
|
|
158
157
|
*/
|
|
159
|
-
declare function FileBreadcrumb({ path, className }: FileBreadcrumbProps):
|
|
158
|
+
declare function FileBreadcrumb({ path, className }: FileBreadcrumbProps): React.JSX.Element;
|
|
160
159
|
|
|
161
160
|
interface CodeViewProps {
|
|
162
161
|
path: string;
|
|
@@ -177,7 +176,7 @@ interface CodeViewProps {
|
|
|
177
176
|
* view. The rail owns navigation; selecting a path fans out to `onFileSelect`
|
|
178
177
|
* so the host can swap the active artifact.
|
|
179
178
|
*/
|
|
180
|
-
declare function CodeView({ path, filename, content, language, paths, gitStatus, onFileSelect, showTree, className, }: CodeViewProps):
|
|
179
|
+
declare function CodeView({ path, filename, content, language, paths, gitStatus, onFileSelect, showTree, className, }: CodeViewProps): React.JSX.Element;
|
|
181
180
|
|
|
182
181
|
interface DiffViewProps {
|
|
183
182
|
filename: string;
|
|
@@ -190,7 +189,7 @@ interface DiffViewProps {
|
|
|
190
189
|
* with jsdiff's `createTwoFilesPatch` (baseline → current); the renderer owns
|
|
191
190
|
* hunking, intra-line word diffing, gutters, and syntax highlighting.
|
|
192
191
|
*/
|
|
193
|
-
declare function DiffView({ filename, baseline, current, className }: DiffViewProps):
|
|
192
|
+
declare function DiffView({ filename, baseline, current, className }: DiffViewProps): React.JSX.Element;
|
|
194
193
|
|
|
195
194
|
interface PreviewViewProps {
|
|
196
195
|
/** Origin to load in the preview iframe. */
|
|
@@ -205,7 +204,7 @@ interface PreviewViewProps {
|
|
|
205
204
|
* veil clears on `onLoad` (or a short fallback timer), which is the right
|
|
206
205
|
* behavior for a static origin without a probe service wired in.
|
|
207
206
|
*/
|
|
208
|
-
declare function PreviewView({ url, className }: PreviewViewProps):
|
|
207
|
+
declare function PreviewView({ url, className }: PreviewViewProps): React.JSX.Element;
|
|
209
208
|
|
|
210
209
|
/** Resolve a Prism language id from an explicit hint or the filename. */
|
|
211
210
|
declare function resolveLanguage(filename: string, explicit?: string): string;
|
|
@@ -222,6 +221,6 @@ interface CodeSurfaceProps {
|
|
|
222
221
|
* highlighter itself never grows the layout; line numbers sit in a muted,
|
|
223
222
|
* tabular column.
|
|
224
223
|
*/
|
|
225
|
-
declare function CodeSurface({ code, filename, language, showLineNumbers, className, }: CodeSurfaceProps):
|
|
224
|
+
declare function CodeSurface({ code, filename, language, showLineNumbers, className, }: CodeSurfaceProps): React.JSX.Element;
|
|
226
225
|
|
|
227
226
|
export { type ArtifactView, BRAND_PRISM_THEME, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, type DiffStats, DiffView, type DiffViewProps, FileBreadcrumb, type FileBreadcrumbProps, GitStatusBadge, PanelHeader, type PanelHeaderProps, type PillTabItem, PillTabs, type PillTabsProps, PreviewView, type PreviewViewProps, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, buildUnifiedPatch, computeDiffStats, resolveLanguage };
|
package/dist/workbench.js
CHANGED
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
buildUnifiedPatch,
|
|
13
13
|
computeDiffStats,
|
|
14
14
|
resolveLanguage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WTUPC4OZ.js";
|
|
16
16
|
import "./chunk-3J6FG3FJ.js";
|
|
17
17
|
import "./chunk-H237JF3H.js";
|
|
18
18
|
import "./chunk-OMUIPJQZ.js";
|
|
19
19
|
import "./chunk-VIREDUBF.js";
|
|
20
20
|
import "./chunk-77WVVJA4.js";
|
|
21
21
|
import "./chunk-4ZZUMXPX.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-NF3Q4RJU.js";
|
|
23
|
+
import "./chunk-EHMD4JJM.js";
|
|
24
|
+
import "./chunk-5XRAKVIV.js";
|
|
25
25
|
import "./chunk-EI44GEQ5.js";
|
|
26
26
|
import "./chunk-U67V476Y.js";
|
|
27
27
|
export {
|
package/dist/workflows.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
export { M as ModelBrandIdentity, a as ModelBrandStack, m as modelBrandFor } from './model-brand-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export { M as ModelBrandIdentity, a as ModelBrandStack, m as modelBrandFor } from './model-brand-CuXKfTMh.js';
|
|
3
3
|
import '@tangle-network/agent-interface';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -192,6 +192,6 @@ interface WorkflowGraphProps {
|
|
|
192
192
|
onNodeClick?: (nodeId: string, data: WfNodeData) => void;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
declare function WorkflowGraph(props: WorkflowGraphProps):
|
|
195
|
+
declare function WorkflowGraph(props: WorkflowGraphProps): React.JSX.Element;
|
|
196
196
|
|
|
197
197
|
export { type BuildWorkflowGraphOptions, type WfEdge, type WfGraph, type WfNode, type WfNodeData, type WfNodeState, type WfNodeStatus, type WfNodeTone, WorkflowGraph as WorkflowGraphLazy, type WorkflowGraphProps, buildWorkflowGraph };
|
package/dist/workflows.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
ModelBrandStack,
|
|
6
6
|
modelBrandFor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5XRAKVIV.js";
|
|
8
8
|
import "./chunk-EI44GEQ5.js";
|
|
9
9
|
import "./chunk-U67V476Y.js";
|
|
10
10
|
|
|
@@ -31,7 +31,7 @@ function retryImport(factory, retries = 2, delayMs = 350) {
|
|
|
31
31
|
function lazyWorkflowGraph() {
|
|
32
32
|
return lazy(
|
|
33
33
|
() => retryImport(
|
|
34
|
-
() => import("./WorkflowGraph-
|
|
34
|
+
() => import("./WorkflowGraph-YZGPXSDJ.js").then((m) => ({ default: m.WorkflowGraph }))
|
|
35
35
|
)
|
|
36
36
|
);
|
|
37
37
|
}
|
package/dist/workspace.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
2
|
import { ReactNode, Ref } from 'react';
|
|
3
3
|
export { ArtifactPane, ArtifactPaneProps } from '@tangle-network/ui/primitives';
|
|
4
4
|
import { FileNode, FileTreeVisibilityOptions, FileTabData } from '@tangle-network/ui/files';
|
|
@@ -65,7 +65,7 @@ interface WorkspaceLayoutProps {
|
|
|
65
65
|
bottomLabel?: string;
|
|
66
66
|
className?: string;
|
|
67
67
|
}
|
|
68
|
-
declare function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen, defaultRightOpen, defaultBottomOpen, defaultLeftWidth, defaultRightWidth, defaultBottomHeight, minLeftWidth, maxLeftWidth, minRightWidth, maxRightWidth, minBottomHeight, maxBottomHeight, persistenceKey, resizable, theme, density, leftLabel, rightLabel, bottomLabel, className, }: WorkspaceLayoutProps):
|
|
68
|
+
declare function WorkspaceLayout({ left, leftHeader, center, centerHeader, centerFooter, right, rightHeader, bottom, bottomHeader, defaultLeftOpen, defaultRightOpen, defaultBottomOpen, defaultLeftWidth, defaultRightWidth, defaultBottomHeight, minLeftWidth, maxLeftWidth, minRightWidth, maxRightWidth, minBottomHeight, maxBottomHeight, persistenceKey, resizable, theme, density, leftLabel, rightLabel, bottomLabel, className, }: WorkspaceLayoutProps): React$1.JSX.Element;
|
|
69
69
|
|
|
70
70
|
interface DirectoryPaneProps {
|
|
71
71
|
root: FileNode;
|
|
@@ -84,7 +84,7 @@ interface DirectoryPaneProps {
|
|
|
84
84
|
* DirectoryPane — searchable file-system navigation surface for sandbox
|
|
85
85
|
* sessions.
|
|
86
86
|
*/
|
|
87
|
-
declare function DirectoryPane({ root, selectedPath, onSelect, onRefresh, onUpload, title, subtitle, defaultExpanded, searchPlaceholder, visibility, className, }: DirectoryPaneProps):
|
|
87
|
+
declare function DirectoryPane({ root, selectedPath, onSelect, onRefresh, onUpload, title, subtitle, defaultExpanded, searchPlaceholder, visibility, className, }: DirectoryPaneProps): React$1.JSX.Element;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* StatusBanner — full-width notification banner for connection/provisioning states.
|
|
@@ -97,7 +97,7 @@ interface StatusBannerProps {
|
|
|
97
97
|
onDismiss?: () => void;
|
|
98
98
|
className?: string;
|
|
99
99
|
}
|
|
100
|
-
declare function StatusBanner({ type, message, detail, onDismiss, className }: StatusBannerProps):
|
|
100
|
+
declare function StatusBanner({ type, message, detail, onDismiss, className }: StatusBannerProps): React$1.JSX.Element;
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* StatusBar — compact bottom bar: connection state, file/artifact context
|
|
@@ -120,7 +120,7 @@ interface StatusBarProps {
|
|
|
120
120
|
status?: "connected" | "connecting" | "disconnected" | "provisioning";
|
|
121
121
|
className?: string;
|
|
122
122
|
}
|
|
123
|
-
declare function StatusBar({ credits, contextBadges, onRemoveBadge, status, className, }: StatusBarProps):
|
|
123
|
+
declare function StatusBar({ credits, contextBadges, onRemoveBadge, status, className, }: StatusBarProps): React$1.JSX.Element;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* Terminal — read-only terminal output panel.
|
|
@@ -143,7 +143,7 @@ interface TerminalProps {
|
|
|
143
143
|
maxHeight?: number;
|
|
144
144
|
className?: string;
|
|
145
145
|
}
|
|
146
|
-
declare function TerminalPanel({ lines, title, isCollapsed, onToggle, onClose, maxHeight, className, }: TerminalProps):
|
|
146
|
+
declare function TerminalPanel({ lines, title, isCollapsed, onToggle, onClose, maxHeight, className, }: TerminalProps): React$1.JSX.Element;
|
|
147
147
|
|
|
148
148
|
interface RuntimePaneProps {
|
|
149
149
|
title?: string;
|
|
@@ -162,7 +162,7 @@ interface RuntimePaneProps {
|
|
|
162
162
|
* RuntimePane — shared operating surface for sandbox session state, terminal
|
|
163
163
|
* output, audit results, and runtime metadata.
|
|
164
164
|
*/
|
|
165
|
-
declare function RuntimePane({ title, subtitle, statusBanner, statusBar, content, terminal, audit, inspector, footer, className, }: RuntimePaneProps):
|
|
165
|
+
declare function RuntimePane({ title, subtitle, statusBanner, statusBar, content, terminal, audit, inspector, footer, className, }: RuntimePaneProps): React$1.JSX.Element;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Optimistic session/thread list: reflect a just-created / renamed / deleted
|
|
@@ -298,7 +298,7 @@ interface SessionSidebarProps {
|
|
|
298
298
|
*/
|
|
299
299
|
optimisticRef?: Ref<SessionOptimisticController | null>;
|
|
300
300
|
}
|
|
301
|
-
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, }: SessionSidebarProps):
|
|
301
|
+
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, }: SessionSidebarProps): React$1.JSX.Element;
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* Snappy in-app navigation: a shared `shouldRevalidate` rule for the agent-app
|
|
@@ -383,7 +383,7 @@ interface SessionActivityMonitorProps {
|
|
|
383
383
|
resolveProjectLabel?: (projectId: SessionProjectKey, label?: string) => string;
|
|
384
384
|
onSelectSession?: (session: ActiveSessionRecord) => void;
|
|
385
385
|
}
|
|
386
|
-
declare function SessionActivityMonitor({ className, compact, sessionsById, emptyMessage, resolveProjectLabel, onSelectSession, }: SessionActivityMonitorProps):
|
|
386
|
+
declare function SessionActivityMonitor({ className, compact, sessionsById, emptyMessage, resolveProjectLabel, onSelectSession, }: SessionActivityMonitorProps): React$1.JSX.Element | null;
|
|
387
387
|
|
|
388
388
|
type SandboxWorkbenchPlacement = "left" | "right" | "bottom" | "hidden";
|
|
389
389
|
interface SandboxWorkbenchArtifactBase {
|
|
@@ -465,8 +465,8 @@ interface SandboxWorkbenchProps {
|
|
|
465
465
|
* into a complete session surface: directory, agent timeline, artifacts, and
|
|
466
466
|
* runtime in one reusable shell.
|
|
467
467
|
*/
|
|
468
|
-
declare function SandboxWorkbench({ title, subtitle, status, directory, session, artifacts, activeArtifactId, onArtifactChange, onArtifactClose, runtime, layout, emptyArtifactState, className, }: SandboxWorkbenchProps):
|
|
469
|
-
declare function AgentWorkbench(props: SandboxWorkbenchProps):
|
|
468
|
+
declare function SandboxWorkbench({ title, subtitle, status, directory, session, artifacts, activeArtifactId, onArtifactChange, onArtifactClose, runtime, layout, emptyArtifactState, className, }: SandboxWorkbenchProps): React$1.JSX.Element;
|
|
469
|
+
declare function AgentWorkbench(props: SandboxWorkbenchProps): React$1.JSX.Element;
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
472
|
* AuditResults — structured pass/fail display for form audits.
|
|
@@ -493,7 +493,7 @@ interface AuditResultsProps {
|
|
|
493
493
|
overallScore?: number;
|
|
494
494
|
className?: string;
|
|
495
495
|
}
|
|
496
|
-
declare function AuditResults({ forms, crossFormChecks, overallScore, className }: AuditResultsProps):
|
|
496
|
+
declare function AuditResults({ forms, crossFormChecks, overallScore, className }: AuditResultsProps): React$1.JSX.Element;
|
|
497
497
|
|
|
498
498
|
interface TaskBoardItem {
|
|
499
499
|
id: string;
|
|
@@ -543,7 +543,7 @@ interface TaskBoardProps {
|
|
|
543
543
|
*/
|
|
544
544
|
renderItemWrapper?: (item: TaskBoardItem, index: number, defaultCard: ReactNode) => ReactNode;
|
|
545
545
|
}
|
|
546
|
-
declare function TaskBoard({ items, columns, className, onMoveItem, onClickItem, renderItemMeta, renderColumnAction, renderBadge, columnEmptyState, header, renderColumnBody, renderItemWrapper, }: TaskBoardProps):
|
|
546
|
+
declare function TaskBoard({ items, columns, className, onMoveItem, onClickItem, renderItemMeta, renderColumnAction, renderBadge, columnEmptyState, header, renderColumnBody, renderItemWrapper, }: TaskBoardProps): React$1.JSX.Element;
|
|
547
547
|
|
|
548
548
|
interface CalendarEvent {
|
|
549
549
|
id: string;
|
|
@@ -583,7 +583,7 @@ interface CalendarViewProps {
|
|
|
583
583
|
* Stateless by default (controlled month/selectedDay). Falls back to internal
|
|
584
584
|
* state when uncontrolled. All rendering is customizable via render props.
|
|
585
585
|
*/
|
|
586
|
-
declare function CalendarView({ events, className, month: controlledMonth, year: controlledYear, onMonthChange, selectedDay: controlledSelectedDay, onSelectDay, onDoubleClickDay, renderEventChip, renderDayDetail, headerLeft, headerRight, showDayPanel, }: CalendarViewProps):
|
|
586
|
+
declare function CalendarView({ events, className, month: controlledMonth, year: controlledYear, onMonthChange, selectedDay: controlledSelectedDay, onSelectDay, onDoubleClickDay, renderEventChip, renderDayDetail, headerLeft, headerRight, showDayPanel, }: CalendarViewProps): React$1.JSX.Element;
|
|
587
587
|
|
|
588
588
|
interface ApprovalItem {
|
|
589
589
|
id: string;
|
|
@@ -630,6 +630,6 @@ interface ApprovalQueueProps {
|
|
|
630
630
|
* and a collapsible resolved history. Designed for the agent approval feedback
|
|
631
631
|
* loop: agent proposes → user approves/rejects → rejection reasons feed back.
|
|
632
632
|
*/
|
|
633
|
-
declare function ApprovalQueue({ items, className, onApprove, onReject, renderItemDetail, renderTypeBadge, renderStats, canResolve, header, emptyState, showResolved: controlledShowResolved, }: ApprovalQueueProps):
|
|
633
|
+
declare function ApprovalQueue({ items, className, onApprove, onReject, renderItemDetail, renderTypeBadge, renderStats, canResolve, header, emptyState, showResolved: controlledShowResolved, }: ApprovalQueueProps): React$1.JSX.Element;
|
|
634
634
|
|
|
635
635
|
export { AgentWorkbench, type ApprovalConfidenceStat, type ApprovalItem, ApprovalQueue, type ApprovalQueueProps, type AuditCheck, AuditResults, type AuditResultsProps, type BannerType, type CalendarEvent, CalendarView, type CalendarViewProps, type ContextBadge, DirectoryPane, type DirectoryPaneProps, type FormAudit, RuntimePane, type RuntimePaneProps, SESSION_CREATED_EVENT, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, SessionActivityMonitor, type SessionActivityMonitorProps, type SessionCreatedDetail, type SessionOptimisticController, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, type TerminalLine, TerminalPanel, type TerminalProps, type UseOptimisticSessionItemsOptions, WorkspaceLayout, type WorkspaceLayoutProps, createShellShouldRevalidate, dispatchSessionCreated, shellShouldRevalidate, useOptimisticSessionItems };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.87.
|
|
3
|
+
"version": "0.87.1",
|
|
4
4
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -115,29 +115,38 @@
|
|
|
115
115
|
"dist",
|
|
116
116
|
"tailwind.config.cjs"
|
|
117
117
|
],
|
|
118
|
-
"scripts": {
|
|
119
|
-
"build": "tsup",
|
|
120
|
-
"dev": "tsup --watch",
|
|
121
|
-
"typecheck": "tsc --noEmit",
|
|
122
|
-
"storybook": "storybook dev -p 6006",
|
|
123
|
-
"build-storybook": "storybook build",
|
|
124
|
-
"test": "vitest run",
|
|
125
|
-
"test:watch": "vitest",
|
|
126
|
-
"test:bridge": "pnpm build && vitest run src/__tests__/re-export-identity.test.ts"
|
|
127
|
-
},
|
|
128
118
|
"peerDependencies": {
|
|
129
|
-
"@
|
|
119
|
+
"@hocuspocus/provider": ">=2.15.0 <5.0.0",
|
|
120
|
+
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
121
|
+
"@tangle-network/agent-interface": ">=0.32.0 <1.0.0",
|
|
130
122
|
"@tangle-network/brand": "^1.1.0",
|
|
131
123
|
"@tangle-network/ui": "^11.0.0",
|
|
124
|
+
"@tanstack/react-query": "^5.0.0",
|
|
125
|
+
"@tiptap/extension-collaboration": ">=3.20.4 <4.0.0",
|
|
126
|
+
"@tiptap/extension-collaboration-caret": ">=3.7.0 <4.0.0",
|
|
127
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
128
|
+
"@xterm/addon-web-links": "^0.12.0",
|
|
129
|
+
"@xterm/addon-webgl": "^0.19.0",
|
|
130
|
+
"@xterm/xterm": "^6.0.0",
|
|
132
131
|
"@xyflow/react": "^12.0.0",
|
|
133
132
|
"react": "^18 || ^19",
|
|
134
|
-
"react-dom": "^18 || ^19"
|
|
133
|
+
"react-dom": "^18 || ^19",
|
|
134
|
+
"yjs": "^13.6.0"
|
|
135
135
|
},
|
|
136
136
|
"peerDependenciesMeta": {
|
|
137
|
-
"@
|
|
137
|
+
"@hocuspocus/provider": {
|
|
138
138
|
"optional": true
|
|
139
139
|
},
|
|
140
|
-
"@
|
|
140
|
+
"@nanostores/react": {
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
"@tanstack/react-query": {
|
|
144
|
+
"optional": true
|
|
145
|
+
},
|
|
146
|
+
"@tiptap/extension-collaboration": {
|
|
147
|
+
"optional": true
|
|
148
|
+
},
|
|
149
|
+
"@tiptap/extension-collaboration-caret": {
|
|
141
150
|
"optional": true
|
|
142
151
|
},
|
|
143
152
|
"@xterm/addon-fit": {
|
|
@@ -149,80 +158,79 @@
|
|
|
149
158
|
"@xterm/addon-webgl": {
|
|
150
159
|
"optional": true
|
|
151
160
|
},
|
|
152
|
-
"@
|
|
161
|
+
"@xterm/xterm": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
164
|
+
"@xyflow/react": {
|
|
153
165
|
"optional": true
|
|
154
166
|
},
|
|
155
|
-
"
|
|
167
|
+
"yjs": {
|
|
156
168
|
"optional": true
|
|
157
169
|
}
|
|
158
170
|
},
|
|
159
171
|
"dependencies": {
|
|
160
|
-
"@lobehub/icons-static-svg": "^1.
|
|
161
|
-
"@pierre/diffs": "^1.2.
|
|
162
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
163
|
-
"@radix-ui/react-select": "^2.
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
172
|
+
"@lobehub/icons-static-svg": "^1.94.0",
|
|
173
|
+
"@pierre/diffs": "^1.2.12",
|
|
174
|
+
"@radix-ui/react-dropdown-menu": "^2.1.21",
|
|
175
|
+
"@radix-ui/react-select": "^2.3.4",
|
|
176
|
+
"@tiptap/core": "^3.28.0",
|
|
177
|
+
"@tiptap/extension-mention": "^3.28.0",
|
|
178
|
+
"@tiptap/react": "^3.28.0",
|
|
179
|
+
"@tiptap/starter-kit": "^3.28.0",
|
|
180
|
+
"@tiptap/suggestion": "^3.28.0",
|
|
181
|
+
"diff": "^9.0.0",
|
|
182
|
+
"lucide-react": "^1.25.0",
|
|
183
|
+
"nanostores": "^1.4.1",
|
|
167
184
|
"yaml": "^2.5.0"
|
|
168
185
|
},
|
|
169
|
-
"pnpm": {
|
|
170
|
-
"overrides": {
|
|
171
|
-
"picomatch": ">=4.0.4"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
186
|
"devDependencies": {
|
|
175
|
-
"@hocuspocus/provider": "^
|
|
187
|
+
"@hocuspocus/provider": "^4.4.0",
|
|
176
188
|
"@nanostores/react": "^1.1.0",
|
|
177
|
-
"@
|
|
178
|
-
"@storybook/
|
|
179
|
-
"@
|
|
180
|
-
"@
|
|
181
|
-
"@storybook/react-vite": "^8.6.18",
|
|
182
|
-
"@tailwindcss/postcss": "^4.2.2",
|
|
183
|
-
"@tailwindcss/vite": "^4.2.2",
|
|
184
|
-
"@tangle-network/agent-interface": ">=0.17.0 <1.0.0",
|
|
189
|
+
"@storybook/react": "^10.5.3",
|
|
190
|
+
"@storybook/react-vite": "^10.5.3",
|
|
191
|
+
"@tailwindcss/postcss": "^4.3.3",
|
|
192
|
+
"@tangle-network/agent-interface": "^0.32.0",
|
|
185
193
|
"@tangle-network/brand": "^1.1.0",
|
|
186
|
-
"@tangle-network/ui": "^11.
|
|
187
|
-
"@tanstack/react-query": "^5.
|
|
194
|
+
"@tangle-network/ui": "^11.2.0",
|
|
195
|
+
"@tanstack/react-query": "^5.101.4",
|
|
188
196
|
"@testing-library/dom": "^10.4.1",
|
|
189
|
-
"@testing-library/jest-dom": "^
|
|
197
|
+
"@testing-library/jest-dom": "^7.0.0",
|
|
190
198
|
"@testing-library/react": "^16.3.2",
|
|
191
199
|
"@testing-library/user-event": "^14.6.1",
|
|
192
|
-
"@tiptap/
|
|
193
|
-
"@tiptap/extension-collaboration": "^3.
|
|
194
|
-
"@tiptap/
|
|
195
|
-
"@
|
|
196
|
-
"@tiptap/pm": "^3.22.5",
|
|
197
|
-
"@tiptap/react": "^3.20.4",
|
|
198
|
-
"@tiptap/starter-kit": "^3.20.4",
|
|
199
|
-
"@tiptap/suggestion": "^3.22.5",
|
|
200
|
-
"@types/react": "^19.1.2",
|
|
200
|
+
"@tiptap/extension-collaboration": "^3.28.0",
|
|
201
|
+
"@tiptap/extension-collaboration-caret": "^3.28.0",
|
|
202
|
+
"@tiptap/y-tiptap": "^3.0.7",
|
|
203
|
+
"@types/react": "^19.2.17",
|
|
201
204
|
"@types/react-dom": "^19.1.2",
|
|
202
205
|
"@xterm/addon-fit": "^0.11.0",
|
|
203
206
|
"@xterm/addon-web-links": "^0.12.0",
|
|
204
207
|
"@xterm/addon-webgl": "^0.19.0",
|
|
205
208
|
"@xterm/xterm": "^6.0.0",
|
|
206
|
-
"@xyflow/react": "^12.11.
|
|
207
|
-
"jsdom": "^29.
|
|
208
|
-
"
|
|
209
|
-
"postcss": "^8.5.8",
|
|
209
|
+
"@xyflow/react": "^12.11.2",
|
|
210
|
+
"jsdom": "^29.1.1",
|
|
211
|
+
"postcss": "^8.5.21",
|
|
210
212
|
"postcss-import": "^16.1.1",
|
|
211
|
-
"react": "^19.
|
|
212
|
-
"react-dom": "^19.
|
|
213
|
-
"react-markdown": "^10.1.0",
|
|
214
|
-
"react-pdf": "^9.2.1",
|
|
213
|
+
"react": "^19.2.8",
|
|
214
|
+
"react-dom": "^19.2.8",
|
|
215
215
|
"react-syntax-highlighter": "^16.1.1",
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
"storybook": "^8.6.18",
|
|
219
|
-
"tailwindcss": "^4.1.4",
|
|
216
|
+
"storybook": "^10.5.3",
|
|
217
|
+
"tailwindcss": "^4.3.3",
|
|
220
218
|
"tailwindcss-animate": "^1.0.7",
|
|
221
219
|
"tsup": "^8.4.0",
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
|
|
220
|
+
"typescript": "^5.9.3",
|
|
221
|
+
"vite": "^8.1.5",
|
|
222
|
+
"vitest": "^4.1.10",
|
|
223
|
+
"yjs": "^13.6.31"
|
|
224
|
+
},
|
|
225
|
+
"scripts": {
|
|
226
|
+
"build": "tsup",
|
|
227
|
+
"dev": "tsup --watch",
|
|
228
|
+
"typecheck": "tsc --noEmit",
|
|
229
|
+
"storybook": "storybook dev -p 6006",
|
|
230
|
+
"build-storybook": "storybook build",
|
|
231
|
+
"test": "vitest run",
|
|
232
|
+
"test:package": "node scripts/package-smoke.mjs",
|
|
233
|
+
"test:watch": "vitest",
|
|
234
|
+
"test:bridge": "pnpm build && vitest run src/__tests__/re-export-identity.test.ts"
|
|
227
235
|
}
|
|
228
|
-
}
|
|
236
|
+
}
|