@tangle-network/sandbox-ui 0.6.1 → 0.8.4

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 (67) hide show
  1. package/dist/auth.d.ts +10 -6
  2. package/dist/auth.js +3 -3
  3. package/dist/{chat-container-Cg-GwyiK.d.ts → chat-container-f4yEs6KN.d.ts} +9 -1
  4. package/dist/chat.d.ts +12 -2
  5. package/dist/chat.js +10 -10
  6. package/dist/{chunk-TSE423UF.js → chunk-2QZ6G7NM.js} +6 -6
  7. package/dist/{chunk-WBQ7VULC.js → chunk-34A66VBG.js} +7 -7
  8. package/dist/{chunk-JP725R4W.js → chunk-34I7UFSX.js} +2 -2
  9. package/dist/{chunk-YS66Q3RC.js → chunk-3CJ2SOEI.js} +2 -2
  10. package/dist/{chunk-CNWVHQFY.js → chunk-54SQQMMM.js} +6 -24
  11. package/dist/{chunk-DLCFZDGX.js → chunk-5UM2XMEJ.js} +39 -14
  12. package/dist/{chunk-YYGECNZZ.js → chunk-66EZOYZR.js} +3 -3
  13. package/dist/chunk-7U2Z23NE.js +49 -0
  14. package/dist/{chunk-RKXIRRKQ.js → chunk-BUOQTBTO.js} +70 -66
  15. package/dist/{chunk-DCPYTL4W.js → chunk-D4CZWJCD.js} +72 -148
  16. package/dist/{chunk-MXRQ4MJE.js → chunk-DXMIEK4K.js} +34 -23
  17. package/dist/{chunk-ZMWWE5RF.js → chunk-EXSOPXIY.js} +141 -123
  18. package/dist/{chunk-GW4GRAWJ.js → chunk-GSZA3TSY.js} +18 -12
  19. package/dist/{chunk-W4LM3QYZ.js → chunk-HB5Y37YU.js} +8 -8
  20. package/dist/{chunk-E2XT3G52.js → chunk-HFMAXUHV.js} +136 -137
  21. package/dist/{chunk-BRBTD7RH.js → chunk-MA7YKRUP.js} +28 -18
  22. package/dist/{chunk-MJUDMVRU.js → chunk-MT5FJ3ZT.js} +17 -17
  23. package/dist/chunk-OKLQVY3Y.js +139 -0
  24. package/dist/{chunk-KH5UDAJ2.js → chunk-QDH5GEGY.js} +58 -54
  25. package/dist/{chunk-33W2TLUL.js → chunk-QID2OOMG.js} +12 -3
  26. package/dist/{chunk-FJSVPBKY.js → chunk-S7OXQTST.js} +17 -3
  27. package/dist/chunk-T7HMZEVO.js +216 -0
  28. package/dist/{chunk-FNYJFCGU.js → chunk-U6QTHMY6.js} +145 -256
  29. package/dist/{chunk-565V6JTN.js → chunk-UXQMIR3D.js} +60 -99
  30. package/dist/{chunk-XTPAWK7L.js → chunk-VOUV7GGB.js} +25 -47
  31. package/dist/{chunk-OVNLOE3Y.js → chunk-WXK43R62.js} +41 -41
  32. package/dist/{chunk-6V4XVKFY.js → chunk-XXDFEF72.js} +340 -335
  33. package/dist/{chunk-TDYQBLL5.js → chunk-ZMNSRDMH.js} +6 -6
  34. package/dist/dashboard.d.ts +135 -3
  35. package/dist/dashboard.js +848 -8
  36. package/dist/{document-editor-pane-DWWUTTTZ.js → document-editor-pane-TLPVRBBU.js} +3 -3
  37. package/dist/editor.d.ts +9 -8
  38. package/dist/editor.js +3 -3
  39. package/dist/files.js +3 -3
  40. package/dist/globals.css +5304 -68
  41. package/dist/hooks.d.ts +1 -1
  42. package/dist/hooks.js +7 -7
  43. package/dist/index.d.ts +4 -4
  44. package/dist/index.js +28 -28
  45. package/dist/markdown.js +1 -1
  46. package/dist/openui.js +5 -5
  47. package/dist/pages.d.ts +47 -3
  48. package/dist/pages.js +911 -357
  49. package/dist/primitives.d.ts +5 -2
  50. package/dist/primitives.js +10 -10
  51. package/dist/run.js +4 -4
  52. package/dist/sdk-hooks.d.ts +2 -3
  53. package/dist/sdk-hooks.js +5 -5
  54. package/dist/styles.css +5304 -68
  55. package/dist/template-card-BAtvcAkU.d.ts +18 -0
  56. package/dist/terminal.d.ts +3 -1
  57. package/dist/terminal.js +66 -32
  58. package/dist/tokens.css +701 -40
  59. package/dist/{usage-chart-XCoB_7Xu.d.ts → usage-chart-SSiOgeQI.d.ts} +3 -1
  60. package/dist/{use-pty-session-COzVkhtc.d.ts → use-pty-session-0AOuwXgq.d.ts} +2 -0
  61. package/dist/{index-BT_-ecpc.d.ts → variant-list-C8wx2TqF.d.ts} +17 -8
  62. package/dist/workspace.d.ts +1 -1
  63. package/dist/workspace.js +13 -13
  64. package/package.json +3 -1
  65. package/tailwind.config.cjs +3 -2
  66. package/dist/chunk-3HW53XTH.js +0 -228
  67. package/dist/chunk-OKCIKTXQ.js +0 -63
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-COzVkhtc.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-0AOuwXgq.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';
package/dist/hooks.js CHANGED
@@ -2,10 +2,10 @@ import {
2
2
  createAuthFetcher,
3
3
  useApiKey,
4
4
  useAuth
5
- } from "./chunk-FJSVPBKY.js";
5
+ } from "./chunk-S7OXQTST.js";
6
6
  import {
7
7
  usePtySession
8
- } from "./chunk-DLCFZDGX.js";
8
+ } from "./chunk-5UM2XMEJ.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-MXRQ4MJE.js";
19
- import "./chunk-33W2TLUL.js";
18
+ } from "./chunk-DXMIEK4K.js";
19
+ import "./chunk-QID2OOMG.js";
20
20
  import "./chunk-OEX7NZE3.js";
