@tangle-network/sandbox-ui 0.14.0 → 0.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/auth.d.ts +1 -74
  2. package/dist/auth.js +1 -4
  3. package/dist/chat.d.ts +1 -136
  4. package/dist/chat.js +2 -15
  5. package/dist/chunk-2BUPSB7O.js +0 -0
  6. package/dist/chunk-3J6FG3FJ.js +18 -0
  7. package/dist/chunk-76IQLPW2.js +206 -0
  8. package/dist/chunk-7ZA5SEK3.js +239 -0
  9. package/dist/chunk-AZ3AWMTM.js +8 -0
  10. package/dist/chunk-CMY7W45U.js +380 -0
  11. package/dist/chunk-EI44GEQ5.js +6 -0
  12. package/dist/chunk-ENMWGVDL.js +858 -0
  13. package/dist/{chunk-5OQ27N57.js → chunk-GPT7VKK6.js} +34 -38
  14. package/dist/chunk-HLZTKSGT.js +2652 -0
  15. package/dist/chunk-JBGKGLD7.js +16 -0
  16. package/dist/chunk-NJNME4J4.js +14 -0
  17. package/dist/chunk-QPAJR74X.js +20 -0
  18. package/dist/chunk-TK46XFLM.js +28 -0
  19. package/dist/chunk-WID73FPH.js +89 -0
  20. package/dist/chunk-YVXK4XRO.js +30 -0
  21. package/dist/dashboard.d.ts +450 -4
  22. package/dist/dashboard.js +20 -891
  23. package/dist/editor.d.ts +1 -120
  24. package/dist/editor.js +1 -5
  25. package/dist/files.d.ts +1 -129
  26. package/dist/files.js +2 -7
  27. package/dist/globals.css +2 -1265
  28. package/dist/hooks.d.ts +114 -11
  29. package/dist/hooks.js +17 -88
  30. package/dist/index.d.ts +24 -99
  31. package/dist/index.js +251 -256
  32. package/dist/markdown.d.ts +1 -29
  33. package/dist/markdown.js +2 -2
  34. package/dist/openui.d.ts +8 -115
  35. package/dist/openui.js +1 -6
  36. package/dist/pages.d.ts +13 -12
  37. package/dist/pages.js +91 -115
  38. package/dist/primitives.d.ts +14 -49
  39. package/dist/primitives.js +69 -77
  40. package/dist/run.d.ts +1 -14
  41. package/dist/run.js +2 -22
  42. package/dist/sdk-hooks.d.ts +3 -283
  43. package/dist/sdk-hooks.js +10 -14
  44. package/dist/stores.d.ts +2 -14
  45. package/dist/stores.js +11 -39
  46. package/dist/styles.css +2 -1265
  47. package/dist/template-card-DStb8boW.d.ts +183 -0
  48. package/dist/types.d.ts +11 -8
  49. package/dist/types.js +1 -0
  50. package/dist/utils.d.ts +1 -44
  51. package/dist/utils.js +6 -12
  52. package/dist/workspace.d.ts +5 -10
  53. package/dist/workspace.js +3 -19
  54. package/package.json +19 -54
  55. package/dist/active-sessions-store-CeOmXgv5.d.ts +0 -85
  56. package/dist/artifact-pane-Bh45Ssco.d.ts +0 -24
  57. package/dist/branding-DCi5VEik.d.ts +0 -13
  58. package/dist/button-CMQuQEW_.d.ts +0 -17
  59. package/dist/chat-container-f4yEs6KN.d.ts +0 -106
  60. package/dist/chunk-34A66VBG.js +0 -214
  61. package/dist/chunk-34I7UFSX.js +0 -92
  62. package/dist/chunk-36QY2W5G.js +0 -802
  63. package/dist/chunk-4CLN43XT.js +0 -45
  64. package/dist/chunk-54SQQMMM.js +0 -156
  65. package/dist/chunk-66EZOYZR.js +0 -102
  66. package/dist/chunk-BX6AQMUS.js +0 -183
  67. package/dist/chunk-DI3NZ5ZX.js +0 -192
  68. package/dist/chunk-DPGIXDAI.js +0 -220
  69. package/dist/chunk-DXMIEK4K.js +0 -1426
  70. package/dist/chunk-GSZA3TSY.js +0 -79
  71. package/dist/chunk-HB5Y37YU.js +0 -54
  72. package/dist/chunk-LQNEZDRM.js +0 -109
  73. package/dist/chunk-MA7YKRUP.js +0 -131
  74. package/dist/chunk-MKTSMWVD.js +0 -109
  75. package/dist/chunk-MQXABZTB.js +0 -1348
  76. package/dist/chunk-MT5FJ3ZT.js +0 -186
  77. package/dist/chunk-NKUPJC34.js +0 -2070
  78. package/dist/chunk-OEX7NZE3.js +0 -321
  79. package/dist/chunk-OKLQVY3Y.js +0 -139
  80. package/dist/chunk-Q56BYXQF.js +0 -61
  81. package/dist/chunk-QD4QE5P5.js +0 -40
  82. package/dist/chunk-QDH5GEGY.js +0 -630
  83. package/dist/chunk-QID2OOMG.js +0 -133
  84. package/dist/chunk-QMU2PWOU.js +0 -493
  85. package/dist/chunk-RQHJBTEU.js +0 -10
  86. package/dist/chunk-T7HMZEVO.js +0 -216
  87. package/dist/chunk-U6QTHMY6.js +0 -1290
  88. package/dist/chunk-US6JKJKH.js +0 -124
  89. package/dist/chunk-VX3XOUEB.js +0 -63
  90. package/dist/chunk-XLG757B6.js +0 -933
  91. package/dist/chunk-ZMNSRDMH.js +0 -127
  92. package/dist/chunk-ZNCEM5CD.js +0 -316
  93. package/dist/document-editor-pane-A70-EhdQ.d.ts +0 -124
  94. package/dist/document-editor-pane-TLPVRBBU.js +0 -11
  95. package/dist/expanded-tool-detail-Dh99mcbY.d.ts +0 -63
  96. package/dist/file-tabs-BLfxfmAH.d.ts +0 -51
  97. package/dist/parts-CyGkM6Fp.d.ts +0 -50
  98. package/dist/run-CtFZ6s-D.d.ts +0 -41
  99. package/dist/sidebar-drop-zone-tDBsuOH5.d.ts +0 -301
  100. package/dist/sidecar-CFU2W9j1.d.ts +0 -8
  101. package/dist/template-card-BAtvcAkU.d.ts +0 -18
  102. package/dist/tool-call-feed-Bs3MyQMT.d.ts +0 -68
  103. package/dist/tool-display-Ct9nFAzJ.d.ts +0 -32
  104. package/dist/usage-chart-CPTcNlGs.d.ts +0 -73
  105. package/dist/use-sandbox-metrics-DWc0k9Xm.d.ts +0 -153
  106. package/dist/variant-list-BrHYcBCk.d.ts +0 -540
