@tangle-network/sandbox-ui 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/auth.js +3 -3
  2. package/dist/chat.d.ts +1 -1
  3. package/dist/chat.js +11 -9
  4. package/dist/{chunk-ZP6GSX4D.js → chunk-565V6JTN.js} +26 -50
  5. package/dist/chunk-5CEMHKBP.js +72 -0
  6. package/dist/{chunk-FOQTE67I.js → chunk-5F4NX5R2.js} +10 -5
  7. package/dist/{chunk-MUOL44AE.js → chunk-BRBTD7RH.js} +6 -6
  8. package/dist/{chunk-SSKVYXCR.js → chunk-DCPYTL4W.js} +62 -79
  9. package/dist/chunk-DLCFZDGX.js +182 -0
  10. package/dist/{chunk-HXEA7L2T.js → chunk-FFOXUHOF.js} +10 -10
  11. package/dist/chunk-H5XYSFYE.js +228 -0
  12. package/dist/{chunk-TQN3VR4F.js → chunk-JP725R4W.js} +2 -2
  13. package/dist/{chunk-CJ2RYVZH.js → chunk-NTSRY4GW.js} +68 -10
  14. package/dist/{chunk-DQYODCBN.js → chunk-P24K22CV.js} +57 -66
  15. package/dist/{chunk-GVUW4VDD.js → chunk-R3IU37AW.js} +161 -229
  16. package/dist/chunk-TDYQBLL5.js +127 -0
  17. package/dist/{chunk-HWLX5NME.js → chunk-TSE423UF.js} +12 -12
  18. package/dist/{chunk-YDBXQQLC.js → chunk-VBWY44UU.js} +30 -76
  19. package/dist/{chunk-IW2JZCOC.js → chunk-WBQ7VULC.js} +7 -7
  20. package/dist/{chunk-72UEKFZ2.js → chunk-WC7QTWPN.js} +65 -42
  21. package/dist/{chunk-HYLTXGOI.js → chunk-WQH233GF.js} +5 -5
  22. package/dist/{chunk-CCKNIAS7.js → chunk-XBR3IP7B.js} +2 -2
  23. package/dist/{chunk-OHMO7NUX.js → chunk-XTPAWK7L.js} +20 -31
  24. package/dist/{chunk-SULQQJPB.js → chunk-YS66Q3RC.js} +1 -1
  25. package/dist/{chunk-FRGMMANX.js → chunk-YYGECNZZ.js} +3 -3
  26. package/dist/{chunk-MVYFNPAH.js → chunk-ZOZX2U6I.js} +285 -271
  27. package/dist/dashboard.d.ts +2 -2
  28. package/dist/dashboard.js +6 -6
  29. package/dist/{document-editor-pane-5TN2VWGZ.js → document-editor-pane-JNXPANWM.js} +2 -2
  30. package/dist/editor.js +2 -2
  31. package/dist/files.js +2 -2
  32. package/dist/globals.css +129 -95
  33. package/dist/hooks.d.ts +2 -2
  34. package/dist/hooks.js +5 -5
  35. package/dist/{index-tTfThG0n.d.ts → index-CDt0GE4A.d.ts} +7 -8
  36. package/dist/index.d.ts +16 -23
  37. package/dist/index.js +27 -26
  38. package/dist/markdown.d.ts +14 -17
  39. package/dist/markdown.js +1 -1
  40. package/dist/openui.js +5 -5
  41. package/dist/pages.d.ts +10 -3
  42. package/dist/pages.js +147 -184
  43. package/dist/primitives.d.ts +8 -5
  44. package/dist/primitives.js +8 -8
  45. package/dist/run.d.ts +1 -1
  46. package/dist/run.js +4 -4
  47. package/dist/sdk-hooks.d.ts +1 -1
  48. package/dist/sdk-hooks.js +4 -4
  49. package/dist/styles.css +129 -95
  50. package/dist/terminal.d.ts +2 -2
  51. package/dist/terminal.js +13 -43
  52. package/dist/tokens.css +299 -179
  53. package/dist/{tool-call-feed-D5Ume-Pt.d.ts → tool-call-feed-Bs3MyQMT.d.ts} +3 -1
  54. package/dist/{usage-chart-CY9xo3KX.d.ts → usage-chart-XCoB_7Xu.d.ts} +1 -2
  55. package/dist/{use-pty-session-DeZSxOCN.d.ts → use-pty-session-COzVkhtc.d.ts} +1 -1
  56. package/dist/workspace.d.ts +3 -1
  57. package/dist/workspace.js +11 -11
  58. package/package.json +14 -2
  59. package/dist/chunk-GRYHFH5O.js +0 -110
  60. package/dist/chunk-LTFK464G.js +0 -103
  61. package/dist/chunk-MXCSSOGH.js +0 -105
