@tangle-network/sandbox-ui 2.0.3 → 2.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/dist/{AgentGraph-BqLPrigw.d.ts → AgentGraph-DzdpPFEI.d.ts} +9 -4
- package/dist/{AgentGraph-Dd1EBlhu.js → AgentGraph-YuBa5O8m.js} +2 -2
- package/dist/{AgentGraphCanvas-CIGQjYtw.js → AgentGraphCanvas-DYAMCkhv.js} +349 -202
- package/dist/{WorkflowGraph-Bj6VMnOz.js → WorkflowGraph-DkdcJ8wb.js} +3 -3
- package/dist/{canvas-theme-DGd0fm1H.js → canvas-theme-aqWjGbfu.js} +2 -5
- package/dist/globals.css +149 -72
- package/dist/{index-CjGeAD3E.d.ts → index-DFNf9mJ2.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{latest-events-D1i5Ny3N.js → latest-events-CWvZr8Ut.js} +36 -56
- package/dist/{node-ui-DWv_oLvy.js → node-ui-Dst2R2M5.js} +1 -1
- package/dist/{run-B0HDqO5h.js → run-wUKH3Qh6.js} +2 -2
- package/dist/run.d.ts +1 -1
- package/dist/run.js +2 -2
- package/dist/styles.css +149 -72
- package/dist/tailwind.css +44 -32
- package/dist/workflows.d.ts +1 -1
- package/dist/workflows.js +2 -2
- package/package.json +3 -3
|
@@ -23,6 +23,11 @@ interface AgentGraphNode {
|
|
|
23
23
|
turn?: string | null;
|
|
24
24
|
costUsd?: number | null;
|
|
25
25
|
tokens?: number | null;
|
|
26
|
+
/** Recorded metrics with units; retained in pointer and keyboard detail cards. */
|
|
27
|
+
facts?: readonly {
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}[];
|
|
26
31
|
/** Live cards: what it is doing now, from its real state; the card carries it as `data-activity` for hosts to style. */
|
|
27
32
|
activity?: AgentGraphActivity | null;
|
|
28
33
|
/** Live cards: its latest tool calls or events, oldest first; the card shows the last three. */
|
|
@@ -37,7 +42,7 @@ interface AgentGraphNode {
|
|
|
37
42
|
startedAt?: number | null;
|
|
38
43
|
/** Live cards: commits it shipped. */
|
|
39
44
|
commits?: number | null;
|
|
40
|
-
/** Live cards: a settled agent's result
|
|
45
|
+
/** Live cards: a settled agent's result in its compact row, e.g. "rc2 · 14 commits". */
|
|
41
46
|
result?: string | null;
|
|
42
47
|
}
|
|
43
48
|
type AgentGraphActivity = "thinking" | "reading" | "building" | "proving" | "writing" | "waiting" | "restarting";
|
|
@@ -113,9 +118,9 @@ interface AgentGraphProps {
|
|
|
113
118
|
/** Hub layout: the header title. Default "Agent graph". */
|
|
114
119
|
title?: ReactNode;
|
|
115
120
|
/**
|
|
116
|
-
* Tree layout:
|
|
117
|
-
*
|
|
118
|
-
*
|
|
121
|
+
* Tree layout: readable task summaries, the latest three events and model/accounting details. Desktop slots stay
|
|
122
|
+
* fixed through status updates; completed results compact while failures retain their evidence. Phones preserve
|
|
123
|
+
* their initial attention order. Only the running dot breathes; commands update without routine sliding.
|
|
119
124
|
*/
|
|
120
125
|
live?: boolean;
|
|
121
126
|
/** Host tool identity, such as charts' toolGlyph(event.label). Core graphs need no charts dependency. */
|
|
@@ -1258,7 +1258,7 @@ function retryImport(factory, retries = 2, delayMs = 350) {
|
|
|
1258
1258
|
});
|
|
1259
1259
|
}
|
|
1260
1260
|
function lazyWorkflowGraph() {
|
|
1261
|
-
return lazy(() => retryImport(() => import("./WorkflowGraph-
|
|
1261
|
+
return lazy(() => retryImport(() => import("./WorkflowGraph-DkdcJ8wb.js").then((m) => ({ default: m.WorkflowGraph }))));
|
|
1262
1262
|
}
|
|
1263
1263
|
var GraphErrorBoundary = class extends Component {
|
|
1264
1264
|
state = { hasError: false };
|
|
@@ -1318,7 +1318,7 @@ function WorkflowGraph(props) {
|
|
|
1318
1318
|
* taking the pane down.
|
|
1319
1319
|
*/
|
|
1320
1320
|
function lazyCanvas() {
|
|
1321
|
-
return lazy(() => retryImport(() => import("./AgentGraphCanvas-
|
|
1321
|
+
return lazy(() => retryImport(() => import("./AgentGraphCanvas-DYAMCkhv.js").then((m) => ({ default: m.AgentGraphCanvas }))));
|
|
1322
1322
|
}
|
|
1323
1323
|
/** The agents as a list, for when the canvas cannot load. */
|
|
1324
1324
|
function AgentListFallback({ nodes, selectedId, onSelect, className, onRetry }) {
|