package/dist/index.js CHANGED
@@ -1,7 +1,17 @@
1
+ import "./chunk-2BUPSB7O.js";
1
2
  import {
3
+ TOOL_CATEGORY_ICONS,
4
+ cn,
2
5
  copyText,
3
- timeAgo
4
- } from "./chunk-QD4QE5P5.js";
6
+ formatBytes,
7
+ formatDuration,
8
+ formatUptime,
9
+ getToolCategory,
10
+ getToolDisplayMetadata,
11
+ getToolErrorText,
12
+ timeAgo,
13
+ truncateText
14
+ } from "./chunk-TK46XFLM.js";
5
15
  import {
6
16
  CollaboratorsList,
7
17
  DocumentEditorPane,
@@ -15,85 +25,100 @@ import {
15
25
  useEditorConnection,
16
26
  useEditorContext,
17
27
  useYjsState
18
- } from "./chunk-U6QTHMY6.js";
28
+ } from "./chunk-YVXK4XRO.js";
19
29
  import {
20
30
  AuthHeader,
21
31
  GitHubLoginButton,
22
32
  LoginLayout,
23
33
  UserMenu
24
- } from "./chunk-DI3NZ5ZX.js";
34
+ } from "./chunk-NJNME4J4.js";
25
35
  import {
36
+ RealtimeSessionRegistry,
26
37
  createAuthFetcher,
27
38
  useApiKey,
28
39
  useAuth,
29
- useLiveTime,
30
- useSandboxMetrics
31
- } from "./chunk-DPGIXDAI.js";
32
- import {
33
- usePtySession
34
- } from "./chunk-AG7QDC2Q.js";
35
- import {
36
- RealtimeSessionRegistry,
40
+ useAutoScroll,
41
+ useCreateSession,
42
+ useDeleteSession,
37
43
  useDropdownMenu,
44
+ useLiveTime,
38
45
  useRealtimeSession,
46
+ useRenameSession,
47
+ useRunCollapseState,
48
+ useRunGroups,
39
49
  useSSEStream,
50
+ useSandboxMetrics,
40
51
  useSdkSession,
41
- useSessionStream,
42
- useSidecarAuth,
52
+ useSessions,
43
53
  useToolCallStream
44
- } from "./chunk-DXMIEK4K.js";
54
+ } from "./chunk-76IQLPW2.js";
45
55
  import {
46
- DropZone,
47
- Label,
48
- Select,
49
- SelectContent,
50
- SelectGroup,
51
- SelectItem,
52
- SelectLabel,
53
- SelectScrollDownButton,
54
- SelectScrollUpButton,
55
- SelectSeparator,
56
- SelectTrigger,
57
- SelectValue,
58
- SidebarDropZone,
59
- Switch,
60
- TerminalCursor,
61
- TerminalDisplay,
62
- TerminalInput,
63
- TerminalLine,
64
- ToastContainer,
65
- ToastProvider,
66
- UploadProgress,
67
- useToast
68
- } from "./chunk-36QY2W5G.js";
69
- import {
70
- Dialog,
71
- DialogClose,
72
- DialogContent,
73
- DialogDescription,
74
- DialogFooter,
75
- DialogHeader,
76
- DialogOverlay,
77
- DialogPortal,
78
- DialogTitle,
79
- DialogTrigger
80
- } from "./chunk-US6JKJKH.js";
56
+ usePtySession
57
+ } from "./chunk-AG7QDC2Q.js";
81
58
  import {
82
- Tabs,
83
- TabsContent,
84
- TabsList,
85
- TabsTrigger
86
- } from "./chunk-Q56BYXQF.js";
59
+ useSessionStream,
60
+ useSidecarAuth
61
+ } from "./chunk-CMY7W45U.js";
62
+ import {
63
+ activeSessionsAtom,
64
+ addMessage,
65
+ addParts,
66
+ bumpActiveSessionActivity,
67
+ clearChat,
68
+ connectSession,
69
+ disconnectSession,
70
+ getActiveSession,
71
+ getAllActiveSessions,
72
+ getAllProjectActivity,
73
+ getSessionsByActivity,
74
+ getSessionsForNavbar,
75
+ getSessionsForProject,
76
+ getTotalRunningSessionCount,
77
+ hasBackgroundRunningSessions,
78
+ isStreamingAtom,
79
+ messagesAtom,
80
+ partMapAtom,
81
+ registerActiveSession,
82
+ resetActiveSessions,
83
+ sessionAtom,
84
+ setActiveSessionAttention,
85
+ setActiveSessionConnection,
86
+ setActiveSessionError,
87
+ setActiveSessionRunning,
88
+ setForegroundActiveSession,
89
+ unregisterActiveSession,
90
+ updateActiveSessionMeta,
91
+ updatePart,
92
+ useActiveSession,
93
+ useActiveSessions,
94
+ useActiveSessionsState,
95
+ useHasBackgroundRunningSessions,
96
+ useNavbarSessions,
97
+ useProjectActivity,
98
+ useProjectSessions,
99
+ useSessionsByActivity,
100
+ useTotalRunningSessions
101
+ } from "./chunk-WID73FPH.js";
87
102
  import {
88
- ChatMessage
89
- } from "./chunk-GSZA3TSY.js";
103
+ AgentTimeline,
104
+ ChatContainer,
105
+ ChatInput,
106
+ ChatMessage,
107
+ MessageList,
108
+ ThinkingIndicator,
109
+ UserMessage
110
+ } from "./chunk-QPAJR74X.js";
90
111
  import {
91
- ToolCallFeed,
92
- parseToolEvent
93
- } from "./chunk-QID2OOMG.js";
112
+ ExpandedToolDetail,
113
+ InlineThinkingItem,
114
+ InlineToolItem,
115
+ LiveDuration,
116
+ RunGroup
117
+ } from "./chunk-JBGKGLD7.js";
94
118
  import {
95
119
  AgentWorkbench,
96
120
  ApprovalQueue,
121
+ ArtifactPane,
97
122
  AuditResults,
98
123
  CalendarView,
99
124
  DirectoryPane,
@@ -106,101 +131,37 @@ import {
106
131
  TaskBoard,
107
132
  TerminalPanel,
108
133
  WorkspaceLayout
109
- } from "./chunk-5OQ27N57.js";
110
- import "./chunk-OEX7NZE3.js";
111
- import {
112
- EmptyState,
113
- Input,
114
- Textarea
115
- } from "./chunk-MA7YKRUP.js";
116
- import {
117
- AgentTimeline,
118
- ChatContainer,
119
- ChatInput,
120
- MessageList,
121
- ThinkingIndicator,
122
- UserMessage
123
- } from "./chunk-XLG757B6.js";
134
+ } from "./chunk-GPT7VKK6.js";
124
135
  import {
125
- useAutoScroll,
126
- useRunCollapseState,
127
- useRunGroups
128
- } from "./chunk-54SQQMMM.js";
129
- import {
130
- CommandPreview,
131
- DiffPreview,
132
- ExpandedToolDetail,
133
- GlobResultsPreview,
134
- GrepResultsPreview,
135
- InlineThinkingItem,
136
- InlineToolItem,
137
- QuestionPreview,
138
- RunGroup,
139
- WebSearchPreview,
140
- WriteFilePreview
141
- } from "./chunk-MQXABZTB.js";
142
- import {
143
- formatBytes,
144
- formatDuration,
145
- formatUptime,
146
- truncateText
147
- } from "./chunk-4CLN43XT.js";
148
- import {
149
- ToolCallGroup,
150
- ToolCallStep
151
- } from "./chunk-MT5FJ3ZT.js";
152
- import {
153
- TOOL_CATEGORY_ICONS,
154
- getToolCategory,
155
- getToolDisplayMetadata,
156
- getToolErrorText
157
- } from "./chunk-BX6AQMUS.js";
158
- import {
159
- InlineCode,
160
136
  OpenUIArtifactRenderer
161
- } from "./chunk-ZNCEM5CD.js";
162
- import {
163
- Table,
164
- TableBody,
165
- TableCaption,
166
- TableCell,
167
- TableFooter,
168
- TableHead,
169
- TableHeader,
170
- TableRow
171
- } from "./chunk-34I7UFSX.js";
172
- import {
173
- RichFileTree
174
- } from "./chunk-LQNEZDRM.js";
137
+ } from "./chunk-AZ3AWMTM.js";
175
138
  import {
176
139
  FileArtifactPane,
177
140
  FilePreview,
178
141
  FileTabs,
179
142
  FileTree,
143
+ RichFileTree,
180
144
  filterFileTree
181
- } from "./chunk-QDH5GEGY.js";
182
- import {
183
- ArtifactPane
184
- } from "./chunk-HB5Y37YU.js";
185
- import {
186
- CodeBlock,
187
- CopyButton,
188
- Markdown
189
- } from "./chunk-T7HMZEVO.js";
145
+ } from "./chunk-3J6FG3FJ.js";
190
146
  import {
147
+ BackendConfig,
191
148
  BackendSelector,
192
149
  ClusterStatusBar,
193
150
  CreditBalance,
194
151
  DashboardLayout,
152
+ GitPanel,
195
153
  HARNESS_OPTIONS,
196
154
  HarnessPicker,
197
155
  InvoiceTable,
198
- ModelPicker,
156
+ NetworkConfig,
199
157
  NewSandboxCard,
200
158
  PlanCards,
159
+ PortsList,
160
+ ProcessList,
201
161
  ProfileAvatar,
202
162
  ProfileComparison,
203
163
  ProfileSelector,
164
+ PromoBanner,
204
165
  RailButton,
205
166
  RailModeButton,
206
167
  RailSeparator,
@@ -221,26 +182,50 @@ import {
221
182
  SidebarRailFooter,
222
183
  SidebarRailHeader,
223
184
  SidebarRailNav,
185
+ SnapshotList,
186
+ SystemLogsViewer,
187
+ UsageSummary,
224
188
  VariantList,
225
- canonicalModelId,
226
- formatContext,
227
- formatPricing,
189
+ canAdminSandbox,
228
190
  useSidebar
229
- } from "./chunk-NKUPJC34.js";
191
+ } from "./chunk-HLZTKSGT.js";
230
192
  import {
231
193
  BillingDashboard,
194
+ InfoPanel,
195
+ ModelPicker,
232
196
  PricingPage,
233
- UsageChart
234
- } from "./chunk-QMU2PWOU.js";
235
- import {
236
- Logo,
237
- StatCard,
238
- TangleKnot
239
- } from "./chunk-OKLQVY3Y.js";
197
+ TemplateCard,
198
+ UsageChart,
199
+ canonicalModelId,
200
+ formatContext,
201
+ formatPrice,
202
+ formatPricing
203
+ } from "./chunk-ENMWGVDL.js";
240
204
  import {
241
205
  Avatar,
242
206
  AvatarFallback,
243
207
  AvatarImage,
208
+ Badge,
209
+ Button,
210
+ Card,
211
+ CardContent,
212
+ CardDescription,
213
+ CardFooter,
214
+ CardHeader,
215
+ CardTitle,
216
+ CodeBlock,
217
+ CopyButton,
218
+ Dialog,
219
+ DialogClose,
220
+ DialogContent,
221
+ DialogDescription,
222
+ DialogFooter,
223
+ DialogHeader,
224
+ DialogOverlay,
225
+ DialogPortal,
226
+ DialogTitle,
227
+ DialogTrigger,
228
+ DropZone,
244
229
  DropdownMenu,
245
230
  DropdownMenuCheckboxItem,
246
231
  DropdownMenuContent,
@@ -255,116 +240,73 @@ import {
255
240
  DropdownMenuSub,
256
241
  DropdownMenuSubContent,
257
242
  DropdownMenuSubTrigger,
258
- DropdownMenuTrigger
259
- } from "./chunk-34A66VBG.js";
260
- import {
243
+ DropdownMenuTrigger,
244
+ EmptyState,
245
+ InlineCode,
246
+ Input,
247
+ Label,
248
+ Logo,
261
249
  Progress,
250
+ SegmentedControl,
251
+ Select,
252
+ SelectContent,
253
+ SelectGroup,
254
+ SelectItem,
255
+ SelectLabel,
256
+ SelectScrollDownButton,
257
+ SelectScrollUpButton,
258
+ SelectSeparator,
259
+ SelectTrigger,
260
+ SelectValue,
261
+ SidebarDropZone,
262
262
  Skeleton,
263
263
  SkeletonCard,
264
- SkeletonTable
265
- } from "./chunk-66EZOYZR.js";
266
- import {
267
- Badge,
268
- Card,
269
- CardContent,
270
- CardDescription,
271
- CardFooter,
272
- CardHeader,
273
- CardTitle,
274
- badgeVariants
275
- } from "./chunk-ZMNSRDMH.js";
264
+ SkeletonTable,
265
+ StatCard,
266
+ Switch,
267
+ Table,
268
+ TableBody,
269
+ TableCaption,
270
+ TableCell,
271
+ TableFooter,
272
+ TableHead,
273
+ TableHeader,
274
+ TableRow,
275
+ Tabs,
276
+ TabsContent,
277
+ TabsList,
278
+ TabsTrigger,
279
+ TangleKnot,
280
+ TerminalDisplay,
281
+ Textarea,
282
+ ThemeToggle,
283
+ ToastContainer,
284
+ ToastProvider,
285
+ UploadProgress,
286
+ badgeVariants,
287
+ buttonVariants,
288
+ useTheme,
289
+ useToast
290
+ } from "./chunk-7ZA5SEK3.js";
291
+ import "./chunk-EI44GEQ5.js";
292
+
293
+ // src/index.ts
294
+ import { CodeBlock as CodeBlock2 } from "@tangle-network/ui/markdown";
276
295
  import {
277
- Button,
278
- buttonVariants
279
- } from "./chunk-MKTSMWVD.js";
296
+ TerminalLine,
297
+ TerminalInput,
298
+ TerminalCursor
299
+ } from "@tangle-network/ui/primitives";
280
300
  import {
281
- cn
282
- } from "./chunk-RQHJBTEU.js";
283
-
284
- // src/primitives/theme-toggle.tsx
285
- import { useCallback, useEffect, useState } from "react";
286
- import { jsx, jsxs } from "react/jsx-runtime";
287
- function getSystemTheme() {
288
- return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
289
- }
290
- function applyTheme(theme) {
291
- const resolved = theme === "system" ? getSystemTheme() : theme;
292
- document.documentElement.classList.toggle("dark", resolved === "dark");
293
- }
294
- function useTheme() {
295
- const [theme, setThemeState] = useState(() => {
296
- if (typeof window === "undefined") return "system";
297
- return localStorage.getItem("theme") ?? "system";
298
- });
299
- const setTheme = useCallback((next) => {
300
- setThemeState(next);
301
- if (next === "system") {
302
- localStorage.removeItem("theme");
303
- } else {
304
- localStorage.setItem("theme", next);
305
- }
306
- applyTheme(next);
307
- }, []);
308
- useEffect(() => {
309
- applyTheme(theme);
310
- if (theme !== "system") return;
311
- const mq = window.matchMedia("(prefers-color-scheme: dark)");
312
- const handler = () => applyTheme("system");
313
- mq.addEventListener("change", handler);
314
- return () => mq.removeEventListener("change", handler);
315
- }, [theme]);
316
- return { theme, setTheme };
317
- }
318
- var iconClass = "h-4 w-4";
319
- function SunIcon() {
320
- return /* @__PURE__ */ jsxs(
321
- "svg",
322
- {
323
- xmlns: "http://www.w3.org/2000/svg",
324
- viewBox: "0 0 24 24",
325
- fill: "none",
326
- stroke: "currentColor",
327
- strokeWidth: 2,
328
- strokeLinecap: "round",
329
- strokeLinejoin: "round",
330
- className: iconClass,
331
- children: [
332
- /* @__PURE__ */ jsx("circle", { cx: 12, cy: 12, r: 5 }),
333
- /* @__PURE__ */ jsx("path", { d: "M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42" })
334
- ]
335
- }
336
- );
337
- }
338
- function MoonIcon() {
339
- return /* @__PURE__ */ jsx(
340
- "svg",
341
- {
342
- xmlns: "http://www.w3.org/2000/svg",
343
- viewBox: "0 0 24 24",
344
- fill: "none",
345
- stroke: "currentColor",
346
- strokeWidth: 2,
347
- strokeLinecap: "round",
348
- strokeLinejoin: "round",
349
- className: iconClass,
350
- children: /* @__PURE__ */ jsx("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" })
351
- }
352
- );
353
- }
354
- function ThemeToggle() {
355
- const { theme, setTheme } = useTheme();
356
- const resolved = theme === "system" ? getSystemTheme() : theme;
357
- return /* @__PURE__ */ jsx(
358
- "button",
359
- {
360
- type: "button",
361
- onClick: () => setTheme(resolved === "dark" ? "light" : "dark"),
362
- className: "inline-flex items-center justify-center rounded-md p-2 text-muted-foreground hover:bg-accent hover:text-accent-foreground transition-colors",
363
- "aria-label": `Switch to ${resolved === "dark" ? "light" : "dark"} mode`,
364
- children: resolved === "dark" ? /* @__PURE__ */ jsx(SunIcon, {}) : /* @__PURE__ */ jsx(MoonIcon, {})
365
- }
366
- );
367
- }
301
+ CommandPreview,
302
+ WriteFilePreview,
303
+ GrepResultsPreview,
304
+ GlobResultsPreview,
305
+ WebSearchPreview,
306
+ QuestionPreview,
307
+ DiffPreview
308
+ } from "@tangle-network/ui/tool-previews";
309
+ import { Markdown } from "@tangle-network/ui/markdown";
368
310
  export {
369
311
  AgentTimeline,
370
312
  AgentWorkbench,
@@ -375,6 +317,7 @@ export {
375
317
  Avatar,
376
318
  AvatarFallback,
377
319
  AvatarImage,
320
+ BackendConfig,
378
321
  BackendSelector,
379
322
  Badge,
380
323
  BillingDashboard,
@@ -391,7 +334,7 @@ export {
391
334
  ChatMessage,
392
335
  ClusterStatusBar,
393
336
  CodeBlock,
394
- CodeBlock as CodeBlockDisplay,
337
+ CodeBlock2 as CodeBlockDisplay,
395
338
  CollaboratorsList,
396
339
  CommandPreview,
397
340
  CopyButton,
@@ -435,29 +378,36 @@ export {
435
378
  FileTabs,
436
379
  FileTree,
437
380
  GitHubLoginButton,
381
+ GitPanel,
438
382
  GlobResultsPreview,
439
383
  GrepResultsPreview,
440
384
  HARNESS_OPTIONS,
441
385
  HarnessPicker,
386
+ InfoPanel,
442
387
  InlineCode,
443
388
  InlineThinkingItem,
444
389
  InlineToolItem,
445
390
  Input,
446
391
  InvoiceTable,
447
392
  Label,
393
+ LiveDuration,
448
394
  LoginLayout,
449
395
  Logo,
450
396
  Markdown,
451
397
  MessageList,
452
398
  ModelPicker,
399
+ NetworkConfig,
453
400
  NewSandboxCard,
454
401
  OpenUIArtifactRenderer,
455
402
  PlanCards,
456
- PricingPage as PricingCards,
403
+ PortsList,
404
+ PricingPage,
405
+ ProcessList,
457
406
  ProfileAvatar,
458
407
  ProfileComparison,
459
408
  ProfileSelector,
460
409
  Progress,
410
+ PromoBanner,
461
411
  QuestionPreview,
462
412
  RailButton,
463
413
  RailModeButton,
@@ -474,6 +424,7 @@ export {
474
424
  SandboxCard,
475
425
  SandboxTable,
476
426
  SandboxWorkbench,
427
+ SegmentedControl,
477
428
  Select,
478
429
  SelectContent,
479
430
  SelectGroup,
@@ -500,10 +451,12 @@ export {
500
451
  Skeleton,
501
452
  SkeletonCard,
502
453
  SkeletonTable,
454
+ SnapshotList,
503
455
  StatCard,
504
456
  StatusBanner,
505
457
  StatusBar,
506
458
  Switch,
459
+ SystemLogsViewer,
507
460
  TOOL_CATEGORY_ICONS,
508
461
  Table,
509
462
  TableBody,
@@ -519,6 +472,7 @@ export {
519
472
  TabsTrigger,
520
473
  TangleKnot,
521
474
  TaskBoard,
475
+ TemplateCard,
522
476
  TerminalDisplay,
523
477
  TerminalCursor as TerminalDisplayCursor,
524
478
  TerminalInput as TerminalDisplayInput,
@@ -530,58 +484,99 @@ export {
530
484
  TiptapEditor,
531
485
  ToastContainer,
532
486
  ToastProvider,
533
- ToolCallFeed,
534
- ToolCallGroup,
535
- ToolCallStep,
536
487
  UploadProgress,
537
488
  UsageChart,
489
+ UsageSummary,
538
490
  UserMenu,
539
491
  UserMessage,
540
492
  VariantList,
541
493
  WebSearchPreview,
542
494
  WorkspaceLayout,
543
495
  WriteFilePreview,
496
+ activeSessionsAtom,
497
+ addMessage,
498
+ addParts,
544
499
  badgeVariants,
500
+ bumpActiveSessionActivity,
545
501
  buttonVariants,
502
+ canAdminSandbox,
546
503
  canonicalModelId,
504
+ clearChat,
547
505
  cn,
506
+ connectSession,
548
507
  copyText,
549
508
  createAuthFetcher,
509
+ disconnectSession,
550
510
  filterFileTree,
551
511
  formatBytes,
552
512
  formatContext,
553
513
  formatDuration,
514
+ formatPrice,
554
515
  formatPricing,
555
516
  formatUptime,
517
+ getActiveSession,
518
+ getAllActiveSessions,
519
+ getAllProjectActivity,
520
+ getSessionsByActivity,
521
+ getSessionsForNavbar,
522
+ getSessionsForProject,
556
523
  getToolCategory,
557
524
  getToolDisplayMetadata,
558
525
  getToolErrorText,
559
- parseToolEvent,
526
+ getTotalRunningSessionCount,
527
+ hasBackgroundRunningSessions,
528
+ isStreamingAtom,
529
+ messagesAtom,
530
+ partMapAtom,
531
+ registerActiveSession,
532
+ resetActiveSessions,
533
+ sessionAtom,
534
+ setActiveSessionAttention,
535
+ setActiveSessionConnection,
536
+ setActiveSessionError,
537
+ setActiveSessionRunning,
538
+ setForegroundActiveSession,
560
539
  timeAgo,
561
540
  truncateText,
541
+ unregisterActiveSession,
542
+ updateActiveSessionMeta,
543
+ updatePart,
544
+ useActiveSession,
545
+ useActiveSessions,
546
+ useActiveSessionsState,
562
547
  useApiKey,
563
548
  useAuth,
564
549
  useAutoScroll,
565
550
  useAwareness,
566
551
  useCollaboratorPresence,
567
552
  useCollaborators,
553
+ useCreateSession,
554
+ useDeleteSession,
568
555
  useDocumentChanges,
569
556
  useDropdownMenu,
570
557
  useEditorConnection,
571
558
  useEditorContext,
559
+ useHasBackgroundRunningSessions,
572
560
  useLiveTime,
561
+ useNavbarSessions,
562
+ useProjectActivity,
563
+ useProjectSessions,
573
564
  usePtySession,
574
565
  useRealtimeSession,
566
+ useRenameSession,
575
567
  useRunCollapseState,
576
568
  useRunGroups,
577
569
  useSSEStream,
578
570
  useSandboxMetrics,
579
571
  useSdkSession,
580
572
  useSessionStream,
573
+ useSessions,
574
+ useSessionsByActivity,
581
575
  useSidebar,
582
576
  useSidecarAuth,
583
577
  useTheme,
584
578
  useToast,
585
579
  useToolCallStream,
580
+ useTotalRunningSessions,
586
581
  useYjsState
587
582
  };