@@ -1,4 +1,4 @@
1
- export { B as Backend, a as BackendSelector, b as BackendSelectorProps, C as ClusterStatusBar, c as ClusterStatusBarProps, d as ClusterStatusItem, e as CreditBalance, f as CreditBalanceProps, D as DashboardLayout, g as DashboardLayoutProps, ag as DashboardProfile, h as DashboardUser, I as Invoice, i as InvoiceTable, j as InvoiceTableProps, N as NavItem, k as NewSandboxCard, l as NewSandboxCardProps, m as PlanCardData, n as PlanCards, o as PlanCardsProps, ah as PlanFeature, p as ProductVariant, q as ProfileAvatar, r as ProfileAvatarProps, s as ProfileComparison, t as ProfileComparisonProps, u as ProfileSelector, v as ProfileSelectorProps, R as RailButton, w as RailButtonProps, x as RailModeButton, y as RailModeButtonProps, z as RailSeparator, A as RailSeparatorProps, E as ResourceMeter, F as ResourceMeterProps, S as SIDEBAR_PANEL_WIDTH, G as SIDEBAR_RAIL_WIDTH, H as SIDEBAR_TOTAL_WIDTH, J as SandboxCard, K as SandboxCardData, L as SandboxCardProps, M as SandboxStatus, O as SandboxTable, Q as SandboxTableProps, T as Sidebar, U as SidebarContent, V as SidebarContentProps, W as SidebarPanel, X as SidebarPanelContent, Y as SidebarPanelContentProps, Z as SidebarPanelHeader, _ as SidebarPanelHeaderProps, $ as SidebarPanelProps, a0 as SidebarProps, a1 as SidebarProvider, a2 as SidebarProviderProps, a3 as SidebarRail, a4 as SidebarRailFooter, a5 as SidebarRailFooterProps, a6 as SidebarRailHeader, a7 as SidebarRailHeaderProps, a8 as SidebarRailNav, a9 as SidebarRailNavProps, aa as SidebarRailProps, ab as SidebarUser, ai as Variant, ad as VariantList, ae as VariantListProps, aj as VariantOutcome, ak as VariantStatus, af as useSidebar } from './index-tTfThG0n.js';
2
- export { a as BillingBalance, c as BillingDashboard, d as BillingDashboardProps, B as BillingSubscription, b as BillingUsage, e as PricingPage, f as PricingPageProps, P as PricingTier, g as UsageChart, h as UsageChartProps, U as UsageDataPoint } from './usage-chart-CY9xo3KX.js';
1
+ export { B as Backend, a as BackendSelector, b as BackendSelectorProps, C as ClusterStatusBar, c as ClusterStatusBarProps, d as ClusterStatusItem, e as CreditBalance, f as CreditBalanceProps, D as DashboardLayout, g as DashboardLayoutProps, ag as DashboardProfile, h as DashboardUser, I as Invoice, i as InvoiceTable, j as InvoiceTableProps, N as NavItem, k as NewSandboxCard, l as NewSandboxCardProps, m as PlanCardData, n as PlanCards, o as PlanCardsProps, ah as PlanFeature, p as ProductVariant, q as ProfileAvatar, r as ProfileAvatarProps, s as ProfileComparison, t as ProfileComparisonProps, u as ProfileSelector, v as ProfileSelectorProps, R as RailButton, w as RailButtonProps, x as RailModeButton, y as RailModeButtonProps, z as RailSeparator, A as RailSeparatorProps, E as ResourceMeter, F as ResourceMeterProps, S as SIDEBAR_PANEL_WIDTH, G as SIDEBAR_RAIL_WIDTH, H as SIDEBAR_TOTAL_WIDTH, J as SandboxCard, K as SandboxCardData, L as SandboxCardProps, M as SandboxStatus, O as SandboxTable, Q as SandboxTableProps, T as Sidebar, U as SidebarContent, V as SidebarContentProps, W as SidebarPanel, X as SidebarPanelContent, Y as SidebarPanelContentProps, Z as SidebarPanelHeader, _ as SidebarPanelHeaderProps, $ as SidebarPanelProps, a0 as SidebarProps, a1 as SidebarProvider, a2 as SidebarProviderProps, a3 as SidebarRail, a4 as SidebarRailFooter, a5 as SidebarRailFooterProps, a6 as SidebarRailHeader, a7 as SidebarRailHeaderProps, a8 as SidebarRailNav, a9 as SidebarRailNavProps, aa as SidebarRailProps, ab as SidebarUser, ai as Variant, ad as VariantList, ae as VariantListProps, aj as VariantOutcome, ak as VariantStatus, af as useSidebar } from './index-CDt0GE4A.js';
2
+ export { a as BillingBalance, c as BillingDashboard, d as BillingDashboardProps, B as BillingSubscription, b as BillingUsage, e as PricingPage, f as PricingPageProps, P as PricingTier, g as UsageChart, h as UsageChartProps, U as UsageDataPoint } from './usage-chart-XCoB_7Xu.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
package/dist/dashboard.js CHANGED
@@ -30,17 +30,17 @@ import {
30
30
  SidebarRailNav,
31
31
  VariantList,
32
32
  useSidebar
33
- } from "./chunk-MVYFNPAH.js";
33
+ } from "./chunk-ZOZX2U6I.js";
34
34
  import {
35
35
  BillingDashboard,
36
36
  PricingPage,
37
37
  UsageChart
38
- } from "./chunk-ZP6GSX4D.js";
38
+ } from "./chunk-565V6JTN.js";
39
39
  import "./chunk-OKCIKTXQ.js";
40
- import "./chunk-IW2JZCOC.js";
41
- import "./chunk-FRGMMANX.js";
42
- import "./chunk-MXCSSOGH.js";
43
- import "./chunk-HWLX5NME.js";
40
+ import "./chunk-WBQ7VULC.js";
41
+ import "./chunk-YYGECNZZ.js";
42
+ import "./chunk-TDYQBLL5.js";
43
+ import "./chunk-TSE423UF.js";
44
44
  import "./chunk-RQHJBTEU.js";
