@tangle-network/sandbox-ui 7.0.3 → 7.0.5
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 +10 -14
- package/dist/{AgentTree-Dzy6lrfP.js → AgentTree-B1iTTYNe.js} +1 -1
- package/dist/{use-follow-tail-Df965WQi.js → ConversationRowView-C4TXICBT.js} +2 -2
- package/dist/{ResearchReport-DKWDmzdK.js → ResearchReport-kYGwgHC7.js} +2 -2
- package/dist/{dashboard-CYWLMJEA.js → dashboard-C7QJJw7-.js} +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +19 -0
- package/dist/{index-DpzFSqjG.d.ts → index-Bm3Narea.d.ts} +1 -1
- package/dist/{index-PolYo7h9.d.ts → index-CGHJonni.d.ts} +65 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/record/ResearchReport.js +1 -1
- package/dist/{record-Cc_WNtG8.js → record-Dmyq0jfl.js} +2 -2
- package/dist/record.js +1 -1
- package/dist/report-viewer.js +75 -75
- package/dist/run/live.js +1 -1
- package/dist/run/record.js +3 -3
- package/dist/run-CcyjQN7y.js +238 -0
- package/dist/run.d.ts +2 -2
- package/dist/run.js +6 -6
- package/dist/runtime-viewer/AgentGraphCanvas-P_PFS2Ko-XoCELgxL.js +563 -0
- package/dist/runtime-viewer/{latest-events-CMbdBLcT-uhVN4JLh.js → latest-events-wofY6ifW-4IMNEe7c.js} +576 -107
- package/dist/styles.css +19 -0
- package/dist/terminal.js +1 -1
- package/dist/{trace-workspace-EArXc0uP.js → trace-workspace-HCTpp-qw.js} +77 -37
- package/dist/{workbench-LcgsEw_H.js → workbench-CugraIbl.js} +3 -2
- package/dist/workbench.js +1 -1
- package/dist/{workspace-CJD7oOEa.js → workspace-BGMyR5uW.js} +3 -3
- package/dist/workspace-viewer.js +10510 -10366
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +1 -1
- package/package.json +6 -4
- package/tests/visual/content-share.mjs +35 -0
- package/dist/run-CpJ_COuz.js +0 -5
- package/dist/runtime-viewer/AgentGraphCanvas-xHVW-YRV-Ch1fnK9k.js +0 -957
- /package/dist/{terminal-nUCznZRj.js → terminal-view-nUCznZRj.js} +0 -0
package/dist/run/live.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WorkspaceFilesPane } from "../workspace-files-pane-D24G7H_Z.js";
|
|
2
2
|
import { t as DiffView } from "../diff-view-B9mNeTLF.js";
|
|
3
3
|
import { t as CodeView } from "../code-view-BlhCS1SD.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as useEventStream, t as TraceWorkspace } from "../trace-workspace-HCTpp-qw.js";
|
|
5
5
|
import { useDocument } from "../hooks/use-document.js";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
package/dist/run/record.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as VirtualList } from "../VirtualList-DcSGbEtA.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as Conversation, t as AgentTree } from "../AgentTree-
|
|
4
|
-
import { t as withPrompts } from "../record-
|
|
2
|
+
import { C as recordFlowTrace, n as PromptMore, o as timelineItems, r as ToolStep, v as indexRecord, x as model_exports } from "../ConversationRowView-C4TXICBT.js";
|
|
3
|
+
import { n as Conversation, t as AgentTree } from "../AgentTree-B1iTTYNe.js";
|
|
4
|
+
import { t as withPrompts } from "../record-Dmyq0jfl.js";
|
|
5
5
|
export { AgentTree, Conversation, PromptMore, ToolStep, VirtualList, indexRecord, recordFlowTrace, model_exports as recordModel, timelineItems, withPrompts };
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { t as cn } from "./utils-BER_bdgE.js";
|
|
2
|
+
import { t as WorkspaceFilesPane } from "./workspace-files-pane-D24G7H_Z.js";
|
|
3
|
+
import { i as modelBrandFor, t as ModelBrandStack } from "./model-brand-BQlarCIo.js";
|
|
4
|
+
import { n as TerminalView } from "./terminal-view-nUCznZRj.js";
|
|
5
|
+
import { t as DiffView } from "./diff-view-B9mNeTLF.js";
|
|
6
|
+
import { t as CodeView } from "./code-view-BlhCS1SD.js";
|
|
7
|
+
import { a as useAgentConversation, i as NewOutputPill, n as usePhone, r as AgentConversationView } from "./trace-workspace-HCTpp-qw.js";
|
|
8
|
+
import { O as useFollowTail } from "./ConversationRowView-C4TXICBT.js";
|
|
9
|
+
import "./record-Dmyq0jfl.js";
|
|
10
|
+
import { Button, SegmentedControl } from "@tangle-network/ui/primitives";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { useEffect, useRef, useState } from "react";
|
|
13
|
+
import { ArrowLeft } from "lucide-react";
|
|
14
|
+
import { ApprovalCard, ApprovalDiffSummary, ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LiveDuration, RunGroup, RunPhaseList, RunRowShell, RunRowStatusDot, RunStatusIcon, RunStatusIcon as RunStatusIcon$1, TaskList, ToolCallFeed, isOpen, parseToolEvent, runStatus as runStatus$1, showsTaskPriority, statusMeta as statusMeta$1, taskProgress, taskStatus } from "@tangle-network/ui/run";
|
|
15
|
+
import { LatestEvents } from "@tangle-network/charts/react/agent-graph";
|
|
16
|
+
// src/run/agent-workspace.tsx
|
|
17
|
+
/** One host read, keyed so a stale answer never lands on a newer selection. */
|
|
18
|
+
function useRead(read, key) {
|
|
19
|
+
const [result, setResult] = useState();
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (!read) return;
|
|
22
|
+
let stale = false;
|
|
23
|
+
setResult({
|
|
24
|
+
key,
|
|
25
|
+
read: { state: "reading" }
|
|
26
|
+
});
|
|
27
|
+
read().then((value) => {
|
|
28
|
+
if (!stale) setResult({
|
|
29
|
+
key,
|
|
30
|
+
read: {
|
|
31
|
+
state: "read",
|
|
32
|
+
value
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}, (why) => {
|
|
36
|
+
if (!stale) setResult({
|
|
37
|
+
key,
|
|
38
|
+
read: {
|
|
39
|
+
state: "failed",
|
|
40
|
+
why: why instanceof Error ? why.message : String(why)
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
return () => {
|
|
45
|
+
stale = true;
|
|
46
|
+
};
|
|
47
|
+
}, [key]);
|
|
48
|
+
if (!read) return void 0;
|
|
49
|
+
return result?.key === key ? result.read : { state: "reading" };
|
|
50
|
+
}
|
|
51
|
+
const Note = ({ children }) => /* @__PURE__ */ jsx("p", {
|
|
52
|
+
role: "status",
|
|
53
|
+
className: "m-0 px-3 py-2 text-sm text-muted-foreground",
|
|
54
|
+
children
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* One agent's workspace: its files with a read-only code and diff view, its conversation as of the run cursor, and a
|
|
58
|
+
* terminal into its live box, behind one segmented control. The host owns every read through `source`; the workspace
|
|
59
|
+
* names where the files came from and says what it is waiting for or could not read, never an empty pane.
|
|
60
|
+
*/
|
|
61
|
+
function AgentWorkspace({ agent, source, cursor = null, startedAt, transcriptNote, view: controlledView, onViewChange, path: controlledPath, onPathChange, onBack, className }) {
|
|
62
|
+
const [ownView, setOwnView] = useState("files");
|
|
63
|
+
const view = controlledView ?? ownView;
|
|
64
|
+
const show = (next) => {
|
|
65
|
+
setOwnView(next);
|
|
66
|
+
onViewChange?.(next);
|
|
67
|
+
};
|
|
68
|
+
const phone = usePhone();
|
|
69
|
+
const [ownPath, setOwnPath] = useState();
|
|
70
|
+
const path = controlledPath ?? ownPath;
|
|
71
|
+
const setPath = (next) => {
|
|
72
|
+
setOwnPath(next);
|
|
73
|
+
onPathChange?.(next);
|
|
74
|
+
};
|
|
75
|
+
useEffect(() => setOwnPath(void 0), [agent.id]);
|
|
76
|
+
const listing = useRead(source.list, `${agent.id}:list`);
|
|
77
|
+
const file = useRead(path ? () => source.read(path) : void 0, `${agent.id}:${path ?? ""}`);
|
|
78
|
+
const terminal = useRead(view === "terminal" ? source.terminal : void 0, `${agent.id}:terminal`);
|
|
79
|
+
const conversation = useAgentConversation(source.stream?.url, source.stream?.open, {
|
|
80
|
+
cursor,
|
|
81
|
+
startedAt,
|
|
82
|
+
silent: transcriptNote
|
|
83
|
+
});
|
|
84
|
+
const scroller = useRef(null);
|
|
85
|
+
const { unseen, jump } = useFollowTail(scroller, {
|
|
86
|
+
identity: view === "trace" ? agent.id : void 0,
|
|
87
|
+
content: conversation.items
|
|
88
|
+
});
|
|
89
|
+
const brand = agent.model ? modelBrandFor(agent.model) : null;
|
|
90
|
+
const meta = [agent.harness, agent.model].filter(Boolean).join(" · ");
|
|
91
|
+
const options = [
|
|
92
|
+
{
|
|
93
|
+
value: "files",
|
|
94
|
+
label: "Files"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
value: "trace",
|
|
98
|
+
label: "Trace"
|
|
99
|
+
},
|
|
100
|
+
...source.terminal ? [{
|
|
101
|
+
value: "terminal",
|
|
102
|
+
label: "Terminal"
|
|
103
|
+
}] : []
|
|
104
|
+
];
|
|
105
|
+
const name = path?.split("/").pop() ?? "";
|
|
106
|
+
const files = listing?.state === "read" ? listing.value : void 0;
|
|
107
|
+
const preview = path && file ? {
|
|
108
|
+
path,
|
|
109
|
+
content: file.state === "read" ? /* @__PURE__ */ jsx(CodeView, {
|
|
110
|
+
path,
|
|
111
|
+
filename: name,
|
|
112
|
+
content: file.value.content,
|
|
113
|
+
language: file.value.language,
|
|
114
|
+
showTree: false,
|
|
115
|
+
className: "h-full"
|
|
116
|
+
}) : /* @__PURE__ */ jsx(Note, { children: file.state === "reading" ? `Reading ${name}…` : file.why }),
|
|
117
|
+
compare: file.state === "read" && file.value.baseline != null ? {
|
|
118
|
+
label: file.value.baselineLabel ?? "before",
|
|
119
|
+
content: /* @__PURE__ */ jsx(DiffView, {
|
|
120
|
+
filename: name,
|
|
121
|
+
baseline: file.value.baseline,
|
|
122
|
+
current: file.value.content,
|
|
123
|
+
showFileHeader: false
|
|
124
|
+
})
|
|
125
|
+
} : void 0
|
|
126
|
+
} : void 0;
|
|
127
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
128
|
+
className: cn("sandbox-agent-workspace flex h-full min-h-0 flex-col", className),
|
|
129
|
+
"data-view": view,
|
|
130
|
+
"data-agent-id": agent.id,
|
|
131
|
+
onKeyDown: (event) => {
|
|
132
|
+
if (event.key === "Escape" && onBack) {
|
|
133
|
+
event.stopPropagation();
|
|
134
|
+
onBack();
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ jsxs("header", {
|
|
139
|
+
className: "flex h-10 shrink-0 items-center gap-2 border-b border-border px-2",
|
|
140
|
+
children: [
|
|
141
|
+
onBack && /* @__PURE__ */ jsxs(Button, {
|
|
142
|
+
variant: "ghost",
|
|
143
|
+
size: "sm",
|
|
144
|
+
onClick: onBack,
|
|
145
|
+
"aria-label": "Back to the run",
|
|
146
|
+
className: "shrink-0 gap-1 px-2",
|
|
147
|
+
children: [/* @__PURE__ */ jsx(ArrowLeft, {
|
|
148
|
+
"aria-hidden": true,
|
|
149
|
+
className: "h-4 w-4"
|
|
150
|
+
}), "Back"]
|
|
151
|
+
}),
|
|
152
|
+
/* @__PURE__ */ jsx(RunStatusIcon, {
|
|
153
|
+
status: agent.status,
|
|
154
|
+
className: "size-4 shrink-0"
|
|
155
|
+
}),
|
|
156
|
+
/* @__PURE__ */ jsx("h3", {
|
|
157
|
+
className: "m-0 min-w-0 flex-1 truncate text-sm font-semibold",
|
|
158
|
+
children: agent.label
|
|
159
|
+
}),
|
|
160
|
+
(brand || meta) && /* @__PURE__ */ jsxs("p", {
|
|
161
|
+
className: "m-0 hidden min-w-0 truncate text-xs text-muted-foreground sm:block",
|
|
162
|
+
children: [brand && /* @__PURE__ */ jsx("span", {
|
|
163
|
+
className: "mr-1.5 inline-flex align-[-3px]",
|
|
164
|
+
children: /* @__PURE__ */ jsx(ModelBrandStack, {
|
|
165
|
+
identity: brand,
|
|
166
|
+
size: "sm"
|
|
167
|
+
})
|
|
168
|
+
}), meta]
|
|
169
|
+
}),
|
|
170
|
+
/* @__PURE__ */ jsx(SegmentedControl, {
|
|
171
|
+
"aria-label": "Agent view",
|
|
172
|
+
value: view,
|
|
173
|
+
onValueChange: show,
|
|
174
|
+
options
|
|
175
|
+
})
|
|
176
|
+
]
|
|
177
|
+
}),
|
|
178
|
+
view === "files" && /* @__PURE__ */ jsx(WorkspaceFilesPane, {
|
|
179
|
+
paths: files?.paths ?? [],
|
|
180
|
+
status: files?.status,
|
|
181
|
+
selectedPath: path,
|
|
182
|
+
onSelect: (next, node) => {
|
|
183
|
+
if (node?.type !== "directory" && !next.endsWith("/")) setPath(next);
|
|
184
|
+
},
|
|
185
|
+
onBack: () => setPath(void 0),
|
|
186
|
+
preview,
|
|
187
|
+
surface: "plain",
|
|
188
|
+
layout: phone ? "stack" : "split",
|
|
189
|
+
expandable: false,
|
|
190
|
+
expansionKey: `agent-workspace:${agent.id}`,
|
|
191
|
+
headerActions: files && /* @__PURE__ */ jsx("span", {
|
|
192
|
+
className: "truncate text-xs text-muted-foreground",
|
|
193
|
+
"data-files-origin": true,
|
|
194
|
+
children: files.origin
|
|
195
|
+
}),
|
|
196
|
+
emptyState: /* @__PURE__ */ jsx(Note, { children: !listing || listing.state === "reading" ? "Reading the agent's files…" : listing.state === "failed" ? listing.why : "This agent has no files." }),
|
|
197
|
+
className: "min-h-0 flex-1"
|
|
198
|
+
}),
|
|
199
|
+
view === "trace" && /* @__PURE__ */ jsxs("div", {
|
|
200
|
+
className: "relative flex min-h-0 flex-1 flex-col",
|
|
201
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
202
|
+
ref: scroller,
|
|
203
|
+
"data-primary-content": "",
|
|
204
|
+
className: "min-h-0 flex-1 overflow-y-auto px-3 py-2",
|
|
205
|
+
children: /* @__PURE__ */ jsx(AgentConversationView, { conversation })
|
|
206
|
+
}), /* @__PURE__ */ jsx(NewOutputPill, {
|
|
207
|
+
unseen,
|
|
208
|
+
onJump: () => jump()
|
|
209
|
+
})]
|
|
210
|
+
}),
|
|
211
|
+
view === "terminal" && /* @__PURE__ */ jsxs("section", {
|
|
212
|
+
"aria-label": "Terminal",
|
|
213
|
+
role: phone ? "dialog" : void 0,
|
|
214
|
+
"aria-modal": phone || void 0,
|
|
215
|
+
className: cn("flex min-h-0 flex-1 flex-col", phone && "fixed inset-0 z-[1100] bg-background"),
|
|
216
|
+
children: [phone && /* @__PURE__ */ jsxs(Button, {
|
|
217
|
+
variant: "ghost",
|
|
218
|
+
size: "sm",
|
|
219
|
+
onClick: () => show("files"),
|
|
220
|
+
"aria-label": "Back to files",
|
|
221
|
+
className: "m-1 w-fit gap-1 px-2",
|
|
222
|
+
children: [/* @__PURE__ */ jsx(ArrowLeft, {
|
|
223
|
+
"aria-hidden": true,
|
|
224
|
+
className: "h-4 w-4"
|
|
225
|
+
}), "Back"]
|
|
226
|
+
}), terminal?.state === "read" && terminal.value ? /* @__PURE__ */ jsx(TerminalView, {
|
|
227
|
+
apiUrl: terminal.value.apiUrl,
|
|
228
|
+
token: terminal.value.token,
|
|
229
|
+
connectionId: terminal.value.connectionId,
|
|
230
|
+
title: agent.label,
|
|
231
|
+
subtitle: "Connected to the agent's box",
|
|
232
|
+
isActive: true
|
|
233
|
+
}) : /* @__PURE__ */ jsx(Note, { children: !terminal || terminal.state === "reading" ? "Opening a terminal into the agent's box…" : terminal.state === "failed" ? terminal.why : "The agent's box is gone; its files come from the git mirror." })]
|
|
234
|
+
})
|
|
235
|
+
]
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
export { AgentWorkspace as S, showsTaskPriority as _, InlineToolItem as a, taskStatus as b, RunPhaseList as c, RunStatusIcon$1 as d, TaskList as f, runStatus$1 as g, parseToolEvent as h, InlineThinkingItem as i, RunRowShell as l, isOpen as m, ApprovalDiffSummary as n, LiveDuration as o, ToolCallFeed as p, ExpandedToolDetail as r, RunGroup as s, ApprovalCard as t, RunRowStatusDot as u, statusMeta$1 as v, LatestEvents as x, taskProgress as y };
|
package/dist/run.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ToolCallData, B as taskProgress, C as RunStatusIcon, D as TaskListItem, E as TaskList, F as isOpen, G as
|
|
1
|
+
import { $ as TraceWorkspaceProps, A as ToolCallData, B as taskProgress, C as RunStatusIcon, D as TaskListItem, E as TaskList, F as isOpen, G as AgentFileListing, H as LatestEvents, I as parseToolEvent, J as AgentWorkspaceProps, K as AgentTerminalGrant, L as runStatus, M as ToolCallFeedProps, N as ToolCallStatus, O as TaskListProps, P as ToolCallType, Q as TraceWorkspace, R as showsTaskPriority, S as RunStatus, T as StatusMeta, U as LatestEventsProps, V as taskStatus, W as AgentFileContent, X as AgentWorkspaceView, Y as AgentWorkspaceSource, Z as TraceEvent, _ as RunPhaseList, a as ApprovalPlanStep, b as RunRowStatus, c as FeedSegment, d as InlineToolItem, et as TraceWaterfall, f as InlineToolItemProps, g as RunPhase, h as RunGroupProps, i as ApprovalDiffSummary, j as ToolCallFeed, k as TaskStatus, l as InlineThinkingItem, m as RunGroup, n as ApprovalCardProps, nt as traceSpanMark, o as ExpandedToolDetail, p as LiveDuration, q as AgentWorkspace, r as ApprovalDiffFile, s as ExpandedToolDetailProps, t as ApprovalCard, tt as TraceWaterfallProps, u as InlineThinkingItemProps, v as RunRowShell, w as RunStatusIconProps, x as RunRowStatusDot, y as RunRowShellProps, z as statusMeta } from "./index-CGHJonni.js";
|
|
2
2
|
import { i as useEventStream, n as AgentStreamSource, r as EventStreamHandlers, t as AgentStreamOpener } from "./event-stream-DNEbvx4s.js";
|
|
3
3
|
import { C as foldAgentRows, S as AgentTranscriptEntry, _ as ConversationRecord, a as VirtualList, b as AgentStreamRow, c as ConversationProps, d as ToolCall, f as indexRecord, g as ConversationNode, h as ConversationEvent, i as AgentTree, l as EventFlag, m as recordFlowTrace, n as ToolStep, o as withPrompts, p as model_d_exports, r as timelineItems, s as Conversation, t as PromptMore, u as RecordIndex, v as AgentStreamHistory, w as useAgentStream, x as AgentStreamState, y as AgentStreamPage } from "./index-Bv2iiZaN.js";
|
|
4
|
-
export { type AgentStreamHistory, type AgentStreamOpener, type AgentStreamPage, type AgentStreamRow, type AgentStreamSource, type AgentStreamState, type AgentTranscriptEntry, AgentTree, ApprovalCard, type ApprovalCardProps, type ApprovalDiffFile, ApprovalDiffSummary, type ApprovalPlanStep, Conversation, type ConversationEvent, type ConversationNode, type ConversationProps, type ConversationRecord, type EventFlag, type EventStreamHandlers, ExpandedToolDetail, type ExpandedToolDetailProps, type FeedSegment, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, LatestEvents, type LatestEventsProps, LiveDuration, PromptMore, type RecordIndex, RunGroup, type RunGroupProps, type RunPhase, RunPhaseList, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStatus, RunStatusIcon, type RunStatusIconProps, type StatusMeta, TaskList, type TaskListItem, type TaskListProps, type TaskStatus, type ToolCall, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, ToolStep, type TraceEvent, TraceWaterfall, type TraceWaterfallProps, TraceWorkspace, type TraceWorkspaceProps, VirtualList, foldAgentRows, indexRecord, isOpen, parseToolEvent, recordFlowTrace, model_d_exports as recordModel, runStatus, showsTaskPriority, statusMeta, taskProgress, taskStatus, timelineItems, traceSpanMark, useAgentStream, useEventStream, withPrompts };
|
|
4
|
+
export { type AgentFileContent, type AgentFileListing, type AgentStreamHistory, type AgentStreamOpener, type AgentStreamPage, type AgentStreamRow, type AgentStreamSource, type AgentStreamState, type AgentTerminalGrant, type AgentTranscriptEntry, AgentTree, AgentWorkspace, type AgentWorkspaceProps, type AgentWorkspaceSource, type AgentWorkspaceView, ApprovalCard, type ApprovalCardProps, type ApprovalDiffFile, ApprovalDiffSummary, type ApprovalPlanStep, Conversation, type ConversationEvent, type ConversationNode, type ConversationProps, type ConversationRecord, type EventFlag, type EventStreamHandlers, ExpandedToolDetail, type ExpandedToolDetailProps, type FeedSegment, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, LatestEvents, type LatestEventsProps, LiveDuration, PromptMore, type RecordIndex, RunGroup, type RunGroupProps, type RunPhase, RunPhaseList, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStatus, RunStatusIcon, type RunStatusIconProps, type StatusMeta, TaskList, type TaskListItem, type TaskListProps, type TaskStatus, type ToolCall, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, ToolStep, type TraceEvent, TraceWaterfall, type TraceWaterfallProps, TraceWorkspace, type TraceWorkspaceProps, VirtualList, foldAgentRows, indexRecord, isOpen, parseToolEvent, recordFlowTrace, model_d_exports as recordModel, runStatus, showsTaskPriority, statusMeta, taskProgress, taskStatus, timelineItems, traceSpanMark, useAgentStream, useEventStream, withPrompts };
|
package/dist/run.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as VirtualList } from "./VirtualList-DcSGbEtA.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { _ as showsTaskPriority, a as InlineToolItem, b as taskStatus, c as RunPhaseList, d as RunStatusIcon, f as TaskList, g as runStatus, h as parseToolEvent, i as InlineThinkingItem, l as RunRowShell, m as isOpen, n as ApprovalDiffSummary, o as LiveDuration, p as ToolCallFeed, r as ExpandedToolDetail, s as RunGroup, t as ApprovalCard, u as RunRowStatusDot, v as statusMeta, x as LatestEvents, y as taskProgress } from "./run-
|
|
5
|
-
import { n as Conversation, t as AgentTree } from "./AgentTree-
|
|
6
|
-
import { t as withPrompts } from "./record-
|
|
7
|
-
export { AgentTree, ApprovalCard, ApprovalDiffSummary, Conversation, ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LatestEvents, LiveDuration, PromptMore, RunGroup, RunPhaseList, RunRowShell, RunRowStatusDot, RunStatusIcon, TaskList, ToolCallFeed, ToolStep, TraceWaterfall, TraceWorkspace, VirtualList, foldAgentRows, indexRecord, isOpen, parseToolEvent, recordFlowTrace, model_exports as recordModel, runStatus, showsTaskPriority, statusMeta, taskProgress, taskStatus, timelineItems, traceSpanMark, useAgentStream, useEventStream, withPrompts };
|
|
2
|
+
import { c as useEventStream, l as TraceWaterfall, o as foldAgentRows, s as useAgentStream, t as TraceWorkspace, u as traceSpanMark } from "./trace-workspace-HCTpp-qw.js";
|
|
3
|
+
import { C as recordFlowTrace, n as PromptMore, o as timelineItems, r as ToolStep, v as indexRecord, x as model_exports } from "./ConversationRowView-C4TXICBT.js";
|
|
4
|
+
import { S as AgentWorkspace, _ as showsTaskPriority, a as InlineToolItem, b as taskStatus, c as RunPhaseList, d as RunStatusIcon, f as TaskList, g as runStatus, h as parseToolEvent, i as InlineThinkingItem, l as RunRowShell, m as isOpen, n as ApprovalDiffSummary, o as LiveDuration, p as ToolCallFeed, r as ExpandedToolDetail, s as RunGroup, t as ApprovalCard, u as RunRowStatusDot, v as statusMeta, x as LatestEvents, y as taskProgress } from "./run-CcyjQN7y.js";
|
|
5
|
+
import { n as Conversation, t as AgentTree } from "./AgentTree-B1iTTYNe.js";
|
|
6
|
+
import { t as withPrompts } from "./record-Dmyq0jfl.js";
|
|
7
|
+
export { AgentTree, AgentWorkspace, ApprovalCard, ApprovalDiffSummary, Conversation, ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LatestEvents, LiveDuration, PromptMore, RunGroup, RunPhaseList, RunRowShell, RunRowStatusDot, RunStatusIcon, TaskList, ToolCallFeed, ToolStep, TraceWaterfall, TraceWorkspace, VirtualList, foldAgentRows, indexRecord, isOpen, parseToolEvent, recordFlowTrace, model_exports as recordModel, runStatus, showsTaskPriority, statusMeta, taskProgress, taskStatus, timelineItems, traceSpanMark, useAgentStream, useEventStream, withPrompts };
|