@tangle-network/sandbox-ui 0.2.2 → 0.3.3
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/README.md +201 -10
- package/dist/auth.js +2 -2
- package/dist/chat-container-C8eHLw8z.d.ts +67 -0
- package/dist/chat.d.ts +70 -78
- package/dist/chat.js +8 -8
- package/dist/chunk-4F2GJRGU.js +756 -0
- package/dist/{chunk-HYEAX3DC.js → chunk-5LV6DZZF.js} +445 -114
- package/dist/chunk-67C53XVV.js +1106 -0
- package/dist/{chunk-QSQBDR3N.js → chunk-BX6AQMUS.js} +5 -2
- package/dist/chunk-CCKNIAS7.js +124 -0
- package/dist/chunk-CJ2RYVZH.js +128 -0
- package/dist/{chunk-KMXV7DDX.js → chunk-CNWVHQFY.js} +1 -1
- package/dist/{chunk-OU4TRNQZ.js → chunk-COCSO7FG.js} +3 -3
- package/dist/chunk-FJSVPBKY.js +85 -0
- package/dist/chunk-FRGMMANX.js +102 -0
- package/dist/{chunk-E6FS7R4X.js → chunk-HWLX5NME.js} +1 -1
- package/dist/chunk-JF6E2DS5.js +610 -0
- package/dist/chunk-MUOL44AE.js +121 -0
- package/dist/chunk-MXCSSOGH.js +105 -0
- package/dist/{chunk-J4OADEUK.js → chunk-OM6ON27W.js} +24 -9
- package/dist/{chunk-NI2EI43H.js → chunk-PDV7W4NY.js} +9 -124
- package/dist/chunk-TQN3VR4F.js +92 -0
- package/dist/{chunk-SOT2V7TX.js → chunk-TXI4MZAZ.js} +62 -144
- package/dist/chunk-WUR652Y3.js +1140 -0
- package/dist/chunk-YDBXQQLC.js +336 -0
- package/dist/{chunk-4EIWPJMJ.js → chunk-ZP6GSX4D.js} +36 -27
- package/dist/dashboard.d.ts +5 -2
- package/dist/dashboard.js +5 -4
- package/dist/{expanded-tool-detail-OkXGqTHe.d.ts → expanded-tool-detail-BDi_h_dZ.d.ts} +11 -4
- package/dist/file-tabs-CmaoDVBI.d.ts +72 -0
- package/dist/files.d.ts +25 -44
- package/dist/files.js +8 -3
- package/{src/styles → dist}/globals.css +16 -67
- package/dist/hooks.d.ts +5 -4
- package/dist/hooks.js +14 -9
- package/dist/index.d.ts +38 -9
- package/dist/index.js +100 -126
- package/dist/markdown.d.ts +1 -24
- package/dist/markdown.js +1 -7
- package/dist/openui.d.ts +115 -0
- package/dist/openui.js +11 -0
- package/dist/pages.d.ts +3 -2
- package/dist/pages.js +19 -16
- package/dist/primitives.js +25 -19
- package/dist/run.d.ts +2 -2
- package/dist/run.js +8 -7
- package/dist/{use-sidecar-auth-Bb0-w3lX.d.ts → sdk-hooks.d.ts} +61 -72
- package/dist/sdk-hooks.js +29 -0
- package/dist/styles.css +179 -0
- package/dist/tokens.css +165 -0
- package/dist/{tool-display-BvsVW_Ur.d.ts → tool-display-Ct9nFAzJ.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{usage-chart-DINgSVL5.d.ts → usage-chart-CY9xo3KX.d.ts} +8 -3
- package/dist/use-pty-session-DeZSxOCN.d.ts +69 -0
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/workspace.d.ts +171 -33
- package/dist/workspace.js +25 -1
- package/package.json +10 -3
- package/dist/chunk-2UHPE5T7.js +0 -201
- package/dist/chunk-6MQIDUPA.js +0 -502
- package/dist/chunk-KYY2X6LY.js +0 -318
- package/dist/chunk-L6ZDH5F4.js +0 -334
- package/dist/chunk-M34OA6PQ.js +0 -233
- package/dist/chunk-M6VLC32S.js +0 -219
- package/dist/chunk-U62G5TS7.js +0 -472
- package/src/styles/tokens.css +0 -73
package/dist/files.d.ts
CHANGED
|
@@ -1,38 +1,18 @@
|
|
|
1
|
+
import { b as FileTabData, a as ArtifactPaneProps } from './file-tabs-CmaoDVBI.js';
|
|
2
|
+
export { F as FileNode, c as FileTabs, d as FileTabsProps, e as FileTree, f as FileTreeProps, g as FileTreeVisibilityOptions, h as filterFileTree } from './file-tabs-CmaoDVBI.js';
|
|
1
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* FileTree — directory browser with file type icons.
|
|
5
|
-
*
|
|
6
|
-
* Renders a hierarchical file system view. Clicking a file
|
|
7
|
-
* triggers onSelect with the full path.
|
|
8
|
-
*/
|
|
9
|
-
interface FileNode {
|
|
10
|
-
name: string;
|
|
11
|
-
path: string;
|
|
12
|
-
type: "file" | "directory";
|
|
13
|
-
children?: FileNode[];
|
|
14
|
-
size?: number;
|
|
15
|
-
mimeType?: string;
|
|
16
|
-
}
|
|
17
|
-
interface FileTreeProps {
|
|
18
|
-
root: FileNode;
|
|
19
|
-
selectedPath?: string;
|
|
20
|
-
onSelect?: (path: string, node: FileNode) => void;
|
|
21
|
-
className?: string;
|
|
22
|
-
defaultExpanded?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare function FileTree({ root, selectedPath, onSelect, className, defaultExpanded }: FileTreeProps): react_jsx_runtime.JSX.Element;
|
|
4
|
+
import 'react';
|
|
25
5
|
|
|
26
6
|
/**
|
|
27
7
|
* FilePreview — universal file renderer.
|
|
28
8
|
*
|
|
29
9
|
* Renders any file type beautifully:
|
|
30
|
-
* - PDF:
|
|
31
|
-
* - CSV/XLSX:
|
|
32
|
-
* - Code (py/json/yaml/ts/js):
|
|
10
|
+
* - PDF: embedded viewer
|
|
11
|
+
* - CSV/XLSX: tabular preview
|
|
12
|
+
* - Code (py/json/yaml/ts/js): line-numbered viewer
|
|
33
13
|
* - Markdown: rendered prose
|
|
34
14
|
* - Images: inline display
|
|
35
|
-
* - Text: monospace
|
|
15
|
+
* - Text: monospace preview
|
|
36
16
|
*/
|
|
37
17
|
interface FilePreviewProps {
|
|
38
18
|
filename: string;
|
|
@@ -41,26 +21,27 @@ interface FilePreviewProps {
|
|
|
41
21
|
mimeType?: string;
|
|
42
22
|
onClose?: () => void;
|
|
43
23
|
onDownload?: () => void;
|
|
24
|
+
hideHeader?: boolean;
|
|
44
25
|
className?: string;
|
|
45
26
|
}
|
|
46
|
-
declare function FilePreview({ filename, content, blobUrl, mimeType, onClose, onDownload, className, }: FilePreviewProps): react_jsx_runtime.JSX.Element;
|
|
27
|
+
declare function FilePreview({ filename, content, blobUrl, mimeType, onClose, onDownload, hideHeader, className, }: FilePreviewProps): react_jsx_runtime.JSX.Element;
|
|
47
28
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
id: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
tabs: FileTabData[];
|
|
59
|
-
activeId?: string;
|
|
60
|
-
onSelect: (id: string) => void;
|
|
61
|
-
onClose: (id: string) => void;
|
|
29
|
+
interface FileArtifactPaneProps extends Omit<FilePreviewProps, "className"> {
|
|
30
|
+
path?: string;
|
|
31
|
+
tabs?: FileTabData[];
|
|
32
|
+
activeTabId?: string;
|
|
33
|
+
onTabSelect?: (id: string) => void;
|
|
34
|
+
onTabClose?: (id: string) => void;
|
|
35
|
+
eyebrow?: ArtifactPaneProps["eyebrow"];
|
|
36
|
+
meta?: ArtifactPaneProps["meta"];
|
|
37
|
+
toolbar?: ArtifactPaneProps["toolbar"];
|
|
38
|
+
footer?: ArtifactPaneProps["footer"];
|
|
62
39
|
className?: string;
|
|
63
40
|
}
|
|
64
|
-
|
|
41
|
+
/**
|
|
42
|
+
* FileArtifactPane — opinionated artifact frame for file previews with tabs and
|
|
43
|
+
* header actions.
|
|
44
|
+
*/
|
|
45
|
+
declare function FileArtifactPane({ filename, content, blobUrl, mimeType, onClose, onDownload, path, tabs, activeTabId, onTabSelect, onTabClose, eyebrow, meta, toolbar, footer, className, }: FileArtifactPaneProps): react_jsx_runtime.JSX.Element;
|
|
65
46
|
|
|
66
|
-
export { type
|
|
47
|
+
export { FileArtifactPane, type FileArtifactPaneProps, FilePreview, type FilePreviewProps, FileTabData };
|
package/dist/files.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
+
FileArtifactPane,
|
|
2
3
|
FilePreview,
|
|
3
4
|
FileTabs,
|
|
4
|
-
FileTree
|
|
5
|
-
|
|
5
|
+
FileTree,
|
|
6
|
+
filterFileTree
|
|
7
|
+
} from "./chunk-JF6E2DS5.js";
|
|
8
|
+
import "./chunk-LTFK464G.js";
|
|
6
9
|
import "./chunk-RQHJBTEU.js";
|
|
7
10
|
export {
|
|
11
|
+
FileArtifactPane,
|
|
8
12
|
FilePreview,
|
|
9
13
|
FileTabs,
|
|
10
|
-
FileTree
|
|
14
|
+
FileTree,
|
|
15
|
+
filterFileTree
|
|
11
16
|
};
|
|
@@ -1,77 +1,24 @@
|
|
|
1
|
+
@import "./tokens.css";
|
|
2
|
+
|
|
1
3
|
@tailwind base;
|
|
2
4
|
@tailwind components;
|
|
3
5
|
@tailwind utilities;
|
|
4
6
|
|
|
5
7
|
@layer base {
|
|
6
8
|
:root {
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--card: 0 0% 100%;
|
|
10
|
-
--card-foreground: 0 0% 9%;
|
|
11
|
-
--popover: 0 0% 100%;
|
|
12
|
-
--popover-foreground: 0 0% 9%;
|
|
13
|
-
--primary: 270 80% 55%;
|
|
14
|
-
--primary-foreground: 0 0% 100%;
|
|
15
|
-
--secondary: 0 0% 94%;
|
|
16
|
-
--secondary-foreground: 0 0% 20%;
|
|
17
|
-
--muted: 0 0% 94%;
|
|
18
|
-
--muted-foreground: 0 0% 40%;
|
|
19
|
-
--accent: 0 0% 94%;
|
|
20
|
-
--accent-foreground: 0 0% 9%;
|
|
21
|
-
--destructive: 0 84% 60%;
|
|
22
|
-
--destructive-foreground: 0 0% 100%;
|
|
23
|
-
--border: 0 0% 88%;
|
|
24
|
-
--input: 0 0% 88%;
|
|
25
|
-
--ring: 270 80% 55%;
|
|
26
|
-
--radius: 0.625rem;
|
|
27
|
-
|
|
28
|
-
/* Product accent colors -- Tangle purple */
|
|
29
|
-
--sandbox: 270 80% 55%;
|
|
30
|
-
--sandbox-glow: 270 75% 58%;
|
|
31
|
-
|
|
32
|
-
/* Status colors */
|
|
33
|
-
--success: 142 71% 40%;
|
|
34
|
-
--warning: 38 92% 45%;
|
|
35
|
-
--error: 0 84% 55%;
|
|
36
|
-
--info: 217 91% 55%;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.dark {
|
|
40
|
-
--background: 0 0% 5%;
|
|
41
|
-
--foreground: 0 0% 96%;
|
|
42
|
-
--card: 0 0% 8%;
|
|
43
|
-
--card-foreground: 0 0% 96%;
|
|
44
|
-
--popover: 0 0% 8%;
|
|
45
|
-
--popover-foreground: 0 0% 96%;
|
|
46
|
-
--primary: 0 0% 96%;
|
|
47
|
-
--primary-foreground: 0 0% 9%;
|
|
48
|
-
--secondary: 0 0% 14%;
|
|
49
|
-
--secondary-foreground: 0 0% 96%;
|
|
50
|
-
--muted: 0 0% 14%;
|
|
51
|
-
--muted-foreground: 0 0% 72%;
|
|
52
|
-
--accent: 0 0% 16%;
|
|
53
|
-
--accent-foreground: 0 0% 96%;
|
|
54
|
-
--destructive: 0 62.8% 30.6%;
|
|
55
|
-
--destructive-foreground: 0 0% 96%;
|
|
56
|
-
--border: 0 0% 18%;
|
|
57
|
-
--input: 0 0% 18%;
|
|
58
|
-
--ring: 0 0% 83.1%;
|
|
59
|
-
|
|
60
|
-
--sandbox: 270 95% 65%;
|
|
61
|
-
--sandbox-glow: 270 90% 66%;
|
|
62
|
-
|
|
63
|
-
--success: 142 71% 45%;
|
|
64
|
-
--warning: 38 92% 50%;
|
|
65
|
-
--error: 0 84% 60%;
|
|
66
|
-
--info: 217 91% 60%;
|
|
9
|
+
--sandbox: var(--primary);
|
|
10
|
+
--sandbox-glow: var(--info);
|
|
67
11
|
}
|
|
68
12
|
|
|
69
13
|
* {
|
|
70
|
-
|
|
14
|
+
border-color: hsl(var(--border));
|
|
71
15
|
}
|
|
72
16
|
|
|
73
17
|
body {
|
|
74
|
-
@apply
|
|
18
|
+
@apply antialiased;
|
|
19
|
+
background-color: hsl(var(--background));
|
|
20
|
+
color: hsl(var(--foreground));
|
|
21
|
+
font-family: var(--font-sans);
|
|
75
22
|
font-feature-settings:
|
|
76
23
|
"rlig" 1,
|
|
77
24
|
"calt" 1;
|
|
@@ -97,9 +44,10 @@
|
|
|
97
44
|
}
|
|
98
45
|
|
|
99
46
|
@layer utilities {
|
|
100
|
-
/* Gradient text -- Tangle
|
|
47
|
+
/* Gradient text -- Tangle default accent */
|
|
101
48
|
.text-gradient-sandbox {
|
|
102
|
-
|
|
49
|
+
background-image: var(--tangle-gradient);
|
|
50
|
+
@apply bg-clip-text text-transparent;
|
|
103
51
|
}
|
|
104
52
|
|
|
105
53
|
/* Glow effects */
|
|
@@ -109,7 +57,9 @@
|
|
|
109
57
|
|
|
110
58
|
/* Glass effect */
|
|
111
59
|
.glass {
|
|
112
|
-
|
|
60
|
+
backdrop-filter: blur(24px);
|
|
61
|
+
background-color: hsl(var(--card) / 0.8);
|
|
62
|
+
border: 1px solid hsl(var(--border) / 0.5);
|
|
113
63
|
}
|
|
114
64
|
|
|
115
65
|
/* Subtle noise texture */
|
|
@@ -184,8 +134,7 @@
|
|
|
184
134
|
}
|
|
185
135
|
}
|
|
186
136
|
|
|
187
|
-
/* Fonts -- Inter (UI) + JetBrains Mono (code).
|
|
188
|
-
Using @font-face with font-display: swap to avoid render-blocking. */
|
|
137
|
+
/* Fonts -- Inter (UI) + JetBrains Mono (code). */
|
|
189
138
|
@font-face {
|
|
190
139
|
font-family: "Inter";
|
|
191
140
|
src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2") format("woff2");
|
package/dist/hooks.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { A as
|
|
1
|
+
export { A as AuthUser, U as UseAuthOptions, a as UseAuthResult, b as UsePtySessionOptions, c as UsePtySessionReturn, d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-DeZSxOCN.js';
|
|
2
|
+
export { AgentStreamEvent, AppendUserMessageOptions, ApplySdkEventOptions, AutomationStreamEvent, BeginAssistantMessageOptions, BotStreamEvent, CompleteAssistantMessageOptions, ConnectionState, SSEEvent, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, SessionInfo, SidecarAuth, TaskStreamEvent, TerminalStreamEvent, UseRunGroupsOptions, UseSSEStreamOptions, UseSSEStreamResult, UseSdkSessionOptions, UseSdkSessionReturn, UseSessionStreamOptions, UseSessionStreamResult, UseSidecarAuthOptions, UseToolCallStreamReturn, useAutoScroll, useDropdownMenu, useRunCollapseState, useRunGroups, useSSEStream, useSdkSession, useSessionStream, useSidecarAuth, useToolCallStream } from './sdk-hooks.js';
|
|
2
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
4
|
import { S as Session } from './sidecar-CFU2W9j1.js';
|
|
4
|
-
import './tool-call-feed-D5Ume-Pt.js';
|
|
5
|
-
import 'react/jsx-runtime';
|
|
6
5
|
import 'react';
|
|
7
|
-
import './parts-CyGkM6Fp.js';
|
|
8
6
|
import './run-CtFZ6s-D.js';
|
|
7
|
+
import './parts-CyGkM6Fp.js';
|
|
8
|
+
import './tool-call-feed-D5Ume-Pt.js';
|
|
9
|
+
import 'react/jsx-runtime';
|
|
9
10
|
|
|
10
11
|
/** List all sessions for a sidecar. */
|
|
11
12
|
declare function useSessions(apiUrl: string, token: string | null): _tanstack_react_query.UseQueryResult<Session[], Error>;
|
package/dist/hooks.js
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAuthFetcher,
|
|
3
3
|
useApiKey,
|
|
4
|
-
useAuth
|
|
4
|
+
useAuth
|
|
5
|
+
} from "./chunk-FJSVPBKY.js";
|
|
6
|
+
import {
|
|
7
|
+
usePtySession
|
|
8
|
+
} from "./chunk-GRYHFH5O.js";
|
|
9
|
+
import {
|
|
5
10
|
useDropdownMenu,
|
|
6
11
|
useSSEStream,
|
|
12
|
+
useSdkSession,
|
|
7
13
|
useSessionStream,
|
|
8
14
|
useSidecarAuth,
|
|
9
15
|
useToolCallStream
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import
|
|
12
|
-
usePtySession
|
|
13
|
-
} from "./chunk-GRYHFH5O.js";
|
|
16
|
+
} from "./chunk-5LV6DZZF.js";
|
|
17
|
+
import "./chunk-CCKNIAS7.js";
|
|
14
18
|
import {
|
|
15
19
|
useAutoScroll,
|
|
16
20
|
useRunCollapseState,
|
|
17
21
|
useRunGroups
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-CNWVHQFY.js";
|
|
23
|
+
import "./chunk-CJ2RYVZH.js";
|
|
24
|
+
import "./chunk-BX6AQMUS.js";
|
|
25
|
+
import "./chunk-LTFK464G.js";
|
|
22
26
|
import "./chunk-RQHJBTEU.js";
|
|
23
27
|
|
|
24
28
|
// src/hooks/use-session-crud.ts
|
|
@@ -100,6 +104,7 @@ export {
|
|
|
100
104
|
useRunCollapseState,
|
|
101
105
|
useRunGroups,
|
|
102
106
|
useSSEStream,
|
|
107
|
+
useSdkSession,
|
|
103
108
|
useSessionStream,
|
|
104
109
|
useSessions,
|
|
105
110
|
useSidecarAuth,
|
package/dist/index.d.ts
CHANGED
|
@@ -3,21 +3,25 @@ export { Avatar, AvatarFallback, AvatarImage, Badge, BadgeProps, Card, CardConte
|
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
export { AuditCheck, AuditResults, AuditResultsProps, BannerType, ContextBadge, FormAudit, StatusBanner, StatusBannerProps, StatusBar, StatusBarProps, TerminalLine, TerminalPanel, TerminalProps, WorkspaceLayout, WorkspaceLayoutProps } from './workspace.js';
|
|
7
|
-
export {
|
|
6
|
+
export { AgentWorkbench, AuditCheck, AuditResults, AuditResultsProps, BannerType, ContextBadge, DirectoryPane, DirectoryPaneProps, FormAudit, RuntimePane, RuntimePaneProps, SandboxWorkbench, SandboxWorkbenchArtifact, SandboxWorkbenchCustomArtifact, SandboxWorkbenchFileArtifact, SandboxWorkbenchLayoutOptions, SandboxWorkbenchMarkdownArtifact, SandboxWorkbenchOpenUIArtifact, SandboxWorkbenchProps, SandboxWorkbenchSessionProps, StatusBanner, StatusBannerProps, StatusBar, StatusBarProps, TerminalLine, TerminalPanel, TerminalProps, WorkspaceLayout, WorkspaceLayoutProps } from './workspace.js';
|
|
7
|
+
export { A as ArtifactPane, a as ArtifactPaneProps, F as FileNode, b as FileTabData, c as FileTabs, d as FileTabsProps, e as FileTree, f as FileTreeProps, g as FileTreeVisibilityOptions, h as filterFileTree } from './file-tabs-CmaoDVBI.js';
|
|
8
|
+
export { OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode } from './openui.js';
|
|
9
|
+
export { AgentTimeline, AgentTimelineArtifactItem, AgentTimelineCustomItem, AgentTimelineItem, AgentTimelineMessageItem, AgentTimelineProps, AgentTimelineStatusItem, AgentTimelineTone, AgentTimelineToolGroupItem, AgentTimelineToolItem, ChatMessage, ChatMessageProps, MessageList, MessageRole, ThinkingIndicator, ThinkingIndicatorProps, UserMessage } from './chat.js';
|
|
10
|
+
export { C as ChatContainer, a as ChatInput, b as ChatInputProps, P as PendingFile } from './chat-container-C8eHLw8z.js';
|
|
8
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-D5Ume-Pt.js';
|
|
9
|
-
export { E as ExpandedToolDetail, I as InlineThinkingItem, c as InlineToolItem, R as RunGroup } from './expanded-tool-detail-
|
|
12
|
+
export { E as ExpandedToolDetail, I as InlineThinkingItem, c as InlineToolItem, R as RunGroup } from './expanded-tool-detail-BDi_h_dZ.js';
|
|
10
13
|
import { b as ToolPart } from './parts-CyGkM6Fp.js';
|
|
11
14
|
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';
|
|
12
|
-
export {
|
|
15
|
+
export { FileArtifactPane, FileArtifactPaneProps, FilePreview, FilePreviewProps } from './files.js';
|
|
13
16
|
export { Backend, BackendSelector, BackendSelectorProps, DashboardLayout, DashboardLayoutProps, DashboardUser, NavItem, ProfileComparison, ProfileComparisonProps, ProfileSelector, ProfileSelectorProps, VariantList, VariantListProps } from './dashboard.js';
|
|
14
|
-
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-
|
|
17
|
+
export { c as BillingDashboard, d as BillingDashboardProps, e as PricingCards, f as PricingPageProps, g as UsageChart, h as UsageChartProps, U as UsageDataPoint } from './usage-chart-CY9xo3KX.js';
|
|
15
18
|
export { AuthHeader, GitHubLoginButton, UserMenu } from './auth.js';
|
|
16
|
-
export { CodeBlock, CopyButton, Markdown, MarkdownProps
|
|
17
|
-
export {
|
|
19
|
+
export { CodeBlock, CopyButton, Markdown, MarkdownProps } from './markdown.js';
|
|
20
|
+
export { AppendUserMessageOptions, ApplySdkEventOptions, BeginAssistantMessageOptions, CompleteAssistantMessageOptions, SdkSessionAttachment, SdkSessionEvent, SdkSessionSeed, UseSdkSessionOptions, UseSdkSessionReturn, UseToolCallStreamReturn, useAutoScroll, useDropdownMenu, useRunCollapseState, useRunGroups, useSSEStream, useSdkSession, useSessionStream, useSidecarAuth, useToolCallStream } from './sdk-hooks.js';
|
|
21
|
+
export { d as createAuthFetcher, u as useApiKey, e as useAuth, f as usePtySession } from './use-pty-session-DeZSxOCN.js';
|
|
18
22
|
export { G as GroupedMessage, R as Run, b as RunStats, T as ToolCategory } from './run-CtFZ6s-D.js';
|
|
19
23
|
export { S as Session } from './sidecar-CFU2W9j1.js';
|
|
20
|
-
export { C as CustomToolRenderer, D as DisplayVariant, T as ToolDisplayMetadata } from './tool-display-
|
|
24
|
+
export { C as CustomToolRenderer, D as DisplayVariant, T as ToolDisplayMetadata } from './tool-display-Ct9nFAzJ.js';
|
|
21
25
|
export { A as AgentBranding } from './branding-DCi5VEik.js';
|
|
22
26
|
export { TOOL_CATEGORY_ICONS, cn, copyText, formatDuration, getToolCategory, getToolDisplayMetadata, getToolErrorText, timeAgo, truncateText } from './utils.js';
|
|
23
27
|
import 'class-variance-authority/types';
|
|
@@ -67,4 +71,29 @@ interface WriteFilePreviewProps {
|
|
|
67
71
|
*/
|
|
68
72
|
declare const WriteFilePreview: React.MemoExoticComponent<({ part }: WriteFilePreviewProps) => react_jsx_runtime.JSX.Element | null>;
|
|
69
73
|
|
|
70
|
-
|
|
74
|
+
interface GrepResultsPreviewProps {
|
|
75
|
+
part: ToolPart;
|
|
76
|
+
}
|
|
77
|
+
declare const GrepResultsPreview: React.MemoExoticComponent<({ part }: GrepResultsPreviewProps) => react_jsx_runtime.JSX.Element>;
|
|
78
|
+
|
|
79
|
+
interface GlobResultsPreviewProps {
|
|
80
|
+
part: ToolPart;
|
|
81
|
+
}
|
|
82
|
+
declare const GlobResultsPreview: React.MemoExoticComponent<({ part }: GlobResultsPreviewProps) => react_jsx_runtime.JSX.Element>;
|
|
83
|
+
|
|
84
|
+
interface WebSearchPreviewProps {
|
|
85
|
+
part: ToolPart;
|
|
86
|
+
}
|
|
87
|
+
declare const WebSearchPreview: React.MemoExoticComponent<({ part }: WebSearchPreviewProps) => react_jsx_runtime.JSX.Element>;
|
|
88
|
+
|
|
89
|
+
interface QuestionPreviewProps {
|
|
90
|
+
part: ToolPart;
|
|
91
|
+
}
|
|
92
|
+
declare const QuestionPreview: React.MemoExoticComponent<({ part }: QuestionPreviewProps) => react_jsx_runtime.JSX.Element>;
|
|
93
|
+
|
|
94
|
+
interface DiffPreviewProps {
|
|
95
|
+
part: ToolPart;
|
|
96
|
+
}
|
|
97
|
+
declare const DiffPreview: React.MemoExoticComponent<({ part }: DiffPreviewProps) => react_jsx_runtime.JSX.Element>;
|
|
98
|
+
|
|
99
|
+
export { CodeBlock as CodeBlockDisplay, CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, InlineCode, QuestionPreview, ThemeToggle, ToolPart, WebSearchPreview, WriteFilePreview, useTheme };
|