45
45
  export {
46
46
  BackendSelector,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  DocumentEditorPane
4
- } from "./chunk-HXEA7L2T.js";
4
+ } from "./chunk-FFOXUHOF.js";
5
5
  import "./chunk-Q56BYXQF.js";
6
6
  import "./chunk-W4LM3QYZ.js";
7
- import "./chunk-LTFK464G.js";
7
+ import "./chunk-H5XYSFYE.js";
8
8
  import "./chunk-RQHJBTEU.js";
9
9
  export {
10
10
  DocumentEditorPane
package/dist/editor.js CHANGED
@@ -11,10 +11,10 @@ import {
11
11
  useEditorConnection,
12
12
  useEditorContext,
13
13
  useYjsState
14
- } from "./chunk-HXEA7L2T.js";
14
+ } from "./chunk-FFOXUHOF.js";
15
15
  import "./chunk-Q56BYXQF.js";
16
16
  import "./chunk-W4LM3QYZ.js";
17
- import "./chunk-LTFK464G.js";
17
+ import "./chunk-H5XYSFYE.js";
18
18
  import "./chunk-RQHJBTEU.js";
19
19
  export {
20
20
  CollaboratorsList,
package/dist/files.js CHANGED
@@ -4,9 +4,9 @@ import {
4
4
  FileTabs,
5
5
  FileTree,
6
6
  filterFileTree
7
- } from "./chunk-HYLTXGOI.js";
7
+ } from "./chunk-WQH233GF.js";
8
8
  import "./chunk-W4LM3QYZ.js";
9
- import "./chunk-LTFK464G.js";
9
+ import "./chunk-H5XYSFYE.js";
10
10
  import "./chunk-RQHJBTEU.js";
11
11
  export {
12
12
  FileArtifactPane,
package/dist/globals.css CHANGED
@@ -1,8 +1,9 @@
1
1
  @import "./tokens.css";
2
2
 
3
- @tailwind base;
4
- @tailwind components;
5
- @tailwind utilities;
3
+ /* Geist (UI) + Geist Mono (code) + Outfit (display) — via Google Fonts */
4
+ @import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap");
5
+
6
+ @import "tailwindcss";
6
7
 
7
8
  @layer base {
8
9
  :root {
@@ -15,31 +16,39 @@
15
16
  }
16
17
 
17
18
  body {
18
- @apply antialiased;
19
+ -webkit-font-smoothing: antialiased;
20
+ -moz-osx-font-smoothing: grayscale;
19
21
  background-color: hsl(var(--background));
20
22
  color: hsl(var(--foreground));
21
23
  font-family: var(--font-sans);
22
24
  font-feature-settings:
23
25
  "rlig" 1,
24
- "calt" 1;
26
+ "calt" 1,
27
+ "ss01" 1;
28
+ }
29
+
30
+ ::selection {
31
+ background: rgba(56, 178, 172, 0.22);
32
+ color: hsl(var(--hsl-foreground));
25
33
  }
26
34
 
27
35
  /* Custom scrollbar */
28
36
  ::-webkit-scrollbar {
29
- width: 8px;
30
- height: 8px;
37
+ width: 6px;
38
+ height: 6px;
31
39
  }
32
40
 
33
41
  ::-webkit-scrollbar-track {
34
- @apply bg-transparent;
42
+ background: transparent;
35
43
  }
36
44
 
37
45
  ::-webkit-scrollbar-thumb {
38
- @apply bg-border rounded-full;
46
+ background: hsl(var(--border) / 0.7);
47
+ border-radius: 3px;
39
48
  }
40
49
 
41
50
  ::-webkit-scrollbar-thumb:hover {
42
- @apply bg-muted-foreground/50;
51
+ background: hsl(var(--muted-foreground) / 0.4);
43
52
  }
44
53
  }
45
54
 
@@ -47,30 +56,109 @@
47
56
  /* Gradient text -- Tangle default accent */
48
57
  .text-gradient-sandbox {
49
58
  background-image: var(--tangle-gradient);
50
- @apply bg-clip-text text-transparent;
59
+ background-clip: text;
60
+ -webkit-background-clip: text;
61
+ color: transparent;
51
62
  }
52
63
 
53
64
  /* Glow effects */
54
65
  .glow-sandbox {
55
- box-shadow: 0 0 40px -10px hsl(var(--sandbox) / 0.4);
66
+ box-shadow: 0 0 48px -10px hsl(var(--sandbox) / 0.45);
67
+ }
68
+
69
+ /* Solid depth cards */
70
+ .glass-card {
71
+ background: var(--depth-2);
72
+ border: 1px solid var(--border-subtle);
73
+ transition: border-color var(--transition-default), box-shadow var(--transition-default);
56
74
  }
57
75
 
58
- /* Glass effect */
76
+ .glass-card:hover {
77
+ border-color: var(--border-default);
78
+ }
79
+
80
+ .glass-card-strong {
81
+ background: var(--depth-3);
82
+ border: 1px solid var(--border-subtle);
83
+ }
84
+
85
+ /* Legacy alias */
59
86
  .glass {
60
- backdrop-filter: blur(24px);
61
- background-color: hsl(var(--card) / 0.8);
62
- border: 1px solid hsl(var(--border) / 0.5);
87
+ background-color: var(--depth-2);
88
+ border: 1px solid var(--border-subtle);
89
+ }
90
+
91
+ /* Atmospheric mesh gradient background */
92
+ .bg-mesh {
93
+ position: relative;
94
+ }
95
+
96
+ .bg-mesh::before {
97
+ content: '';
98
+ position: absolute;
99
+ inset: 0;
100
+ background:
101
+ radial-gradient(ellipse 80% 50% at 20% 40%, var(--mesh-teal), transparent),
102
+ radial-gradient(ellipse 60% 40% at 80% 20%, var(--mesh-violet), transparent),
103
+ radial-gradient(ellipse 50% 60% at 50% 80%, var(--mesh-blue), transparent);
104
+ pointer-events: none;
105
+ z-index: 0;
63
106
  }
64
107
 
65
108
  /* Subtle noise texture */
66
109
  .noise {
67
- background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
68
- opacity: 0.02;
110
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
111
+ pointer-events: none;
112
+ }
113
+
114
+ /* Status dots — operational state indicators */
115
+ .status-dot {
116
+ width: 8px;
117
+ height: 8px;
118
+ border-radius: 50%;
119
+ display: inline-block;
120
+ flex-shrink: 0;
121
+ }
122
+
123
+ .status-dot-running {
124
+ background: var(--status-running);
125
+ box-shadow: var(--shadow-status-running);
126
+ }
127
+
128
+ .status-dot-creating {
129
+ background: var(--status-creating);
130
+ animation: status-pulse 2s ease-in-out infinite;
131
+ }
132
+
133
+ .status-dot-stopped {
134
+ background: var(--status-stopped);
135
+ }
136
+
137
+ .status-dot-warm {
138
+ background: var(--status-warm);
139
+ }
140
+
141
+ .status-dot-cold {
142
+ background: var(--status-cold);
143
+ }
144
+
145
+ .status-dot-error {
146
+ background: var(--status-error);
147
+ box-shadow: var(--shadow-status-error);
148
+ }
149
+
150
+ .status-dot-deleted {
151
+ background: var(--status-deleted);
152
+ opacity: 0.6;
69
153
  }
70
154
 
71
- /* Terminal styling */
155
+ /* Terminal cursor */
72
156
  .terminal-cursor {
73
- @apply inline-block w-2 h-5 bg-foreground animate-pulse;
157
+ display: inline-block;
158
+ width: 0.5rem;
159
+ height: 1.25rem;
160
+ background-color: hsl(var(--foreground));
161
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
74
162
  }
75
163
 
76
164
  /* Shimmer animation */
@@ -85,95 +173,41 @@
85
173
  animation: shimmer 2s infinite;
86
174
  }
