@tangle-network/sandbox-ui 3.0.2 → 4.0.0
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 +0 -47
- package/dist/AgentTree-D4d06rfH.js +293 -0
- package/dist/{ResearchReport-vqefUbVp.js → ResearchReport-D1TFmldm.js} +2 -1
- package/dist/{VirtualList-CMynqkkh.js → VirtualList-DcSGbEtA.js} +28 -1
- package/dist/globals.css +12 -3
- package/dist/{index-gXcuwPOX.d.ts → index-Bv2iiZaN.d.ts} +135 -2
- package/dist/{index-YU_b9xCK.d.ts → index-CHA38az4.d.ts} +3 -61
- package/dist/{index-CQGMhSg0.d.ts → index-Z6RCpkmT.d.ts} +16 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.js +10 -10
- package/dist/record/ResearchReport.js +1 -1
- package/dist/{record-B_4XWfUz.js → record-C-EUpK-n.js} +3 -2
- package/dist/record.js +1 -1
- package/dist/report-viewer.js +80 -80
- package/dist/run/live.js +2 -2
- package/dist/run/record.d.ts +2 -2
- package/dist/run/record.js +5 -4
- package/dist/run.d.ts +3 -3
- package/dist/run.js +6 -5
- package/dist/runtime-viewer/{AgentGraphCanvas-DGq7_u8--WPFPgd72.js → AgentGraphCanvas-DGq7_u8--C6yDfIUT.js} +67 -67
- package/dist/runtime-viewer/{latest-events-CRq9sGkK-YFXUh9qO.js → latest-events-CRq9sGkK-CfoBl1dP.js} +215 -209
- package/dist/styles.css +12 -3
- package/dist/{trace-workspace-BiJbv9WQ.js → trace-workspace-B634-EcA.js} +287 -201
- package/dist/{tree-data-9D309DqD.js → tree-data-rg5voiY8.js} +1 -1
- package/dist/{AgentTree-Cju8jn51.js → use-follow-tail-DZFn7QDO.js} +144 -385
- package/dist/vault-tree.js +1 -1
- package/dist/{workbench-Z9wbei53.js → workbench-DWQ0pm9w.js} +311 -2
- package/dist/workbench.d.ts +2 -2
- package/dist/workbench.js +2 -2
- package/dist/{workspace-BrS_rHWN.js → workspace-CJD7oOEa.js} +1 -1
- package/dist/{workspace-files-pane-Di_rn4FL.js → workspace-files-pane-D24G7H_Z.js} +1 -1
- package/dist/workspace-viewer.js +9970 -9624
- package/dist/workspace.js +2 -2
- package/package.json +5 -8
- package/dist/connections-DymjzHe_.js +0 -179
- package/dist/connections.d.ts +0 -2
- package/dist/connections.js +0 -1
- package/dist/index-DLX35YAa.d.ts +0 -59
- package/dist/use-follow-tail-Ht7fZGQQ.js +0 -1
|
@@ -2226,7 +2226,7 @@ var d = (e, t) => {
|
|
|
2226
2226
|
]
|
|
2227
2227
|
};
|
|
2228
2228
|
});
|
|
2229
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
2229
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.12_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/lib/utils.js
|
|
2230
2230
|
function Ye(...e) {
|
|
2231
2231
|
return Je(u(e));
|
|
2232
2232
|
}
|
|
@@ -8181,7 +8181,7 @@ function pm(...e) {
|
|
|
8181
8181
|
return t.size > 0 ? Array.from(t).join(" ") : void 0;
|
|
8182
8182
|
}
|
|
8183
8183
|
Kp(pm, "concatAriaDescribedby");
|
|
8184
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
8184
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.12_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/primitives/popover.js
|
|
8185
8185
|
var mm = $p, hm = tm, gm = o.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, asChild: r, children: i, container: a, ...o }, s) => /* @__PURE__ */ (0, X.jsx)(am, {
|
|
8186
8186
|
container: a,
|
|
8187
8187
|
children: /* @__PURE__ */ (0, X.jsx)(sm, {
|
|
@@ -8199,7 +8199,7 @@ var mm = $p, hm = tm, gm = o.forwardRef(({ className: e, align: t = "center", si
|
|
|
8199
8199
|
})
|
|
8200
8200
|
}));
|
|
8201
8201
|
gm.displayName = sm.displayName;
|
|
8202
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
8202
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.12_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/primitives/hover-card.js
|
|
8203
8203
|
var _m = o.createContext({
|
|
8204
8204
|
enter: (e) => {},
|
|
8205
8205
|
leave: () => {},
|
|
@@ -8319,7 +8319,7 @@ var bm = o.forwardRef(({ className: e, onPointerEnter: t, onPointerLeave: n, onO
|
|
|
8319
8319
|
});
|
|
8320
8320
|
});
|
|
8321
8321
|
bm.displayName = "HoverCardContent";
|
|
8322
|
-
// node_modules/.pnpm/@tangle-network+charts@4.0.2_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-
|
|
8322
|
+
// node_modules/.pnpm/@tangle-network+charts@4.0.2_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-network_8fd2b0d675b84eae5d8adcca22ee1cb3/node_modules/@tangle-network/charts/dist/flow-trace-CpGLZ51R.js
|
|
8323
8323
|
function xm(e) {
|
|
8324
8324
|
if (e >= 864e5) {
|
|
8325
8325
|
let t = Math.floor(e / 864e5), n = Math.floor(e % 864e5 / 36e5);
|
|
@@ -8352,12 +8352,18 @@ function Em(e) {
|
|
|
8352
8352
|
i ? `${i}s` : ""
|
|
8353
8353
|
].filter(Boolean).join(" ") || "0s";
|
|
8354
8354
|
}
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
if (
|
|
8355
|
+
function Dm(e, t = !1) {
|
|
8356
|
+
let n = typeof e == "string" ? new Date(e) : e;
|
|
8357
|
+
if (!Number.isFinite(n.valueOf())) return "Unknown time";
|
|
8358
|
+
let r = n.toISOString();
|
|
8359
|
+
return `${t ? r.slice(0, 19).replace("T", " ") : r.slice(11, 19)} UTC`;
|
|
8358
8360
|
}
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
+
var Om = (e) => typeof e == "number" && Number.isFinite(e) ? e : void 0, km = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : void 0;
|
|
8362
|
+
function Am(e) {
|
|
8363
|
+
if (e.length && !e.some((e) => km(e) === void 0)) return km(e.reduce((e, t) => e + t, 0));
|
|
8364
|
+
}
|
|
8365
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.12_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/run/status-meta.js
|
|
8366
|
+
var jm = {
|
|
8361
8367
|
running: {
|
|
8362
8368
|
label: "Running",
|
|
8363
8369
|
icon: _t,
|
|
@@ -8398,7 +8404,7 @@ var Am = {
|
|
|
8398
8404
|
icon: yt,
|
|
8399
8405
|
token: "--surface-neutral-text"
|
|
8400
8406
|
}
|
|
8401
|
-
},
|
|
8407
|
+
}, Mm = {
|
|
8402
8408
|
active: "running",
|
|
8403
8409
|
working: "running",
|
|
8404
8410
|
in_progress: "running",
|
|
@@ -8426,20 +8432,20 @@ var Am = {
|
|
|
8426
8432
|
canceled: "stopped",
|
|
8427
8433
|
aborted: "stopped"
|
|
8428
8434
|
};
|
|
8429
|
-
function
|
|
8435
|
+
function Nm(e) {
|
|
8430
8436
|
let t = e.trim().toLowerCase();
|
|
8431
|
-
return Object.hasOwn(
|
|
8437
|
+
return Object.hasOwn(jm, t) ? t : Object.hasOwn(Mm, t) ? Mm[t] : "unknown";
|
|
8432
8438
|
}
|
|
8433
|
-
var
|
|
8439
|
+
var Pm = (e) => [
|
|
8434
8440
|
"running",
|
|
8435
8441
|
"waiting",
|
|
8436
8442
|
"needs-you"
|
|
8437
|
-
].includes(
|
|
8438
|
-
function
|
|
8439
|
-
return
|
|
8443
|
+
].includes(Nm(e));
|
|
8444
|
+
function Fm(e) {
|
|
8445
|
+
return jm[Nm(e)];
|
|
8440
8446
|
}
|
|
8441
|
-
function
|
|
8442
|
-
let i =
|
|
8447
|
+
function Im({ status: e, className: t, style: n, ...r }) {
|
|
8448
|
+
let i = Nm(e), { label: a, icon: o, token: s } = jm[i], c = i === "running";
|
|
8443
8449
|
return /* @__PURE__ */ (0, X.jsx)(o, {
|
|
8444
8450
|
role: "img",
|
|
8445
8451
|
"aria-label": a,
|
|
@@ -8455,32 +8461,32 @@ function Fm({ status: e, className: t, style: n, ...r }) {
|
|
|
8455
8461
|
...r
|
|
8456
8462
|
});
|
|
8457
8463
|
}
|
|
8458
|
-
// node_modules/.pnpm/@tangle-network+ui@11.51.
|
|
8459
|
-
var
|
|
8460
|
-
function
|
|
8461
|
-
clearTimeout(
|
|
8462
|
-
|
|
8463
|
-
for (let e of
|
|
8464
|
-
|
|
8465
|
-
}, Math.max(0, Math.min(...[...
|
|
8464
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.12_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/hooks/use-live-time.js
|
|
8465
|
+
var Lm = /* @__PURE__ */ new Set(), Rm = Date.now(), zm;
|
|
8466
|
+
function Bm() {
|
|
8467
|
+
clearTimeout(zm), Lm.size && (zm = setTimeout(() => {
|
|
8468
|
+
Rm = Date.now();
|
|
8469
|
+
for (let e of Lm) Rm >= e.next && (e.next = Rm + e.period, e.notify());
|
|
8470
|
+
Bm();
|
|
8471
|
+
}, Math.max(0, Math.min(...[...Lm].map((e) => e.next)) - Date.now())));
|
|
8466
8472
|
}
|
|
8467
|
-
function
|
|
8473
|
+
function Vm(e, t, n) {
|
|
8468
8474
|
let r = (0, o.useCallback)((n) => {
|
|
8469
8475
|
if (t !== void 0) return () => {};
|
|
8470
|
-
|
|
8476
|
+
Lm.size || (Rm = Date.now());
|
|
8471
8477
|
let r = {
|
|
8472
8478
|
period: e,
|
|
8473
|
-
next: Math.floor(
|
|
8479
|
+
next: Math.floor(Rm / e + 1) * e,
|
|
8474
8480
|
notify: n
|
|
8475
8481
|
};
|
|
8476
|
-
return
|
|
8477
|
-
|
|
8482
|
+
return Lm.add(r), Bm(), () => {
|
|
8483
|
+
Lm.delete(r), Bm();
|
|
8478
8484
|
};
|
|
8479
8485
|
}, [e, t]);
|
|
8480
|
-
return (0, o.useSyncExternalStore)(r, () => t ?? Math.max(
|
|
8486
|
+
return (0, o.useSyncExternalStore)(r, () => t ?? Math.max(Rm, n), () => t ?? n);
|
|
8481
8487
|
}
|
|
8482
|
-
var
|
|
8483
|
-
function
|
|
8488
|
+
var Hm = (e) => Vm(1e3, e, 0), Um = (e) => e.kind === "model" || e.modelCall ? "model" : "tool", Wm = (e) => e?.split(" · ")[0], Gm = (e) => e > 0 && e <= 5 ? e : 0, Km = (e) => e.status === "failed", qm = (e) => e.status === "running", Jm = (e, t) => new Map((e.facts ?? []).map((e) => [e.label.toLowerCase(), e.value])).get(t.toLowerCase()), Ym = (e) => Number.isFinite(e.startMs) && Number.isFinite(e.endMs) && e.endMs >= e.startMs;
|
|
8489
|
+
function Xm(e, t, n = 240) {
|
|
8484
8490
|
e.sort((e, t) => e.startMs - t.startMs);
|
|
8485
8491
|
let r = t;
|
|
8486
8492
|
for (let t = 0; t < 40; t++, r *= 2) {
|
|
@@ -8499,16 +8505,16 @@ function Ym(e, t, n = 240) {
|
|
|
8499
8505
|
}
|
|
8500
8506
|
return e;
|
|
8501
8507
|
}
|
|
8502
|
-
function
|
|
8508
|
+
function Zm(e, t) {
|
|
8503
8509
|
let n = /* @__PURE__ */ new Set(), r = [...e.spans].map((e, t) => {
|
|
8504
|
-
let n =
|
|
8505
|
-
label:
|
|
8510
|
+
let n = Nm(e.status ?? "unknown"), r = {
|
|
8511
|
+
label: Fm(n).label,
|
|
8506
8512
|
tone: n === "running" ? "live" : n === "done" ? "ok" : n === "needs-you" ? "warn" : n === "failed" ? "failed" : "neutral",
|
|
8507
8513
|
...n === "unknown" ? { ring: !0 } : {}
|
|
8508
8514
|
}, i = {
|
|
8509
8515
|
...e,
|
|
8510
8516
|
outcome: e.outcome ?? r,
|
|
8511
|
-
detail:
|
|
8517
|
+
detail: Jm(e, e.kind === "tool" ? "Provider" : "Model") ?? e.detail
|
|
8512
8518
|
};
|
|
8513
8519
|
return {
|
|
8514
8520
|
span: i,
|
|
@@ -8522,9 +8528,9 @@ function Xm(e, t) {
|
|
|
8522
8528
|
parentId: t.parentId,
|
|
8523
8529
|
name: t.name,
|
|
8524
8530
|
kind: t.kind,
|
|
8525
|
-
durationLabel:
|
|
8531
|
+
durationLabel: Ym(t) ? `${Cm(t.endMs - t.startMs)}${t.approx ? "~" : ""}` : "—",
|
|
8526
8532
|
approx: t.approx === !0,
|
|
8527
|
-
ok: !
|
|
8533
|
+
ok: !Km(t),
|
|
8528
8534
|
depth: 0,
|
|
8529
8535
|
hasChildren: !1,
|
|
8530
8536
|
span: t,
|
|
@@ -8560,32 +8566,32 @@ function Xm(e, t) {
|
|
|
8560
8566
|
for (let r of u(n, t + 1, e.tone)) i.push(r);
|
|
8561
8567
|
e.descendants += 1 + n.descendants, n.kind === "pipeline" && (e.hasAgents = !0);
|
|
8562
8568
|
let r = n.hasChildren ? n.rollupCostUsd : n.span.costUsd;
|
|
8563
|
-
r === void 0 ? (n.kind === "model" || n.hasChildren) && (f = !1) : d += r, n.kind !== "pipeline" && n.kind !== "waiting" &&
|
|
8569
|
+
r === void 0 ? (n.kind === "model" || n.hasChildren) && (f = !1) : d += r, n.kind !== "pipeline" && n.kind !== "waiting" && Ym(n.span) && e.own.push(th(n));
|
|
8564
8570
|
}
|
|
8565
|
-
Object.assign(e,
|
|
8571
|
+
Object.assign(e, Qm(r));
|
|
8566
8572
|
let p = o ? {
|
|
8567
|
-
prompt:
|
|
8568
|
-
completion:
|
|
8569
|
-
cached:
|
|
8570
|
-
} :
|
|
8571
|
-
return p && (e.tokens = p), e.hasChildren && f && (e.rollupCostUsd = d), e.hasChildren && (e.segments =
|
|
8573
|
+
prompt: km(e.span.promptTokens),
|
|
8574
|
+
completion: km(e.span.completionTokens),
|
|
8575
|
+
cached: km(e.span.cachedTokens)
|
|
8576
|
+
} : eh(r);
|
|
8577
|
+
return p && (e.tokens = p), e.hasChildren && f && (e.rollupCostUsd = d), e.hasChildren && (e.segments = Xm(i.map((e) => ({ ...e })), s), e.own = Xm(e.own, s)), e.kind === "pipeline" || e.kind === "waiting" || !Ym(e.span) || i.push(th(e)), i;
|
|
8572
8578
|
};
|
|
8573
8579
|
for (let e of r) e.parentId || u(e, 0, -1);
|
|
8574
8580
|
return c;
|
|
8575
8581
|
}
|
|
8576
|
-
function
|
|
8582
|
+
function Qm(e) {
|
|
8577
8583
|
let t, n = [];
|
|
8578
|
-
for (let r of e) if (r.kind !== "pipeline" && r.kind !== "waiting" &&
|
|
8584
|
+
for (let r of e) if (r.kind !== "pipeline" && r.kind !== "waiting" && Ym(r.span)) {
|
|
8579
8585
|
if (t ??= {
|
|
8580
8586
|
model: 0,
|
|
8581
8587
|
tool: 0,
|
|
8582
8588
|
failed: 0,
|
|
8583
8589
|
retried: 0,
|
|
8584
8590
|
tools: {}
|
|
8585
|
-
}, r.ok || t.failed++, r.retry && t.retried++, r.kind === "model") t.model++,
|
|
8591
|
+
}, r.ok || t.failed++, r.retry && t.retried++, r.kind === "model") t.model++, qm(r.span) || n.push(r.span.endMs - r.span.startMs);
|
|
8586
8592
|
else {
|
|
8587
8593
|
t.tool++;
|
|
8588
|
-
let e =
|
|
8594
|
+
let e = Wm(r.name) || r.kind;
|
|
8589
8595
|
t.tools[e] = (t.tools[e] ?? 0) + 1;
|
|
8590
8596
|
}
|
|
8591
8597
|
}
|
|
@@ -8594,7 +8600,7 @@ function Zm(e) {
|
|
|
8594
8600
|
modelMs: n.sort((e, t) => e - t)
|
|
8595
8601
|
} : {};
|
|
8596
8602
|
}
|
|
8597
|
-
function
|
|
8603
|
+
function $m(e) {
|
|
8598
8604
|
let t;
|
|
8599
8605
|
for (let n of e) if (n.counts) {
|
|
8600
8606
|
t ??= {
|
|
@@ -8606,7 +8612,7 @@ function Qm(e) {
|
|
|
8606
8612
|
}, t.model += n.counts.model, t.tool += n.counts.tool, t.failed += n.counts.failed, t.retried += n.counts.retried;
|
|
8607
8613
|
for (let [e, r] of Object.entries(n.counts.tools)) t.tools[e] = (t.tools[e] ?? 0) + r;
|
|
8608
8614
|
}
|
|
8609
|
-
let n =
|
|
8615
|
+
let n = eh(e);
|
|
8610
8616
|
return {
|
|
8611
8617
|
...t ? {
|
|
8612
8618
|
counts: t,
|
|
@@ -8615,42 +8621,42 @@ function Qm(e) {
|
|
|
8615
8621
|
...n ? { tokens: n } : {}
|
|
8616
8622
|
};
|
|
8617
8623
|
}
|
|
8618
|
-
function
|
|
8624
|
+
function eh(e) {
|
|
8619
8625
|
let t, n = e.filter((e) => e.kind === "model" || e.tokens !== void 0);
|
|
8620
8626
|
for (let e of [
|
|
8621
8627
|
"prompt",
|
|
8622
8628
|
"completion",
|
|
8623
8629
|
"cached"
|
|
8624
8630
|
]) {
|
|
8625
|
-
let r =
|
|
8631
|
+
let r = Am(n.map((t) => t.tokens?.[e]));
|
|
8626
8632
|
r !== void 0 && ((t ??= {})[e] = r);
|
|
8627
8633
|
}
|
|
8628
8634
|
return t;
|
|
8629
8635
|
}
|
|
8630
|
-
function
|
|
8636
|
+
function th(e) {
|
|
8631
8637
|
return {
|
|
8632
8638
|
startMs: e.span.startMs,
|
|
8633
|
-
endMs:
|
|
8639
|
+
endMs: qm(e.span) ? Infinity : e.span.endMs,
|
|
8634
8640
|
kind: e.ok ? e.kind === "model" ? "model" : "tool" : "failed",
|
|
8635
8641
|
tone: e.tone,
|
|
8636
8642
|
id: e.id,
|
|
8637
8643
|
count: 1,
|
|
8638
8644
|
retry: e.retry,
|
|
8639
8645
|
name: e.name,
|
|
8640
|
-
tool:
|
|
8646
|
+
tool: Wm(e.name),
|
|
8641
8647
|
...e.span.costUsd === void 0 ? {} : { costUsd: e.span.costUsd },
|
|
8642
8648
|
...!e.ok && e.kind === "model" ? { modelCall: !0 } : {}
|
|
8643
8649
|
};
|
|
8644
8650
|
}
|
|
8645
|
-
function
|
|
8651
|
+
function nh(e, t, n) {
|
|
8646
8652
|
let r = t.trim(), i = r.toLowerCase();
|
|
8647
8653
|
return new Set(e.filter((e) => n ? n(e.span, r) : `${e.name} ${e.span.detail ?? ""} ${e.kind} ${e.ok ? "" : "failed"} ${e.span.status ?? ""}`.toLowerCase().includes(i)).map((e) => e.id));
|
|
8648
8654
|
}
|
|
8649
|
-
function
|
|
8655
|
+
function rh(e, t, n, r) {
|
|
8650
8656
|
let i = new Map(e.map((e) => [e.id, e]));
|
|
8651
8657
|
if (t.trim()) {
|
|
8652
8658
|
let n = /* @__PURE__ */ new Set();
|
|
8653
|
-
for (let a of
|
|
8659
|
+
for (let a of nh(e, t, r)) {
|
|
8654
8660
|
let e = i.get(a);
|
|
8655
8661
|
for (; e && !n.has(e.id);) n.add(e.id), e = e.parentId ? i.get(e.parentId) : void 0;
|
|
8656
8662
|
}
|
|
@@ -8662,16 +8668,16 @@ function nh(e, t, n, r) {
|
|
|
8662
8668
|
return t && a.add(e.id), !t;
|
|
8663
8669
|
});
|
|
8664
8670
|
}
|
|
8665
|
-
function
|
|
8671
|
+
function ih(e, t) {
|
|
8666
8672
|
let n, r = -1;
|
|
8667
8673
|
for (let i of e) {
|
|
8668
8674
|
if (i.hasChildren || i.kind === "pipeline" || i.kind === "waiting" || i.durationLabel === "—" || i.span.startMs > t) continue;
|
|
8669
|
-
let e = (
|
|
8675
|
+
let e = (qm(i.span) ? Math.max(i.span.endMs, t) : Math.min(i.span.endMs, t)) - i.span.startMs;
|
|
8670
8676
|
e > r && (n = i, r = e);
|
|
8671
8677
|
}
|
|
8672
8678
|
return n;
|
|
8673
8679
|
}
|
|
8674
|
-
function
|
|
8680
|
+
function ah(e) {
|
|
8675
8681
|
let t = /* @__PURE__ */ new Map();
|
|
8676
8682
|
for (let n of e) {
|
|
8677
8683
|
if (!n.parentId) continue;
|
|
@@ -8690,13 +8696,13 @@ function ih(e) {
|
|
|
8690
8696
|
}
|
|
8691
8697
|
return new Set(n?.chain);
|
|
8692
8698
|
}
|
|
8693
|
-
function
|
|
8699
|
+
function oh(e, t) {
|
|
8694
8700
|
let n, r = -1, i, a = -1, o = 0, s = 0;
|
|
8695
8701
|
for (let c of e) {
|
|
8696
8702
|
if (c.durationLabel === "—" || c.span.startMs > t || c.kind !== "pipeline" || c.hasAgents || c.id.startsWith("family:") || c.id.startsWith("run:")) continue;
|
|
8697
|
-
let e = (
|
|
8698
|
-
|
|
8699
|
-
let l =
|
|
8703
|
+
let e = (qm(c.span) ? Math.max(c.span.endMs, t) : Math.min(c.span.endMs, t)) - c.span.startMs;
|
|
8704
|
+
Jm(c.span, "Ran for") === void 0 && (s += 1, e > r && (n = c, r = e));
|
|
8705
|
+
let l = Jm(c.span, "Cost") === void 0 ? c.span.costUsd ?? c.rollupCostUsd : void 0;
|
|
8700
8706
|
typeof l == "number" && Number.isFinite(l) && (o += 1, l > a && (i = c, a = l));
|
|
8701
8707
|
}
|
|
8702
8708
|
return {
|
|
@@ -8704,7 +8710,7 @@ function ah(e, t) {
|
|
|
8704
8710
|
costliestId: o > 1 && a > 0 ? i?.id : void 0
|
|
8705
8711
|
};
|
|
8706
8712
|
}
|
|
8707
|
-
function
|
|
8713
|
+
function sh(e, t) {
|
|
8708
8714
|
let n = 0, r = -Infinity;
|
|
8709
8715
|
for (let i of e.own) {
|
|
8710
8716
|
let e = Math.max(i.startMs, r), a = Math.min(i.endMs, t);
|
|
@@ -8712,24 +8718,24 @@ function oh(e, t) {
|
|
|
8712
8718
|
}
|
|
8713
8719
|
return n;
|
|
8714
8720
|
}
|
|
8715
|
-
function
|
|
8721
|
+
function ch(e, t) {
|
|
8716
8722
|
let n = 0, r = !1, i = !1, a = [];
|
|
8717
8723
|
for (let o of e.spans) {
|
|
8718
8724
|
if (o.startMs > t) continue;
|
|
8719
8725
|
let e = o.meta?.["cli_bridge.usage.scope"] === "sum_of_children";
|
|
8720
|
-
o.endMs > t || (o.costUsd !== void 0 && (n += o.costUsd, r = !0), e || o.kind !== "model" && o.promptTokens === void 0 && o.completionTokens === void 0 || (a.push(
|
|
8726
|
+
o.endMs > t || (o.costUsd !== void 0 && (n += o.costUsd, r = !0), e || o.kind !== "model" && o.promptTokens === void 0 && o.completionTokens === void 0 || (a.push(Am([o.promptTokens, o.completionTokens])), i ||= o.promptTokens !== void 0 || o.completionTokens !== void 0));
|
|
8721
8727
|
}
|
|
8722
8728
|
return {
|
|
8723
8729
|
costUsd: e.costUsd === void 0 ? void 0 : r ? n : e.costUsd,
|
|
8724
|
-
tokens:
|
|
8725
|
-
modelCalls:
|
|
8726
|
-
toolCalls:
|
|
8727
|
-
errors:
|
|
8730
|
+
tokens: Am(i ? a : [e.promptTokens, e.completionTokens]),
|
|
8731
|
+
modelCalls: km(e.modelCalls),
|
|
8732
|
+
toolCalls: km(e.toolCalls),
|
|
8733
|
+
errors: km(e.errors)
|
|
8728
8734
|
};
|
|
8729
8735
|
}
|
|
8730
|
-
function
|
|
8731
|
-
e =
|
|
8732
|
-
let n =
|
|
8736
|
+
function lh(e, t) {
|
|
8737
|
+
e = Om(e);
|
|
8738
|
+
let n = Om(t.billedUsd), r = t.costBasis === "list", i = r ? "Cost · list price" : "Cost";
|
|
8733
8739
|
if (e === void 0) return n === void 0 ? {
|
|
8734
8740
|
value: "—",
|
|
8735
8741
|
title: "No cost source: the harness recorded no cost and no price catalog was given",
|
|
@@ -8752,18 +8758,18 @@ function ch(e, t) {
|
|
|
8752
8758
|
label: i
|
|
8753
8759
|
};
|
|
8754
8760
|
}
|
|
8755
|
-
var
|
|
8756
|
-
function
|
|
8757
|
-
let r = e.length <= t, i =
|
|
8761
|
+
var uh = (e) => e.replace(/[-\s]\d+$/, "");
|
|
8762
|
+
function dh(e, t, n) {
|
|
8763
|
+
let r = e.length <= t, i = fh(e, /* @__PURE__ */ new Set()).filter((e) => e.id.startsWith("family:")).map((e) => e.id);
|
|
8758
8764
|
return new Set(i.filter((e) => r !== n.has(e)));
|
|
8759
8765
|
}
|
|
8760
|
-
function
|
|
8766
|
+
function fh(e, t) {
|
|
8761
8767
|
let n = /* @__PURE__ */ new Map();
|
|
8762
8768
|
for (let t of e) {
|
|
8763
|
-
let e = t.parentId === void 0 ? `root:${t.id}` :
|
|
8769
|
+
let e = t.parentId === void 0 ? `root:${t.id}` : uh(t.name);
|
|
8764
8770
|
n.set(e, [...n.get(e) ?? [], t]);
|
|
8765
8771
|
}
|
|
8766
|
-
let r = [], i = 0, a = (e) => e.tone <= 0 || ++i > 5 ? 0 : 1 + [...
|
|
8772
|
+
let r = [], i = 0, a = (e) => e.tone <= 0 || ++i > 5 ? 0 : 1 + [...uh(e.name)].reduce((e, t) => e * 31 + t.charCodeAt(0) >>> 0, 0) % 5;
|
|
8767
8773
|
for (let [e, i] of n) {
|
|
8768
8774
|
if (i.length < 2) {
|
|
8769
8775
|
let e = i[0], t = a(e);
|
|
@@ -8777,7 +8783,7 @@ function dh(e, t) {
|
|
|
8777
8783
|
});
|
|
8778
8784
|
continue;
|
|
8779
8785
|
}
|
|
8780
|
-
let n = a(i[0]), o = `family:${e}`, s = Math.min(...i.map((e) => e.span.startMs)), c = Math.max(...i.map((e) => e.span.endMs)), l = i.some((e) =>
|
|
8786
|
+
let n = a(i[0]), o = `family:${e}`, s = Math.min(...i.map((e) => e.span.startMs)), c = Math.max(...i.map((e) => e.span.endMs)), l = i.some((e) => qm(e.span)), u = i.map((e) => e.span.costUsd ?? (Jm(e.span, "Cost") === void 0 ? e.rollupCostUsd : void 0)).filter((e) => e !== void 0 && Number.isFinite(e)), d = i.filter((e) => e.span.outcome ? e.span.outcome.tone === "failed" : !e.ok).length, f = i.every((e) => e.span.outcome && e.span.outcome.tone === i[0].span.outcome?.tone && !e.span.outcome.ring == !i[0].span.outcome?.ring) ? i[0].span.outcome : void 0, p = i.flatMap((e) => (e.span.facts ?? []).filter(({ label: t }) => [
|
|
8781
8787
|
"model",
|
|
8782
8788
|
"model calls",
|
|
8783
8789
|
"tool calls",
|
|
@@ -8822,7 +8828,7 @@ function dh(e, t) {
|
|
|
8822
8828
|
alt: t % 2 == 1
|
|
8823
8829
|
}))).sort((e, t) => e.startMs - t.startMs),
|
|
8824
8830
|
...u.length ? { rollupCostUsd: u.reduce((e, t) => e + t, 0) } : {},
|
|
8825
|
-
|
|
8831
|
+
...$m(i),
|
|
8826
8832
|
span: {
|
|
8827
8833
|
id: o,
|
|
8828
8834
|
kind: "pipeline",
|
|
@@ -8854,7 +8860,7 @@ function dh(e, t) {
|
|
|
8854
8860
|
}
|
|
8855
8861
|
return r;
|
|
8856
8862
|
}
|
|
8857
|
-
function
|
|
8863
|
+
function ph(e) {
|
|
8858
8864
|
if (e.id.startsWith("family:")) {
|
|
8859
8865
|
let t = Number(e.span.meta?.failedAgents ?? 0);
|
|
8860
8866
|
return [`${e.descendants} agents`, ...t ? [`${t} failed`] : []];
|
|
@@ -8872,14 +8878,14 @@ function fh(e) {
|
|
|
8872
8878
|
e.counts?.tool,
|
|
8873
8879
|
"tool"
|
|
8874
8880
|
]].map(([e, n, r]) => t.has(e.toLowerCase()) ? `${e}: ${t.get(e.toLowerCase())}` : n ? `${n} ${r} ${n === 1 ? "call" : "calls"}` : "");
|
|
8875
|
-
return [e.span.outcome?.label ?? (
|
|
8881
|
+
return [e.span.outcome?.label ?? (qm(e.span) ? "running" : e.ok ? e.kind === "pipeline" ? "" : "done" : "failed"), ...n].filter(Boolean);
|
|
8876
8882
|
}
|
|
8877
|
-
function
|
|
8878
|
-
let i =
|
|
8883
|
+
function mh(e, t, n, r) {
|
|
8884
|
+
let i = fh(e, n);
|
|
8879
8885
|
if (r.size === 0) return i;
|
|
8880
8886
|
let a = /* @__PURE__ */ new Map();
|
|
8881
8887
|
for (let e of t) e.parentId !== void 0 && r.has(e.parentId) && e.kind !== "pipeline" && a.set(e.parentId, [...a.get(e.parentId) ?? [], e]);
|
|
8882
|
-
return i.flatMap((e) => r.has(e.id) ? [e, ...
|
|
8888
|
+
return i.flatMap((e) => r.has(e.id) ? [e, ...hh(a.get(e.id) ?? []).map((t) => ({
|
|
8883
8889
|
...t,
|
|
8884
8890
|
stepOf: e.id,
|
|
8885
8891
|
inset: (e.inset ?? 0) + 1,
|
|
@@ -8890,7 +8896,7 @@ function ph(e, t, n, r) {
|
|
|
8890
8896
|
}))
|
|
8891
8897
|
}))] : [e]);
|
|
8892
8898
|
}
|
|
8893
|
-
function
|
|
8899
|
+
function hh(e) {
|
|
8894
8900
|
let t = [];
|
|
8895
8901
|
for (let n = 0; n < e.length;) {
|
|
8896
8902
|
let r = n;
|
|
@@ -8910,10 +8916,10 @@ function mh(e) {
|
|
|
8910
8916
|
hasChildren: !1,
|
|
8911
8917
|
descendants: 0,
|
|
8912
8918
|
segments: [],
|
|
8913
|
-
...
|
|
8914
|
-
tokens:
|
|
8919
|
+
...Qm(i),
|
|
8920
|
+
tokens: eh(i),
|
|
8915
8921
|
own: i.map((e) => ({
|
|
8916
|
-
...
|
|
8922
|
+
...th(e),
|
|
8917
8923
|
tone: a.tone
|
|
8918
8924
|
})),
|
|
8919
8925
|
...l.length ? { rollupCostUsd: l.reduce((e, t) => e + t, 0) } : {},
|
|
@@ -8930,7 +8936,7 @@ function mh(e) {
|
|
|
8930
8936
|
}
|
|
8931
8937
|
return t;
|
|
8932
8938
|
}
|
|
8933
|
-
function
|
|
8939
|
+
function gh(e, t) {
|
|
8934
8940
|
let n = t.find((t) => t.id === e.id);
|
|
8935
8941
|
if (n) return n;
|
|
8936
8942
|
let r = t.find((t) => (t.span.meta?.members)?.includes(e.id));
|
|
@@ -8939,61 +8945,61 @@ function hh(e, t) {
|
|
|
8939
8945
|
tone: r.tone
|
|
8940
8946
|
} : e;
|
|
8941
8947
|
}
|
|
8942
|
-
var
|
|
8943
|
-
function
|
|
8944
|
-
let n = [...e.span.activityAt ?? e.own.flatMap((e) => [e.startMs, e.endMs])].filter(Number.isFinite).sort((e, t) => e - t), r = n.at(-1) ?? NaN, i = n.slice(1).map((e, t) => e - n[t]).sort((e, t) => e - t), a = Math.floor(i.length / 2), o = i.length ? i.length % 2 ? i[a] : (i[a - 1] + i[a]) / 2 : 0, s = e.span.medianEventGapMs, c =
|
|
8948
|
+
var _h = (e, t) => Jm(e.span, "Cost") ?? (t === void 0 ? "" : `${e.costFloor ? "≥" : ""}${wm(t)}`);
|
|
8949
|
+
function vh(e, t) {
|
|
8950
|
+
let n = [...e.span.activityAt ?? e.own.flatMap((e) => [e.startMs, e.endMs])].filter(Number.isFinite).sort((e, t) => e - t), r = n.at(-1) ?? NaN, i = n.slice(1).map((e, t) => e - n[t]).sort((e, t) => e - t), a = Math.floor(i.length / 2), o = i.length ? i.length % 2 ? i[a] : (i[a - 1] + i[a]) / 2 : 0, s = e.span.medianEventGapMs, c = yh(r, typeof s == "number" && Number.isFinite(s) && s >= 0 ? s : o, t);
|
|
8945
8951
|
return {
|
|
8946
8952
|
last: r,
|
|
8947
8953
|
...c,
|
|
8948
|
-
quiet:
|
|
8954
|
+
quiet: qm(e.span) && c.quiet
|
|
8949
8955
|
};
|
|
8950
8956
|
}
|
|
8951
|
-
function
|
|
8957
|
+
function yh(e, t, n) {
|
|
8952
8958
|
let r = Number.isFinite(e) ? Math.max(0, n - e) : 0;
|
|
8953
8959
|
return {
|
|
8954
8960
|
quietMs: r,
|
|
8955
8961
|
quiet: Number.isFinite(e) && r > Math.max(3e5, 3 * t)
|
|
8956
8962
|
};
|
|
8957
8963
|
}
|
|
8958
|
-
var
|
|
8959
|
-
let t =
|
|
8964
|
+
var bh = () => typeof matchMedia > "u" ? null : matchMedia("(prefers-reduced-motion: reduce)"), xh = (e) => {
|
|
8965
|
+
let t = bh();
|
|
8960
8966
|
return t?.addEventListener("change", e), () => t?.removeEventListener("change", e);
|
|
8961
8967
|
};
|
|
8962
|
-
function
|
|
8963
|
-
return (0, o.useSyncExternalStore)(
|
|
8968
|
+
function Sh() {
|
|
8969
|
+
return (0, o.useSyncExternalStore)(xh, () => bh()?.matches === !1, () => !1);
|
|
8964
8970
|
}
|
|
8965
|
-
function
|
|
8971
|
+
function Ch(e, t) {
|
|
8966
8972
|
if (typeof document > "u") return 0;
|
|
8967
8973
|
let n = getComputedStyle(t ?? document.documentElement).getPropertyValue(e).trim();
|
|
8968
8974
|
return (parseFloat(n) || 0) * (n.endsWith("ms") ? 1 : 1e3);
|
|
8969
8975
|
}
|
|
8970
|
-
var
|
|
8971
|
-
function
|
|
8976
|
+
var wh = { animation: "tangle-breathe var(--motion-ambient) infinite" };
|
|
8977
|
+
function Th(e) {
|
|
8972
8978
|
for (let t of e.currentTarget.getAnimations()) t.animationName === "tangle-breathe" && (t.startTime = 0);
|
|
8973
8979
|
}
|
|
8974
|
-
function
|
|
8980
|
+
function Eh(e) {
|
|
8975
8981
|
let t = Number.isFinite(e.lastActivityAt) && Number.isFinite(e.medianEventGapMs) && e.medianEventGapMs >= 0 ? [] : (e.events ?? []).flatMap((e) => e.at != null && Number.isFinite(e.at) ? [e.at] : []).sort((e, t) => e - t), n = Number.isFinite(e.lastActivityAt) ? e.lastActivityAt : t.at(-1), r = t.slice(1).map((e, n) => e - t[n]).sort((e, t) => e - t), i = Math.floor(r.length / 2);
|
|
8976
8982
|
return {
|
|
8977
8983
|
lastActivityAt: n,
|
|
8978
8984
|
medianEventGapMs: Number.isFinite(e.medianEventGapMs) && e.medianEventGapMs >= 0 ? e.medianEventGapMs : r.length ? r.length % 2 ? r[i] : (r[i - 1] + r[i]) / 2 : 0
|
|
8979
8985
|
};
|
|
8980
8986
|
}
|
|
8981
|
-
function
|
|
8987
|
+
function Dh(e, t) {
|
|
8982
8988
|
if (e.status !== "running") return null;
|
|
8983
|
-
let { lastActivityAt: n, medianEventGapMs: r } =
|
|
8989
|
+
let { lastActivityAt: n, medianEventGapMs: r } = Eh(e);
|
|
8984
8990
|
if (n == null || !Number.isFinite(n)) return null;
|
|
8985
|
-
let { quietMs: i, quiet: a } =
|
|
8991
|
+
let { quietMs: i, quiet: a } = yh(n, r, t);
|
|
8986
8992
|
return a ? {
|
|
8987
8993
|
quietMs: i,
|
|
8988
8994
|
label: `Quiet ${Cm(i)}`
|
|
8989
8995
|
} : null;
|
|
8990
8996
|
}
|
|
8991
|
-
function
|
|
8992
|
-
let n =
|
|
8997
|
+
function Oh(e, t) {
|
|
8998
|
+
let n = Sh();
|
|
8993
8999
|
(0, o.useEffect)(() => {
|
|
8994
9000
|
let r = e.current;
|
|
8995
9001
|
if (!r || !n || t !== "needs-you" && t !== "failed") return;
|
|
8996
|
-
let i =
|
|
9002
|
+
let i = Fm(t).token, a = Ch("--duration-ambient", r) * (t === "needs-you" ? .45 : .3);
|
|
8997
9003
|
r.dataset.attn = t;
|
|
8998
9004
|
let o = getComputedStyle(r).boxShadow, s = o === "none" ? "" : `, ${o}`, c = r.animate([{ boxShadow: `0 0 0 0 color-mix(in srgb, var(${i}) 40%, transparent)${s}` }, { boxShadow: `0 0 0 6px transparent${s}` }], {
|
|
8999
9005
|
duration: a,
|
|
@@ -9011,14 +9017,14 @@ function Dh(e, t) {
|
|
|
9011
9017
|
n
|
|
9012
9018
|
]);
|
|
9013
9019
|
}
|
|
9014
|
-
// node_modules/.pnpm/@tangle-network+charts@4.0.2_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-
|
|
9015
|
-
function
|
|
9020
|
+
// node_modules/.pnpm/@tangle-network+charts@4.0.2_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-network_8fd2b0d675b84eae5d8adcca22ee1cb3/node_modules/@tangle-network/charts/dist/graph-style-Cc-RXm6j.js
|
|
9021
|
+
function kh(e) {
|
|
9016
9022
|
return e === void 0 || !Number.isFinite(e) || e < 0 ? void 0 : wm(e);
|
|
9017
9023
|
}
|
|
9018
|
-
function
|
|
9019
|
-
return
|
|
9024
|
+
function Ah(e) {
|
|
9025
|
+
return km(e) === void 0 ? void 0 : `${Tm(e)} tok`;
|
|
9020
9026
|
}
|
|
9021
|
-
function
|
|
9027
|
+
function jh(e, t, n = !1) {
|
|
9022
9028
|
if (e == null || !Number.isFinite(e)) return "—";
|
|
9023
9029
|
if (n) return new Date(e).toLocaleTimeString([], {
|
|
9024
9030
|
hour: "2-digit",
|
|
@@ -9028,15 +9034,15 @@ function Ah(e, t, n = !1) {
|
|
|
9028
9034
|
let r = Math.max(0, Math.floor((t - e) / 1e3));
|
|
9029
9035
|
return r < 5 ? "now" : r < 60 ? `${r}s` : r < 3600 ? `${Math.floor(r / 60)}m` : `${Math.floor(r / 3600)}h`;
|
|
9030
9036
|
}
|
|
9031
|
-
function
|
|
9037
|
+
function Mh(e, t = 2, n = 350) {
|
|
9032
9038
|
return e().catch((r) => {
|
|
9033
9039
|
if (t <= 0) throw r;
|
|
9034
9040
|
return new Promise((r, i) => {
|
|
9035
|
-
setTimeout(() =>
|
|
9041
|
+
setTimeout(() => Mh(e, t - 1, n).then(r, i), n);
|
|
9036
9042
|
});
|
|
9037
9043
|
});
|
|
9038
9044
|
}
|
|
9039
|
-
var
|
|
9045
|
+
var Nh = class extends o.Component {
|
|
9040
9046
|
state = { hasError: !1 };
|
|
9041
9047
|
static getDerivedStateFromError() {
|
|
9042
9048
|
return { hasError: !0 };
|
|
@@ -9044,39 +9050,39 @@ var Mh = class extends o.Component {
|
|
|
9044
9050
|
render() {
|
|
9045
9051
|
return this.state.hasError ? this.props.fallback : this.props.children;
|
|
9046
9052
|
}
|
|
9047
|
-
},
|
|
9048
|
-
function
|
|
9049
|
-
return
|
|
9053
|
+
}, Ph;
|
|
9054
|
+
function Fh() {
|
|
9055
|
+
return Ph ??= import("./elk.bundled-CqF3Dyp2.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
|
|
9050
9056
|
let t = e.default;
|
|
9051
9057
|
return new t();
|
|
9052
|
-
}).catch(() => null),
|
|
9058
|
+
}).catch(() => null), Ph;
|
|
9053
9059
|
}
|
|
9054
|
-
var
|
|
9055
|
-
function
|
|
9060
|
+
var Ih = /* @__PURE__ */ new Set(/* @__PURE__ */ "ai.api.cd.ci.cli.cpu.css.csv.db.dns.gpu.html.http.https.id.io.ip.json.llm.mcp.ml.pr.qa.sdk.sla.sql.ssh.ui.url.uuid.vm.yaml".split("."));
|
|
9061
|
+
function Lh(e) {
|
|
9056
9062
|
return e.replace(/[._\-/]+/g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").trim().split(/\s+/).filter(Boolean);
|
|
9057
9063
|
}
|
|
9058
|
-
function
|
|
9059
|
-
let n =
|
|
9064
|
+
function Rh(e, t = "sentence") {
|
|
9065
|
+
let n = Lh(e);
|
|
9060
9066
|
return n.length === 0 ? e : n.map((e, n) => {
|
|
9061
9067
|
let r = e.toLowerCase();
|
|
9062
|
-
if (
|
|
9068
|
+
if (Ih.has(r)) return r.toUpperCase();
|
|
9063
9069
|
let i = r.charAt(0).toUpperCase() + r.slice(1);
|
|
9064
9070
|
return t === "title" ? i : n > 0 || t === "lower" ? r : i;
|
|
9065
9071
|
}).join(" ");
|
|
9066
9072
|
}
|
|
9067
|
-
function
|
|
9073
|
+
function zh(e) {
|
|
9068
9074
|
let t = e.lastIndexOf("/");
|
|
9069
9075
|
return t === -1 ? e : e.slice(t + 1);
|
|
9070
9076
|
}
|
|
9071
|
-
function
|
|
9077
|
+
function Bh(e) {
|
|
9072
9078
|
if (typeof document > "u" || typeof window > "u") return "light";
|
|
9073
9079
|
let t = window.getComputedStyle(e ?? document.documentElement).colorScheme;
|
|
9074
9080
|
return t.startsWith("dark") ? "dark" : t.startsWith("light") ? "light" : (e ?? document.documentElement).closest(".dark") ? "dark" : "light";
|
|
9075
9081
|
}
|
|
9076
|
-
function
|
|
9077
|
-
let [n, r] = (0, o.useState)(() =>
|
|
9082
|
+
function Vh(e, t) {
|
|
9083
|
+
let [n, r] = (0, o.useState)(() => Bh(null));
|
|
9078
9084
|
return (0, o.useLayoutEffect)(() => {
|
|
9079
|
-
let n = t ? e.current : null, i = () => r(
|
|
9085
|
+
let n = t ? e.current : null, i = () => r(Bh(n));
|
|
9080
9086
|
i();
|
|
9081
9087
|
let a = new MutationObserver(i);
|
|
9082
9088
|
for (let e = n ?? document.documentElement; e; e = e.parentElement) a.observe(e, {
|
|
@@ -9091,32 +9097,32 @@ function Bh(e, t) {
|
|
|
9091
9097
|
return () => a.disconnect();
|
|
9092
9098
|
}, [e, t]), n;
|
|
9093
9099
|
}
|
|
9094
|
-
var
|
|
9100
|
+
var Hh = {
|
|
9095
9101
|
outline: "1px solid hsl(var(--foreground) / .45)",
|
|
9096
9102
|
outlineOffset: 2
|
|
9097
|
-
},
|
|
9098
|
-
function
|
|
9099
|
-
return e === "failed" || e === "waiting" ? `var(${
|
|
9103
|
+
}, Uh = "inset 0 1px 0 hsl(var(--foreground) / 0.06), 0 1px 3px hsl(var(--shadow-color) / 0.08)", Wh = "hsl(var(--foreground) / 0.14)";
|
|
9104
|
+
function Gh(e) {
|
|
9105
|
+
return e === "failed" || e === "waiting" ? `var(${Fm(e === "waiting" ? "needs-you" : "failed").token})` : "color-mix(in srgb, hsl(var(--muted-foreground)) 80%, transparent)";
|
|
9100
9106
|
}
|
|
9101
|
-
// node_modules/.pnpm/@tangle-network+charts@4.0.2_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-
|
|
9102
|
-
var
|
|
9103
|
-
function
|
|
9107
|
+
// node_modules/.pnpm/@tangle-network+charts@4.0.2_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-network_8fd2b0d675b84eae5d8adcca22ee1cb3/node_modules/@tangle-network/charts/dist/latest-events-CRq9sGkK.js
|
|
9108
|
+
var Kh = (e) => e?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
9109
|
+
function qh(e, t, n = []) {
|
|
9104
9110
|
if (t == null) throw Error("[lucide]: iconNode is required when icon name is used");
|
|
9105
9111
|
return {
|
|
9106
|
-
name:
|
|
9112
|
+
name: Kh(e),
|
|
9107
9113
|
size: 24,
|
|
9108
9114
|
node: t,
|
|
9109
9115
|
...n.length > 0 ? { aliases: n } : {}
|
|
9110
9116
|
};
|
|
9111
9117
|
}
|
|
9112
|
-
var
|
|
9118
|
+
var Jh = (e) => {
|
|
9113
9119
|
let t = "", n = !1;
|
|
9114
9120
|
for (let r of e) r === "-" || r === "_" || r <= " " ? n = t.length > 0 : (t.length === 0 ? t += r.toLowerCase() : t += n ? r.toUpperCase() : r, n = !1);
|
|
9115
9121
|
return t;
|
|
9116
|
-
},
|
|
9117
|
-
let t =
|
|
9122
|
+
}, Yh = (e) => {
|
|
9123
|
+
let t = Jh(e);
|
|
9118
9124
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
9119
|
-
},
|
|
9125
|
+
}, Xh = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Zh = {
|
|
9120
9126
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9121
9127
|
width: 24,
|
|
9122
9128
|
height: 24,
|
|
@@ -9127,22 +9133,22 @@ var qh = (e) => {
|
|
|
9127
9133
|
"stroke-linecap": "round",
|
|
9128
9134
|
"stroke-linejoin": "round"
|
|
9129
9135
|
};
|
|
9130
|
-
function
|
|
9136
|
+
function Qh(e) {
|
|
9131
9137
|
return e != null;
|
|
9132
9138
|
}
|
|
9133
|
-
function
|
|
9134
|
-
let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ??
|
|
9139
|
+
function $h(e, t = {}) {
|
|
9140
|
+
let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ?? Zh.width, a = e.size ?? e.height ?? Zh.height, o = e.aliases?.filter((e) => typeof e == "string" && e.trim() !== "").map((e) => `lucide-${e}`) ?? [], s = [...e.name ? [`lucide-${e.name}`] : [], ...o], c = t.className?.split(" ").filter(Boolean) ?? [], l = t.includeDefaultClasses === !1 ? Xh(...c) : Xh("lucide", ...s, ...c), u = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? Zh["stroke-width"]) * Number(e.size ?? e.width ?? Zh.width) / Number(t.size ?? t.width ?? Zh.width) : t.strokeWidth ?? Zh["stroke-width"];
|
|
9135
9141
|
return [
|
|
9136
9142
|
"svg",
|
|
9137
9143
|
{
|
|
9138
|
-
...Object.entries(
|
|
9144
|
+
...Object.entries(Zh).reduce((e, [t, n]) => (e[r(t)] = n, e), {}),
|
|
9139
9145
|
..."color" in t && t.color && { [r("stroke")]: t.color },
|
|
9140
|
-
..."size" in t &&
|
|
9146
|
+
..."size" in t && Qh(t.size) && {
|
|
9141
9147
|
[r("width")]: t.size,
|
|
9142
9148
|
[r("height")]: t.size
|
|
9143
9149
|
},
|
|
9144
|
-
..."width" in t &&
|
|
9145
|
-
..."height" in t &&
|
|
9150
|
+
..."width" in t && Qh(t.width) && { [r("width")]: t.width },
|
|
9151
|
+
..."height" in t && Qh(t.height) && { [r("height")]: t.height },
|
|
9146
9152
|
[r("stroke-width")]: u,
|
|
9147
9153
|
...l && { [r("class")]: l },
|
|
9148
9154
|
[r("viewBox")]: `0 0 ${i} ${a}`,
|
|
@@ -9162,8 +9168,8 @@ function Qh(e, t = {}) {
|
|
|
9162
9168
|
})
|
|
9163
9169
|
];
|
|
9164
9170
|
}
|
|
9165
|
-
function
|
|
9166
|
-
return
|
|
9171
|
+
function eg(e, t = {}) {
|
|
9172
|
+
return $h(e, {
|
|
9167
9173
|
...t,
|
|
9168
9174
|
attributeNames: {
|
|
9169
9175
|
...t.attributeNames,
|
|
@@ -9175,22 +9181,22 @@ function $h(e, t = {}) {
|
|
|
9175
9181
|
}
|
|
9176
9182
|
});
|
|
9177
9183
|
}
|
|
9178
|
-
var
|
|
9184
|
+
var tg = (e) => {
|
|
9179
9185
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
9180
9186
|
return !1;
|
|
9181
|
-
},
|
|
9187
|
+
}, ng = (0, o.createContext)({}), rg = () => (0, o.useContext)(ng), ig = (0, o.forwardRef)(({ color: e, size: t, width: n, height: r, strokeWidth: i, absoluteStrokeWidth: a, nonScalingStroke: s, className: c = "", children: l, iconNode: u = [], icon: d = {
|
|
9182
9188
|
node: u,
|
|
9183
9189
|
aliases: [],
|
|
9184
9190
|
size: 24
|
|
9185
9191
|
}, ...f }, p) => {
|
|
9186
|
-
let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } =
|
|
9192
|
+
let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } = rg() ?? {}, b = !!l || tg(f), [x, S, C = []] = eg(d, {
|
|
9187
9193
|
color: e ?? v,
|
|
9188
9194
|
width: n ?? t ?? m,
|
|
9189
9195
|
height: r ?? t ?? m,
|
|
9190
9196
|
strokeWidth: i ?? h,
|
|
9191
9197
|
absoluteStrokeWidth: a ?? g,
|
|
9192
9198
|
nonScalingStroke: s ?? _,
|
|
9193
|
-
className:
|
|
9199
|
+
className: Xh(y, c),
|
|
9194
9200
|
hasA11yProp: b,
|
|
9195
9201
|
attributes: f
|
|
9196
9202
|
});
|
|
@@ -9199,16 +9205,16 @@ var eg = (e) => {
|
|
|
9199
9205
|
...S
|
|
9200
9206
|
}, [...C.map(([e, t]) => (0, o.createElement)(e, t)), ...Array.isArray(l) ? l : [l]]);
|
|
9201
9207
|
});
|
|
9202
|
-
function
|
|
9203
|
-
let r = typeof e == "string" ?
|
|
9208
|
+
function ag(e, t = [], n = []) {
|
|
9209
|
+
let r = typeof e == "string" ? qh(e, t, n) : e, i = (0, o.forwardRef)(({ className: e, ...t }, n) => (0, o.createElement)(ig, {
|
|
9204
9210
|
ref: n,
|
|
9205
9211
|
icon: r,
|
|
9206
9212
|
className: e,
|
|
9207
9213
|
...t
|
|
9208
9214
|
}));
|
|
9209
|
-
return r.name && (i.displayName =
|
|
9215
|
+
return r.name && (i.displayName = Yh(r.name)), i;
|
|
9210
9216
|
}
|
|
9211
|
-
var
|
|
9217
|
+
var og = {
|
|
9212
9218
|
name: "bot",
|
|
9213
9219
|
size: 24,
|
|
9214
9220
|
node: [
|
|
@@ -9242,8 +9248,8 @@ var ag = {
|
|
|
9242
9248
|
}]
|
|
9243
9249
|
]
|
|
9244
9250
|
};
|
|
9245
|
-
|
|
9246
|
-
var
|
|
9251
|
+
og.node;
|
|
9252
|
+
var sg = ag(og), cg = {
|
|
9247
9253
|
name: "wrench",
|
|
9248
9254
|
size: 24,
|
|
9249
9255
|
node: [["path", {
|
|
@@ -9251,30 +9257,30 @@ var og = ig(ag), sg = {
|
|
|
9251
9257
|
key: "1ngwbx"
|
|
9252
9258
|
}]]
|
|
9253
9259
|
};
|
|
9254
|
-
|
|
9255
|
-
var
|
|
9256
|
-
function
|
|
9257
|
-
let { renderAgentMark: r } = (0, o.useContext)(
|
|
9258
|
-
return e && r ? r(e, t, n) : /* @__PURE__ */ (0, X.jsx)(
|
|
9260
|
+
cg.node;
|
|
9261
|
+
var lg = ag(cg), ug = (0, o.createContext)({}), dg = ug.Provider;
|
|
9262
|
+
function fg({ agent: e, layout: t, size: n }) {
|
|
9263
|
+
let { renderAgentMark: r } = (0, o.useContext)(ug);
|
|
9264
|
+
return e && r ? r(e, t, n) : /* @__PURE__ */ (0, X.jsx)(sg, {
|
|
9259
9265
|
size: t === "tree" ? n : 16,
|
|
9260
9266
|
"aria-hidden": !0
|
|
9261
9267
|
});
|
|
9262
9268
|
}
|
|
9263
|
-
function
|
|
9264
|
-
let { renderToolMark: r } = (0, o.useContext)(
|
|
9265
|
-
return r ? r(e, t, n) : /* @__PURE__ */ (0, X.jsx)(
|
|
9269
|
+
function pg({ tool: e, label: t, size: n }) {
|
|
9270
|
+
let { renderToolMark: r } = (0, o.useContext)(ug);
|
|
9271
|
+
return r ? r(e, t, n) : /* @__PURE__ */ (0, X.jsx)(lg, {
|
|
9266
9272
|
size: n * .4,
|
|
9267
9273
|
"aria-hidden": !0
|
|
9268
9274
|
});
|
|
9269
9275
|
}
|
|
9270
|
-
var
|
|
9276
|
+
var mg = {
|
|
9271
9277
|
width: 232,
|
|
9272
9278
|
height: 120
|
|
9273
|
-
},
|
|
9279
|
+
}, hg = {
|
|
9274
9280
|
width: 296,
|
|
9275
9281
|
height: 164
|
|
9276
|
-
},
|
|
9277
|
-
function
|
|
9282
|
+
}, gg = 10, _g = 12, vg = 56, yg = 24;
|
|
9283
|
+
function bg(e, t) {
|
|
9278
9284
|
let n = /* @__PURE__ */ new Set(), r = [];
|
|
9279
9285
|
for (let t of e) n.has(t.id) || (n.add(t.id), r.push(t.id));
|
|
9280
9286
|
let i = /* @__PURE__ */ new Set(), a = [], o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
@@ -9306,25 +9312,25 @@ function yg(e, t) {
|
|
|
9306
9312
|
groupOf: l
|
|
9307
9313
|
};
|
|
9308
9314
|
}
|
|
9309
|
-
function
|
|
9315
|
+
function xg(e, t, n, r = !1) {
|
|
9310
9316
|
if (r) return {
|
|
9311
9317
|
width: n.width + 24,
|
|
9312
9318
|
height: 80
|
|
9313
9319
|
};
|
|
9314
9320
|
let i = Math.max(1, Math.min(t, e)), a = Math.ceil(e / i);
|
|
9315
9321
|
return {
|
|
9316
|
-
width: i * n.width + (i - 1) *
|
|
9317
|
-
height: 80 + a * n.height + (a - 1) *
|
|
9322
|
+
width: i * n.width + (i - 1) * gg + 24,
|
|
9323
|
+
height: 80 + a * n.height + (a - 1) * gg + _g
|
|
9318
9324
|
};
|
|
9319
9325
|
}
|
|
9320
|
-
function
|
|
9326
|
+
function Sg(e, t, n, r, i) {
|
|
9321
9327
|
let a = new Map(i ? e.groups.map((e) => [e.parentId, e.id]) : []), o = e.agentIds.filter((t) => !e.groupOf.has(t) && !a.has(t)).map((e) => ({
|
|
9322
9328
|
id: e,
|
|
9323
9329
|
...n
|
|
9324
9330
|
}));
|
|
9325
9331
|
o.push(...e.groups.map((e) => ({
|
|
9326
9332
|
id: e.id,
|
|
9327
|
-
...
|
|
9333
|
+
...xg(e.memberIds.length, t, n, r.has(e.id))
|
|
9328
9334
|
})));
|
|
9329
9335
|
let s = (t) => e.groupOf.get(t) ?? a.get(t) ?? t, c = /* @__PURE__ */ new Set();
|
|
9330
9336
|
return {
|
|
@@ -9338,8 +9344,8 @@ function xg(e, t, n, r, i) {
|
|
|
9338
9344
|
})
|
|
9339
9345
|
};
|
|
9340
9346
|
}
|
|
9341
|
-
async function
|
|
9342
|
-
let r = await
|
|
9347
|
+
async function Cg(e, t, n) {
|
|
9348
|
+
let r = await Fh();
|
|
9343
9349
|
if (!r) return null;
|
|
9344
9350
|
let i = {
|
|
9345
9351
|
id: "root",
|
|
@@ -9349,8 +9355,8 @@ async function Sg(e, t, n) {
|
|
|
9349
9355
|
"elk.layered.considerModelOrder.strategy": "NODES_AND_EDGES",
|
|
9350
9356
|
"elk.layered.nodePlacement.strategy": "BRANDES_KOEPF",
|
|
9351
9357
|
"elk.layered.nodePlacement.bk.fixedAlignment": "BALANCED",
|
|
9352
|
-
"elk.layered.spacing.nodeNodeBetweenLayers": String(
|
|
9353
|
-
"elk.spacing.nodeNode": String(
|
|
9358
|
+
"elk.layered.spacing.nodeNodeBetweenLayers": String(vg),
|
|
9359
|
+
"elk.spacing.nodeNode": String(yg),
|
|
9354
9360
|
"elk.spacing.componentComponent": "48",
|
|
9355
9361
|
"elk.separateConnectedComponents": "true",
|
|
9356
9362
|
"elk.padding": "[top=0,left=0,bottom=0,right=0]"
|
|
@@ -9377,7 +9383,7 @@ async function Sg(e, t, n) {
|
|
|
9377
9383
|
return null;
|
|
9378
9384
|
}
|
|
9379
9385
|
}
|
|
9380
|
-
function
|
|
9386
|
+
function wg(e, t, n) {
|
|
9381
9387
|
let r = /* @__PURE__ */ new Map();
|
|
9382
9388
|
for (let e of t) r.set(e.to, [...r.get(e.to) ?? [], e.from]);
|
|
9383
9389
|
let i = /* @__PURE__ */ new Map(), a = (e, t) => {
|
|
@@ -9389,7 +9395,7 @@ function Cg(e, t, n) {
|
|
|
9389
9395
|
return t.delete(e), i.set(e, o), o;
|
|
9390
9396
|
}, o = [];
|
|
9391
9397
|
for (let t of e) (o[a(t.id, /* @__PURE__ */ new Set())] ??= []).push(t);
|
|
9392
|
-
let s = (e) => n === "TB" ? e.width : e.height, c = (e) => n === "TB" ? e.height : e.width, l = o.map((e) => e.reduce((e, t) => e + s(t), 0) + (e.length - 1) *
|
|
9398
|
+
let s = (e) => n === "TB" ? e.width : e.height, c = (e) => n === "TB" ? e.height : e.width, l = o.map((e) => e.reduce((e, t) => e + s(t), 0) + (e.length - 1) * yg), u = Math.max(...l), d = /* @__PURE__ */ new Map(), f = 0;
|
|
9393
9399
|
return o.forEach((e, t) => {
|
|
9394
9400
|
let r = (u - l[t]) / 2;
|
|
9395
9401
|
for (let t of e) d.set(t.id, n === "TB" ? {
|
|
@@ -9398,12 +9404,12 @@ function Cg(e, t, n) {
|
|
|
9398
9404
|
} : {
|
|
9399
9405
|
x: f,
|
|
9400
9406
|
y: r
|
|
9401
|
-
}), r += s(t) +
|
|
9402
|
-
f += Math.max(...e.map(c)) +
|
|
9407
|
+
}), r += s(t) + yg;
|
|
9408
|
+
f += Math.max(...e.map(c)) + vg;
|
|
9403
9409
|
}), d;
|
|
9404
9410
|
}
|
|
9405
|
-
async function
|
|
9406
|
-
let { units: o, links: s } =
|
|
9411
|
+
async function Tg(e, t, n, r = mg, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
9412
|
+
let { units: o, links: s } = Sg(e, n, r, i, a), c = await Cg(o, s, t) ?? wg(o, s, t), l = /* @__PURE__ */ new Map(), u = [], d = 0, f = 0;
|
|
9407
9413
|
for (let e of o) {
|
|
9408
9414
|
let t = c.get(e.id) ?? {
|
|
9409
9415
|
x: 0,
|
|
@@ -9417,14 +9423,14 @@ async function wg(e, t, n, r = pg, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
|
9417
9423
|
y: 0
|
|
9418
9424
|
};
|
|
9419
9425
|
l.delete(t.id);
|
|
9420
|
-
let o = i.has(t.id), s =
|
|
9426
|
+
let o = i.has(t.id), s = xg(t.memberIds.length, n, r, o);
|
|
9421
9427
|
if (u.push({
|
|
9422
9428
|
group: t,
|
|
9423
9429
|
...e,
|
|
9424
9430
|
...s,
|
|
9425
9431
|
collapsed: o
|
|
9426
9432
|
}), l.set(t.parentId, a ? {
|
|
9427
|
-
x: e.x +
|
|
9433
|
+
x: e.x + _g,
|
|
9428
9434
|
y: e.y + 8
|
|
9429
9435
|
} : {
|
|
9430
9436
|
...l.get(t.parentId),
|
|
@@ -9433,8 +9439,8 @@ async function wg(e, t, n, r = pg, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
|
9433
9439
|
let c = Math.max(1, Math.min(n, t.memberIds.length));
|
|
9434
9440
|
t.memberIds.forEach((t, n) => {
|
|
9435
9441
|
l.set(t, {
|
|
9436
|
-
x: e.x +
|
|
9437
|
-
y: e.y + 80 + Math.floor(n / c) * (r.height +
|
|
9442
|
+
x: e.x + _g + n % c * (r.width + gg),
|
|
9443
|
+
y: e.y + 80 + Math.floor(n / c) * (r.height + gg)
|
|
9438
9444
|
});
|
|
9439
9445
|
});
|
|
9440
9446
|
}
|
|
@@ -9446,8 +9452,8 @@ async function wg(e, t, n, r = pg, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
|
9446
9452
|
height: f
|
|
9447
9453
|
};
|
|
9448
9454
|
}
|
|
9449
|
-
function
|
|
9450
|
-
let r =
|
|
9455
|
+
function Eg({ entry: e, now: t, onSelect: n }) {
|
|
9456
|
+
let r = Fm(e.observed ? e.status : "unknown"), i = jh(e.at, t);
|
|
9451
9457
|
return /* @__PURE__ */ (0, X.jsx)("li", { children: /* @__PURE__ */ (0, X.jsxs)("button", {
|
|
9452
9458
|
type: "button",
|
|
9453
9459
|
disabled: !n,
|
|
@@ -9466,7 +9472,7 @@ function Tg({ entry: e, now: t, onSelect: n }) {
|
|
|
9466
9472
|
e.observed && /* @__PURE__ */ (0, X.jsxs)("span", {
|
|
9467
9473
|
className: "ag-latest-state",
|
|
9468
9474
|
style: { color: "var(" + r.token + ")" },
|
|
9469
|
-
children: [e.status !== "running" && /* @__PURE__ */ (0, X.jsx)(
|
|
9475
|
+
children: [e.status !== "running" && /* @__PURE__ */ (0, X.jsx)(Im, {
|
|
9470
9476
|
status: e.status,
|
|
9471
9477
|
size: 14,
|
|
9472
9478
|
"aria-hidden": !0
|
|
@@ -9484,8 +9490,8 @@ function Tg({ entry: e, now: t, onSelect: n }) {
|
|
|
9484
9490
|
]
|
|
9485
9491
|
}) });
|
|
9486
9492
|
}
|
|
9487
|
-
function
|
|
9488
|
-
let s =
|
|
9493
|
+
function Dg({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i, onSelect: a }) {
|
|
9494
|
+
let s = Hm(n), c = Number.isFinite(t) ? Math.max(1, Math.trunc(t)) : 5, l = (0, o.useMemo)(() => e.flatMap((e) => (e.events ?? []).map((t) => ({
|
|
9489
9495
|
id: e.id + ":" + t.id,
|
|
9490
9496
|
agentId: e.id,
|
|
9491
9497
|
name: e.label,
|
|
@@ -9514,10 +9520,10 @@ function Eg({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i
|
|
|
9514
9520
|
let r = [...t, ...e.filter((e) => n.has(e.agentId) && !t.some((t) => t.agentId === e.agentId))].slice(0, c);
|
|
9515
9521
|
return !t.length && r.length === e.length ? e : r;
|
|
9516
9522
|
}), t.length) {
|
|
9517
|
-
for (let e of t) w.current.set(e.agentId, e.name + ": " +
|
|
9523
|
+
for (let e of t) w.current.set(e.agentId, e.name + ": " + Fm(e.status).label);
|
|
9518
9524
|
C.current === void 0 && (C.current = setTimeout(() => {
|
|
9519
9525
|
h([...w.current.values()].join("; ")), w.current.clear(), C.current = void 0;
|
|
9520
|
-
},
|
|
9526
|
+
}, Ch("--duration-ambient")));
|
|
9521
9527
|
}
|
|
9522
9528
|
}, [
|
|
9523
9529
|
e,
|
|
@@ -9529,7 +9535,7 @@ function Eg({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i
|
|
|
9529
9535
|
}, [i]), (0, o.useEffect)(() => {
|
|
9530
9536
|
b ? (clearTimeout(S.current), S.current = void 0) : S.current === void 0 && (S.current = setTimeout(() => {
|
|
9531
9537
|
d(x.current), S.current = void 0;
|
|
9532
|
-
},
|
|
9538
|
+
}, Ch("--duration-ambient") / 2));
|
|
9533
9539
|
}, [l, b]), (0, o.useEffect)(() => () => {
|
|
9534
9540
|
clearTimeout(S.current), clearTimeout(C.current);
|
|
9535
9541
|
}, []);
|
|
@@ -9563,7 +9569,7 @@ function Eg({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i
|
|
|
9563
9569
|
/* @__PURE__ */ (0, X.jsx)("ol", {
|
|
9564
9570
|
tabIndex: 0,
|
|
9565
9571
|
"aria-label": "Recorded activity events",
|
|
9566
|
-
children: O.length ? O.map((e) => /* @__PURE__ */ (0, X.jsx)(
|
|
9572
|
+
children: O.length ? O.map((e) => /* @__PURE__ */ (0, X.jsx)(Eg, {
|
|
9567
9573
|
entry: e,
|
|
9568
9574
|
now: s,
|
|
9569
9575
|
onSelect: a ? (e) => {
|
|
@@ -9583,4 +9589,4 @@ function Eg({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i
|
|
|
9583
9589
|
]
|
|
9584
9590
|
});
|
|
9585
9591
|
}
|
|
9586
|
-
export {
|
|
9592
|
+
export { Nm as $, lh as A, Km as B, Eh as C, Ye as Ct, mh as D, r as Dt, ph as E, a as Et, vh as F, ch as G, Th as H, _h as I, rh as J, Oh as K, nh as L, dh as M, gh as N, wh as O, Zm as P, Pm as Q, ih as R, Vh as S, Ze as St, Dh as T, s as Tt, Ch as U, qm as V, Gm as W, Hm as X, Um as Y, Im as Z, jh as _, mc as _t, Dg as a, Cm as at, Mh as b, _t as bt, bg as c, Am as ct, Nh as d, Il as dt, Fm as et, Wh as f, Kc as ft, kh as g, Sc as gt, Gh as h, wc as ht, hg as i, Tm as it, ah as j, sh as k, ag as l, vm as lt, Hh as m, Ac as mt, fg as n, Em as nt, pg as o, Dm as ot, Uh as p, zc as pt, Sh as q, dg as r, wm as rt, lg as s, km as st, mg as t, xm as tt, Tg as u, bm as ut, Ah as v, Ft as vt, oh as w, u as wt, zh as x, dt as xt, Rh as y, Mt as yt, Jm as z };
|