@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.
@@ -389,13 +389,13 @@ function PanelHeader({ filename, gitStatus, stats, copyText, children, className
389
389
  // src/workbench/code-view.tsx
390
390
  import * as React6 from "react";
391
391
 
392
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/highlight.js
392
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/highlight.js
393
393
  var import_objectWithoutProperties = __toESM(require_objectWithoutProperties());
394
394
  var import_toConsumableArray = __toESM(require_toConsumableArray());
395
395
  var import_defineProperty2 = __toESM(require_defineProperty());
396
396
  import React4 from "react";
397
397
 
398
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/create-element.js
398
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/create-element.js
399
399
  var import_extends = __toESM(require_extends());
400
400
  var import_defineProperty = __toESM(require_defineProperty());
401
401
  import React3 from "react";
@@ -505,13 +505,13 @@ function createElement(_ref) {
505
505
  }
506
506
  }
507
507
 
508
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
508
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
509
509
  var checkForListedLanguage_default = (function(astGenerator, language) {
510
510
  var langs = astGenerator.listLanguages();
511
511
  return langs.indexOf(language) !== -1;
512
512
  });
513
513
 
514
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/highlight.js
514
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/highlight.js
515
515
  var _excluded = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "startingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "code", "astGenerator"];
516
516
  function ownKeys2(e, r) {
517
517
  var t = Object.keys(e);
@@ -5538,7 +5538,7 @@ function attributes(record) {
5538
5538
  return record;
5539
5539
  }
5540
5540
 
5541
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/prism-light.js
5541
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/prism-light.js
5542
5542
  var SyntaxHighlighter = highlight_default(refractor, {});
5543
5543
  SyntaxHighlighter.registerLanguage = function(_2, language) {
5544
5544
  return refractor.register(language);
@@ -5781,7 +5781,7 @@ function bash(Prism2) {
5781
5781
  })(Prism2);
5782
5782
  }
5783
5783
 
5784
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
5784
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
5785
5785
  var bash_default = bash;
5786
5786
 
5787
5787
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/css.js
@@ -5857,7 +5857,7 @@ function css(Prism2) {
5857
5857
  })(Prism2);
5858
5858
  }
5859
5859
 
5860
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js
5860
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js
5861
5861
  var css_default = css;
5862
5862
 
5863
5863
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/clike.js
@@ -6044,7 +6044,7 @@ function javascript(Prism2) {
6044
6044
  Prism2.languages.js = Prism2.languages.javascript;
6045
6045
  }
6046
6046
 
6047
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js
6047
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js
6048
6048
  var javascript_default = javascript;
6049
6049
 
6050
6050
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/json.js
@@ -6078,7 +6078,7 @@ function json(Prism2) {
6078
6078
  Prism2.languages.webmanifest = Prism2.languages.json;
6079
6079
  }
6080
6080
 
6081
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js
6081
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js
6082
6082
  var json_default = json;
6083
6083
 
6084
6084
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/markup.js
@@ -6404,7 +6404,7 @@ function jsx3(Prism2) {
6404
6404
  })(Prism2);
6405
6405
  }
6406
6406
 
6407
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
6407
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
6408
6408
  var jsx_default = jsx3;
6409
6409
 
6410
6410
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/markdown.js
@@ -6774,7 +6774,7 @@ function markdown(Prism2) {
6774
6774
  })(Prism2);
6775
6775
  }
6776
6776
 
6777
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js
6777
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js
6778
6778
  var markdown_default = markdown;
6779
6779
 
6780
6780
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/python.js
@@ -6846,7 +6846,7 @@ function python(Prism2) {
6846
6846
  Prism2.languages.py = Prism2.languages.python;
6847
6847
  }
6848
6848
 
6849
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js
6849
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js
6850
6850
  var python_default = python;
6851
6851
 
6852
6852
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/typescript.js
@@ -6927,10 +6927,10 @@ function tsx(Prism2) {
6927
6927
  })(Prism2);
6928
6928
  }
6929
6929
 
6930
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
6930
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
6931
6931
  var tsx_default = tsx;
6932
6932
 
6933
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js
6933
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js
6934
6934
  var typescript_default = typescript;
6935
6935
 
6936
6936
  // node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/yaml.js
@@ -7026,7 +7026,7 @@ function yaml(Prism2) {
7026
7026
  })(Prism2);
7027
7027
  }
7028
7028
 
7029
- // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.4/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js
7029
+ // node_modules/.pnpm/react-syntax-highlighter@16.1.1_react@19.2.8/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js
7030
7030
  var yaml_default = yaml;
7031
7031
 