87
175
 
88
- @keyframes shimmer {
89
- 0% {
90
- background-position: -200% 0;
91
- }
92
- 100% {
93
- background-position: 200% 0;
94
- }
95
- }
96
-
97
176
  /* Fade in animation */
98
177
  .animate-in {
99
- animation: fade-in 0.3s ease-out;
100
- }
101
-
102
- @keyframes fade-in {
103
- from {
104
- opacity: 0;
105
- transform: translateY(10px);
106
- }
107
- to {
108
- opacity: 1;
109
- transform: translateY(0);
110
- }
178
+ animation: fade-in 0.25s ease-out;
111
179
  }
112
180
 
113
181
  /* Pulse ring animation */
114
182
  .pulse-ring {
115
- @apply relative;
183
+ position: relative;
116
184
  }
117
185
 
118
186
  .pulse-ring::before {
119
187
  content: "";
120
- @apply absolute inset-0 rounded-full;
188
+ position: absolute;
189
+ inset: 0;
190
+ border-radius: 9999px;
121
191
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
122
192
  }
123
193
 
194
+ @keyframes shimmer {
195
+ 0% { background-position: -200% 0; }
196
+ 100% { background-position: 200% 0; }
197
+ }
198
+
199
+ @keyframes fade-in {
200
+ from { opacity: 0; transform: translateY(8px); }
201
+ to { opacity: 1; transform: translateY(0); }
202
+ }
203
+
124
204
  @keyframes pulse-ring {
125
- 0%,
126
- 100% {
127
- box-shadow: 0 0 0 0 currentColor;
128
- opacity: 0.4;
129
- }
130
- 50% {
131
- box-shadow: 0 0 0 8px currentColor;
132
- opacity: 0;
133
- }
205
+ 0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 0.4; }
206
+ 50% { box-shadow: 0 0 0 8px currentColor; opacity: 0; }
134
207
  }
135
- }
136
208
 
137
- /* Fonts -- Inter (UI) + JetBrains Mono (code). */
138
- @font-face {
139
- font-family: "Inter";
140
- src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2") format("woff2");
141
- font-weight: 300;
142
- font-style: normal;
143
- font-display: swap;
144
- }
145
- @font-face {
146
- font-family: "Inter";
147
- src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2") format("woff2");
148
- font-weight: 400;
149
- font-style: normal;
150
- font-display: swap;
151
- }
152
- @font-face {
153
- font-family: "Inter";
154
- src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI2fAZ9hiA.woff2") format("woff2");
155
- font-weight: 500;
156
- font-style: normal;
157
- font-display: swap;
158
- }
159
- @font-face {
160
- font-family: "Inter";
161
- src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYAZ9hiA.woff2") format("woff2");
162
- font-weight: 700;
163
- font-style: normal;
164
- font-display: swap;
165
- }
166
- @font-face {
167
- font-family: "JetBrains Mono";
168
- src: url("https://fonts.gstatic.com/s/jetbrainsmono/v18/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTOlOV.woff2") format("woff2");
169
- font-weight: 400;
170
- font-style: normal;
171
- font-display: swap;
172
- }
173
- @font-face {
174
- font-family: "JetBrains Mono";
175
- src: url("https://fonts.gstatic.com/s/jetbrainsmono/v18/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxTPlOV.woff2") format("woff2");
176
- font-weight: 500;
177
- font-style: normal;
178
- font-display: swap;
209
+ @keyframes status-pulse {
210
+ 0%, 100% { opacity: 1; }
211
+ 50% { opacity: 0.35; }
212
+ }
179
213
  }