21
21
  import {
22
22
  useAutoScroll,
23
23
  useRunCollapseState,
24
24
  useRunGroups
25
- } from "./chunk-CNWVHQFY.js";
26
- import "./chunk-MJUDMVRU.js";
25
+ } from "./chunk-54SQQMMM.js";
26
+ import "./chunk-MT5FJ3ZT.js";
27
27
  import "./chunk-BX6AQMUS.js";
28
- import "./chunk-3HW53XTH.js";
28
+ import "./chunk-T7HMZEVO.js";
29
29
  import "./chunk-RQHJBTEU.js";
30
30
 
31
31
  // src/hooks/use-session-crud.ts
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { AgentWorkbench, AuditCheck, AuditResults, AuditResultsProps, BannerType
5
5
  export { a as ArtifactPane, A as ArtifactPaneProps } from './artifact-pane-Bh45Ssco.js';
6
6
  export { OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode } from './openui.js';
7
7
  export { AgentTimeline, AgentTimelineArtifactItem, AgentTimelineCustomItem, AgentTimelineItem, AgentTimelineMessageItem, AgentTimelineProps, AgentTimelineStatusItem, AgentTimelineTone, AgentTimelineToolGroupItem, AgentTimelineToolItem, ChatMessage, ChatMessageProps, MessageList, MessageListProps, MessageRole, ThinkingIndicator, ThinkingIndicatorProps, UserMessage, UserMessageProps } from './chat.js';
8
- export { C as ChatContainer, a as ChatContainerProps, b as ChatInput, c as ChatInputProps, P as PendingFile } from './chat-container-Cg-GwyiK.js';
8
+ export { C as ChatContainer, a as ChatContainerProps, b as ChatInput, c as ChatInputProps, P as PendingFile } from './chat-container-f4yEs6KN.js';
9
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';
10
10
  export { CollaboratorsList, EditorToolbar, TiptapEditor, TiptapEditorProps, useAwareness, useCollaboratorPresence, useCollaborators, useDocumentChanges, useEditorConnection, useYjsState } from './editor.js';
11
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';
@@ -15,12 +15,12 @@ import { b as ToolPart } from './parts-CyGkM6Fp.js';
15
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';
16
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';
17
17
  export { FileArtifactPane, FileArtifactPaneProps, FilePreview, FilePreviewProps } from './files.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-BT_-ecpc.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';
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, aj as PanelConfig, m as PlanCardData, n as PlanCards, o as PlanCardsProps, q as ProductVariant, r as ProfileAvatar, s as ProfileAvatarProps, t as ProfileComparison, u as ProfileComparisonProps, v as ProfileSelector, w as ProfileSelectorProps, R as RailButton, x as RailButtonProps, y as RailModeButton, z as RailModeButtonProps, A as RailSeparator, E as RailSeparatorProps, F as ResourceMeter, G as ResourceMeterProps, S as SIDEBAR_PANEL_WIDTH, H as SIDEBAR_RAIL_WIDTH, J as SIDEBAR_TOTAL_WIDTH, K as SandboxCard, L as SandboxCardData, M as SandboxCardProps, O as SandboxStatus, Q as SandboxTable, T as SandboxTableProps, U as Sidebar, V as SidebarContent, W as SidebarContentProps, X as SidebarPanel, Y as SidebarPanelContent, Z as SidebarPanelContentProps, _ as SidebarPanelHeader, $ as SidebarPanelHeaderProps, a0 as SidebarPanelProps, a1 as SidebarProps, a2 as SidebarProvider, a3 as SidebarProviderProps, a4 as SidebarRail, a5 as SidebarRailFooter, a6 as SidebarRailFooterProps, a7 as SidebarRailHeader, a8 as SidebarRailHeaderProps, a9 as SidebarRailNav, aa as SidebarRailNavProps, ab as SidebarRailProps, ac as SidebarUser, ak as TopNavLink, ae as VariantList, af as VariantListProps, ai as useSidebar } from './variant-list-C8wx2TqF.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-SSiOgeQI.js';
20
20
  export { AuthHeader, GitHubLoginButton, LoginLayout, LoginLayoutProps, UserMenu } from './auth.js';
21
21
  export { CodeBlock, CodeBlock as CodeBlockDisplay, CopyButton, Markdown, MarkdownProps } from './markdown.js';
22
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';
23
- export { d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-COzVkhtc.js';
23
+ export { d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-0AOuwXgq.js';
24
24
  export { G as GroupedMessage, R as Run, b as RunStats, T as ToolCategory } from './run-CtFZ6s-D.js';
25
25
  export { S as Session } from './sidecar-CFU2W9j1.js';
26
26
  export { C as CustomToolRenderer, D as DisplayVariant, T as ToolDisplayMetadata } from './tool-display-Ct9nFAzJ.js';
package/dist/index.js CHANGED
@@ -15,21 +15,21 @@ import {
15
15
  useEditorConnection,
16
16
  useEditorContext,
17
17
  useYjsState
18
- } from "./chunk-FNYJFCGU.js";
18
+ } from "./chunk-U6QTHMY6.js";
19
19
  import {
20
20
  AuthHeader,
21
21
  GitHubLoginButton,
22
22
  LoginLayout,
23
23
  UserMenu
24
- } from "./chunk-XTPAWK7L.js";
24
+ } from "./chunk-VOUV7GGB.js";
25
25
  import {
26
26
  createAuthFetcher,
27
27
  useApiKey,
28
28
  useAuth
29
- } from "./chunk-FJSVPBKY.js";
29
+ } from "./chunk-S7OXQTST.js";
30
30
  import {
31
31
  usePtySession
32
- } from "./chunk-DLCFZDGX.js";
32
+ } from "./chunk-5UM2XMEJ.js";
33
33
  import {
34
34
  RealtimeSessionRegistry,
35
35
  useDropdownMenu,
@@ -39,7 +39,7 @@ import {
39
39
  useSessionStream,
40
40
  useSidecarAuth,
41
41
  useToolCallStream
42
- } from "./chunk-MXRQ4MJE.js";
42
+ } from "./chunk-DXMIEK4K.js";
43
43
  import {
44
44
  DropZone,
45
45
  Label,
@@ -54,7 +54,6 @@ import {
54
54
  SelectTrigger,
55
55
  SelectValue,
56
56
  SidebarDropZone,
57
- StatCard,
58
57
  Switch,
59
58
  TerminalCursor,
60
59
  TerminalDisplay,
@@ -64,7 +63,7 @@ import {
64
63
  ToastProvider,
65
64
  UploadProgress,
66
65
  useToast
67
- } from "./chunk-DCPYTL4W.js";
66
+ } from "./chunk-D4CZWJCD.js";
68
67
  import {
69
68
  Dialog,
70
69
  DialogClose,
@@ -76,7 +75,7 @@ import {
76
75
  DialogPortal,
77
76
  DialogTitle,
78
77
  DialogTrigger
79
- } from "./chunk-YS66Q3RC.js";
78
+ } from "./chunk-3CJ2SOEI.js";
80
79
  import {
81
80
  Tabs,
82
81
  TabsContent,
@@ -85,11 +84,11 @@ import {
85
84
  } from "./chunk-Q56BYXQF.js";
86
85
  import {
87
86
  ChatMessage
88
- } from "./chunk-GW4GRAWJ.js";
87
+ } from "./chunk-GSZA3TSY.js";
89
88
  import {
90
89
  ToolCallFeed,
91
90
  parseToolEvent
92
- } from "./chunk-33W2TLUL.js";
91
+ } from "./chunk-QID2OOMG.js";
93
92
  import {
94
93
  AgentWorkbench,
95
94
  AuditResults,
@@ -102,13 +101,13 @@ import {
102
101
  StatusBar,
103
102
  TerminalPanel,
104
103
  WorkspaceLayout
105
- } from "./chunk-E2XT3G52.js";
104
+ } from "./chunk-HFMAXUHV.js";
106
105
  import "./chunk-OEX7NZE3.js";
107
106
  import {
108
107
  EmptyState,
109
108
  Input,
110
109
  Textarea
111
- } from "./chunk-BRBTD7RH.js";
110
+ } from "./chunk-MA7YKRUP.js";
112
111
  import {
113
112
  AgentTimeline,
114
113
  ChatContainer,
@@ -116,12 +115,12 @@ import {
116
115
  MessageList,
117
116
  ThinkingIndicator,
118
117
  UserMessage
119
- } from "./chunk-RKXIRRKQ.js";
118
+ } from "./chunk-BUOQTBTO.js";
120
119
  import {
121
120
  useAutoScroll,
122
121
  useRunCollapseState,
123
122
  useRunGroups
124
- } from "./chunk-CNWVHQFY.js";
123
+ } from "./chunk-54SQQMMM.js";
125
124
  import {
126
125
  CommandPreview,
127
126
  DiffPreview,
@@ -134,7 +133,7 @@ import {
134
133
  RunGroup,
135
134
  WebSearchPreview,
136
135
  WriteFilePreview
137
- } from "./chunk-ZMWWE5RF.js";
136
+ } from "./chunk-EXSOPXIY.js";
138
137
  import {
139
138
  formatDuration,
140
139
  truncateText
@@ -142,7 +141,7 @@ import {
142
141
  import {
143
142
  ToolCallGroup,
144
143
  ToolCallStep
145
- } from "./chunk-MJUDMVRU.js";
144
+ } from "./chunk-MT5FJ3ZT.js";
146
145
  import {
147
146
  TOOL_CATEGORY_ICONS,
148
147
  getToolCategory,
@@ -152,7 +151,7 @@ import {
152
151
  import {
153
152
  InlineCode,
154
153
  OpenUIArtifactRenderer
155
- } from "./chunk-OVNLOE3Y.js";
154
+ } from "./chunk-WXK43R62.js";
156
155
  import {
157
156
  Table,
158
157
  TableBody,
@@ -162,22 +161,22 @@ import {
162
161
  TableHead,
163
162
  TableHeader,
164
163
  TableRow
165
- } from "./chunk-JP725R4W.js";
164
+ } from "./chunk-34I7UFSX.js";
166
165
  import {
167
166
  FileArtifactPane,
168
167
  FilePreview,
169
168
  FileTabs,
170
169
  FileTree,
171
170
  filterFileTree
172
- } from "./chunk-KH5UDAJ2.js";
171
+ } from "./chunk-QDH5GEGY.js";
173
172
  import {
174
173
  ArtifactPane
175
- } from "./chunk-W4LM3QYZ.js";
174
+ } from "./chunk-HB5Y37YU.js";
176
175
  import {
177
176
  CodeBlock,
178
177
  CopyButton,
179
178
  Markdown
180
- } from "./chunk-3HW53XTH.js";
179
+ } from "./chunk-T7HMZEVO.js";
181
180
  import {
182
181
  BackendSelector,
183
182
  ClusterStatusBar,
@@ -210,16 +209,17 @@ import {
210
209
  SidebarRailNav,
211
210
  VariantList,
212
211
  useSidebar
213
- } from "./chunk-6V4XVKFY.js";
212
+ } from "./chunk-XXDFEF72.js";
214
213
  import {
215
214
  BillingDashboard,
216
215
  PricingPage,
217
216
  UsageChart
218
- } from "./chunk-565V6JTN.js";
217
+ } from "./chunk-UXQMIR3D.js";
219
218
  import {
220
219
  Logo,
220
+ StatCard,
221
221
  TangleKnot
222
- } from "./chunk-OKCIKTXQ.js";
222
+ } from "./chunk-OKLQVY3Y.js";
223
223
  import {
224
224
  Avatar,
225
225
  AvatarFallback,
@@ -239,13 +239,13 @@ import {
239
239
  DropdownMenuSubContent,
240
240
  DropdownMenuSubTrigger,
241
241
  DropdownMenuTrigger
242
- } from "./chunk-WBQ7VULC.js";
242
+ } from "./chunk-34A66VBG.js";
243
243
  import {
244
244
  Progress,
245
245
  Skeleton,
246
246
  SkeletonCard,
247
247
  SkeletonTable
248
- } from "./chunk-YYGECNZZ.js";
248
+ } from "./chunk-66EZOYZR.js";
249
249
  import {
250
250
  Badge,
251
251
  Card,
@@ -255,11 +255,11 @@ import {
255
255
  CardHeader,
256
256
  CardTitle,
257
257
  badgeVariants
258
- } from "./chunk-TDYQBLL5.js";
258
+ } from "./chunk-ZMNSRDMH.js";
259
259
  import {
260
260
  Button,
261
261
  buttonVariants
262
- } from "./chunk-TSE423UF.js";
262
+ } from "./chunk-2QZ6G7NM.js";
263
263
  import {
264
264
  cn
265
265
  } from "./chunk-RQHJBTEU.js";
package/dist/markdown.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  CodeBlock,
3
3
  CopyButton,
4
4
  Markdown
5
- } from "./chunk-3HW53XTH.js";
5
+ } from "./chunk-T7HMZEVO.js";
6
6
  import "./chunk-RQHJBTEU.js";
7
7
  export {
8
8
  CodeBlock,
package/dist/openui.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  OpenUIArtifactRenderer
3
- } from "./chunk-OVNLOE3Y.js";
4
- import "./chunk-JP725R4W.js";
5
- import "./chunk-3HW53XTH.js";
6
- import "./chunk-TDYQBLL5.js";
7
- import "./chunk-TSE423UF.js";
3
+ } from "./chunk-WXK43R62.js";
4
+ import "./chunk-34I7UFSX.js";
5
+ import "./chunk-T7HMZEVO.js";
6
+ import "./chunk-ZMNSRDMH.js";
7
+ import "./chunk-2QZ6G7NM.js";
8
8
  import "./chunk-RQHJBTEU.js";
9
9
  export {
10
10
  OpenUIArtifactRenderer
package/dist/pages.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { B as BillingSubscription, a as BillingBalance, b as BillingUsage, U as UsageDataPoint, P as PricingTier } from './usage-chart-XCoB_7Xu.js';
2
+ import { B as BillingSubscription, a as BillingBalance, b as BillingUsage, U as UsageDataPoint, P as PricingTier } from './usage-chart-SSiOgeQI.js';
3
3
  import * as React from 'react';
4
+ import { T as TemplateCardData } from './template-card-BAtvcAkU.js';
4
5
 
5
6
  type ProductVariant$1 = "sandbox";
6
7
  interface BillingPageData {
@@ -39,6 +40,13 @@ interface ProvisioningWizardProps {
39
40
  onSubmit?: (config: ProvisioningConfig) => void;
40
41
  onBack?: () => void;
41
42
  className?: string;
43
+ variant?: "flat" | "multistep";
44
+ /** Pre-select an environment by ID (e.g. from a template link) */
45
+ defaultEnvironment?: string;
46
+ /** Pre-fill all form fields from a template preset */
47
+ defaultConfig?: Partial<ProvisioningConfig>;
48
+ /** When true and defaultConfig is provided, start on the final step */
49
+ skipToReview?: boolean;
42
50
  }
43
51
  interface ProvisioningConfig {
44
52
  environment: string;
@@ -47,9 +55,17 @@ interface ProvisioningConfig {
47
55
  storageGB: number;
48
56
  modelTier: string;
49
57
  systemPrompt: string;
58
+ name: string;
59
+ gitUrl: string;
60
+ envVars: {
61
+ key: string;
62
+ value: string;
63
+ }[];
64
+ driver: "docker" | "firecracker" | "tangle";
65
+ bare: boolean;
50
66
  }
51
67
  declare function resolveEnvironment(env: EnvironmentEntry): EnvironmentOption;
52
- declare function ProvisioningWizard({ environments: environmentsProp, onLoadEnvironments, onSubmit, onBack, className, }: ProvisioningWizardProps): react_jsx_runtime.JSX.Element;
68
+ declare function ProvisioningWizard({ environments: environmentsProp, onLoadEnvironments, onSubmit, onBack, className, variant, defaultEnvironment, defaultConfig, skipToReview, }: ProvisioningWizardProps): react_jsx_runtime.JSX.Element;
53
69
 
54
70
  type ProductVariant = "sandbox";
55
71
  interface StandalonePricingPageProps {
@@ -118,4 +134,32 @@ interface ProfilesPageProps {
118
134
  }
119
135
  declare function ProfilesPage({ apiClient, tier, maxProfiles, onCompareClick, title, }: ProfilesPageProps): react_jsx_runtime.JSX.Element;
120
136
 
121
- export { BillingPage, type BillingPageData, type BillingPageProps, type EnvironmentEntry, type EnvironmentOption, type ProductVariant$1 as ProductVariant, type Profile, type ProfileFormData, type ProfileMetrics, ProfilesPage, type ProfilesPageProps, type ProvisioningConfig, ProvisioningWizard, type ProvisioningWizardProps, StandalonePricingPage, type StandalonePricingPageProps, resolveEnvironment };
137
+ interface Secret {
138
+ name: string;
139
+ createdAt: string;
140
+ updatedAt?: string;
141
+ }
142
+ interface SecretsApiClient {
143
+ listSecrets: () => Promise<Secret[]>;
144
+ createSecret: (name: string, value: string) => Promise<void>;
145
+ deleteSecret: (name: string) => Promise<void>;
146
+ }
147
+ interface SecretsPageProps {
148
+ apiClient: SecretsApiClient;
149
+ className?: string;
150
+ }
151
+ declare function SecretsPage({ apiClient, className }: SecretsPageProps): react_jsx_runtime.JSX.Element;
152
+
153
+ interface TemplatesPageProps {
154
+ templates: TemplateCardData[] | null;
155
+ loading?: boolean;
156
+ onUseTemplate: (templateId: string) => void;
157
+ className?: string;
158
+ }
159
+ declare function TemplatesPage({ templates, loading, onUseTemplate, className }: TemplatesPageProps): react_jsx_runtime.JSX.Element;
160
+
161
+ type TemplateCategory = "blockchain" | "ai-ml" | "frontend" | "infrastructure" | "general";
162
+ type TemplatePreset = Omit<ProvisioningConfig, "name" | "gitUrl" | "envVars" | "driver">;
163
+ declare function getPresetForTemplate(id: string): TemplatePreset;
164
+
165
+ export { BillingPage, type BillingPageData, type BillingPageProps, type EnvironmentEntry, type EnvironmentOption, PricingTier, type ProductVariant$1 as ProductVariant, type Profile, type ProfileFormData, type ProfileMetrics, ProfilesPage, type ProfilesPageProps, type ProvisioningConfig, ProvisioningWizard, type ProvisioningWizardProps, type Secret, type SecretsApiClient, SecretsPage, type SecretsPageProps, StandalonePricingPage, type StandalonePricingPageProps, type TemplateCategory, type TemplatePreset, TemplatesPage, type TemplatesPageProps, getPresetForTemplate, resolveEnvironment };