@tangle-network/sandbox-ui 0.113.7 → 0.115.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 (107) hide show
  1. package/README.md +40 -0
  2. package/dist/WorkflowGraph-B-NsdYz_.js +1961 -0
  3. package/dist/assets.d.ts +214 -206
  4. package/dist/assets.js +1057 -908
  5. package/dist/auth-CWe17Hly.js +37 -0
  6. package/dist/auth.d.ts +2 -30
  7. package/dist/auth.js +2 -15
  8. package/dist/chat-BOvFAe6p.js +903 -0
  9. package/dist/chat.d.ts +2 -230
  10. package/dist/chat.js +2 -34
  11. package/dist/connectors.d.ts +52 -49
  12. package/dist/connectors.js +595 -643
  13. package/dist/dashboard-CZ3VgNPR.js +4969 -0
  14. package/dist/dashboard.d.ts +4 -1297
  15. package/dist/dashboard.js +4 -152
  16. package/dist/editor.d.ts +2 -1
  17. package/dist/editor.js +2 -31
  18. package/dist/files.d.ts +2 -6
  19. package/dist/files.js +2 -33
  20. package/dist/globals.css +75 -3
  21. package/dist/hooks.d.ts +146 -148
  22. package/dist/hooks.js +222 -55
  23. package/dist/index-CKRaj1pM.d.ts +776 -0
  24. package/dist/index-CXX5IpH2.d.ts +2 -0
  25. package/dist/index-CesPlOyx.d.ts +367 -0
  26. package/dist/index-DPePq7c8.d.ts +1340 -0
  27. package/dist/index-DiyLLZuJ.d.ts +230 -0
  28. package/dist/index-DvmZLMT1.d.ts +30 -0
  29. package/dist/index-PRM636Ex.d.ts +86 -0
  30. package/dist/index.d.ts +21 -33
  31. package/dist/index.js +21 -701
  32. package/dist/info-panel-C9cqDzOL.js +594 -0
  33. package/dist/integrations.d.ts +133 -141
  34. package/dist/integrations.js +491 -673
  35. package/dist/markdown.d.ts +2 -1
  36. package/dist/markdown.js +2 -13
  37. package/dist/model-I-NIxeM-.js +1250 -0
  38. package/dist/model-brand-B9A4H9pJ.d.ts +98 -0
  39. package/dist/model-brand-hMyDTUqB.js +624 -0
  40. package/dist/motion-DkyBRJb9.js +37 -0
  41. package/dist/openui.d.ts +2 -1
  42. package/dist/openui.js +2 -7
  43. package/dist/pages.d.ts +307 -300
  44. package/dist/pages.js +4404 -4181
  45. package/dist/primitives-Dh1vG6J3.js +113 -0
  46. package/dist/primitives.d.ts +2 -74
  47. package/dist/primitives.js +2 -204
  48. package/dist/provider-logo-DjqmConF.js +311 -0
  49. package/dist/run.d.ts +2 -1
  50. package/dist/run.js +2 -23
  51. package/dist/sdk-hooks.d.ts +3 -4
  52. package/dist/sdk-hooks.js +3 -31
  53. package/dist/sidecar-DgH_vQ6m.d.ts +9 -0
  54. package/dist/stores.d.ts +14 -15
  55. package/dist/stores.js +13 -81
  56. package/dist/styles.css +75 -3
  57. package/dist/template-card-L-4gmjx2.d.ts +90 -0
  58. package/dist/terminal-CN9ZgHRt.js +197 -0
  59. package/dist/terminal.d.ts +60 -60
  60. package/dist/terminal.js +2 -10
  61. package/dist/tokens.css +51 -0
  62. package/dist/types.d.ts +4 -11
  63. package/dist/types.js +0 -1
  64. package/dist/use-pty-session-C8cE0adT.js +669 -0
  65. package/dist/use-sidecar-auth-CCTJcrq7.d.ts +145 -0
  66. package/dist/use-sidecar-auth-DkdcufOz.js +742 -0
  67. package/dist/utils-DzWbktWG.js +2 -0
  68. package/dist/utils.d.ts +2 -1
  69. package/dist/utils.js +2 -37
  70. package/dist/workbench-ztU44Jt2.js +8455 -0
  71. package/dist/workbench.d.ts +2 -310
  72. package/dist/workbench.js +2 -44
  73. package/dist/workflows.d.ts +341 -339
  74. package/dist/workflows.js +74 -109
  75. package/dist/workspace-B6AtI6ld.js +2510 -0
  76. package/dist/workspace.d.ts +2 -761
  77. package/dist/workspace.js +2 -51
  78. package/package.json +46 -40
  79. package/dist/WorkflowGraph-2QOORYIR.js +0 -1722
  80. package/dist/chunk-2BUPSB7O.js +0 -0
  81. package/dist/chunk-3KBNPQQF.js +0 -2697
  82. package/dist/chunk-3LIXVEEE.js +0 -279
  83. package/dist/chunk-72UF2H5H.js +0 -707
  84. package/dist/chunk-AI25G5MX.js +0 -944
  85. package/dist/chunk-ANSC5AFC.js +0 -314
  86. package/dist/chunk-AZ3AWMTM.js +0 -8
  87. package/dist/chunk-BGVEHENC.js +0 -10
  88. package/dist/chunk-CZ7CSFO4.js +0 -39
  89. package/dist/chunk-DYXXYGS4.js +0 -4700
  90. package/dist/chunk-EI44GEQ5.js +0 -6
  91. package/dist/chunk-IACRDXER.js +0 -219
  92. package/dist/chunk-IOB2PW5Z.js +0 -55
  93. package/dist/chunk-M4K7ZGR2.js +0 -24
  94. package/dist/chunk-MYZAW4RX.js +0 -665
  95. package/dist/chunk-OMUIPJQZ.js +0 -555
  96. package/dist/chunk-RQZRXKMR.js +0 -398
  97. package/dist/chunk-SOKKTB7W.js +0 -230
  98. package/dist/chunk-TADGS4Q7.js +0 -1010
  99. package/dist/chunk-UCQNOUN3.js +0 -7964
  100. package/dist/chunk-ULPLRBMF.js +0 -34
  101. package/dist/chunk-WID73FPH.js +0 -89
  102. package/dist/chunk-X3YXP7FG.js +0 -38
  103. package/dist/logo-DiAjq759.d.ts +0 -15
  104. package/dist/model-brand-BNnaUKKZ.d.ts +0 -99
  105. package/dist/ports-list-CDIvTNnX.d.ts +0 -17
  106. package/dist/sdk-hooks-Djkjq4cp.d.ts +0 -145
  107. package/dist/template-card-Bn-Bw5xC.d.ts +0 -87