package/dist/hooks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AuthUser, U as UseAuthOptions, a as UseAuthResult, b as UsePtySessionOptions, c as UsePtySessionReturn, d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-DeZSxOCN.js';
1
+ export { A as AuthUser, U as UseAuthOptions, a as UseAuthResult, b as UsePtySessionOptions, c as UsePtySessionReturn, d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-COzVkhtc.js';
2
2
  export { AgentStreamEvent, AppendUserMessageOptions, ApplySdkEventOptions, AutomationStreamEvent, BeginAssistantMessageOptions, BotStreamEvent, CompleteAssistantMessageOptions, ConnectionState, RealtimeSessionOptions, RealtimeSessionRegistry, RealtimeSessionRegistryProps, RealtimeSessionState, RealtimeSessionTarget, SSEEvent, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, SessionInfo, SidecarAuth, TaskStreamEvent, TerminalStreamEvent, UseRunGroupsOptions, UseSSEStreamOptions, UseSSEStreamResult, UseSdkSessionOptions, UseSdkSessionReturn, UseSessionStreamOptions, UseSessionStreamResult, UseSidecarAuthOptions, UseToolCallStreamReturn, useAutoScroll, useDropdownMenu, useRealtimeSession, useRunCollapseState, useRunGroups, useSSEStream, useSdkSession, useSessionStream, useSidecarAuth, useToolCallStream } from './sdk-hooks.js';
3
3
  import * as _tanstack_react_query from '@tanstack/react-query';
4
4
  import { S as Session } from './sidecar-CFU2W9j1.js';
@@ -7,7 +7,7 @@ import './run-CtFZ6s-D.js';
7
7
  import './parts-CyGkM6Fp.js';
8
8
  import './active-sessions-store-CeOmXgv5.js';
9
9
  import 'nanostores';
10
- import './tool-call-feed-D5Ume-Pt.js';
10
+ import './tool-call-feed-Bs3MyQMT.js';
11
11
  import 'react/jsx-runtime';
12
12
 
13
13
  /** List all sessions for a sidecar. */
package/dist/hooks.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-FJSVPBKY.js";
6
6
  import {
7
7
  usePtySession
8
- } from "./chunk-GRYHFH5O.js";
8
+ } from "./chunk-DLCFZDGX.js";
9
9
  import {
10
10
  RealtimeSessionRegistry,
11
11
  useDropdownMenu,
@@ -15,17 +15,17 @@ import {
15
15
  useSessionStream,
16
16
  useSidecarAuth,
17
17
  useToolCallStream
18
- } from "./chunk-FOQTE67I.js";
19
- import "./chunk-CCKNIAS7.js";
18
+ } from "./chunk-5F4NX5R2.js";
19
+ import "./chunk-XBR3IP7B.js";
20
20
  import "./chunk-OEX7NZE3.js";
21
21
  import {
22
22
  useAutoScroll,
23
23
  useRunCollapseState,
24
24
  useRunGroups
25
25
  } from "./chunk-CNWVHQFY.js";
26
- import "./chunk-CJ2RYVZH.js";
26
+ import "./chunk-NTSRY4GW.js";
27
27
  import "./chunk-BX6AQMUS.js";
28
- import "./chunk-LTFK464G.js";
28
+ import "./chunk-H5XYSFYE.js";
29
29
  import "./chunk-RQHJBTEU.js";
30
30
 
31
31
  // src/hooks/use-session-crud.ts
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import './usage-chart-CY9xo3KX.js';
3
+ import './usage-chart-XCoB_7Xu.js';
4
4
 
