@tangle-network/sandbox-cli 0.21.26 → 0.21.28
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/graph-viewer/{Analytics-DocMpB6T.js → Analytics-DFWW8Phh.js} +260 -275
- package/dist/graph-viewer/Checks-qgqV4xgV.js +155 -0
- package/dist/graph-viewer/{Conversations-CISiWrR9.js → Conversations-CGB45kpj.js} +112 -80
- package/dist/graph-viewer/{Files-Dh8p_Fpw.js → Files-DtZhf0ii.js} +121 -106
- package/dist/graph-viewer/LiveRun-C21wUKAY.js +210 -0
- package/dist/graph-viewer/Overview-BjeLsA2I.js +506 -0
- package/dist/graph-viewer/{RunPage-nJwCsArn.js → RunPage-CkkcBEUe.js} +22 -22
- package/dist/graph-viewer/{Timeline-bPjhV3il.js → Timeline-C2Xolk0t.js} +84 -84
- package/dist/graph-viewer/{Today-pebCsPJ1.js → Today-BVVDtSVN.js} +65 -58
- package/dist/graph-viewer/Topology-DO5XX8e4.js +545 -0
- package/dist/graph-viewer/{Traces-C5x2UvJh.js → Traces-BhMxjNgw.js} +79 -52
- package/dist/graph-viewer/{WallPages-DSmRm2v3.js → WallPages-4d9QUZDq.js} +3 -3
- package/dist/graph-viewer/index.js +103 -102
- package/dist/graph-viewer/{lazy-pages-CpmkG5o2.js → lazy-pages-DM0cZM10.js} +4 -4
- package/dist/graph-viewer/{record-part-Cx9GDQeo.js → record-part-CZal_IMH.js} +382 -352
- package/dist/graph-viewer/report-viewer.js +7 -7
- package/dist/graph-viewer/styles.css +596 -284
- package/dist/graph-viewer/{ui-CEhDqce8.js → ui-D8QZRsC3.js} +143 -111
- package/dist/graph-viewer/viewer/{AgentGraphCanvas-D7jjAE6i-DecKyUGA.js → AgentGraphCanvas-CMdOlSlh-4EervjeC.js} +54 -48
- package/dist/graph-viewer/viewer/{Analytics-CtKucZjs.js → Analytics-DD__nbLm.js} +203 -218
- package/dist/graph-viewer/viewer/{AnswerStrip-DsI9aF-i.js → AnswerStrip-CGUyXuYH.js} +2 -2
- package/dist/graph-viewer/viewer/Checks-Ds5M7eAW.js +156 -0
- package/dist/graph-viewer/viewer/{Conversations-DQBCyko6.js → Conversations-C1n0EBBd.js} +124 -92
- package/dist/graph-viewer/viewer/{Files-B-g25gSO.js → Files-Cjr7NMU_.js} +63 -48
- package/dist/graph-viewer/viewer/{LiveRun-BMQnTpTZ.js → LiveRun-uPTkPSjo.js} +1223 -1164
- package/dist/graph-viewer/viewer/{Outputs-DXnN1wEQ.js → Outputs-CumGyjQo.js} +6 -6
- package/dist/graph-viewer/viewer/Overview-4Umk14_2.js +507 -0
- package/dist/graph-viewer/viewer/{RunPage-ChipoSdO.js → RunPage-DZlBW7Va.js} +28 -28
- package/dist/graph-viewer/viewer/{Scores-CjriXjf_.js → Scores-ZS16yk0n.js} +3 -3
- package/dist/graph-viewer/viewer/{Timeline-DzEzobA0.js → Timeline-BnK6-yBR.js} +24 -24
- package/dist/graph-viewer/viewer/{Today-DLHe_wTA.js → Today-a_-oNigi.js} +69 -62
- package/dist/graph-viewer/viewer/Topology-CQPCLQT6.js +546 -0
- package/dist/graph-viewer/viewer/{Traces-BWBulSPE.js → Traces-C0IGk0L4.js} +75 -48
- package/dist/graph-viewer/viewer/{WallPages-Crj-qPoK.js → WallPages-CzWpyIfp.js} +8 -8
- package/dist/graph-viewer/viewer/{WorkflowGraph-DYsP_Kcg-C0O7M5iH.js → WorkflowGraph-DZ3xejKE-jRXKeSrg.js} +6 -6
- package/dist/graph-viewer/viewer/{agent-timeline-C-UIhXgu.js → agent-timeline-Cs9Qbpvo.js} +437 -425
- package/dist/graph-viewer/viewer/{bot-Bivadvxn.js → bot-D6Nrej7Z.js} +1 -1
- package/dist/graph-viewer/viewer/{chevron-right-WW7tFY6B.js → chevron-right-D_5IKLxu.js} +1 -1
- package/dist/graph-viewer/viewer/{createLucideIcon-Z6KTw8ff.js → createLucideIcon-yH0cxLMy.js} +1 -1
- package/dist/graph-viewer/viewer/{data-azhapQrS.js → data-CkWfWr7i.js} +1 -1
- package/dist/graph-viewer/viewer/{dist-CyOc-K4O.js → dist-C1-7EfoW.js} +3 -3
- package/dist/graph-viewer/viewer/{file-text-B34N7Soo.js → file-text-m7a3piQF.js} +1 -1
- package/dist/graph-viewer/viewer/{final-output-Db2D9cMT.js → final-output-kwY11u9X.js} +1 -1
- package/dist/graph-viewer/viewer/{highlights-Bgg6O5ub.js → highlights-Btsi5OXl.js} +2 -2
- package/dist/graph-viewer/viewer/{jsx-runtime-BSzbUOFc.js → jsx-runtime-DQWyJOhv.js} +1 -1
- package/dist/graph-viewer/viewer/{lazy-pages-fgtpXQ00.js → lazy-pages-BowaGsg-.js} +6 -6
- package/dist/graph-viewer/viewer/{markdown-BpJEJUTW.js → markdown-CX_sVrXB.js} +17 -17
- package/dist/graph-viewer/viewer/{model-brand-bTcMjQtB-C9bHPsPk.js → model-brand-bTcMjQtB-fagiBQam.js} +3 -3
- package/dist/graph-viewer/viewer/{page-header-C6YCPkzJ.js → page-header-Brq611fd.js} +3 -3
- package/dist/graph-viewer/viewer/{popover-DrLB9iar.js → popover-CvOAjlnk.js} +4 -4
- package/dist/graph-viewer/viewer/{react-CisnW4fB.js → react-CY3IbSNO.js} +24 -24
- package/dist/graph-viewer/viewer/{react-dom-C5NDYQCD.js → react-dom-t1L4_-il.js} +1 -1
- package/dist/graph-viewer/viewer/{record-part-d0gKKrMI.js → record-part-D3_Anfpe.js} +455 -425
- package/dist/graph-viewer/viewer/{segmented-control-ChhLMa6h.js → segmented-control-BaJmvTNd.js} +39 -39
- package/dist/graph-viewer/viewer/{shiki-BwlTRTY6.js → shiki-Qnby7Sh6.js} +2 -2
- package/dist/graph-viewer/viewer/{stream-tokenizer-CaVb21TO.js → stream-tokenizer-CWtnjmRd.js} +1 -1
- package/dist/graph-viewer/viewer/{terminal-BxRacTx0.js → terminal-83J_I4Ne.js} +1 -1
- package/dist/graph-viewer/viewer/{themes-BxrCCwH5.js → themes-1i1fzpRk.js} +1 -1
- package/dist/graph-viewer/viewer/{ui-DZiGjPwl.js → ui-C9b1rIUH.js} +222 -190
- package/dist/graph-viewer/viewer/{workspace-DalRxssx.js → workspace-CekmOBs3.js} +76 -76
- package/dist/graph-viewer/viewer/{x-B_F8B4lq.js → x-DOc2URqZ.js} +1 -1
- package/dist/graph-viewer/workspace-viewer.js +103 -102
- package/package.json +9 -9
- package/dist/graph-viewer/Checks-CbnY4tuh.js +0 -113
- package/dist/graph-viewer/LiveRun-C-yKwkKs.js +0 -190
- package/dist/graph-viewer/Overview-BaXPdCFC.js +0 -477
- package/dist/graph-viewer/Topology-CyhuK6XW.js +0 -550
- package/dist/graph-viewer/viewer/Checks-DZTgeYlV.js +0 -114
- package/dist/graph-viewer/viewer/Overview-u7-8-rGx.js +0 -478
- package/dist/graph-viewer/viewer/Topology-Dsmuu27J.js +0 -551
|
@@ -1,550 +0,0 @@
|
|
|
1
|
-
import { S as e, a as t, b as n, c as r, d as i, f as a, g as o, l as s, m as c, n as l, o as u, s as d, t as f, u as p, v as m, w as h } from "./ui-CEhDqce8.js";
|
|
2
|
-
import { agentParam as g } from "./RunPage-nJwCsArn.js";
|
|
3
|
-
import { useEffect as _, useLayoutEffect as v, useMemo as y, useRef as b, useState as x } from "react";
|
|
4
|
-
import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
5
|
-
//#region src/workspace/run/Topology.tsx
|
|
6
|
-
function T(e, t, n, r, i) {
|
|
7
|
-
let a = new Set(e.teams.map((e) => e.id)), o = i ? Math.min(280, t - 32) : a.size ? 216 : 272, s = o + (a.size ? 56 : 72), c = /* @__PURE__ */ new Map(), l = [], u = (i, d, f) => {
|
|
8
|
-
let p = 24 + d * s;
|
|
9
|
-
if (i.children.length > 8 && a.has(i.id)) {
|
|
10
|
-
let e = 24 + (d + 1) * s, n = Math.max(1, Math.floor((t - e - 48 + 8) / 218)), a = r.has(i.id), u = Math.ceil(i.children.length / n), m = a ? 48 + u * 52 - 8 + 12 : 48;
|
|
11
|
-
return l.push({
|
|
12
|
-
id: i.id,
|
|
13
|
-
x: e,
|
|
14
|
-
y: f,
|
|
15
|
-
w: n * 218 - 8 + 24,
|
|
16
|
-
h: m,
|
|
17
|
-
open: a
|
|
18
|
-
}), a && i.children.forEach((t, r) => c.set(t, {
|
|
19
|
-
x: e + 12 + r % n * 218,
|
|
20
|
-
y: f + 48 + Math.floor(r / n) * 52,
|
|
21
|
-
w: 210,
|
|
22
|
-
h: 44,
|
|
23
|
-
sm: !0,
|
|
24
|
-
team: i.id
|
|
25
|
-
})), c.set(i.id, {
|
|
26
|
-
x: p,
|
|
27
|
-
y: f + 24 - 29 + 4,
|
|
28
|
-
w: o,
|
|
29
|
-
h: 58
|
|
30
|
-
}), Math.max(m, 58) + 16;
|
|
31
|
-
}
|
|
32
|
-
if (!i.children.length) return c.set(i.id, {
|
|
33
|
-
x: p,
|
|
34
|
-
y: f,
|
|
35
|
-
w: o,
|
|
36
|
-
h: 58
|
|
37
|
-
}), 68;
|
|
38
|
-
let m = f;
|
|
39
|
-
for (let t of i.children) m += u(e.byId.get(t), d + 1, m);
|
|
40
|
-
let h = m - f - 10, g = c.get(i.children[0]);
|
|
41
|
-
return c.set(i.id, {
|
|
42
|
-
x: p,
|
|
43
|
-
y: h > n - 48 ? g.y : f + Math.max(0, h / 2 - 29),
|
|
44
|
-
w: o,
|
|
45
|
-
h: 58
|
|
46
|
-
}), Math.max(m - f, 68);
|
|
47
|
-
};
|
|
48
|
-
if (i) {
|
|
49
|
-
let t = 16;
|
|
50
|
-
for (let n of e.tree) c.set(n.id, {
|
|
51
|
-
x: 12 + Math.min(n.depth, 4) * 20,
|
|
52
|
-
y: t,
|
|
53
|
-
w: o - Math.min(n.depth, 4) * 20,
|
|
54
|
-
h: 58
|
|
55
|
-
}), t += 66;
|
|
56
|
-
} else {
|
|
57
|
-
let t = 24;
|
|
58
|
-
for (let n of e.agents.filter((e) => !e.parent)) t += u(n, 0, t);
|
|
59
|
-
}
|
|
60
|
-
let d = [...c.values(), ...l], f = Math.max(0, ...d.map((e) => e.x + e.w)) + 24, p = Math.max(0, ...d.map((e) => e.y + e.h)) + 24, m = i ? 0 : Math.max(0, (t - f) / 2), h = i ? 0 : Math.max(0, (n - p) / 2);
|
|
61
|
-
for (let e of d) e.x += m, e.y += h;
|
|
62
|
-
return {
|
|
63
|
-
pos: c,
|
|
64
|
-
frames: l,
|
|
65
|
-
W: Math.max(t, f + m),
|
|
66
|
-
H: Math.max(n, p + h),
|
|
67
|
-
over: p > n + 160 || f > t + 160
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function E({ m: n, agent: s, selectAgent: l, route: h, doc: S }) {
|
|
71
|
-
let E = b(null), k = o(), [A, j] = x({
|
|
72
|
-
w: 1e3,
|
|
73
|
-
h: 700
|
|
74
|
-
}), [M, N] = x({
|
|
75
|
-
top: 0,
|
|
76
|
-
left: 0
|
|
77
|
-
}), [P, F] = x(() => new Set(n.teams.length === 1 ? [n.teams[0].id] : [])), I = c();
|
|
78
|
-
v(() => {
|
|
79
|
-
let e = E.current;
|
|
80
|
-
if (!e) return;
|
|
81
|
-
let t = () => j({
|
|
82
|
-
w: e.clientWidth,
|
|
83
|
-
h: e.clientHeight
|
|
84
|
-
});
|
|
85
|
-
t();
|
|
86
|
-
let n = new ResizeObserver(t);
|
|
87
|
-
return n.observe(e), () => n.disconnect();
|
|
88
|
-
}, []);
|
|
89
|
-
let L = y(() => T(n, A.w, A.h, P, k), [
|
|
90
|
-
n,
|
|
91
|
-
A,
|
|
92
|
-
P,
|
|
93
|
-
k
|
|
94
|
-
]), R = s ?? n.root?.id ?? null, { anc: z, desc: B } = y(() => {
|
|
95
|
-
let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();
|
|
96
|
-
for (let t = R ? n.byId.get(R)?.parent : null; t; t = n.byId.get(t)?.parent ?? null) e.add(t);
|
|
97
|
-
let r = (e) => {
|
|
98
|
-
for (let i of n.byId.get(e)?.children ?? []) t.add(i), r(i);
|
|
99
|
-
};
|
|
100
|
-
return R && r(R), {
|
|
101
|
-
anc: e,
|
|
102
|
-
desc: t
|
|
103
|
-
};
|
|
104
|
-
}, [n, R]), V = R !== null && R !== n.root?.id, H = (e) => !V || e === R || z.has(e) || B.has(e), U = (e) => {
|
|
105
|
-
let t = L.pos.get(e);
|
|
106
|
-
t && E.current && E.current.scrollTo({
|
|
107
|
-
left: t.x + t.w / 2 - A.w / 2,
|
|
108
|
-
top: t.y + t.h / 2 - A.h / 2,
|
|
109
|
-
behavior: "smooth"
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
_(() => {
|
|
113
|
-
if (R) {
|
|
114
|
-
let e = n.byId.get(R)?.team;
|
|
115
|
-
e && e !== R && !P.has(e) && F(/* @__PURE__ */ new Set([...P, e]));
|
|
116
|
-
}
|
|
117
|
-
}, [R]);
|
|
118
|
-
let W = (e) => [e.x + e.w, e.y + e.h / 2], G = (e) => [e.x, e.y + e.h / 2], K = (e, t, n, r) => {
|
|
119
|
-
if (k) {
|
|
120
|
-
let [i, a] = G(t);
|
|
121
|
-
return /* @__PURE__ */ C("path", {
|
|
122
|
-
d: `M${e.x + 16} ${e.y + e.h} V${a - 8} q0 8 8 8 H${i}`,
|
|
123
|
-
className: n ? "hot" : ""
|
|
124
|
-
}, r);
|
|
125
|
-
}
|
|
126
|
-
let [i, a] = W(e), [o, s] = G(t), c = (i + o) / 2;
|
|
127
|
-
return /* @__PURE__ */ C("path", {
|
|
128
|
-
d: `M${i} ${a} C${c} ${a} ${c} ${s} ${o} ${s}`,
|
|
129
|
-
className: n ? "hot" : V ? "fade" : ""
|
|
130
|
-
}, r);
|
|
131
|
-
}, q = [];
|
|
132
|
-
for (let e of n.agents) {
|
|
133
|
-
let t = L.pos.get(e.id), n = e.parent ? L.pos.get(e.parent) : null;
|
|
134
|
-
t && n && !t.team && q.push(K(n, t, e.id === R || e.parent === R || z.has(e.id) && (z.has(e.parent) || e.parent === R), e.id));
|
|
135
|
-
}
|
|
136
|
-
for (let e of L.frames) {
|
|
137
|
-
let t = L.pos.get(e.id);
|
|
138
|
-
t && q.push(K(t, {
|
|
139
|
-
x: e.x,
|
|
140
|
-
y: e.y,
|
|
141
|
-
w: e.w,
|
|
142
|
-
h: 48
|
|
143
|
-
}, e.id === R || L.pos.get(R ?? "")?.team === e.id, `f:${e.id}`));
|
|
144
|
-
}
|
|
145
|
-
let J = n.agents.filter((e) => {
|
|
146
|
-
let t = L.pos.get(e.id);
|
|
147
|
-
return t && t.y + t.h >= M.top - 400 && t.y <= M.top + A.h + 400 && t.x + t.w >= M.left - 400 && t.x <= M.left + A.w + 400;
|
|
148
|
-
}), Y = () => E.current?.getBoundingClientRect(), X = R ? n.byId.get(R) ?? null : null;
|
|
149
|
-
return /* @__PURE__ */ w("div", {
|
|
150
|
-
className: "rp-topo",
|
|
151
|
-
children: [/* @__PURE__ */ w("section", {
|
|
152
|
-
className: "rp-card",
|
|
153
|
-
"aria-label": "Spawn tree",
|
|
154
|
-
children: [/* @__PURE__ */ w("div", {
|
|
155
|
-
className: "rp-hd",
|
|
156
|
-
children: [/* @__PURE__ */ w("div", {
|
|
157
|
-
className: "rp-legend",
|
|
158
|
-
children: [
|
|
159
|
-
/* @__PURE__ */ w("span", {
|
|
160
|
-
className: "rp-key",
|
|
161
|
-
children: [/* @__PURE__ */ C(d, { tone: "ok" }), "Done"]
|
|
162
|
-
}),
|
|
163
|
-
/* @__PURE__ */ w("span", {
|
|
164
|
-
className: "rp-key",
|
|
165
|
-
children: [/* @__PURE__ */ C(d, { tone: "live" }), "Running"]
|
|
166
|
-
}),
|
|
167
|
-
/* @__PURE__ */ w("span", {
|
|
168
|
-
className: "rp-key",
|
|
169
|
-
children: [/* @__PURE__ */ C(d, { tone: "" }), "Stopped"]
|
|
170
|
-
}),
|
|
171
|
-
/* @__PURE__ */ w("span", {
|
|
172
|
-
className: "rp-key",
|
|
173
|
-
children: [/* @__PURE__ */ C(d, { tone: "none" }), "Never ran"]
|
|
174
|
-
})
|
|
175
|
-
]
|
|
176
|
-
}), /* @__PURE__ */ w("span", {
|
|
177
|
-
className: "end",
|
|
178
|
-
children: [n.teams.length > 0 && /* @__PURE__ */ w("span", {
|
|
179
|
-
className: "rp-group",
|
|
180
|
-
role: "group",
|
|
181
|
-
"aria-label": "Teams",
|
|
182
|
-
children: [/* @__PURE__ */ C("button", {
|
|
183
|
-
type: "button",
|
|
184
|
-
className: "rp-btn",
|
|
185
|
-
onClick: () => F(new Set(n.teams.map((e) => e.id))),
|
|
186
|
-
children: "Expand all"
|
|
187
|
-
}), /* @__PURE__ */ C("button", {
|
|
188
|
-
type: "button",
|
|
189
|
-
className: "rp-btn",
|
|
190
|
-
onClick: () => F(/* @__PURE__ */ new Set()),
|
|
191
|
-
children: "Collapse all"
|
|
192
|
-
})]
|
|
193
|
-
}), /* @__PURE__ */ C(u, {
|
|
194
|
-
label: "Go to agent",
|
|
195
|
-
options: i(n),
|
|
196
|
-
groups: p(n),
|
|
197
|
-
value: R,
|
|
198
|
-
placeholder: `Search ${n.agents.length} agents`,
|
|
199
|
-
width: 340,
|
|
200
|
-
style: { width: 220 },
|
|
201
|
-
onChange: (e) => {
|
|
202
|
-
e && (l(e), window.setTimeout(() => U(e), 60));
|
|
203
|
-
},
|
|
204
|
-
children: /* @__PURE__ */ C("span", {
|
|
205
|
-
className: "dim",
|
|
206
|
-
children: "Go to agent"
|
|
207
|
-
})
|
|
208
|
-
})]
|
|
209
|
-
})]
|
|
210
|
-
}), /* @__PURE__ */ w("div", {
|
|
211
|
-
className: "rp-topo-wrap",
|
|
212
|
-
children: [/* @__PURE__ */ w("div", {
|
|
213
|
-
className: "rp-topo-canvas",
|
|
214
|
-
ref: E,
|
|
215
|
-
onScroll: (e) => N({
|
|
216
|
-
top: e.currentTarget.scrollTop,
|
|
217
|
-
left: e.currentTarget.scrollLeft
|
|
218
|
-
}),
|
|
219
|
-
children: [
|
|
220
|
-
/* @__PURE__ */ C("svg", {
|
|
221
|
-
className: "edges",
|
|
222
|
-
width: L.W,
|
|
223
|
-
height: L.H,
|
|
224
|
-
"aria-hidden": "true",
|
|
225
|
-
children: q
|
|
226
|
-
}),
|
|
227
|
-
L.frames.map((e) => {
|
|
228
|
-
let i = n.teams.find((t) => t.id === e.id), a = i.members.map((e) => n.byId.get(e)), o = a.filter((e) => e.state.tone === "live").length, s = a.filter((e) => e.state.tone === "ok").length, c = V && !(e.id === R || z.has(e.id) || L.pos.get(R ?? "")?.team === e.id);
|
|
229
|
-
return /* @__PURE__ */ C("div", {
|
|
230
|
-
className: `rp-team${c ? " fade" : ""}`,
|
|
231
|
-
style: {
|
|
232
|
-
left: e.x,
|
|
233
|
-
top: e.y,
|
|
234
|
-
width: e.w,
|
|
235
|
-
height: e.h
|
|
236
|
-
},
|
|
237
|
-
children: /* @__PURE__ */ w("button", {
|
|
238
|
-
type: "button",
|
|
239
|
-
className: "rp-team-h",
|
|
240
|
-
"aria-expanded": e.open,
|
|
241
|
-
onClick: () => F((t) => {
|
|
242
|
-
let n = new Set(t);
|
|
243
|
-
return n.has(e.id) ? n.delete(e.id) : n.add(e.id), n;
|
|
244
|
-
}),
|
|
245
|
-
onPointerEnter: (e) => I.show({
|
|
246
|
-
content: /* @__PURE__ */ C(r, {
|
|
247
|
-
m: n,
|
|
248
|
-
team: i
|
|
249
|
-
}),
|
|
250
|
-
rect: e.currentTarget.getBoundingClientRect(),
|
|
251
|
-
bounds: Y(),
|
|
252
|
-
vertical: !0,
|
|
253
|
-
wide: !0
|
|
254
|
-
}),
|
|
255
|
-
onPointerLeave: () => I.hide(),
|
|
256
|
-
children: [
|
|
257
|
-
/* @__PURE__ */ C("span", {
|
|
258
|
-
className: "cv",
|
|
259
|
-
children: /* @__PURE__ */ C(t, { name: "chevron" })
|
|
260
|
-
}),
|
|
261
|
-
/* @__PURE__ */ C("b", { children: i.label }),
|
|
262
|
-
/* @__PURE__ */ C("span", {
|
|
263
|
-
className: "ct",
|
|
264
|
-
children: a.length
|
|
265
|
-
}),
|
|
266
|
-
/* @__PURE__ */ w("span", {
|
|
267
|
-
className: "st",
|
|
268
|
-
children: [
|
|
269
|
-
/* @__PURE__ */ w("span", {
|
|
270
|
-
className: "mb",
|
|
271
|
-
children: [/* @__PURE__ */ C("i", {
|
|
272
|
-
className: "ok",
|
|
273
|
-
style: { width: `${s / a.length * 100}%` }
|
|
274
|
-
}), /* @__PURE__ */ C("i", {
|
|
275
|
-
className: "live",
|
|
276
|
-
style: { width: `${o / a.length * 100}%` }
|
|
277
|
-
})]
|
|
278
|
-
}),
|
|
279
|
-
o ? `${o} running · ` : "",
|
|
280
|
-
m(a.reduce((e, t) => e + (t.tokens ?? 0), 0))
|
|
281
|
-
]
|
|
282
|
-
})
|
|
283
|
-
]
|
|
284
|
-
})
|
|
285
|
-
}, e.id);
|
|
286
|
-
}),
|
|
287
|
-
J.map((t) => {
|
|
288
|
-
let r = L.pos.get(t.id), i = `rp-node${r.sm ? " sm" : ""}${t.id === R ? " sel" : ""}${H(t.id) || r.team && L.pos.get(R ?? "")?.team === r.team ? "" : " fade"}${t.state.tone === "none" ? " ghost" : ""}`;
|
|
289
|
-
return /* @__PURE__ */ w("button", {
|
|
290
|
-
type: "button",
|
|
291
|
-
className: i,
|
|
292
|
-
style: {
|
|
293
|
-
left: r.x,
|
|
294
|
-
top: r.y,
|
|
295
|
-
width: r.w
|
|
296
|
-
},
|
|
297
|
-
"aria-pressed": t.id === R,
|
|
298
|
-
onClick: () => l(t.id),
|
|
299
|
-
onPointerEnter: (e) => I.show({
|
|
300
|
-
content: /* @__PURE__ */ C(f, {
|
|
301
|
-
m: n,
|
|
302
|
-
a: t
|
|
303
|
-
}),
|
|
304
|
-
rect: e.currentTarget.getBoundingClientRect(),
|
|
305
|
-
bounds: Y(),
|
|
306
|
-
vertical: !0,
|
|
307
|
-
wide: t.tools.length > 0
|
|
308
|
-
}),
|
|
309
|
-
onPointerLeave: () => I.hide(),
|
|
310
|
-
onFocus: (e) => I.show({
|
|
311
|
-
content: /* @__PURE__ */ C(f, {
|
|
312
|
-
m: n,
|
|
313
|
-
a: t
|
|
314
|
-
}),
|
|
315
|
-
rect: e.currentTarget.getBoundingClientRect(),
|
|
316
|
-
bounds: Y(),
|
|
317
|
-
vertical: !0,
|
|
318
|
-
wide: t.tools.length > 0
|
|
319
|
-
}),
|
|
320
|
-
onBlur: () => I.hide(),
|
|
321
|
-
children: [/* @__PURE__ */ w("span", {
|
|
322
|
-
className: "r1",
|
|
323
|
-
children: [
|
|
324
|
-
/* @__PURE__ */ C(d, { tone: t.state.tone }),
|
|
325
|
-
/* @__PURE__ */ C("span", {
|
|
326
|
-
className: "nm",
|
|
327
|
-
title: t.name,
|
|
328
|
-
children: a(r.sm && t.parent && t.name.startsWith(`${n.byId.get(t.parent)?.name}-`) ? t.name.slice((n.byId.get(t.parent)?.name.length ?? 0) + 1) : t.name.length <= (r.sm ? 20 : 30) ? t.name : t.short, r.sm ? 20 : 30)
|
|
329
|
-
}),
|
|
330
|
-
/* @__PURE__ */ C("span", {
|
|
331
|
-
className: "dim",
|
|
332
|
-
children: r.sm ? m(t.tokens) : t.state.label
|
|
333
|
-
})
|
|
334
|
-
]
|
|
335
|
-
}), !r.sm && /* @__PURE__ */ C("span", {
|
|
336
|
-
className: "r2",
|
|
337
|
-
children: t.tokens === null ? "no usage recorded" : `${m(t.tokens)} tokens · ${e(t.steps.length)} steps${t.failedSteps ? ` · ${t.failedSteps} failed` : ""}`
|
|
338
|
-
})]
|
|
339
|
-
}, t.id);
|
|
340
|
-
}),
|
|
341
|
-
/* @__PURE__ */ C("div", { style: {
|
|
342
|
-
position: "absolute",
|
|
343
|
-
left: 0,
|
|
344
|
-
top: L.H - 1,
|
|
345
|
-
width: L.W,
|
|
346
|
-
height: 1
|
|
347
|
-
} })
|
|
348
|
-
]
|
|
349
|
-
}), L.over && !k && /* @__PURE__ */ C(D, {
|
|
350
|
-
m: n,
|
|
351
|
-
L,
|
|
352
|
-
view: M,
|
|
353
|
-
size: A,
|
|
354
|
-
selected: R,
|
|
355
|
-
onJump: (e, t) => E.current?.scrollTo({
|
|
356
|
-
left: e - A.w / 2,
|
|
357
|
-
top: t - A.h / 2
|
|
358
|
-
})
|
|
359
|
-
})]
|
|
360
|
-
})]
|
|
361
|
-
}), X && /* @__PURE__ */ C(O, {
|
|
362
|
-
m: n,
|
|
363
|
-
a: X,
|
|
364
|
-
onSelect: (e) => {
|
|
365
|
-
l(e), window.setTimeout(() => U(e), 60);
|
|
366
|
-
},
|
|
367
|
-
href: h.href("conversations", { agent: g(S.run.id, X.id) })
|
|
368
|
-
})]
|
|
369
|
-
});
|
|
370
|
-
}
|
|
371
|
-
function D({ m: e, L: t, view: n, size: r, selected: i, onJump: a }) {
|
|
372
|
-
let o = 184 / t.W, s = Math.min(160, t.H * o);
|
|
373
|
-
return /* @__PURE__ */ w("div", {
|
|
374
|
-
className: "rp-mm",
|
|
375
|
-
onClick: (e) => {
|
|
376
|
-
let t = e.currentTarget.querySelector("svg").getBoundingClientRect();
|
|
377
|
-
a((e.clientX - t.left) / o, (e.clientY - t.top) / o);
|
|
378
|
-
},
|
|
379
|
-
children: [/* @__PURE__ */ w("div", {
|
|
380
|
-
className: "mm-h",
|
|
381
|
-
children: [/* @__PURE__ */ C("span", { children: "Map" }), /* @__PURE__ */ w("span", { children: [e.agents.length, " agents"] })]
|
|
382
|
-
}), /* @__PURE__ */ w("svg", {
|
|
383
|
-
viewBox: `0 0 184 ${s}`,
|
|
384
|
-
style: { height: s },
|
|
385
|
-
"aria-hidden": "true",
|
|
386
|
-
children: [
|
|
387
|
-
t.frames.map((e) => /* @__PURE__ */ C("rect", {
|
|
388
|
-
x: e.x * o,
|
|
389
|
-
y: e.y * o,
|
|
390
|
-
width: e.w * o,
|
|
391
|
-
height: e.h * o,
|
|
392
|
-
rx: "1.5",
|
|
393
|
-
className: "fr"
|
|
394
|
-
}, e.id)),
|
|
395
|
-
[...t.pos].map(([t, n]) => /* @__PURE__ */ C("rect", {
|
|
396
|
-
x: n.x * o,
|
|
397
|
-
y: n.y * o,
|
|
398
|
-
width: Math.max(1.5, n.w * o),
|
|
399
|
-
height: Math.max(1.5, n.h * o),
|
|
400
|
-
rx: "1.5",
|
|
401
|
-
className: t === i ? "sel" : e.byId.get(t)?.state.tone === "live" ? "live" : ""
|
|
402
|
-
}, t)),
|
|
403
|
-
/* @__PURE__ */ C("rect", {
|
|
404
|
-
x: n.left * o,
|
|
405
|
-
y: n.top * o,
|
|
406
|
-
width: r.w * o,
|
|
407
|
-
height: r.h * o,
|
|
408
|
-
rx: "2",
|
|
409
|
-
className: "vp"
|
|
410
|
-
})
|
|
411
|
-
]
|
|
412
|
-
})]
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
function O({ m: r, a: i, onSelect: a, href: o }) {
|
|
416
|
-
let c = n(r.t0), u = Math.max(1, ...i.tools.map((e) => e.calls)), f = i.parent ? r.byId.get(i.parent) : null, p = [[
|
|
417
|
-
i.model ?? "model",
|
|
418
|
-
i.latency.p50,
|
|
419
|
-
i.latency.p90,
|
|
420
|
-
i.latency.p99,
|
|
421
|
-
i.modelCalls
|
|
422
|
-
], ...i.tools.slice(0, 5).map((e) => [
|
|
423
|
-
e.name,
|
|
424
|
-
e.p50,
|
|
425
|
-
e.p90,
|
|
426
|
-
e.p99,
|
|
427
|
-
e.calls
|
|
428
|
-
])];
|
|
429
|
-
return /* @__PURE__ */ w("aside", {
|
|
430
|
-
className: "rp-card",
|
|
431
|
-
"aria-label": i.name,
|
|
432
|
-
children: [/* @__PURE__ */ w("div", {
|
|
433
|
-
className: "rp-hd",
|
|
434
|
-
children: [/* @__PURE__ */ w("h2", { children: [/* @__PURE__ */ C(d, { tone: i.state.tone }), i.name] }), /* @__PURE__ */ C("span", {
|
|
435
|
-
className: "end",
|
|
436
|
-
children: /* @__PURE__ */ C("span", {
|
|
437
|
-
className: `rp-pill ${i.state.tone}`,
|
|
438
|
-
children: i.state.label
|
|
439
|
-
})
|
|
440
|
-
})]
|
|
441
|
-
}), /* @__PURE__ */ w("div", {
|
|
442
|
-
className: "rp-scroll rp-tinsp",
|
|
443
|
-
children: [
|
|
444
|
-
/* @__PURE__ */ w("dl", {
|
|
445
|
-
className: "rp-kv",
|
|
446
|
-
children: [
|
|
447
|
-
/* @__PURE__ */ C("dt", { children: "Model" }),
|
|
448
|
-
/* @__PURE__ */ C("dd", { children: [i.model, i.harness].filter(Boolean).join(" · ") || "—" }),
|
|
449
|
-
/* @__PURE__ */ C("dt", { children: "Spawned" }),
|
|
450
|
-
/* @__PURE__ */ w("dd", { children: [f ? `by ${f.name} · ` : "", i.start === null ? "—" : `${c(Math.max(0, i.start))} UTC`] }),
|
|
451
|
-
/* @__PURE__ */ C("dt", { children: "Ended" }),
|
|
452
|
-
/* @__PURE__ */ C("dd", { children: i.state.tone === "live" ? "running" : i.end === null ? "—" : `${c(i.end)} UTC` }),
|
|
453
|
-
/* @__PURE__ */ C("dt", { children: "Cost" }),
|
|
454
|
-
/* @__PURE__ */ C("dd", { children: s(i) })
|
|
455
|
-
]
|
|
456
|
-
}),
|
|
457
|
-
/* @__PURE__ */ w("div", {
|
|
458
|
-
className: "rp-stat3",
|
|
459
|
-
children: [
|
|
460
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("b", { children: m(i.tokens) }), /* @__PURE__ */ C("span", { children: "tokens" })] }),
|
|
461
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("b", { children: e(i.modelCalls) }), /* @__PURE__ */ C("span", { children: "model calls" })] }),
|
|
462
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("b", { children: e(i.toolCalls) }), /* @__PURE__ */ C("span", { children: "tool calls" })] }),
|
|
463
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("b", { children: i.failedSteps }), /* @__PURE__ */ C("span", { children: "failed steps" })] }),
|
|
464
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("b", { children: i.restarts.length }), /* @__PURE__ */ C("span", { children: "restarts" })] }),
|
|
465
|
-
/* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("b", { children: i.commits ?? "—" }), /* @__PURE__ */ C("span", { children: "commits" })] })
|
|
466
|
-
]
|
|
467
|
-
}),
|
|
468
|
-
i.modelCalls > 0 && /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("h5", {
|
|
469
|
-
className: "rp-subh",
|
|
470
|
-
children: "Latency"
|
|
471
|
-
}), /* @__PURE__ */ w("table", {
|
|
472
|
-
className: "rp-lt",
|
|
473
|
-
children: [/* @__PURE__ */ C("thead", { children: /* @__PURE__ */ w("tr", { children: [
|
|
474
|
-
/* @__PURE__ */ C("th", {}),
|
|
475
|
-
/* @__PURE__ */ C("th", { children: "calls" }),
|
|
476
|
-
/* @__PURE__ */ C("th", { children: "p50" }),
|
|
477
|
-
/* @__PURE__ */ C("th", { children: "p90" }),
|
|
478
|
-
/* @__PURE__ */ C("th", { children: "p99" })
|
|
479
|
-
] }) }), /* @__PURE__ */ C("tbody", { children: p.map(([t, n, r, i, a]) => /* @__PURE__ */ w("tr", { children: [
|
|
480
|
-
/* @__PURE__ */ C("td", {
|
|
481
|
-
title: t,
|
|
482
|
-
children: t
|
|
483
|
-
}),
|
|
484
|
-
/* @__PURE__ */ C("td", { children: e(a) }),
|
|
485
|
-
/* @__PURE__ */ C("td", { children: h(n) }),
|
|
486
|
-
/* @__PURE__ */ C("td", { children: h(r) }),
|
|
487
|
-
/* @__PURE__ */ C("td", { children: h(i) })
|
|
488
|
-
] }, t)) })]
|
|
489
|
-
})] }),
|
|
490
|
-
i.tools.length > 0 && /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("h5", {
|
|
491
|
-
className: "rp-subh",
|
|
492
|
-
children: "Tool calls"
|
|
493
|
-
}), /* @__PURE__ */ C("div", {
|
|
494
|
-
className: "rp-tbars four",
|
|
495
|
-
children: i.tools.slice(0, 8).map((t) => /* @__PURE__ */ w("div", {
|
|
496
|
-
className: "row",
|
|
497
|
-
children: [
|
|
498
|
-
/* @__PURE__ */ C("span", {
|
|
499
|
-
className: "l",
|
|
500
|
-
title: t.name,
|
|
501
|
-
children: t.name
|
|
502
|
-
}),
|
|
503
|
-
/* @__PURE__ */ C(l, {
|
|
504
|
-
ok: t.calls - t.failures,
|
|
505
|
-
failed: t.failures,
|
|
506
|
-
max: u
|
|
507
|
-
}),
|
|
508
|
-
/* @__PURE__ */ C("span", {
|
|
509
|
-
className: "n",
|
|
510
|
-
children: e(t.calls)
|
|
511
|
-
}),
|
|
512
|
-
/* @__PURE__ */ C("span", {
|
|
513
|
-
className: "n f",
|
|
514
|
-
children: t.failures ? `${t.failures} ✕` : ""
|
|
515
|
-
})
|
|
516
|
-
]
|
|
517
|
-
}, t.name))
|
|
518
|
-
})] }),
|
|
519
|
-
i.children.length > 0 && /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ w("h5", {
|
|
520
|
-
className: "rp-subh",
|
|
521
|
-
children: ["Spawned · ", i.children.length]
|
|
522
|
-
}), /* @__PURE__ */ w("div", {
|
|
523
|
-
className: "rp-chips",
|
|
524
|
-
children: [i.children.slice(0, 14).map((e) => {
|
|
525
|
-
let t = r.byId.get(e);
|
|
526
|
-
return /* @__PURE__ */ w("button", {
|
|
527
|
-
type: "button",
|
|
528
|
-
className: "rp-chip",
|
|
529
|
-
onClick: () => a(e),
|
|
530
|
-
children: [/* @__PURE__ */ C(d, { tone: t.state.tone }), t.name]
|
|
531
|
-
}, e);
|
|
532
|
-
}), i.children.length > 14 && /* @__PURE__ */ w("span", {
|
|
533
|
-
className: "rp-chip dim",
|
|
534
|
-
children: [i.children.length - 14, " more"]
|
|
535
|
-
})]
|
|
536
|
-
})] }),
|
|
537
|
-
/* @__PURE__ */ C("p", { children: /* @__PURE__ */ w("a", {
|
|
538
|
-
className: "rp-btn sm framed",
|
|
539
|
-
href: o,
|
|
540
|
-
children: ["Conversation", /* @__PURE__ */ C(t, {
|
|
541
|
-
name: "arrow",
|
|
542
|
-
size: 14
|
|
543
|
-
})]
|
|
544
|
-
}) })
|
|
545
|
-
]
|
|
546
|
-
})]
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
//#endregion
|
|
550
|
-
export { E as Topology };
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./jsx-runtime-BSzbUOFc.js";
|
|
2
|
-
import { S as t, n, s as r } from "./ui-DZiGjPwl.js";
|
|
3
|
-
import { clause as i } from "./Overview-u7-8-rGx.js";
|
|
4
|
-
//#region src/workspace/run/Checks.tsx
|
|
5
|
-
var a = e();
|
|
6
|
-
function o({ m: e, doc: o }) {
|
|
7
|
-
let s = o.run.check, c = s?.latest, l = c ? c.solved ? "Passed" : c.known ? "Failed" : "No verdict" : "Not checked", u = s?.checkerNames?.find((e) => e.current) ?? s?.checkerNames?.[0], d = e.tree.filter((e) => (e.commits ?? 0) > 0).sort((e, t) => (t.commits ?? 0) - (e.commits ?? 0)), f = Math.max(1, ...d.map((e) => e.commits ?? 0));
|
|
8
|
-
return /* @__PURE__ */ (0, a.jsxs)("div", {
|
|
9
|
-
className: "rp-ck",
|
|
10
|
-
children: [/* @__PURE__ */ (0, a.jsx)("section", {
|
|
11
|
-
className: "rp-card",
|
|
12
|
-
"aria-label": "Checks",
|
|
13
|
-
children: /* @__PURE__ */ (0, a.jsxs)("div", {
|
|
14
|
-
className: "rp-scroll rp-ck-in",
|
|
15
|
-
children: [
|
|
16
|
-
/* @__PURE__ */ (0, a.jsxs)("h2", {
|
|
17
|
-
className: "rp-ck-h",
|
|
18
|
-
children: [/* @__PURE__ */ (0, a.jsx)(r, { tone: l === "Passed" ? "ok" : l === "Failed" ? "fail" : "none" }), l]
|
|
19
|
-
}),
|
|
20
|
-
/* @__PURE__ */ (0, a.jsxs)("dl", {
|
|
21
|
-
className: "rp-facts",
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ (0, a.jsx)("dt", { children: "Checks" }),
|
|
24
|
-
/* @__PURE__ */ (0, a.jsxs)("dd", { children: [
|
|
25
|
-
t(s?.counts?.checks ?? 0),
|
|
26
|
-
" run · ",
|
|
27
|
-
t(s?.counts?.known ?? 0),
|
|
28
|
-
" with a verdict",
|
|
29
|
-
/* @__PURE__ */ (0, a.jsx)("span", {
|
|
30
|
-
className: "sub",
|
|
31
|
-
children: s?.counts?.solved ? `${s.counts.solved} passed` : "none passed"
|
|
32
|
-
})
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ (0, a.jsx)("dt", { children: "Latest" }),
|
|
35
|
-
/* @__PURE__ */ (0, a.jsxs)("dd", { children: [c?.line ? i(c.line, 24) : "—", /* @__PURE__ */ (0, a.jsxs)("span", {
|
|
36
|
-
className: "sub",
|
|
37
|
-
children: [c?.at ? `${c.at.slice(0, 10)} ${c.at.slice(11, 16)} UTC` : "", c?.tag ? ` · ${c.tag}` : ""]
|
|
38
|
-
})] }),
|
|
39
|
-
/* @__PURE__ */ (0, a.jsx)("dt", { children: "Checker" }),
|
|
40
|
-
/* @__PURE__ */ (0, a.jsxs)("dd", { children: [u ? `${u.label}${u.ruling ? ` · ${u.ruling}` : ""}` : "not recorded", /* @__PURE__ */ (0, a.jsx)("span", {
|
|
41
|
-
className: "sub",
|
|
42
|
-
children: s?.calibration?.state ? `${s.calibration.state}${s.calibration.stages?.length ? `: ${s.calibration.stages.map((e) => `${e.name} ${e.state}`).join(", ")}` : ""}` : "calibration not recorded"
|
|
43
|
-
})] }),
|
|
44
|
-
/* @__PURE__ */ (0, a.jsx)("dt", { children: "Releases" }),
|
|
45
|
-
/* @__PURE__ */ (0, a.jsx)("dd", { children: e.releases.length ? `${e.releases.length} · best ${e.best?.release ?? "none"}` : "None tagged" })
|
|
46
|
-
]
|
|
47
|
-
}),
|
|
48
|
-
e.releases.length > 0 && /* @__PURE__ */ (0, a.jsxs)(a.Fragment, { children: [/* @__PURE__ */ (0, a.jsx)("h3", {
|
|
49
|
-
className: "rp-subh",
|
|
50
|
-
children: "Releases"
|
|
51
|
-
}), /* @__PURE__ */ (0, a.jsx)("ol", {
|
|
52
|
-
className: "rp-rel",
|
|
53
|
-
children: [...e.releases].reverse().map((e) => /* @__PURE__ */ (0, a.jsxs)("li", { children: [
|
|
54
|
-
/* @__PURE__ */ (0, a.jsx)("b", { children: e.release }),
|
|
55
|
-
/* @__PURE__ */ (0, a.jsx)("span", {
|
|
56
|
-
className: "score",
|
|
57
|
-
children: e.total ? `${e.passed ?? 0}/${e.total}` : "not scored"
|
|
58
|
-
}),
|
|
59
|
-
/* @__PURE__ */ (0, a.jsx)("span", {
|
|
60
|
-
className: "steps",
|
|
61
|
-
children: (e.steps ?? []).map((e, t) => /* @__PURE__ */ (0, a.jsx)("i", {
|
|
62
|
-
className: e.state,
|
|
63
|
-
title: `${e.label}: ${e.state}`
|
|
64
|
-
}, t))
|
|
65
|
-
}),
|
|
66
|
-
/* @__PURE__ */ (0, a.jsx)("span", {
|
|
67
|
-
className: "when",
|
|
68
|
-
children: e.taggedAt ? `${e.taggedAt.slice(5, 10)} ${e.taggedAt.slice(11, 16)}` : "—"
|
|
69
|
-
}),
|
|
70
|
-
e.sentence && /* @__PURE__ */ (0, a.jsx)("span", {
|
|
71
|
-
className: "sub",
|
|
72
|
-
children: i(e.sentence, 20)
|
|
73
|
-
})
|
|
74
|
-
] }, e.release))
|
|
75
|
-
})] })
|
|
76
|
-
]
|
|
77
|
-
})
|
|
78
|
-
}), /* @__PURE__ */ (0, a.jsxs)("section", {
|
|
79
|
-
className: "rp-card",
|
|
80
|
-
"aria-label": "Commits by agent",
|
|
81
|
-
children: [/* @__PURE__ */ (0, a.jsx)("div", {
|
|
82
|
-
className: "rp-hd sm",
|
|
83
|
-
children: /* @__PURE__ */ (0, a.jsxs)("h2", { children: ["Commits by agent", /* @__PURE__ */ (0, a.jsx)("span", {
|
|
84
|
-
className: "ct",
|
|
85
|
-
children: t(d.reduce((e, t) => e + (t.commits ?? 0), 0))
|
|
86
|
-
})] })
|
|
87
|
-
}), /* @__PURE__ */ (0, a.jsx)("div", {
|
|
88
|
-
className: "rp-scroll rp-commits",
|
|
89
|
-
children: d.length ? d.map((e) => /* @__PURE__ */ (0, a.jsxs)("div", {
|
|
90
|
-
className: "row",
|
|
91
|
-
children: [
|
|
92
|
-
/* @__PURE__ */ (0, a.jsxs)("span", {
|
|
93
|
-
className: "l",
|
|
94
|
-
children: [/* @__PURE__ */ (0, a.jsx)(r, { tone: e.state.tone }), e.name]
|
|
95
|
-
}),
|
|
96
|
-
/* @__PURE__ */ (0, a.jsx)(n, {
|
|
97
|
-
ok: e.commits ?? 0,
|
|
98
|
-
max: f
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ (0, a.jsx)("span", {
|
|
101
|
-
className: "n",
|
|
102
|
-
children: e.commits
|
|
103
|
-
})
|
|
104
|
-
]
|
|
105
|
-
}, e.id)) : /* @__PURE__ */ (0, a.jsx)("p", {
|
|
106
|
-
className: "ws-status",
|
|
107
|
-
children: "No agent's commits reached the run's deliverables."
|
|
108
|
-
})
|
|
109
|
-
})]
|
|
110
|
-
})]
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
//#endregion
|
|
114
|
-
export { o as Checks };
|