7032
7032
  // src/workbench/syntax.tsx
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as React from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  /** One invokable action a connector exposes (the platform's hub tool shape, decoupled from any client). */
@@ -38,7 +38,7 @@ interface ConnectorActionListProps {
38
38
  * the action's path, input/output schemas, and copy/build affordances. Purely
39
39
  * presentational — the host supplies the actions and the assistant hook.
40
40
  */
41
- declare function ConnectorActionList({ actions, providerTitle, onBuildWithAssistant, maybeTruncated, className, }: ConnectorActionListProps): react_jsx_runtime.JSX.Element;
41
+ declare function ConnectorActionList({ actions, providerTitle, onBuildWithAssistant, maybeTruncated, className, }: ConnectorActionListProps): React.JSX.Element;
42
42
 
43
43
  interface ConnectorCatalogListProps {
44
44
  entries: ConnectorCatalogEntry[];
@@ -57,14 +57,14 @@ interface ConnectorCatalogListProps {
57
57
  * Each row links into the connector's detail surface; connect/disconnect and
58
58
  * data fetching stay with the host — this list is for discovery.
59
59
  */
60
- declare function ConnectorCatalogList({ entries, getConnectorHref, onOpenConnector, renderIcon, onRequestIntegration, className, }: ConnectorCatalogListProps): react_jsx_runtime.JSX.Element;
60
+ declare function ConnectorCatalogList({ entries, getConnectorHref, onOpenConnector, renderIcon, onRequestIntegration, className, }: ConnectorCatalogListProps): React.JSX.Element;
61
61
 
62
62
  interface SchemaTableProps {
63
63
  schema: unknown;
64
64
  /** Toggle/table caption, e.g. "Input" or "Output". */
65
65
  label: string;
66
66
  }
67
- declare function SchemaTable({ schema, label }: SchemaTableProps): react_jsx_runtime.JSX.Element;
67
+ declare function SchemaTable({ schema, label }: SchemaTableProps): React.JSX.Element;
68
68
 
69
69
  /**
70
70
  * Mechanical `integration.invoke` step-YAML stub for a hub action, derived
@@ -1,13 +1,12 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React from 'react';
3
- import { ReactNode } from 'react';
2
+ import React__default, { ReactNode } from 'react';
4
3
  import { HarnessType } from '@tangle-network/agent-interface';
5
4
  export { HarnessType } from '@tangle-network/agent-interface';
6
5
  import * as Popover from '@radix-ui/react-dropdown-menu';
7
- import { b as ModelInfo } from './model-brand-CsFykzMA.js';
8
- export { M as ModelBrandIdentity, a as ModelBrandStack, c as canonicalModelId, m as modelBrandFor } from './model-brand-CsFykzMA.js';
9
- export { B as BillingBalance, a as BillingDashboard, b as BillingDashboardProps, c as BillingSubscription, d as BillingUsage, P as PricingPage, e as PricingPageProps, f as PricingTier, T as TemplateCard, g as TemplateCardData, h as TemplateCardProps, U as UsageChart, i as UsageChartProps, j as UsageDataPoint, k as formatPrice } from './template-card-UhV3pmRC.js';
10
- export { E as ExposedPort, P as PortsList, a as PortsListProps } from './ports-list-DfG0VfPt.js';
6
+ import { b as ModelInfo } from './model-brand-CuXKfTMh.js';
7
+ export { M as ModelBrandIdentity, a as ModelBrandStack, c as canonicalModelId, m as modelBrandFor } from './model-brand-CuXKfTMh.js';
8
+ export { B as BillingBalance, a as BillingDashboard, b as BillingDashboardProps, c as BillingSubscription, d as BillingUsage, P as PricingPage, e as PricingPageProps, f as PricingTier, T as TemplateCard, g as TemplateCardData, h as TemplateCardProps, U as UsageChart, i as UsageChartProps, j as UsageDataPoint, k as formatPrice } from './template-card-Bn-Bw5xC.js';
9
+ export { E as ExposedPort, P as PortsList, a as PortsListProps } from './ports-list-CDIvTNnX.js';
11
10
 
12
11
  interface SidebarUser {
13
12
  email: string;
@@ -39,7 +38,7 @@ interface AppearanceController {
39
38
  */
40
39
  declare function RailThemeToggle({ className }: {
41
40
  className?: string;
42
- }): react_jsx_runtime.JSX.Element;
41
+ }): React.JSX.Element;
43
42
  interface RailCollapseToggleProps {
44
43
  /** Whether the rail is currently collapsed (icon-only). */
45
44
  collapsed: boolean;
@@ -48,7 +47,7 @@ interface RailCollapseToggleProps {
48
47
  onToggle: () => void;
49
48
  className?: string;
50
49
  }
51
- declare function RailCollapseToggle({ collapsed, showLabel, onToggle, className }: RailCollapseToggleProps): react_jsx_runtime.JSX.Element;
50
+ declare function RailCollapseToggle({ collapsed, showLabel, onToggle, className }: RailCollapseToggleProps): React.JSX.Element;
52
51
  interface RailHeaderProps {
53
52
  /** Brand mark shown on the left, e.g. `<Logo iconOnly />`. */
54
53
  brand?: React.ReactNode;
@@ -76,13 +75,13 @@ interface RailHeaderProps {
76
75
  * box) so the collapse affordance is discoverable without spending rail width.
77
76
  * Renders its own `h-14` bordered bar — drop it in at the top of {@link SidebarRail}.
78
77
  */
79
- declare function RailHeader({ brand, brandHref, children, collapsed, onToggle, collapsible, LinkComponent, className }: RailHeaderProps): react_jsx_runtime.JSX.Element;
78
+ declare function RailHeader({ brand, brandHref, children, collapsed, onToggle, collapsible, LinkComponent, className }: RailHeaderProps): React.JSX.Element;
80
79
  interface SidebarProps {
81
80
  children: React.ReactNode;
82
81
  className?: string;
83
82
  style?: React.CSSProperties;
84
83
  }
85
- declare function Sidebar({ children, className, style }: SidebarProps): react_jsx_runtime.JSX.Element;
84
+ declare function Sidebar({ children, className, style }: SidebarProps): React.JSX.Element;
86
85
  interface SidebarRailProps {
87
86
  children: React.ReactNode;
88
87
  className?: string;
@@ -93,7 +92,7 @@ interface SidebarRailProps {
93
92
  */
94
93
  wide?: boolean;
95
94
  }
96
- declare function SidebarRail({ children, className, wide }: SidebarRailProps): react_jsx_runtime.JSX.Element;
95
+ declare function SidebarRail({ children, className, wide }: SidebarRailProps): React.JSX.Element;
97
96
  interface SidebarRailHeaderProps {
98
97
  children: React.ReactNode;
99
98
  className?: string;
@@ -103,7 +102,7 @@ interface SidebarRailHeaderProps {
103
102
  * (brand · middle · panel toggle) used by both shells. Kept for backward
104
103
  * compatibility; no longer rendered by `SidebarLayout`/`DashboardLayout`.
105
104
  */
106
- declare function SidebarRailHeader({ children, className }: SidebarRailHeaderProps): react_jsx_runtime.JSX.Element;
105
+ declare function SidebarRailHeader({ children, className }: SidebarRailHeaderProps): React.JSX.Element;
107
106
  interface SidebarRailNavProps {
108
107
  children: React.ReactNode;
109
108
  className?: string;
@@ -114,16 +113,16 @@ interface SidebarRailNavProps {
114
113
  */
115
114
  onClick?: React.MouseEventHandler<HTMLElement>;
116
115
  }
117
- declare function SidebarRailNav({ children, className, onClick }: SidebarRailNavProps): react_jsx_runtime.JSX.Element;
116
+ declare function SidebarRailNav({ children, className, onClick }: SidebarRailNavProps): React.JSX.Element;
118
117
  interface SidebarRailFooterProps {
119
118
  children: React.ReactNode;
120
119
  className?: string;
121
120
  }
122
- declare function SidebarRailFooter({ children, className }: SidebarRailFooterProps): react_jsx_runtime.JSX.Element;
121
+ declare function SidebarRailFooter({ children, className }: SidebarRailFooterProps): React.JSX.Element;
123
122
  interface RailSeparatorProps {
124
123
  className?: string;
125
124
  }
126
- declare function RailSeparator({ className }: RailSeparatorProps): react_jsx_runtime.JSX.Element;
125
+ declare function RailSeparator({ className }: RailSeparatorProps): React.JSX.Element;
127
126
  interface RailButtonProps {
128
127
  icon: React.ComponentType<{
129
128
  className?: string;
@@ -151,7 +150,7 @@ interface RailButtonProps {
151
150
  */
152
151
  variant?: "normal" | "primary";
153
152
  }
154
- declare function RailButton({ icon: Icon, label, isActive, badge, onClick, className, showLabel, asChild, children, variant }: RailButtonProps): react_jsx_runtime.JSX.Element;
153
+ declare function RailButton({ icon: Icon, label, isActive, badge, onClick, className, showLabel, asChild, children, variant }: RailButtonProps): React.JSX.Element;
155
154
  interface RailFlyoutProps {
156
155
  icon: React.ComponentType<{
157
156
  className?: string;
@@ -174,7 +173,7 @@ interface RailFlyoutProps {
174
173
  * item inside it. Use for a single "door" (e.g. Studio) that fronts several
175
174
  * related destinations without permanently spending rail height on them.
176
175
  */
177
- declare function RailFlyout({ icon: Icon, label, isActive, showLabel, title, children, className, }: RailFlyoutProps): react_jsx_runtime.JSX.Element;
176
+ declare function RailFlyout({ icon: Icon, label, isActive, showLabel, title, children, className, }: RailFlyoutProps): React.JSX.Element;
178
177
  /** A single entry in a sub-item's hover actions menu (kebab). */
179
178
  interface RailSubItemAction {
180
179
  id: string;
@@ -241,7 +240,7 @@ interface RailExpandableProps {
241
240
  * Sub-items can be fixed (`subItems`) or lazy (`loadSubItems`, with a loading
242
241
  * skeleton). Used for e.g. a "History" entry fronting recent sessions.
243
242
  */
244
- declare function RailExpandable({ icon: Icon, label, href, isActive, showLabel, subItems, loadSubItems, activeSubIds, emptyLabel, defaultOpen, onNavigate, LinkComponent, className, }: RailExpandableProps): react_jsx_runtime.JSX.Element;
243
+ declare function RailExpandable({ icon: Icon, label, href, isActive, showLabel, subItems, loadSubItems, activeSubIds, emptyLabel, defaultOpen, onNavigate, LinkComponent, className, }: RailExpandableProps): React.JSX.Element;
245
244
  interface RailModeButtonProps {
246
245
  mode: string;
247
246
  icon: React.ComponentType<{
@@ -253,28 +252,28 @@ interface RailModeButtonProps {
253
252
  /** Show label text next to icon (for mobile drawer) */
254
253
  showLabel?: boolean;
255
254
  }
256
- declare function RailModeButton({ mode, icon, label, badge, className, showLabel }: RailModeButtonProps): react_jsx_runtime.JSX.Element;
255
+ declare function RailModeButton({ mode, icon, label, badge, className, showLabel }: RailModeButtonProps): React.JSX.Element;
257
256
  interface SidebarPanelProps {
258
257
  children: React.ReactNode;
259
258
  className?: string;
260
259
  }
261
- declare function SidebarPanel({ children, className }: SidebarPanelProps): react_jsx_runtime.JSX.Element;
260
+ declare function SidebarPanel({ children, className }: SidebarPanelProps): React.JSX.Element;
262
261
  interface SidebarPanelHeaderProps {
263
262
  children?: React.ReactNode;
264
263
  title?: string;
265
264
  className?: string;
266
265
  }
267
- declare function SidebarPanelHeader({ children, title, className }: SidebarPanelHeaderProps): react_jsx_runtime.JSX.Element;
266
+ declare function SidebarPanelHeader({ children, title, className }: SidebarPanelHeaderProps): React.JSX.Element;
268
267
  interface SidebarPanelContentProps {
269
268
  children: React.ReactNode;
270
269
  className?: string;
271
270
  }
272
- declare function SidebarPanelContent({ children, className }: SidebarPanelContentProps): react_jsx_runtime.JSX.Element;
271
+ declare function SidebarPanelContent({ children, className }: SidebarPanelContentProps): React.JSX.Element;
273
272
  interface SidebarContentProps {
274
273
  children: React.ReactNode;
275
274
  className?: string;
276
275
  }
277
- declare function SidebarContent({ children, className }: SidebarContentProps): react_jsx_runtime.JSX.Element;
276
+ declare function SidebarContent({ children, className }: SidebarContentProps): React.JSX.Element;
278
277
  interface ProfileAvatarProps {
279
278
  user?: SidebarUser | null;
280
279
  isLoading?: boolean;
@@ -293,7 +292,7 @@ interface ProfileAvatarProps {
293
292
  appearance?: AppearanceController;
294
293
  LinkComponent?: React.ComponentType<any>;
295
294
  }
296
- declare function ProfileAvatar({ user, isLoading, onLogout, onSettingsClick, settingsHref, children, className, showDetails, appearance, LinkComponent, }: ProfileAvatarProps): react_jsx_runtime.JSX.Element;
295
+ declare function ProfileAvatar({ user, isLoading, onLogout, onSettingsClick, settingsHref, children, className, showDetails, appearance, LinkComponent, }: ProfileAvatarProps): React.JSX.Element;
297
296
 
298
297
  interface RailTooltipProps {
299
298
  /** Tooltip text shown to the right of the trigger. */
@@ -314,7 +313,7 @@ interface RailTooltipProps {
314
313
  * trigger. Hidden from the a11y tree (`aria-hidden`) since the trigger already
315
314
  * carries an accessible name.
316
315
  */
317
- declare function RailTooltip({ label, children, disabled, className }: RailTooltipProps): react_jsx_runtime.JSX.Element;
316
+ declare function RailTooltip({ label, children, disabled, className }: RailTooltipProps): React.JSX.Element;
318
317
 
319
318
  /** Width constants (px) — Tangle Quiet density (ChatGPT-minimal) */
320
319
  declare const SIDEBAR_RAIL_WIDTH = 56;
@@ -399,7 +398,7 @@ interface SidebarProviderProps {
399
398
  defaultRailCollapsed?: boolean;
400
399
  children: React.ReactNode;
401
400
  }
402
- declare function SidebarProvider({ defaultPanelOpen, defaultMode, hasPanels, labeledRail, panelOpen: controlledPanelOpen, onPanelOpenChange, railCollapsed: controlledRailCollapsed, onRailCollapsedChange, defaultRailCollapsed, children, }: SidebarProviderProps): react_jsx_runtime.JSX.Element;
401
+ declare function SidebarProvider({ defaultPanelOpen, defaultMode, hasPanels, labeledRail, panelOpen: controlledPanelOpen, onPanelOpenChange, railCollapsed: controlledRailCollapsed, onRailCollapsedChange, defaultRailCollapsed, children, }: SidebarProviderProps): React.JSX.Element;
403
402
  declare function useSidebar(): SidebarContextValue;
404
403
 
405
404
  interface CreditBalanceProps {
@@ -409,7 +408,7 @@ interface CreditBalanceProps {
409
408
  quickAmounts?: number[];
410
409
  className?: string;
411
410
  }
412
- declare function CreditBalance({ amount, description, onTopUp, quickAmounts, className, }: CreditBalanceProps): react_jsx_runtime.JSX.Element;
411
+ declare function CreditBalance({ amount, description, onTopUp, quickAmounts, className, }: CreditBalanceProps): React.JSX.Element;
413
412
 
414
413
  /**
415
414
  * Canonical "out of credits" UX, shared across every Tangle product.
@@ -457,7 +456,7 @@ interface OutOfCreditsModalProps {
457
456
  * `balance` is null. The primary CTA opens the platform billing page where
458
457
  * the user can add credits, subscribe, or connect a card for pay-per-use.
459
458
  */
460
- declare function OutOfCreditsModal({ balance, onClose, ctaLabel, className, }: OutOfCreditsModalProps): react_jsx_runtime.JSX.Element | null;
459
+ declare function OutOfCreditsModal({ balance, onClose, ctaLabel, className, }: OutOfCreditsModalProps): React.JSX.Element | null;
461
460
 
462
461
  interface ClusterStatusItem {
463
462
  icon?: React.ReactNode;
@@ -470,7 +469,7 @@ interface ClusterStatusBarProps {
470
469
  latency?: string;
471
470
  className?: string;
472
471
  }
473
- declare function ClusterStatusBar({ items, latency, className }: ClusterStatusBarProps): react_jsx_runtime.JSX.Element | null;
472
+ declare function ClusterStatusBar({ items, latency, className }: ClusterStatusBarProps): React.JSX.Element | null;
474
473
 
475
474
  interface ResourceMeterProps {
476
475
  label: string;
@@ -486,7 +485,7 @@ interface ResourceMeterProps {
486
485
  valueLabel?: string;
487
486
  className?: string;
488
487
  }
489
- declare function ResourceMeter({ label, value, max, unit, valueLabel, icon, className }: ResourceMeterProps): react_jsx_runtime.JSX.Element;
488
+ declare function ResourceMeter({ label, value, max, unit, valueLabel, icon, className }: ResourceMeterProps): React.JSX.Element;
490
489
 
491
490
  interface ResourceSnapshotItem {
492
491
  /** Stable React key; falls back to `label` plus row index when omitted. */
@@ -517,7 +516,7 @@ interface ResourceSnapshotProps {
517
516
  * rows for an instantaneous CPU / memory / disk read. Time-series detail
518
517
  * belongs in a dedicated metrics view; this is the snapshot.
519
518
  */
520
- declare function ResourceSnapshot({ title, action, items, loading, error, className, }: ResourceSnapshotProps): react_jsx_runtime.JSX.Element;
519
+ declare function ResourceSnapshot({ title, action, items, loading, error, className, }: ResourceSnapshotProps): React.JSX.Element;
521
520
 
522
521
  interface ActivityItem {
523
522
  /** Stable key. */
@@ -543,7 +542,7 @@ interface ActivityFeedProps {
543
542
  * lifecycle events). Items are sorted by `timestamp` descending here so
544
543
  * callers can merge heterogeneous sources without pre-sorting.
545
544
  */
546
- declare function ActivityFeed({ title, action, items, loading, maxItems, emptyLabel, className, }: ActivityFeedProps): react_jsx_runtime.JSX.Element;
545
+ declare function ActivityFeed({ title, action, items, loading, maxItems, emptyLabel, className, }: ActivityFeedProps): React.JSX.Element;
547
546
 
548
547
  type SandboxStatus = "running" | "hibernating" | "provisioning" | "stopped" | "failed" | "archived" | "creating";
549
548
  type TeamRole = "owner" | "admin" | "member" | "viewer";
@@ -612,12 +611,12 @@ interface SandboxCardProps {
612
611
  className?: string;
613
612
  }
614
613
  declare function canAdminSandbox(sandbox: SandboxCardData): boolean;
615
- declare function SandboxCard({ sandbox, onOpenIDE, onOpenTerminal, onWake, onRestore, onDelete, onStop, onResume, onFork, onKeepAlive, onUsage, onHealth, className }: SandboxCardProps): react_jsx_runtime.JSX.Element;
614
+ declare function SandboxCard({ sandbox, onOpenIDE, onOpenTerminal, onWake, onRestore, onDelete, onStop, onResume, onFork, onKeepAlive, onUsage, onHealth, className }: SandboxCardProps): React.JSX.Element;
616
615
  interface NewSandboxCardProps {
617
616
  onClick?: () => void;
618
617
  className?: string;
619
618
  }
620
- declare function NewSandboxCard({ onClick, className }: NewSandboxCardProps): react_jsx_runtime.JSX.Element;
619
+ declare function NewSandboxCard({ onClick, className }: NewSandboxCardProps): React.JSX.Element;
621
620
 
622
621
  interface SandboxTableProps {
623
622
  sandboxes: SandboxCardData[];
@@ -655,7 +654,7 @@ interface SandboxTableProps {
655
654
  onFork?: (id: string) => void;
656
655
  className?: string;
657
656
  }
658
- declare function SandboxTable({ sandboxes, page, pageSize, total, onPageChange, onOpenIDE, onOpenTerminal, onSSH, onResume, onWake, onMore, onDelete, onStop, onKeepAlive, onUsage, onHealth, onFork, className, }: SandboxTableProps): react_jsx_runtime.JSX.Element;
657
+ declare function SandboxTable({ sandboxes, page, pageSize, total, onPageChange, onOpenIDE, onOpenTerminal, onSSH, onResume, onWake, onMore, onDelete, onStop, onKeepAlive, onUsage, onHealth, onFork, className, }: SandboxTableProps): React.JSX.Element;
659
658
 
660
659
  interface Invoice {
661
660
  id: string;
@@ -671,7 +670,7 @@ interface InvoiceTableProps {
671
670
  hasMore?: boolean;
672
671
  className?: string;
673
672
  }
674
- declare function InvoiceTable({ invoices, onExportAll, onLoadMore, onViewInvoice, hasMore, className }: InvoiceTableProps): react_jsx_runtime.JSX.Element;
673
+ declare function InvoiceTable({ invoices, onExportAll, onLoadMore, onViewInvoice, hasMore, className }: InvoiceTableProps): React.JSX.Element;
675
674
 
676
675
  interface PlanFeature {
677
676
  text: string;
@@ -691,7 +690,7 @@ interface PlanCardsProps {
691
690
  plans: PlanCardData[];
692
691
  className?: string;
693
692
  }
694
- declare function PlanCards({ plans, className }: PlanCardsProps): react_jsx_runtime.JSX.Element;
693
+ declare function PlanCards({ plans, className }: PlanCardsProps): React.JSX.Element;
695
694
 
696
695
  interface Backend {
697
696
  type: string;
@@ -718,7 +717,7 @@ interface BackendSelectorProps {
718
717
  /** Extra classes merged onto the trigger itself (after the built-in defaults). */
719
718
  triggerClassName?: string;
720
719
  }
721
- declare function BackendSelector({ backends, selected, onChange, variant, label, placeholder, className, triggerClassName, }: BackendSelectorProps): react_jsx_runtime.JSX.Element;
720
+ declare function BackendSelector({ backends, selected, onChange, variant, label, placeholder, className, triggerClassName, }: BackendSelectorProps): React.JSX.Element;
722
721
 
723
722
  interface HarnessOption extends Backend {
724
723
  type: HarnessType;
@@ -752,7 +751,7 @@ interface HarnessPickerProps extends Omit<BackendSelectorProps, "backends" | "se
752
751
  * baked in, so consumers don't have to re-declare it (or risk drifting from
753
752
  * the SDK enum).
754
753
  */
755
- declare function HarnessPicker({ value, onChange, available, optionsOverride, label, ...rest }: HarnessPickerProps): react_jsx_runtime.JSX.Element;
754
+ declare function HarnessPicker({ value, onChange, available, optionsOverride, label, ...rest }: HarnessPickerProps): React.JSX.Element;
756
755
 
757
756
  /**
758
757
  * Per-harness brand glyph. `logoUrl` is a bundled lobehub data-url rendered
@@ -780,7 +779,7 @@ interface HarnessLogoProps {
780
779
  * either a foreground-filled CSS-mask of the brand SVG or a lucide fallback
781
780
  * glyph. Keeps harness pills visually consistent with model pills.
782
781
  */
783
- declare function HarnessLogo({ type, size, className }: HarnessLogoProps): react_jsx_runtime.JSX.Element;
782
+ declare function HarnessLogo({ type, size, className }: HarnessLogoProps): React.JSX.Element;
784
783
 
785
784
  type ModelPickerVariant = "field" | "pill";
786
785
  interface ModelPickerProps {
@@ -856,7 +855,7 @@ declare const DEFAULT_FEATURED_MODEL_IDS: ReadonlyArray<string>;
856
855
  declare function formatPricing(pricing: ModelInfo["pricing"]): string | null;
857
856
  /** Format context length compactly (e.g. 200_000 → "200k"). */
858
857
  declare function formatContext(ctx: number | undefined): string | null;
859
- declare function ModelPicker({ value, onChange, models, loading, recents, popular, excludeProviders, modalities, variant, label, placeholder, className, triggerClassName, disabled, side, avoidCollisions, }: ModelPickerProps): react_jsx_runtime.JSX.Element;
858
+ declare function ModelPicker({ value, onChange, models, loading, recents, popular, excludeProviders, modalities, variant, label, placeholder, className, triggerClassName, disabled, side, avoidCollisions, }: ModelPickerProps): React.JSX.Element;
860
859
 
861
860
  type ProductVariant = "sandbox";
862
861
  interface NavItem {
@@ -962,7 +961,7 @@ interface DashboardLayoutProps {
962
961
  onMarkAllRead?: () => void;
963
962
  };
964
963
  }
965
- declare function DashboardLayout({ defaultPanelOpen, defaultMode, labeledRail, defaultRailCollapsed, ...props }: DashboardLayoutProps): react_jsx_runtime.JSX.Element;
964
+ declare function DashboardLayout({ defaultPanelOpen, defaultMode, labeledRail, defaultRailCollapsed, ...props }: DashboardLayoutProps): React.JSX.Element;
966
965
 
967
966
  /** A sub-destination revealed inside a nav item's right-flyout. */
968
967
  interface SidebarLayoutFlyoutItem {
@@ -1115,7 +1114,7 @@ interface SidebarLayoutProps {
1115
1114
  * hide all live here. Pair `panelOpen`/`onPanelOpenChange` with a cookie for
1116
1115
  * SSR-safe persistence.
1117
1116
  */
1118
- declare function SidebarLayout({ panelOpen, onPanelOpenChange, defaultPanelOpen, railCollapsed, onRailCollapsedChange, defaultRailCollapsed, ...props }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
1117
+ declare function SidebarLayout({ panelOpen, onPanelOpenChange, defaultPanelOpen, railCollapsed, onRailCollapsedChange, defaultRailCollapsed, ...props }: SidebarLayoutProps): React.JSX.Element;
1119
1118
 
1120
1119
  interface Profile {
1121
1120
  id: string;
@@ -1141,7 +1140,7 @@ interface ProfileSelectorProps {
1141
1140
  showMetrics?: boolean;
1142
1141
  className?: string;
1143
1142
  }
1144
- declare function ProfileSelector({ profiles, selectedId, onSelect, onCreateClick, onManageClick, label, placeholder, showMetrics, className, }: ProfileSelectorProps): react_jsx_runtime.JSX.Element;
1143
+ declare function ProfileSelector({ profiles, selectedId, onSelect, onCreateClick, onManageClick, label, placeholder, showMetrics, className, }: ProfileSelectorProps): React.JSX.Element;
1145
1144
  /**
1146
1145
  * Profile performance comparison card.
1147
1146
  * Shows metrics from multiple profiles side by side.
@@ -1150,7 +1149,7 @@ interface ProfileComparisonProps {
1150
1149
  profiles: Profile[];
1151
1150
  className?: string;
1152
1151
  }
1153
- declare function ProfileComparison({ profiles, className, }: ProfileComparisonProps): react_jsx_runtime.JSX.Element | null;
1152
+ declare function ProfileComparison({ profiles, className, }: ProfileComparisonProps): React.JSX.Element | null;
1154
1153
 
1155
1154
  interface MetricChartPoint {
1156
1155
  /** Wall-clock ms. */
@@ -1183,7 +1182,7 @@ interface MetricAreaChartProps {
1183
1182
  * current value, area chart of the rolling window, dashed gridlines.
1184
1183
  * Pure SVG — no chart dependency. Null samples render as gaps.
1185
1184
  */
1186
- declare function MetricAreaChart({ points, label, formatValue, maxValue, detail, tone, height, emptyState, className, }: MetricAreaChartProps): react_jsx_runtime.JSX.Element;
1185
+ declare function MetricAreaChart({ points, label, formatValue, maxValue, detail, tone, height, emptyState, className, }: MetricAreaChartProps): React.JSX.Element;
1187
1186
 
1188
1187
  type VariantStatus = "pending" | "running" | "completed" | "failed" | "cancelled";
1189
1188
  type VariantOutcome = "pending_review" | "accepted" | "rejected" | "merged_with_conflicts" | "expired";
@@ -1208,14 +1207,14 @@ interface VariantListProps {
1208
1207
  isActioning?: string | null;
1209
1208
  className?: string;
1210
1209
  }
1211
- declare function VariantList({ variants, selectedId, onSelect, onAccept, onReject, isActioning, className, }: VariantListProps): react_jsx_runtime.JSX.Element;
1210
+ declare function VariantList({ variants, selectedId, onSelect, onAccept, onReject, isActioning, className, }: VariantListProps): React.JSX.Element;
1212
1211
 
1213
1212
  interface SystemLogsViewerProps {
1214
1213
  apiUrl: string;
1215
1214
  token: string;
1216
1215
  className?: string;
1217
1216
  }
1218
- declare function SystemLogsViewer({ apiUrl, token, className }: SystemLogsViewerProps): react_jsx_runtime.JSX.Element;
1217
+ declare function SystemLogsViewer({ apiUrl, token, className }: SystemLogsViewerProps): React__default.JSX.Element;
1219
1218
 
1220
1219
  interface UsageSummaryData {
1221
1220
  computeHours: number;
@@ -1228,7 +1227,7 @@ interface UsageSummaryProps {
1228
1227
  loading?: boolean;
1229
1228
  className?: string;
1230
1229
  }
1231
- declare function UsageSummary({ data, loading, className }: UsageSummaryProps): react_jsx_runtime.JSX.Element;
1230
+ declare function UsageSummary({ data, loading, className }: UsageSummaryProps): React.JSX.Element;
1232
1231
 
1233
1232
  interface GitStatusData {
1234
1233
  branch: string;
@@ -1252,7 +1251,7 @@ interface GitPanelProps {
1252
1251
  onRefresh?: () => void;
1253
1252
  className?: string;
1254
1253
  }
1255
- declare function GitPanel({ status, log, loading, onRefresh, className }: GitPanelProps): react_jsx_runtime.JSX.Element;
1254
+ declare function GitPanel({ status, log, loading, onRefresh, className }: GitPanelProps): React.JSX.Element;
1256
1255
 
1257
1256
  interface ProcessInfo {
1258
1257
  pid: number;
@@ -1269,7 +1268,7 @@ interface ProcessListProps {
1269
1268
  loading?: boolean;
1270
1269
  className?: string;
1271
1270
  }
1272
- declare function ProcessList({ processes, onSpawn, onKill, loading, className }: ProcessListProps): react_jsx_runtime.JSX.Element;
1271
+ declare function ProcessList({ processes, onSpawn, onKill, loading, className }: ProcessListProps): React.JSX.Element;
1273
1272
 
1274
1273
  interface NetworkConfigData {
1275
1274
  blockOutbound: boolean;
@@ -1281,7 +1280,7 @@ interface NetworkConfigProps {
1281
1280
  loading?: boolean;
1282
1281
  className?: string;
1283
1282
  }
1284
- declare function NetworkConfig({ config, onUpdate, loading, className }: NetworkConfigProps): react_jsx_runtime.JSX.Element;
1283
+ declare function NetworkConfig({ config, onUpdate, loading, className }: NetworkConfigProps): React.JSX.Element;
1285
1284
 
1286
1285
  interface BackendStatusData {
1287
1286
  running: boolean;
@@ -1308,7 +1307,7 @@ interface BackendConfigProps {
1308
1307
  loading?: boolean;
1309
1308
  className?: string;
1310
1309
  }
1311
- declare function BackendConfig({ status, mcpServers, onAddMcp, onRemoveMcp, onRestart, loading, className, }: BackendConfigProps): react_jsx_runtime.JSX.Element;
1310
+ declare function BackendConfig({ status, mcpServers, onAddMcp, onRemoveMcp, onRestart, loading, className, }: BackendConfigProps): React.JSX.Element;
1312
1311
 
1313
1312
  interface SnapshotInfo {
1314
1313
  id: string;
@@ -1324,7 +1323,7 @@ interface SnapshotListProps {
1324
1323
  loading?: boolean;
1325
1324
  className?: string;
1326
1325
  }
1327
- declare function SnapshotList({ snapshots, onCreate, onRestore, onSaveAsTemplate, loading, className }: SnapshotListProps): react_jsx_runtime.JSX.Element;
1326
+ declare function SnapshotList({ snapshots, onCreate, onRestore, onSaveAsTemplate, loading, className }: SnapshotListProps): React.JSX.Element;
1328
1327
 
1329
1328
  interface PromoBannerProps {
1330
1329
  title: string;
@@ -1336,7 +1335,7 @@ interface PromoBannerProps {
1336
1335
  disabled?: boolean;
1337
1336
  className?: string;
1338
1337
  }
1339
- declare function PromoBanner({ title, description, buttonLabel, href, onClick, icon, disabled, className, }: PromoBannerProps): react_jsx_runtime.JSX.Element;
1338
+ declare function PromoBanner({ title, description, buttonLabel, href, onClick, icon, disabled, className, }: PromoBannerProps): React.JSX.Element;
1340
1339
 
1341
1340
  interface InfoPanelProps {
1342
1341
  label: string;
@@ -1344,6 +1343,6 @@ interface InfoPanelProps {
1344
1343
  description: string;
1345
1344
  className?: string;
1346
1345
  }
1347
- declare function InfoPanel({ label, title, description, className }: InfoPanelProps): react_jsx_runtime.JSX.Element;
1346
+ declare function InfoPanel({ label, title, description, className }: InfoPanelProps): React.JSX.Element;
1348
1347
 
1349
1348
  export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AppearanceController, type Backend, BackendConfig, type BackendConfigProps, BackendSelector, type BackendSelectorProps, type BackendStatusData, ClusterStatusBar, type ClusterStatusBarProps, type ClusterStatusItem, CreditBalance, type CreditBalanceProps, DEFAULT_FEATURED_MODEL_IDS, DashboardLayout, type DashboardLayoutProps, type Profile as DashboardProfile, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, type GitCommitData, GitPanel, type GitPanelProps, type GitStatusData, HARNESS_BRAND, HARNESS_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, INSUFFICIENT_BALANCE_CODE, InfoPanel, type InfoPanelProps, type InsufficientBalance, type Invoice, InvoiceTable, type InvoiceTableProps, type McpServer, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, ModelInfo, ModelPicker, type ModelPickerProps, type ModelPickerVariant, type NavItem, NetworkConfig, type NetworkConfigData, type NetworkConfigProps, NewSandboxCard, type NewSandboxCardProps, OutOfCreditsModal, type OutOfCreditsModalProps, type PlanCardData, PlanCards, type PlanCardsProps, type PlanFeature, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, ProfileComparison, type ProfileComparisonProps, ProfileSelector, type ProfileSelectorProps, PromoBanner, type PromoBannerProps, RailButton, type RailButtonProps, RailCollapseToggle, type RailCollapseToggleProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailThemeToggle, RailTooltip, type RailTooltipProps, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxCard, type SandboxCardData, type SandboxCardProps, type SandboxStatus, SandboxTable, type SandboxTableProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarLayout, type SidebarLayoutFlyoutItem, type SidebarLayoutNavItem, type SidebarLayoutProps, SidebarPanel, SidebarPanelContent, type SidebarPanelContentProps, SidebarPanelHeader, type SidebarPanelHeaderProps, type SidebarPanelProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarRailFooter, type SidebarRailFooterProps, SidebarRailHeader, type SidebarRailHeaderProps, SidebarRailNav, type SidebarRailNavProps, type SidebarRailProps, type SidebarUser, SnapshotList, type SnapshotListProps, SystemLogsViewer, type SystemLogsViewerProps, type TeamRole, type ThemeMode, UsageSummary, type UsageSummaryData, type UsageSummaryProps, type Variant, VariantList, type VariantListProps, type VariantOutcome, type VariantStatus, canAdminSandbox, chatCapableHarnesses, dedupeModels, formatContext, formatPricing, modelDedupKey, parseInsufficientBalance, useSidebar };
package/dist/dashboard.js CHANGED
@@ -71,7 +71,7 @@ import {
71
71
  HarnessLogo,
72
72
  HarnessPicker,
73
73
  chatCapableHarnesses
74
- } from "./chunk-2T6KBMLN.js";
74
+ } from "./chunk-NF3Q4RJU.js";
75
75
  import {
76
76
  DEFAULT_FEATURED_MODEL_IDS,
77
77
  ModelPicker,
@@ -79,12 +79,12 @@ import {
79
79
  formatContext,
80
80
  formatPricing,
81
81
  modelDedupKey
82
- } from "./chunk-R4AR3TKR.js";
82
+ } from "./chunk-EHMD4JJM.js";
83
83
  import {
84
84
  ModelBrandStack,
85
85
  canonicalModelId,
86
86
  modelBrandFor
87
- } from "./chunk-I3G23XHN.js";
87
+ } from "./chunk-5XRAKVIV.js";
88
88
  import "./chunk-EI44GEQ5.js";
89
89
  import "./chunk-U67V476Y.js";
90
90
  export {