5
5
  interface SidebarUser {
6
6
  email: string;
@@ -121,7 +121,7 @@ declare function SidebarProvider({ defaultPanelOpen, defaultMode, children, }: S
121
121
  declare function useSidebar(): SidebarContextValue;
122
122
 
123
123
  interface ClusterStatusItem {
124
- icon: string;
124
+ icon?: React.ReactNode;
125
125
  label: string;
126
126
  value: string;
127
127
  valueClass?: string;
@@ -240,7 +240,7 @@ interface ResourceMeterProps {
240
240
  value: number;
241
241
  max?: number;
242
242
  unit?: string;
243
- icon?: string;
243
+ icon?: React.ReactNode;
244
244
  className?: string;
245
245
  }
246
246
  declare function ResourceMeter({ label, value, max, unit, icon, className }: ResourceMeterProps): react_jsx_runtime.JSX.Element;
@@ -297,14 +297,13 @@ interface Backend {
297
297
  }
298
298
  interface BackendSelectorProps {
299
299
  backends: Backend[];
300
- selected: string[];
301
- onChange: (selected: string[]) => void;
300
+ selected: string;
301
+ onChange: (selected: string) => void;
302
302
  label?: string;
303
- hint?: string;
304
- multiSelect?: boolean;
303
+ placeholder?: string;
305
304
  className?: string;
306
305
  }
307
- declare function BackendSelector({ backends, selected, onChange, label, hint, multiSelect, className, }: BackendSelectorProps): react_jsx_runtime.JSX.Element;
306
+ declare function BackendSelector({ backends, selected, onChange, label, placeholder, className, }: BackendSelectorProps): react_jsx_runtime.JSX.Element;
308
307
 
309
308
  interface Profile {
310
309
  id: string;
package/dist/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  export { B as Button, a as ButtonProps, b as buttonVariants } from './button-CMQuQEW_.js';
2
2
  export { Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropZone, DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateProps, Input, InputProps, Label, Logo, LogoProps, Progress, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarDropZone, SidebarDropZoneProps, Skeleton, SkeletonCard, SkeletonTable, StatCard, StatCardProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TerminalDisplay, TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine, Textarea, TextareaProps, Toast, ToastContainer, ToastProvider, UploadFile, UploadProgress, UploadProgressProps, badgeVariants, useToast } from './primitives.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import * as React from 'react';
5
- import React__default from 'react';
6
4
  export { AgentWorkbench, AuditCheck, AuditResults, AuditResultsProps, BannerType, ContextBadge, DirectoryPane, DirectoryPaneProps, FormAudit, RuntimePane, RuntimePaneProps, SandboxWorkbench, SandboxWorkbenchArtifact, SandboxWorkbenchCustomArtifact, SandboxWorkbenchFileArtifact, SandboxWorkbenchLayoutOptions, SandboxWorkbenchMarkdownArtifact, SandboxWorkbenchOpenUIArtifact, SandboxWorkbenchProps, SandboxWorkbenchSessionProps, SessionActivityMonitor, SessionActivityMonitorProps, SessionSidebar, SessionSidebarBadge, SessionSidebarFilter, SessionSidebarItem, SessionSidebarLink, SessionSidebarProps, StatusBanner, StatusBannerProps, StatusBar, StatusBarProps, TerminalLine, TerminalPanel, TerminalProps, WorkspaceLayout, WorkspaceLayoutProps } from './workspace.js';
7
5
  export { a as ArtifactPane, A as ArtifactPaneProps } from './artifact-pane-Bh45Ssco.js';
8
6
  export { OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode } from './openui.js';
@@ -10,18 +8,19 @@ export { AgentTimeline, AgentTimelineArtifactItem, AgentTimelineCustomItem, Agen
10
8
  export { C as ChatContainer, a as ChatContainerProps, b as ChatInput, c as ChatInputProps, P as PendingFile } from './chat-container-Cg-GwyiK.js';
11
9
  export { C as Collaborator, a as ConnectionState, D as DocumentEditorBackend, b as DocumentEditorMode, c as DocumentEditorPane, d as DocumentEditorPaneCollaborationConfig, e as DocumentEditorPaneProps, E as EditorContextValue, f as EditorProvider, g as EditorProviderProps, h as EditorUser, u as useEditorContext } from './document-editor-pane-A70-EhdQ.js';
12
10
  export { CollaboratorsList, EditorToolbar, TiptapEditor, TiptapEditorProps, useAwareness, useCollaboratorPresence, useCollaborators, useDocumentChanges, useEditorConnection, useYjsState } from './editor.js';
13
- export { F as FeedSegment, T as ToolCallData, a as ToolCallFeed, b as ToolCallFeedProps, c as ToolCallGroup, d as ToolCallGroupProps, e as ToolCallStatus, f as ToolCallStep, g as ToolCallStepProps, h as ToolCallType, p as parseToolEvent } from './tool-call-feed-D5Ume-Pt.js';
11
+ export { F as FeedSegment, T as ToolCallData, a as ToolCallFeed, b as ToolCallFeedProps, c as ToolCallGroup, d as ToolCallGroupProps, e as ToolCallStatus, f as ToolCallStep, g as ToolCallStepProps, h as ToolCallType, p as parseToolEvent } from './tool-call-feed-Bs3MyQMT.js';
14
12
  export { E as ExpandedToolDetail, I as InlineThinkingItem, c as InlineToolItem, R as RunGroup, e as RunGroupProps } from './expanded-tool-detail-DM5M_T9h.js';
13
+ import * as React$1 from 'react';
15
14
  import { b as ToolPart } from './parts-CyGkM6Fp.js';
16
15
  export { R as ReasoningPart, S as SessionMessage, a as SessionPart, T as TextPart, c as ToolState, d as ToolStatus, e as ToolTime } from './parts-CyGkM6Fp.js';
17
16
  export { F as FileNode, a as FileTabData, b as FileTabs, c as FileTabsProps, d as FileTree, e as FileTreeProps, f as FileTreeVisibilityOptions, g as filterFileTree } from './file-tabs-BLfxfmAH.js';
18
17
  export { FileArtifactPane, FileArtifactPaneProps, FilePreview, FilePreviewProps } from './files.js';
19
- export { B as Backend, a as BackendSelector, b as BackendSelectorProps, C as ClusterStatusBar, c as ClusterStatusBarProps, d as ClusterStatusItem, e as CreditBalance, f as CreditBalanceProps, D as DashboardLayout, g as DashboardLayoutProps, h as DashboardUser, I as Invoice, i as InvoiceTable, j as InvoiceTableProps, N as NavItem, k as NewSandboxCard, l as NewSandboxCardProps, P as PanelConfig, m as PlanCardData, n as PlanCards, o as PlanCardsProps, p as ProductVariant, q as ProfileAvatar, r as ProfileAvatarProps, s as ProfileComparison, t as ProfileComparisonProps, u as ProfileSelector, v as ProfileSelectorProps, R as RailButton, w as RailButtonProps, x as RailModeButton, y as RailModeButtonProps, z as RailSeparator, A as RailSeparatorProps, E as ResourceMeter, F as ResourceMeterProps, S as SIDEBAR_PANEL_WIDTH, G as SIDEBAR_RAIL_WIDTH, H as SIDEBAR_TOTAL_WIDTH, J as SandboxCard, K as SandboxCardData, L as SandboxCardProps, M as SandboxStatus, O as SandboxTable, Q as SandboxTableProps, T as Sidebar, U as SidebarContent, V as SidebarContentProps, W as SidebarPanel, X as SidebarPanelContent, Y as SidebarPanelContentProps, Z as SidebarPanelHeader, _ as SidebarPanelHeaderProps, $ as SidebarPanelProps, a0 as SidebarProps, a1 as SidebarProvider, a2 as SidebarProviderProps, a3 as SidebarRail, a4 as SidebarRailFooter, a5 as SidebarRailFooterProps, a6 as SidebarRailHeader, a7 as SidebarRailHeaderProps, a8 as SidebarRailNav, a9 as SidebarRailNavProps, aa as SidebarRailProps, ab as SidebarUser, ac as TopNavLink, ad as VariantList, ae as VariantListProps, af as useSidebar } from './index-tTfThG0n.js';
20
- export { c as BillingDashboard, d as BillingDashboardProps, e as PricingCards, f as PricingPageProps, g as UsageChart, h as UsageChartProps, U as UsageDataPoint } from './usage-chart-CY9xo3KX.js';
18
+ export { B as Backend, a as BackendSelector, b as BackendSelectorProps, C as ClusterStatusBar, c as ClusterStatusBarProps, d as ClusterStatusItem, e as CreditBalance, f as CreditBalanceProps, D as DashboardLayout, g as DashboardLayoutProps, h as DashboardUser, I as Invoice, i as InvoiceTable, j as InvoiceTableProps, N as NavItem, k as NewSandboxCard, l as NewSandboxCardProps, P as PanelConfig, m as PlanCardData, n as PlanCards, o as PlanCardsProps, p as ProductVariant, q as ProfileAvatar, r as ProfileAvatarProps, s as ProfileComparison, t as ProfileComparisonProps, u as ProfileSelector, v as ProfileSelectorProps, R as RailButton, w as RailButtonProps, x as RailModeButton, y as RailModeButtonProps, z as RailSeparator, A as RailSeparatorProps, E as ResourceMeter, F as ResourceMeterProps, S as SIDEBAR_PANEL_WIDTH, G as SIDEBAR_RAIL_WIDTH, H as SIDEBAR_TOTAL_WIDTH, J as SandboxCard, K as SandboxCardData, L as SandboxCardProps, M as SandboxStatus, O as SandboxTable, Q as SandboxTableProps, T as Sidebar, U as SidebarContent, V as SidebarContentProps, W as SidebarPanel, X as SidebarPanelContent, Y as SidebarPanelContentProps, Z as SidebarPanelHeader, _ as SidebarPanelHeaderProps, $ as SidebarPanelProps, a0 as SidebarProps, a1 as SidebarProvider, a2 as SidebarProviderProps, a3 as SidebarRail, a4 as SidebarRailFooter, a5 as SidebarRailFooterProps, a6 as SidebarRailHeader, a7 as SidebarRailHeaderProps, a8 as SidebarRailNav, a9 as SidebarRailNavProps, aa as SidebarRailProps, ab as SidebarUser, ac as TopNavLink, ad as VariantList, ae as VariantListProps, af as useSidebar } from './index-CDt0GE4A.js';
19
+ export { c as BillingDashboard, d as BillingDashboardProps, e as PricingCards, f as PricingPageProps, g as UsageChart, h as UsageChartProps, U as UsageDataPoint } from './usage-chart-XCoB_7Xu.js';
21
20
  export { AuthHeader, GitHubLoginButton, LoginLayout, LoginLayoutProps, UserMenu } from './auth.js';
22
- export { CodeBlock, CopyButton, Markdown, MarkdownProps } from './markdown.js';
21
+ export { CodeBlock, CodeBlock as CodeBlockDisplay, CopyButton, Markdown, MarkdownProps } from './markdown.js';
23
22
  export { AppendUserMessageOptions, ApplySdkEventOptions, BeginAssistantMessageOptions, CompleteAssistantMessageOptions, RealtimeSessionOptions, RealtimeSessionRegistry, RealtimeSessionRegistryProps, RealtimeSessionState, RealtimeSessionTarget, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, UseSdkSessionOptions, UseSdkSessionReturn, UseToolCallStreamReturn, useAutoScroll, useDropdownMenu, useRealtimeSession, useRunCollapseState, useRunGroups, useSSEStream, useSdkSession, useSessionStream, useSidecarAuth, useToolCallStream } from './sdk-hooks.js';
24
- export { d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-DeZSxOCN.js';
23
+ export { d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-COzVkhtc.js';
25
24
  export { G as GroupedMessage, R as Run, b as RunStats, T as ToolCategory } from './run-CtFZ6s-D.js';
26
25
  export { S as Session } from './sidecar-CFU2W9j1.js';
27
26
  export { C as CustomToolRenderer, D as DisplayVariant, T as ToolDisplayMetadata } from './tool-display-Ct9nFAzJ.js';
@@ -30,6 +29,7 @@ export { A as ActiveProjectActivity, a as ActiveSessionActivityOptions, b as Act
30
29
  export { TOOL_CATEGORY_ICONS, cn, copyText, formatDuration, getToolCategory, getToolDisplayMetadata, getToolErrorText, timeAgo, truncateText } from './utils.js';
31
30
  import 'class-variance-authority/types';
32
31
  import '@radix-ui/react-dialog';
32
+ import 'class-variance-authority';
33
33
  import '@radix-ui/react-avatar';
34
34
  import '@radix-ui/react-dropdown-menu';
35
35
  import '@radix-ui/react-select';
@@ -50,14 +50,7 @@ declare function useTheme(): {
50
50
  };
51
51
  declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
52
52
 
53
- interface CodeBlockProps extends React__default.HTMLAttributes<HTMLPreElement> {
54
- code: string;
55
- language?: string;
56
- showCopy?: boolean;
57
- showLineNumbers?: boolean;
58
- }
59
- declare function CodeBlock({ code, language, showCopy, showLineNumbers, className, ...props }: CodeBlockProps): react_jsx_runtime.JSX.Element;
60
- interface InlineCodeProps extends React__default.HTMLAttributes<HTMLElement> {
53
+ interface InlineCodeProps extends React.HTMLAttributes<HTMLElement> {
61
54
  }
62
55
  declare function InlineCode({ className, children, ...props }: InlineCodeProps): react_jsx_runtime.JSX.Element;
63
56
 
@@ -68,7 +61,7 @@ interface CommandPreviewProps {
68
61
  * Terminal-style command output preview.
69
62
  * Shows the command, exit code, and stdout/stderr with expand/collapse.
70
63
  */
71
- declare const CommandPreview: React.MemoExoticComponent<({ part }: CommandPreviewProps) => react_jsx_runtime.JSX.Element>;
64
+ declare const CommandPreview: React$1.MemoExoticComponent<({ part }: CommandPreviewProps) => react_jsx_runtime.JSX.Element>;
72
65
 
73
66
  interface WriteFilePreviewProps {
74
67
  part: ToolPart;
@@ -77,31 +70,31 @@ interface WriteFilePreviewProps {
77
70
  * Preview for file write/create operations.
78
71
  * Shows file path, line count, and the written content.
79
72
  */
80
- declare const WriteFilePreview: React.MemoExoticComponent<({ part }: WriteFilePreviewProps) => react_jsx_runtime.JSX.Element | null>;
73
+ declare const WriteFilePreview: React$1.MemoExoticComponent<({ part }: WriteFilePreviewProps) => react_jsx_runtime.JSX.Element | null>;
81
74
 
82
75
  interface GrepResultsPreviewProps {
83
76
  part: ToolPart;
84
77
  }
85
- declare const GrepResultsPreview: React.MemoExoticComponent<({ part }: GrepResultsPreviewProps) => react_jsx_runtime.JSX.Element>;
78
+ declare const GrepResultsPreview: React$1.MemoExoticComponent<({ part }: GrepResultsPreviewProps) => react_jsx_runtime.JSX.Element>;
86
79
 
87
80
  interface GlobResultsPreviewProps {
88
81
  part: ToolPart;
89
82
  }
90
- declare const GlobResultsPreview: React.MemoExoticComponent<({ part }: GlobResultsPreviewProps) => react_jsx_runtime.JSX.Element>;
83
+ declare const GlobResultsPreview: React$1.MemoExoticComponent<({ part }: GlobResultsPreviewProps) => react_jsx_runtime.JSX.Element>;
91
84
 
92
85
  interface WebSearchPreviewProps {
93
86
  part: ToolPart;
94
87
  }
95
- declare const WebSearchPreview: React.MemoExoticComponent<({ part }: WebSearchPreviewProps) => react_jsx_runtime.JSX.Element>;
88
+ declare const WebSearchPreview: React$1.MemoExoticComponent<({ part }: WebSearchPreviewProps) => react_jsx_runtime.JSX.Element>;
96
89
 
97
90
  interface QuestionPreviewProps {
98
91
  part: ToolPart;
99
92
  }
100
- declare const QuestionPreview: React.MemoExoticComponent<({ part }: QuestionPreviewProps) => react_jsx_runtime.JSX.Element>;
93
+ declare const QuestionPreview: React$1.MemoExoticComponent<({ part }: QuestionPreviewProps) => react_jsx_runtime.JSX.Element>;
101
94
 
102
95
  interface DiffPreviewProps {
103
96
  part: ToolPart;
104
97
  }
105
- declare const DiffPreview: React.MemoExoticComponent<({ part }: DiffPreviewProps) => react_jsx_runtime.JSX.Element>;
98
+ declare const DiffPreview: React$1.MemoExoticComponent<({ part }: DiffPreviewProps) => react_jsx_runtime.JSX.Element>;
106
99
 
107
- export { CodeBlock as CodeBlockDisplay, CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, InlineCode, QuestionPreview, ThemeToggle, ToolPart, WebSearchPreview, WriteFilePreview, useTheme };
100
+ export { CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, InlineCode, QuestionPreview, ThemeToggle, ToolPart, WebSearchPreview, WriteFilePreview, useTheme };