package/dist/index.js CHANGED
@@ -1,701 +1,21 @@
1
- import {
2
- RealtimeSessionRegistry,
3
- createAuthFetcher,
4
- useApiKey,
5
- useAuth,
6
- useAutoScroll,
7
- useCreateSession,
8
- useDeleteSession,
9
- useDropdownMenu,
10
- useLiveTime,
11
- useRealtimeSession,
12
- useRenameSession,
13
- useRunCollapseState,
14
- useRunGroups,
15
- useSSEStream,
16
- useSandboxMetrics,
17
- useSdkSession,
18
- useSessions,
19
- useToolCallStream
20
- } from "./chunk-SOKKTB7W.js";
21
- import {
22
- useSessionStream,
23
- useSidecarAuth
24
- } from "./chunk-72UF2H5H.js";
25
- import {
26
- activeSessionsAtom,
27
- addMessage,
28
- addParts,
29
- bumpActiveSessionActivity,
30
- clearChat,
31
- connectSession,
32
- disconnectSession,
33
- getActiveSession,
34
- getAllActiveSessions,
35
- getAllProjectActivity,
36
- getSessionsByActivity,
37
- getSessionsForNavbar,
38
- getSessionsForProject,
39
- getTotalRunningSessionCount,
40
- hasBackgroundRunningSessions,
41
- isStreamingAtom,
42
- messagesAtom,
43
- partMapAtom,
44
- registerActiveSession,
45
- resetActiveSessions,
46
- sessionAtom,
47
- setActiveSessionAttention,
48
- setActiveSessionConnection,
49
- setActiveSessionError,
50
- setActiveSessionRunning,
51
- setForegroundActiveSession,
52
- unregisterActiveSession,
53
- updateActiveSessionMeta,
54
- updatePart,
55
- useActiveSession,
56
- useActiveSessions,
57
- useActiveSessionsState,
58
- useHasBackgroundRunningSessions,
59
- useNavbarSessions,
60
- useProjectActivity,
61
- useProjectSessions,
62
- useSessionsByActivity,
63
- useTotalRunningSessions
64
- } from "./chunk-WID73FPH.js";
65
- import "./chunk-2BUPSB7O.js";
66
- import {
67
- TOOL_CATEGORY_ICONS,
68
- cn,
69
- copyText,
70
- focusField,
71
- focusFieldInvalid,
72
- focusFieldWithin,
73
- focusRing,
74
- focusRingInset,
75
- formatBytes,
76
- formatDuration,
77
- formatUptime,
78
- getToolCategory,
79
- getToolDisplayMetadata,
80
- getToolErrorText,
81
- timeAgo,
82
- truncateText
83
- } from "./chunk-X3YXP7FG.js";
84
- import {
85
- AuthHeader,
86
- GitHubLoginButton,
87
- LoginLayout,
88
- TangleLoginButton,
89
- UserMenu
90
- } from "./chunk-IOB2PW5Z.js";
91
- import {
92
- AgentProfilePicker,
93
- AgentTimeline,
94
- ArtifactAgentDock,
95
- ChatContainer,
96
- ChatMessage,
97
- DEFAULT_REASONING_LEVEL_OPTIONS,
98
- HARNESS_REASONING_OPTIONS,
99
- MessageList,
100
- ReasoningLevelPicker,
101
- ThinkingIndicator,
102
- UserMessage,
103
- createFetchTransport,
104
- modelProvider,
105
- snapHarnessToModel
106
- } from "./chunk-TADGS4Q7.js";
107
- import {
108
- ExpandedToolDetail,
109
- InlineThinkingItem,
110
- InlineToolItem,
111
- LiveDuration,
112
- RunGroup,
113
- RunRowShell,
114
- RunRowStatusDot,
115
- ToolCallFeed,
116
- parseToolEvent
117
- } from "./chunk-M4K7ZGR2.js";
118
- import {
119
- AgentWorkbench,
120
- ApprovalQueue,
121
- ArtifactPane,
122
- AuditResults,
123
- CalendarView,
124
- DirectoryPane,
125
- RuntimePane,
126
- SESSION_CREATED_EVENT,
127
- SandboxWorkbench,
128
- SessionActivityMonitor,
129
- SessionSidebar,
130
- StatusBanner,
131
- StatusBar,
132
- TaskBoard,
133
- TerminalPanel,
134
- WorkspaceLayout,
135
- WorkspacePaneHeader,
136
- createShellShouldRevalidate,
137
- dispatchSessionCreated,
138
- formatRelativeAge,
139
- shellShouldRevalidate,
140
- useOptimisticSessionItems
141
- } from "./chunk-3KBNPQQF.js";
142
- import {
143
- BRAND_PRISM_THEME,
144
- ChangesPane,
145
- CodeSurface,
146
- CodeView,
147
- DiffStatsBadge,
148
- DiffView,
149
- FileBreadcrumb,
150
- GitStatusBadge,
151
- PanelHeader,
152
- PillTabs,
153
- PreviewView,
154
- SandboxArtifactPane,
155
- buildUnifiedPatch,
156
- computeDiffStats,
157
- resolveLanguage
158
- } from "./chunk-UCQNOUN3.js";
159
- import {
160
- CSV_PREVIEW_ROW_LIMIT,
161
- FileArtifactPane,
162
- FilePreview,
163
- FileTabs,
164
- FileTree,
165
- RichFileTree,
166
- detectFileFormat,
167
- fileExtension,
168
- filterFileTree,
169
- getCodeLanguage,
170
- getFormatLabel,
171
- getSyntaxLanguage,
172
- parseCsv,
173
- resolveFilePreviewKind
174
- } from "./chunk-ULPLRBMF.js";
175
- import {
176
- ActivityFeed,
177
- BackendConfig,
178
- BackendSelector,
179
- ClusterStatusBar,
180
- CreditBalance,
181
- DashboardLayout,
182
- GitPanel,
183
- HARNESS_BRAND,
184
- HARNESS_OPTIONS,
185
- HarnessLogo,
186
- HarnessPicker,
187
- INSUFFICIENT_BALANCE_CODE,
188
- InvoiceTable,
189
- MetricAreaChart,
190
- NetworkConfig,
191
- NewSandboxCard,
192
- OutOfCreditsModal,
193
- PlanCards,
194
- PortsList,
195
- ProcessList,
196
- ProfileAvatar,
197
- ProfileComparison,
198
- ProfileSelector,
199
- PromoBanner,
200
- RailButton,
201
- RailCollapseToggle,
202
- RailExpandable,
203
- RailFlyout,
204
- RailHeader,
205
- RailModeButton,
206
- RailSeparator,
207
- RailThemeToggle,
208
- RailTooltip,
209
- ResourceMeter,
210
- ResourceSnapshot,
211
- SIDEBAR_MOBILE_WIDTH,
212
- SIDEBAR_PANEL_WIDTH,
213
- SIDEBAR_RAIL_LABELED_WIDTH,
214
- SIDEBAR_RAIL_WIDTH,
215
- SIDEBAR_TOTAL_WIDTH,
216
- SandboxCard,
217
- SandboxTable,
218
- Sidebar,
219
- SidebarContent,
220
- SidebarLayout,
221
- SidebarPanel,
222
- SidebarPanelContent,
223
- SidebarPanelHeader,
224
- SidebarProvider,
225
- SidebarRail,
226
- SidebarRailFooter,
227
- SidebarRailHeader,
228
- SidebarRailNav,
229
- SnapshotList,
230
- SystemLogsViewer,
231
- UsageSummary,
232
- VariantList,
233
- canAdminSandbox,
234
- chatCapableHarnesses,
235
- parseInsufficientBalance,
236
- useSidebar
237
- } from "./chunk-DYXXYGS4.js";
238
- import {
239
- BillingDashboard,
240
- InfoPanel,
241
- PricingPage,
242
- TemplateCard,
243
- UsageChart,
244
- formatPrice
245
- } from "./chunk-OMUIPJQZ.js";
246
- import "./chunk-IACRDXER.js";
247
- import {
248
- usePtySession
249
- } from "./chunk-MYZAW4RX.js";
250
- import {
251
- Avatar,
252
- AvatarFallback,
253
- AvatarImage,
254
- Badge,
255
- Button,
256
- Card,
257
- CardContent,
258
- CardDescription,
259
- CardFooter,
260
- CardHeader,
261
- CardTitle,
262
- CodeBlock,
263
- CopyButton,
264
- Dialog,
265
- DialogClose,
266
- DialogContent,
267
- DialogDescription,
268
- DialogFooter,
269
- DialogHeader,
270
- DialogOverlay,
271
- DialogPortal,
272
- DialogTitle,
273
- DialogTrigger,
274
- DropZone,
275
- DropdownMenu,
276
- DropdownMenuCheckboxItem,
277
- DropdownMenuContent,
278
- DropdownMenuGroup,
279
- DropdownMenuItem,
280
- DropdownMenuLabel,
281
- DropdownMenuPortal,
282
- DropdownMenuRadioGroup,
283
- DropdownMenuRadioItem,
284
- DropdownMenuSeparator,
285
- DropdownMenuShortcut,
286
- DropdownMenuSub,
287
- DropdownMenuSubContent,
288
- DropdownMenuSubTrigger,
289
- DropdownMenuTrigger,
290
- EmptyState,
291
- FilterField,
292
- InlineCode,
293
- Input,
294
- Label,
295
- Logo,
296
- Metric,
297
- MetricStrip,
298
- Progress,
299
- SegmentedControl,
300
- Select,
301
- SelectContent,
302
- SelectGroup,
303
- SelectItem,
304
- SelectLabel,
305
- SelectScrollDownButton,
306
- SelectScrollUpButton,
307
- SelectSeparator,
308
- SelectTrigger,
309
- SelectValue,
310
- SidebarDropZone,
311
- Skeleton,
312
- SkeletonCard,
313
- SkeletonTable,
314
- StatCard,
315
- StatusPill,
316
- Switch,
317
- Table,
318
- TableBody,
319
- TableCaption,
320
- TableCell,
321
- TableFooter,
322
- TableHead,
323
- TableHeader,
324
- TableRow,
325
- Tabs,
326
- TabsContent,
327
- TabsList,
328
- TabsTrigger,
329
- TangleKnot,
330
- TerminalDisplay,
331
- TextShimmer,
332
- Textarea,
333
- ThemeToggle,
334
- ToastContainer,
335
- ToastProvider,
336
- Toolbar,
337
- UploadProgress,
338
- badgeVariants,
339
- buttonVariants,
340
- useTheme,
341
- useToast
342
- } from "./chunk-ANSC5AFC.js";
343
- import {
344
- ModelBrandStack,
345
- canonicalModelId,
346
- modelBrandFor
347
- } from "./chunk-RQZRXKMR.js";
348
- import "./chunk-BGVEHENC.js";
349
- import "./chunk-EI44GEQ5.js";
350
- import {
351
- OpenUIArtifactRenderer
352
- } from "./chunk-AZ3AWMTM.js";
353
- import "./chunk-CZ7CSFO4.js";
354
-
355
- // src/index.ts
356
- import { CodeBlock as CodeBlock2 } from "@tangle-network/ui/markdown";
357
- import {
358
- TerminalLine,
359
- TerminalInput,
360
- TerminalCursor
361
- } from "@tangle-network/ui/primitives";
362
- import {
363
- CommandPreview,
364
- WriteFilePreview,
365
- GrepResultsPreview,
366
- GlobResultsPreview,
367
- WebSearchPreview,
368
- QuestionPreview,
369
- DiffPreview
370
- } from "@tangle-network/ui/tool-previews";
371
- import { Markdown } from "@tangle-network/ui/markdown";
372
- export {
373
- ActivityFeed,
374
- AgentProfilePicker,
375
- AgentTimeline,
376
- AgentWorkbench,
377
- ApprovalQueue,
378
- ArtifactAgentDock,
379
- ArtifactPane,
380
- AuditResults,
381
- AuthHeader,
382
- Avatar,
383
- AvatarFallback,
384
- AvatarImage,
385
- BRAND_PRISM_THEME,
386
- BackendConfig,
387
- BackendSelector,
388
- Badge,
389
- BillingDashboard,
390
- Button,
391
- CSV_PREVIEW_ROW_LIMIT,
392
- CalendarView,
393
- Card,
394
- CardContent,
395
- CardDescription,
396
- CardFooter,
397
- CardHeader,
398
- CardTitle,
399
- ChangesPane,
400
- ChatContainer,
401
- ChatMessage,
402
- ClusterStatusBar,
403
- CodeBlock,
404
- CodeBlock2 as CodeBlockDisplay,
405
- CodeSurface,
406
- CodeView,
407
- CommandPreview,
408
- CopyButton,
409
- CreditBalance,
410
- DEFAULT_REASONING_LEVEL_OPTIONS,
411
- DashboardLayout,
412
- Dialog,
413
- DialogClose,
414
- DialogContent,
415
- DialogDescription,
416
- DialogFooter,
417
- DialogHeader,
418
- DialogOverlay,
419
- DialogPortal,
420
- DialogTitle,
421
- DialogTrigger,
422
- DiffPreview,
423
- DiffStatsBadge,
424
- DiffView,
425
- DirectoryPane,
426
- DropZone,
427
- DropdownMenu,
428
- DropdownMenuCheckboxItem,
429
- DropdownMenuContent,
430
- DropdownMenuGroup,
431
- DropdownMenuItem,
432
- DropdownMenuLabel,
433
- DropdownMenuPortal,
434
- DropdownMenuRadioGroup,
435
- DropdownMenuRadioItem,
436
- DropdownMenuSeparator,
437
- DropdownMenuShortcut,
438
- DropdownMenuSub,
439
- DropdownMenuSubContent,
440
- DropdownMenuSubTrigger,
441
- DropdownMenuTrigger,
442
- EmptyState,
443
- ExpandedToolDetail,
444
- FileArtifactPane,
445
- FileBreadcrumb,
446
- FilePreview,
447
- FileTabs,
448
- FileTree,
449
- FilterField,
450
- GitHubLoginButton,
451
- GitPanel,
452
- GitStatusBadge,
453
- GlobResultsPreview,
454
- GrepResultsPreview,
455
- HARNESS_BRAND,
456
- HARNESS_OPTIONS,
457
- HARNESS_REASONING_OPTIONS,
458
- HarnessLogo,
459
- HarnessPicker,
460
- INSUFFICIENT_BALANCE_CODE,
461
- InfoPanel,
462
- InlineCode,
463
- InlineThinkingItem,
464
- InlineToolItem,
465
- Input,
466
- InvoiceTable,
467
- Label,
468
- LiveDuration,
469
- LoginLayout,
470
- Logo,
471
- Markdown,
472
- MessageList,
473
- Metric,
474
- MetricAreaChart,
475
- MetricStrip,
476
- ModelBrandStack,
477
- NetworkConfig,
478
- NewSandboxCard,
479
- OpenUIArtifactRenderer,
480
- OutOfCreditsModal,
481
- PanelHeader,
482
- PillTabs,
483
- PlanCards,
484
- PortsList,
485
- PreviewView,
486
- PricingPage,
487
- ProcessList,
488
- ProfileAvatar,
489
- ProfileComparison,
490
- ProfileSelector,
491
- Progress,
492
- PromoBanner,
493
- QuestionPreview,
494
- RailButton,
495
- RailCollapseToggle,
496
- RailExpandable,
497
- RailFlyout,
498
- RailHeader,
499
- RailModeButton,
500
- RailSeparator,
501
- RailThemeToggle,
502
- RailTooltip,
503
- RealtimeSessionRegistry,
504
- ReasoningLevelPicker,
505
- ResourceMeter,
506
- ResourceSnapshot,
507
- RichFileTree,
508
- RunGroup,
509
- RunRowShell,
510
- RunRowStatusDot,
511
- RuntimePane,
512
- SESSION_CREATED_EVENT,
513
- SIDEBAR_MOBILE_WIDTH,
514
- SIDEBAR_PANEL_WIDTH,
515
- SIDEBAR_RAIL_LABELED_WIDTH,
516
- SIDEBAR_RAIL_WIDTH,
517
- SIDEBAR_TOTAL_WIDTH,
518
- SandboxArtifactPane,
519
- SandboxCard,
520
- SandboxTable,
521
- SandboxWorkbench,
522
- SegmentedControl,
523
- Select,
524
- SelectContent,
525
- SelectGroup,
526
- SelectItem,
527
- SelectLabel,
528
- SelectScrollDownButton,
529
- SelectScrollUpButton,
530
- SelectSeparator,
531
- SelectTrigger,
532
- SelectValue,
533
- SessionActivityMonitor,
534
- SessionSidebar,
535
- Sidebar,
536
- SidebarContent,
537
- SidebarDropZone,
538
- SidebarLayout,
539
- SidebarPanel,
540
- SidebarPanelContent,
541
- SidebarPanelHeader,
542
- SidebarProvider,
543
- SidebarRail,
544
- SidebarRailFooter,
545
- SidebarRailHeader,
546
- SidebarRailNav,
547
- Skeleton,
548
- SkeletonCard,
549
- SkeletonTable,
550
- SnapshotList,
551
- StatCard,
552
- StatusBanner,
553
- StatusBar,
554
- StatusPill,
555
- Switch,
556
- SystemLogsViewer,
557
- TOOL_CATEGORY_ICONS,
558
- Table,
559
- TableBody,
560
- TableCaption,
561
- TableCell,
562
- TableFooter,
563
- TableHead,
564
- TableHeader,
565
- TableRow,
566
- Tabs,
567
- TabsContent,
568
- TabsList,
569
- TabsTrigger,
570
- TangleKnot,
571
- TangleLoginButton,
572
- TaskBoard,
573
- TemplateCard,
574
- TerminalDisplay,
575
- TerminalCursor as TerminalDisplayCursor,
576
- TerminalInput as TerminalDisplayInput,
577
- TerminalLine as TerminalDisplayLine,
578
- TerminalPanel,
579
- TextShimmer,
580
- Textarea,
581
- ThemeToggle,
582
- ThinkingIndicator,
583
- ToastContainer,
584
- ToastProvider,
585
- ToolCallFeed,
586
- Toolbar,
587
- UploadProgress,
588
- UsageChart,
589
- UsageSummary,
590
- UserMenu,
591
- UserMessage,
592
- VariantList,
593
- WebSearchPreview,
594
- WorkspaceLayout,
595
- WorkspacePaneHeader,
596
- WriteFilePreview,
597
- activeSessionsAtom,
598
- addMessage,
599
- addParts,
600
- badgeVariants,
601
- buildUnifiedPatch,
602
- bumpActiveSessionActivity,
603
- buttonVariants,
604
- canAdminSandbox,
605
- canonicalModelId,
606
- chatCapableHarnesses,
607
- clearChat,
608
- cn,
609
- computeDiffStats,
610
- connectSession,
611
- copyText,
612
- createAuthFetcher,
613
- createFetchTransport,
614
- createShellShouldRevalidate,
615
- detectFileFormat,
616
- disconnectSession,
617
- dispatchSessionCreated,
618
- fileExtension,
619
- filterFileTree,
620
- focusField,
621
- focusFieldInvalid,
622
- focusFieldWithin,
623
- focusRing,
624
- focusRingInset,
625
- formatBytes,
626
- formatDuration,
627
- formatPrice,
628
- formatRelativeAge,
629
- formatUptime,
630
- getActiveSession,
631
- getAllActiveSessions,
632
- getAllProjectActivity,
633
- getCodeLanguage,
634
- getFormatLabel,
635
- getSessionsByActivity,
636
- getSessionsForNavbar,
637
- getSessionsForProject,
638
- getSyntaxLanguage,
639
- getToolCategory,
640
- getToolDisplayMetadata,
641
- getToolErrorText,
642
- getTotalRunningSessionCount,
643
- hasBackgroundRunningSessions,
644
- isStreamingAtom,
645
- messagesAtom,
646
- modelBrandFor,
647
- modelProvider,
648
- parseCsv,
649
- parseInsufficientBalance,
650
- parseToolEvent,
651
- partMapAtom,
652
- registerActiveSession,
653
- resetActiveSessions,
654
- resolveFilePreviewKind,
655
- resolveLanguage,
656
- sessionAtom,
657
- setActiveSessionAttention,
658
- setActiveSessionConnection,
659
- setActiveSessionError,
660
- setActiveSessionRunning,
661
- setForegroundActiveSession,
662
- shellShouldRevalidate,
663
- snapHarnessToModel,
664
- timeAgo,
665
- truncateText,
666
- unregisterActiveSession,
667
- updateActiveSessionMeta,
668
- updatePart,
669
- useActiveSession,
670
- useActiveSessions,
671
- useActiveSessionsState,
672
- useApiKey,
673
- useAuth,
674
- useAutoScroll,
675
- useCreateSession,
676
- useDeleteSession,
677
- useDropdownMenu,
678
- useHasBackgroundRunningSessions,
679
- useLiveTime,
680
- useNavbarSessions,
681
- useOptimisticSessionItems,
682
- useProjectActivity,
683
- useProjectSessions,
684
- usePtySession,
685
- useRealtimeSession,
686
- useRenameSession,
687
- useRunCollapseState,
688
- useRunGroups,
689
- useSSEStream,
690
- useSandboxMetrics,
691
- useSdkSession,
692
- useSessionStream,
693
- useSessions,
694
- useSessionsByActivity,
695
- useSidebar,
696
- useSidecarAuth,
697
- useTheme,
698
- useToast,
699
- useToolCallStream,
700
- useTotalRunningSessions
701
- };
1
+ import { a as DiffView, c as CodeView, d as CodeSurface, f as resolveLanguage, g as PillTabs, h as PanelHeader, i as PreviewView, l as FileBreadcrumb, m as GitStatusBadge, n as ChangesPane, o as buildUnifiedPatch, p as DiffStatsBadge, r as SandboxArtifactPane, s as computeDiffStats, t as EmbeddedAppView, u as BRAND_PRISM_THEME } from "./workbench-ztU44Jt2.js";
2
+ import { $ as SelectItem, A as DropdownMenuItem, At as Textarea, B as DropdownMenuTrigger, C as DialogTitle, Ct as TabsList, D as DropdownMenuCheckboxItem, E as DropdownMenu, Et as TerminalDisplay, F as DropdownMenuSeparator, Ft as UploadProgress, G as Label, Gt as TangleKnot, H as FilterField, I as DropdownMenuShortcut, It as badgeVariants, J as Progress, K as Metric, L as DropdownMenuSub, Lt as buttonVariants, M as DropdownMenuPortal, Mt as ToastContainer, N as DropdownMenuRadioGroup, Nt as ToastProvider, O as DropdownMenuContent, P as DropdownMenuRadioItem, Pt as Toolbar, Q as SelectGroup, R as DropdownMenuSubContent, Rt as useTheme, S as DialogPortal, St as TabsContent, T as DropZone, U as InlineCode, V as EmptyState, W as Input, Wt as Logo, X as Select, Y as SegmentedControl, Z as SelectContent, _ as DialogContent, _t as TableFooter, a as Badge, at as SelectValue, b as DialogHeader, bt as TableRow, c as CardContent, ct as SkeletonCard, d as CardHeader, dt as StatusPill, et as SelectLabel, f as CardTitle, ft as Switch, g as DialogClose, gt as TableCell, h as Dialog, ht as TableCaption, i as AvatarImage, it as SelectTrigger, j as DropdownMenuLabel, jt as ThemeToggle, k as DropdownMenuGroup, kt as TextShimmer, l as CardDescription, lt as SkeletonTable, m as CopyButton, mt as TableBody, n as Avatar, nt as SelectScrollUpButton, o as Button, ot as SidebarDropZone, p as CodeBlock, pt as Table, q as MetricStrip, r as AvatarFallback, rt as SelectSeparator, s as Card, st as Skeleton, tt as SelectScrollDownButton, u as CardFooter, ut as StatCard, v as DialogDescription, vt as TableHead, w as DialogTrigger, wt as TabsTrigger, x as DialogOverlay, xt as Tabs, y as DialogFooter, yt as TableHeader, z as DropdownMenuSubTrigger, zt as useToast } from "./primitives-Dh1vG6J3.js";
3
+ import { S as WorkspacePaneHeader, _ as TerminalPanel, a as AuditResults, b as DirectoryPane, c as SessionActivityMonitor, d as SessionSidebar, f as SESSION_CREATED_EVENT, g as RuntimePane, h as formatRelativeAge, i as TaskBoard, l as createShellShouldRevalidate, m as useOptimisticSessionItems, n as ApprovalQueue, o as AgentWorkbench, p as dispatchSessionCreated, r as CalendarView, s as SandboxWorkbench, t as ArtifactPane, u as shellShouldRevalidate, v as StatusBar, x as WorkspaceLayout, y as StatusBanner } from "./workspace-B6AtI6ld.js";
4
+ import { $ as SidebarRailNav, A as ResourceMeter, B as RailFlyout, C as InvoiceTable, D as canAdminSandbox, E as SandboxCard, F as CreditBalance, G as Sidebar, H as RailModeButton, I as ProfileAvatar, J as SidebarPanelContent, K as SidebarContent, L as RailButton, M as INSUFFICIENT_BALANCE_CODE, N as OutOfCreditsModal, O as ActivityFeed, P as parseInsufficientBalance, Q as SidebarRailHeader, R as RailCollapseToggle, S as PlanCards, T as NewSandboxCard, U as RailSeparator, V as RailHeader, W as RailThemeToggle, X as SidebarRail, Y as SidebarPanelHeader, Z as SidebarRailFooter, _ as HarnessPicker, a as ProcessList, at as SIDEBAR_TOTAL_WIDTH, b as HarnessLogo, c as UsageSummary, d as MetricAreaChart, et as RailTooltip, f as ProfileComparison, g as HARNESS_OPTIONS, h as DashboardLayout, i as NetworkConfig, it as SIDEBAR_RAIL_WIDTH, j as ClusterStatusBar, k as ResourceSnapshot, l as SystemLogsViewer, m as SidebarLayout, n as SnapshotList, nt as SIDEBAR_PANEL_WIDTH, o as PortsList, ot as SidebarProvider, p as ProfileSelector, q as SidebarPanel, r as BackendConfig, rt as SIDEBAR_RAIL_LABELED_WIDTH, s as GitPanel, st as useSidebar, t as PromoBanner, tt as SIDEBAR_MOBILE_WIDTH, u as VariantList, v as chatCapableHarnesses, w as SandboxTable, x as BackendSelector, y as HARNESS_BRAND, z as RailExpandable } from "./dashboard-CZ3VgNPR.js";
5
+ import { n as canonicalModelId, r as modelBrandFor, t as ModelBrandStack } from "./model-brand-hMyDTUqB.js";
6
+ import { a as formatPrice, i as PricingPage, n as TemplateCard, o as BillingDashboard, r as UsageChart, t as InfoPanel } from "./info-panel-C9cqDzOL.js";
7
+ import { t as usePtySession } from "./use-pty-session-C8cE0adT.js";
8
+ import { CSV_PREVIEW_ROW_LIMIT, FileArtifactPane, FilePreview, FileTabs, FileTree, RichFileTree, detectFileFormat, fileExtension, filterFileTree, getCodeLanguage, getFormatLabel, getSyntaxLanguage, parseCsv, resolveFilePreviewKind } from "./files.js";
9
+ import { OpenUIArtifactRenderer } from "./openui.js";
10
+ import { a as ThinkingIndicator, c as createFetchTransport, d as AgentProfilePicker, f as DEFAULT_REASONING_LEVEL_OPTIONS, i as MessageList, l as modelProvider, m as ReasoningLevelPicker, n as ChatContainer, o as UserMessage, p as HARNESS_REASONING_OPTIONS, r as ChatMessage, s as ArtifactAgentDock, t as AgentTimeline, u as snapHarnessToModel } from "./chat-BOvFAe6p.js";
11
+ import { ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LiveDuration, RunGroup, RunRowShell, RunRowStatusDot, ToolCallFeed, parseToolEvent } from "./run.js";
12
+ import { a as TangleLoginButton, i as UserMenu, n as GitHubLoginButton, r as LoginLayout, t as AuthHeader } from "./auth-CWe17Hly.js";
13
+ import { i as useSessionStream, t as useSidecarAuth } from "./use-sidecar-auth-DkdcufOz.js";
14
+ import { RealtimeSessionRegistry, createAuthFetcher, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useLiveTime, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessions, useToolCallStream } from "./hooks.js";
15
+ import { activeSessionsAtom, addMessage, addParts, bumpActiveSessionActivity, clearChat, connectSession, disconnectSession, getActiveSession, getAllActiveSessions, getAllProjectActivity, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, messagesAtom, partMapAtom, registerActiveSession, resetActiveSessions, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useHasBackgroundRunningSessions, useNavbarSessions, useProjectActivity, useProjectSessions, useSessionsByActivity, useTotalRunningSessions } from "./stores.js";
16
+ import "./types.js";
17
+ import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatUptime, getToolCategory, getToolDisplayMetadata, getToolErrorText, timeAgo, truncateText } from "./utils.js";
18
+ import { TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine } from "@tangle-network/ui/primitives";
19
+ import { CodeBlock as CodeBlockDisplay, Markdown } from "@tangle-network/ui/markdown";
20
+ import { CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, QuestionPreview, WebSearchPreview, WriteFilePreview } from "@tangle-network/ui/tool-previews";
21
+ export { ActivityFeed, AgentProfilePicker, AgentTimeline, AgentWorkbench, ApprovalQueue, ArtifactAgentDock, ArtifactPane, AuditResults, AuthHeader, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, BackendConfig, BackendSelector, Badge, BillingDashboard, Button, CSV_PREVIEW_ROW_LIMIT, CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChangesPane, ChatContainer, ChatMessage, ClusterStatusBar, CodeBlock, CodeBlockDisplay, CodeSurface, CodeView, CommandPreview, CopyButton, CreditBalance, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, DiffStatsBadge, DiffView, DirectoryPane, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbeddedAppView, EmptyState, ExpandedToolDetail, FileArtifactPane, FileBreadcrumb, FilePreview, FileTabs, FileTree, FilterField, GitHubLoginButton, GitPanel, GitStatusBadge, GlobResultsPreview, GrepResultsPreview, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, InfoPanel, InlineCode, InlineThinkingItem, InlineToolItem, Input, InvoiceTable, Label, LiveDuration, LoginLayout, Logo, Markdown, MessageList, Metric, MetricAreaChart, MetricStrip, ModelBrandStack, NetworkConfig, NewSandboxCard, OpenUIArtifactRenderer, OutOfCreditsModal, PanelHeader, PillTabs, PlanCards, PortsList, PreviewView, PricingPage, ProcessList, ProfileAvatar, ProfileComparison, ProfileSelector, Progress, PromoBanner, QuestionPreview, RailButton, RailCollapseToggle, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailThemeToggle, RailTooltip, RealtimeSessionRegistry, ReasoningLevelPicker, ResourceMeter, ResourceSnapshot, RichFileTree, RunGroup, RunRowShell, RunRowStatusDot, RuntimePane, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxArtifactPane, SandboxCard, SandboxTable, SandboxWorkbench, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SessionActivityMonitor, SessionSidebar, Sidebar, SidebarContent, SidebarDropZone, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailHeader, SidebarRailNav, Skeleton, SkeletonCard, SkeletonTable, SnapshotList, StatCard, StatusBanner, StatusBar, StatusPill, Switch, SystemLogsViewer, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TangleLoginButton, TaskBoard, TemplateCard, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, TerminalPanel, TextShimmer, Textarea, ThemeToggle, ThinkingIndicator, ToastContainer, ToastProvider, ToolCallFeed, Toolbar, UploadProgress, UsageChart, UsageSummary, UserMenu, UserMessage, VariantList, WebSearchPreview, WorkspaceLayout, WorkspacePaneHeader, WriteFilePreview, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, connectSession, copyText, createAuthFetcher, createFetchTransport, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions };