@tangle-network/sandbox-ui 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.js +3 -3
- package/dist/chat.d.ts +1 -1
- package/dist/chat.js +11 -9
- package/dist/{chunk-ZP6GSX4D.js → chunk-565V6JTN.js} +26 -50
- package/dist/chunk-5CEMHKBP.js +72 -0
- package/dist/{chunk-FOQTE67I.js → chunk-5F4NX5R2.js} +10 -5
- package/dist/{chunk-MVYFNPAH.js → chunk-7DVFZEVW.js} +298 -272
- package/dist/{chunk-MUOL44AE.js → chunk-BRBTD7RH.js} +6 -6
- package/dist/{chunk-SSKVYXCR.js → chunk-DCPYTL4W.js} +62 -79
- package/dist/chunk-DLCFZDGX.js +182 -0
- package/dist/{chunk-HXEA7L2T.js → chunk-FFOXUHOF.js} +10 -10
- package/dist/chunk-H5XYSFYE.js +228 -0
- package/dist/{chunk-TQN3VR4F.js → chunk-JP725R4W.js} +2 -2
- package/dist/{chunk-CJ2RYVZH.js → chunk-NTSRY4GW.js} +68 -10
- package/dist/{chunk-DQYODCBN.js → chunk-P24K22CV.js} +57 -66
- package/dist/{chunk-GVUW4VDD.js → chunk-R3IU37AW.js} +161 -229
- package/dist/chunk-TDYQBLL5.js +127 -0
- package/dist/{chunk-HWLX5NME.js → chunk-TSE423UF.js} +12 -12
- package/dist/{chunk-YDBXQQLC.js → chunk-VBWY44UU.js} +30 -76
- package/dist/{chunk-IW2JZCOC.js → chunk-WBQ7VULC.js} +7 -7
- package/dist/{chunk-72UEKFZ2.js → chunk-WC7QTWPN.js} +65 -42
- package/dist/{chunk-HYLTXGOI.js → chunk-WQH233GF.js} +5 -5
- package/dist/{chunk-CCKNIAS7.js → chunk-XBR3IP7B.js} +2 -2
- package/dist/{chunk-OHMO7NUX.js → chunk-XTPAWK7L.js} +20 -31
- package/dist/{chunk-SULQQJPB.js → chunk-YS66Q3RC.js} +1 -1
- package/dist/{chunk-FRGMMANX.js → chunk-YYGECNZZ.js} +3 -3
- package/dist/dashboard.d.ts +2 -2
- package/dist/dashboard.js +6 -6
- package/dist/{document-editor-pane-5TN2VWGZ.js → document-editor-pane-JNXPANWM.js} +2 -2
- package/dist/editor.js +2 -2
- package/dist/files.js +2 -2
- package/dist/globals.css +129 -95
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +5 -5
- package/dist/{index-tTfThG0n.d.ts → index-BT_-ecpc.d.ts} +11 -10
- package/dist/index.d.ts +16 -23
- package/dist/index.js +27 -26
- package/dist/markdown.d.ts +14 -17
- package/dist/markdown.js +1 -1
- package/dist/openui.js +5 -5
- package/dist/pages.d.ts +10 -3
- package/dist/pages.js +147 -184
- package/dist/primitives.d.ts +8 -5
- package/dist/primitives.js +8 -8
- package/dist/run.d.ts +1 -1
- package/dist/run.js +4 -4
- package/dist/sdk-hooks.d.ts +1 -1
- package/dist/sdk-hooks.js +4 -4
- package/dist/styles.css +129 -95
- package/dist/terminal.d.ts +2 -2
- package/dist/terminal.js +13 -43
- package/dist/tokens.css +299 -179
- package/dist/{tool-call-feed-D5Ume-Pt.d.ts → tool-call-feed-Bs3MyQMT.d.ts} +3 -1
- package/dist/{usage-chart-CY9xo3KX.d.ts → usage-chart-XCoB_7Xu.d.ts} +1 -2
- package/dist/{use-pty-session-DeZSxOCN.d.ts → use-pty-session-COzVkhtc.d.ts} +1 -1
- package/dist/workspace.d.ts +3 -1
- package/dist/workspace.js +11 -11
- package/package.json +14 -2
- package/dist/chunk-GRYHFH5O.js +0 -110
- package/dist/chunk-LTFK464G.js +0 -103
- package/dist/chunk-MXCSSOGH.js +0 -105
package/dist/globals.css
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@import "./tokens.css";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
@
|
|
5
|
-
|
|
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
|
-
|
|
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:
|
|
30
|
-
height:
|
|
37
|
+
width: 6px;
|
|
38
|
+
height: 6px;
|
|
31
39
|
}
|
|
32
40
|
|
|
33
41
|
::-webkit-scrollbar-track {
|
|
34
|
-
|
|
42
|
+
background: transparent;
|
|
35
43
|
}
|
|
36
44
|
|
|
37
45
|
::-webkit-scrollbar-thumb {
|
|
38
|
-
|
|
46
|
+
background: hsl(var(--border) / 0.7);
|
|
47
|
+
border-radius: 3px;
|
|
39
48
|
}
|
|
40
49
|
|
|
41
50
|
::-webkit-scrollbar-thumb:hover {
|
|
42
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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.
|
|
68
|
-
|
|
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
|
|
155
|
+
/* Terminal cursor */
|
|
72
156
|
.terminal-cursor {
|
|
73
|
-
|
|
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.
|
|
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
|
-
|
|
183
|
+
position: relative;
|
|
116
184
|
}
|
|
117
185
|
|
|
118
186
|
.pulse-ring::before {
|
|
119
187
|
content: "";
|
|
120
|
-
|
|
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
|
-
|
|
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
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
19
|
-
import "./chunk-
|
|
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-
|
|
26
|
+
import "./chunk-NTSRY4GW.js";
|
|
27
27
|
import "./chunk-BX6AQMUS.js";
|
|
28
|
-
import "./chunk-
|
|
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-
|
|
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
|
|
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?:
|
|
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;
|
|
@@ -266,9 +266,10 @@ interface SandboxCardProps {
|
|
|
266
266
|
onOpenTerminal?: (id: string) => void;
|
|
267
267
|
onWake?: (id: string) => void;
|
|
268
268
|
onRestore?: (id: string) => void;
|
|
269
|
+
onDelete?: (id: string) => void;
|
|
269
270
|
className?: string;
|
|
270
271
|
}
|
|
271
|
-
declare function SandboxCard({ sandbox, onOpenIDE, onOpenTerminal, onWake, onRestore, className }: SandboxCardProps): react_jsx_runtime.JSX.Element;
|
|
272
|
+
declare function SandboxCard({ sandbox, onOpenIDE, onOpenTerminal, onWake, onRestore, onDelete, className }: SandboxCardProps): react_jsx_runtime.JSX.Element;
|
|
272
273
|
interface NewSandboxCardProps {
|
|
273
274
|
onClick?: () => void;
|
|
274
275
|
className?: string;
|
|
@@ -286,9 +287,10 @@ interface SandboxTableProps {
|
|
|
286
287
|
onSSH?: (id: string) => void;
|
|
287
288
|
onWake?: (id: string) => void;
|
|
288
289
|
onMore?: (id: string) => void;
|
|
290
|
+
onDelete?: (id: string) => void;
|
|
289
291
|
className?: string;
|
|
290
292
|
}
|
|
291
|
-
declare function SandboxTable({ sandboxes, page, pageSize, total, onPageChange, onOpenIDE, onOpenTerminal, onSSH, onWake, onMore, className, }: SandboxTableProps): react_jsx_runtime.JSX.Element;
|
|
293
|
+
declare function SandboxTable({ sandboxes, page, pageSize, total, onPageChange, onOpenIDE, onOpenTerminal, onSSH, onWake, onMore, onDelete, className, }: SandboxTableProps): react_jsx_runtime.JSX.Element;
|
|
292
294
|
|
|
293
295
|
interface Backend {
|
|
294
296
|
type: string;
|
|
@@ -297,14 +299,13 @@ interface Backend {
|
|
|
297
299
|
}
|
|
298
300
|
interface BackendSelectorProps {
|
|
299
301
|
backends: Backend[];
|
|
300
|
-
selected: string
|
|
301
|
-
onChange: (selected: string
|
|
302
|
+
selected: string;
|
|
303
|
+
onChange: (selected: string) => void;
|
|
302
304
|
label?: string;
|
|
303
|
-
|
|
304
|
-
multiSelect?: boolean;
|
|
305
|
+
placeholder?: string;
|
|
305
306
|
className?: string;
|
|
306
307
|
}
|
|
307
|
-
declare function BackendSelector({ backends, selected, onChange, label,
|
|
308
|
+
declare function BackendSelector({ backends, selected, onChange, label, placeholder, className, }: BackendSelectorProps): react_jsx_runtime.JSX.Element;
|
|
308
309
|
|
|
309
310
|
interface Profile {
|
|
310
311
|
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-
|
|
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-
|
|
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-
|
|
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';
|
|
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-
|
|
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
|
|
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 {
|
|
100
|
+
export { CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, InlineCode, QuestionPreview, ThemeToggle, ToolPart, WebSearchPreview, WriteFilePreview, useTheme };
|