@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.
Files changed (70) hide show
  1. package/dist/graph-viewer/{Analytics-DocMpB6T.js → Analytics-DFWW8Phh.js} +260 -275
  2. package/dist/graph-viewer/Checks-qgqV4xgV.js +155 -0
  3. package/dist/graph-viewer/{Conversations-CISiWrR9.js → Conversations-CGB45kpj.js} +112 -80
  4. package/dist/graph-viewer/{Files-Dh8p_Fpw.js → Files-DtZhf0ii.js} +121 -106
  5. package/dist/graph-viewer/LiveRun-C21wUKAY.js +210 -0
  6. package/dist/graph-viewer/Overview-BjeLsA2I.js +506 -0
  7. package/dist/graph-viewer/{RunPage-nJwCsArn.js → RunPage-CkkcBEUe.js} +22 -22
  8. package/dist/graph-viewer/{Timeline-bPjhV3il.js → Timeline-C2Xolk0t.js} +84 -84
  9. package/dist/graph-viewer/{Today-pebCsPJ1.js → Today-BVVDtSVN.js} +65 -58
  10. package/dist/graph-viewer/Topology-DO5XX8e4.js +545 -0
  11. package/dist/graph-viewer/{Traces-C5x2UvJh.js → Traces-BhMxjNgw.js} +79 -52
  12. package/dist/graph-viewer/{WallPages-DSmRm2v3.js → WallPages-4d9QUZDq.js} +3 -3
  13. package/dist/graph-viewer/index.js +103 -102
  14. package/dist/graph-viewer/{lazy-pages-CpmkG5o2.js → lazy-pages-DM0cZM10.js} +4 -4
  15. package/dist/graph-viewer/{record-part-Cx9GDQeo.js → record-part-CZal_IMH.js} +382 -352
  16. package/dist/graph-viewer/report-viewer.js +7 -7
  17. package/dist/graph-viewer/styles.css +596 -284
  18. package/dist/graph-viewer/{ui-CEhDqce8.js → ui-D8QZRsC3.js} +143 -111
  19. package/dist/graph-viewer/viewer/{AgentGraphCanvas-D7jjAE6i-DecKyUGA.js → AgentGraphCanvas-CMdOlSlh-4EervjeC.js} +54 -48
  20. package/dist/graph-viewer/viewer/{Analytics-CtKucZjs.js → Analytics-DD__nbLm.js} +203 -218
  21. package/dist/graph-viewer/viewer/{AnswerStrip-DsI9aF-i.js → AnswerStrip-CGUyXuYH.js} +2 -2
  22. package/dist/graph-viewer/viewer/Checks-Ds5M7eAW.js +156 -0
  23. package/dist/graph-viewer/viewer/{Conversations-DQBCyko6.js → Conversations-C1n0EBBd.js} +124 -92
  24. package/dist/graph-viewer/viewer/{Files-B-g25gSO.js → Files-Cjr7NMU_.js} +63 -48
  25. package/dist/graph-viewer/viewer/{LiveRun-BMQnTpTZ.js → LiveRun-uPTkPSjo.js} +1223 -1164
  26. package/dist/graph-viewer/viewer/{Outputs-DXnN1wEQ.js → Outputs-CumGyjQo.js} +6 -6
  27. package/dist/graph-viewer/viewer/Overview-4Umk14_2.js +507 -0
  28. package/dist/graph-viewer/viewer/{RunPage-ChipoSdO.js → RunPage-DZlBW7Va.js} +28 -28
  29. package/dist/graph-viewer/viewer/{Scores-CjriXjf_.js → Scores-ZS16yk0n.js} +3 -3
  30. package/dist/graph-viewer/viewer/{Timeline-DzEzobA0.js → Timeline-BnK6-yBR.js} +24 -24
  31. package/dist/graph-viewer/viewer/{Today-DLHe_wTA.js → Today-a_-oNigi.js} +69 -62
  32. package/dist/graph-viewer/viewer/Topology-CQPCLQT6.js +546 -0
  33. package/dist/graph-viewer/viewer/{Traces-BWBulSPE.js → Traces-C0IGk0L4.js} +75 -48
  34. package/dist/graph-viewer/viewer/{WallPages-Crj-qPoK.js → WallPages-CzWpyIfp.js} +8 -8
  35. package/dist/graph-viewer/viewer/{WorkflowGraph-DYsP_Kcg-C0O7M5iH.js → WorkflowGraph-DZ3xejKE-jRXKeSrg.js} +6 -6
  36. package/dist/graph-viewer/viewer/{agent-timeline-C-UIhXgu.js → agent-timeline-Cs9Qbpvo.js} +437 -425
  37. package/dist/graph-viewer/viewer/{bot-Bivadvxn.js → bot-D6Nrej7Z.js} +1 -1
  38. package/dist/graph-viewer/viewer/{chevron-right-WW7tFY6B.js → chevron-right-D_5IKLxu.js} +1 -1
  39. package/dist/graph-viewer/viewer/{createLucideIcon-Z6KTw8ff.js → createLucideIcon-yH0cxLMy.js} +1 -1
  40. package/dist/graph-viewer/viewer/{data-azhapQrS.js → data-CkWfWr7i.js} +1 -1
  41. package/dist/graph-viewer/viewer/{dist-CyOc-K4O.js → dist-C1-7EfoW.js} +3 -3
  42. package/dist/graph-viewer/viewer/{file-text-B34N7Soo.js → file-text-m7a3piQF.js} +1 -1
  43. package/dist/graph-viewer/viewer/{final-output-Db2D9cMT.js → final-output-kwY11u9X.js} +1 -1
  44. package/dist/graph-viewer/viewer/{highlights-Bgg6O5ub.js → highlights-Btsi5OXl.js} +2 -2
  45. package/dist/graph-viewer/viewer/{jsx-runtime-BSzbUOFc.js → jsx-runtime-DQWyJOhv.js} +1 -1
  46. package/dist/graph-viewer/viewer/{lazy-pages-fgtpXQ00.js → lazy-pages-BowaGsg-.js} +6 -6
  47. package/dist/graph-viewer/viewer/{markdown-BpJEJUTW.js → markdown-CX_sVrXB.js} +17 -17
  48. package/dist/graph-viewer/viewer/{model-brand-bTcMjQtB-C9bHPsPk.js → model-brand-bTcMjQtB-fagiBQam.js} +3 -3
  49. package/dist/graph-viewer/viewer/{page-header-C6YCPkzJ.js → page-header-Brq611fd.js} +3 -3
  50. package/dist/graph-viewer/viewer/{popover-DrLB9iar.js → popover-CvOAjlnk.js} +4 -4
  51. package/dist/graph-viewer/viewer/{react-CisnW4fB.js → react-CY3IbSNO.js} +24 -24
  52. package/dist/graph-viewer/viewer/{react-dom-C5NDYQCD.js → react-dom-t1L4_-il.js} +1 -1
  53. package/dist/graph-viewer/viewer/{record-part-d0gKKrMI.js → record-part-D3_Anfpe.js} +455 -425
  54. package/dist/graph-viewer/viewer/{segmented-control-ChhLMa6h.js → segmented-control-BaJmvTNd.js} +39 -39
  55. package/dist/graph-viewer/viewer/{shiki-BwlTRTY6.js → shiki-Qnby7Sh6.js} +2 -2
  56. package/dist/graph-viewer/viewer/{stream-tokenizer-CaVb21TO.js → stream-tokenizer-CWtnjmRd.js} +1 -1
  57. package/dist/graph-viewer/viewer/{terminal-BxRacTx0.js → terminal-83J_I4Ne.js} +1 -1
  58. package/dist/graph-viewer/viewer/{themes-BxrCCwH5.js → themes-1i1fzpRk.js} +1 -1
  59. package/dist/graph-viewer/viewer/{ui-DZiGjPwl.js → ui-C9b1rIUH.js} +222 -190
  60. package/dist/graph-viewer/viewer/{workspace-DalRxssx.js → workspace-CekmOBs3.js} +76 -76
  61. package/dist/graph-viewer/viewer/{x-B_F8B4lq.js → x-DOc2URqZ.js} +1 -1
  62. package/dist/graph-viewer/workspace-viewer.js +103 -102
  63. package/package.json +9 -9
  64. package/dist/graph-viewer/Checks-CbnY4tuh.js +0 -113
  65. package/dist/graph-viewer/LiveRun-C-yKwkKs.js +0 -190
  66. package/dist/graph-viewer/Overview-BaXPdCFC.js +0 -477
  67. package/dist/graph-viewer/Topology-CyhuK6XW.js +0 -550
  68. package/dist/graph-viewer/viewer/Checks-DZTgeYlV.js +0 -114
  69. package/dist/graph-viewer/viewer/Overview-u7-8-rGx.js +0 -478
  70. package/dist/graph-viewer/viewer/Topology-Dsmuu27J.js +0 -551
@@ -1,12 +1,12 @@
1
1
  import { i as e, t } from "./rolldown-runtime-DArdT4gl.js";
2
- import { i as n, t as r } from "./jsx-runtime-BSzbUOFc.js";
3
- import { t as i } from "./react-dom-C5NDYQCD.js";
4
- import { t as a } from "./createLucideIcon-Z6KTw8ff.js";
5
- import { r as o } from "./x-B_F8B4lq.js";
6
- import { n as s, t as c } from "./file-text-B34N7Soo.js";
7
- import { o as l } from "./model-brand-bTcMjQtB-C9bHPsPk.js";
8
- import { n as u, r as d, t as f } from "./terminal-BxRacTx0.js";
9
- import { E as p, I as m, N as h, S as g, a as _, b as v, d as y, f as b, j as x, l as S, o as C, u as w, v as T } from "./LiveRun-BMQnTpTZ.js";
2
+ import { i as n, t as r } from "./jsx-runtime-DQWyJOhv.js";
3
+ import { t as i } from "./react-dom-t1L4_-il.js";
4
+ import { t as a } from "./createLucideIcon-yH0cxLMy.js";
5
+ import { r as o } from "./x-DOc2URqZ.js";
6
+ import { n as s, t as c } from "./file-text-m7a3piQF.js";
7
+ import { o as l } from "./model-brand-bTcMjQtB-fagiBQam.js";
8
+ import { n as u, r as d, t as f } from "./terminal-83J_I4Ne.js";
9
+ import { E as p, I as m, N as h, S as g, a as _, b as v, d as y, f as b, j as x, l as S, o as C, u as w, v as T } from "./LiveRun-uPTkPSjo.js";
10
10
  //#region node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.0/node_modules/lucide-react/dist/esm/icons/circle-pause.mjs
11
11
  var E = {
12
12
  name: "circle-pause",
@@ -7936,7 +7936,7 @@ function jf({ nodeId: e, position: t, variant: n = uc.Handle, className: r, styl
7936
7936
  }
7937
7937
  (0, W.memo)(jf);
7938
7938
  //#endregion
7939
- //#region node_modules/.pnpm/@tangle-network+sandbox-ui@1.1.2_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__139c5a364560ada2e4d1dcb6d9a4a1b4/node_modules/@tangle-network/sandbox-ui/dist/AgentGraphCanvas-D7jjAE6i.js
7939
+ //#region node_modules/.pnpm/@tangle-network+sandbox-ui@1.1.7_@nanostores+react@1.1.0_nanostores@1.5.5_react@19.3.0__486139d97cfccb1dcecab4d3bb654768/node_modules/@tangle-network/sandbox-ui/dist/AgentGraphCanvas-CMdOlSlh.js
7940
7940
  var Mf = {
7941
7941
  width: 200,
7942
7942
  height: 78
@@ -8400,11 +8400,7 @@ function lp({ id: e, source: t, target: n, data: r, markerEnd: i }) {
8400
8400
  children: ["×", u]
8401
8401
  }) })] });
8402
8402
  }
8403
- var up = /* @__PURE__ */ new Set([
8404
- "succeeded",
8405
- "failed",
8406
- "stopped"
8407
- ]), dp = [
8403
+ var up = /* @__PURE__ */ new Set(["succeeded", "stopped"]), dp = [
8408
8404
  [/^(bash|sh|run|exec|cargo|npm|pnpm|make)\b/, f],
8409
8405
  [/^(edit|write|patch|apply)\b/, z],
8410
8406
  [/^(read|cat|open|view|ls|glob)\b/, c],
@@ -8413,7 +8409,14 @@ var up = /* @__PURE__ */ new Set([
8413
8409
  [/^(spawn|steer|release|merge|commit|git)\b/, l],
8414
8410
  [/^(wait|sleep|queue)\b/, L]
8415
8411
  ], fp = (e) => dp.find(([t]) => t.test(e.toLowerCase()))?.[1] ?? m;
8416
- function pp(e, t) {
8412
+ function pp(e) {
8413
+ return e == null || !Number.isFinite(e) ? void 0 : new Date(e).toLocaleTimeString([], {
8414
+ hour: "2-digit",
8415
+ minute: "2-digit",
8416
+ hourCycle: "h23"
8417
+ });
8418
+ }
8419
+ function mp(e, t) {
8417
8420
  if (e == null || !Number.isFinite(e)) return;
8418
8421
  let n = Math.max(0, Math.round((t - e) / 1e3));
8419
8422
  if (n < 5) return "now";
@@ -8421,14 +8424,14 @@ function pp(e, t) {
8421
8424
  let r = Math.floor(n / 60);
8422
8425
  return r < 60 ? `${r}m` : `${Math.floor(r / 60)}h`;
8423
8426
  }
8424
- function mp(e, t) {
8427
+ function hp(e, t) {
8425
8428
  if (e == null || !Number.isFinite(e)) return;
8426
8429
  let n = Math.max(0, Math.round((t - e) / 1e3));
8427
8430
  if (n < 60) return `${n}s`;
8428
8431
  let r = Math.floor(n / 60);
8429
8432
  return r < 60 ? `${r}m` : `${Math.floor(r / 60)}h ${r % 60}m`;
8430
8433
  }
8431
- function hp(e, t) {
8434
+ function gp(e, t) {
8432
8435
  let [n, r] = (0, W.useState)(() => e ?? Date.now());
8433
8436
  return (0, W.useEffect)(() => {
8434
8437
  if (e !== void 0 || !t) return;
@@ -8436,8 +8439,8 @@ function hp(e, t) {
8436
8439
  return () => clearInterval(n);
8437
8440
  }, [e, t]), e ?? n;
8438
8441
  }
8439
- function gp({ data: e }) {
8440
- let { agent: t, selected: n, direction: r } = e, i = up.has(t.status), a = hp(e.now, !i), o = Yf(t.status), s = mp(t.startedAt, a);
8442
+ function _p({ data: e }) {
8443
+ let { agent: t, selected: n, direction: r } = e, i = up.has(t.status), a = t.status === "failed", o = gp(e.now, !i && !a), s = Yf(t.status), c = hp(t.startedAt, o);
8441
8444
  if (i) return /* @__PURE__ */ (0, G.jsxs)("div", {
8442
8445
  className: "ag-live-slot",
8443
8446
  "data-status": t.status,
@@ -8457,12 +8460,12 @@ function gp({ data: e }) {
8457
8460
  }),
8458
8461
  /* @__PURE__ */ (0, G.jsx)("span", {
8459
8462
  className: "ag-live-chip-result",
8460
- children: t.result ?? o.label
8463
+ children: t.result ?? s.label
8461
8464
  })
8462
8465
  ]
8463
8466
  })]
8464
8467
  });
8465
- let c = [t.model?.replace(/^[\w-]+\//, ""), t.effort].filter(Boolean).join(" · "), l = (t.events ?? []).slice(-3);
8468
+ let l = [t.model?.replace(/^[\w-]+\//, ""), t.effort].filter(Boolean).join(" · "), u = (t.events ?? []).slice(-3);
8466
8469
  return /* @__PURE__ */ (0, G.jsxs)("div", {
8467
8470
  className: "ag-live-card",
8468
8471
  "data-status": t.status,
@@ -8473,7 +8476,7 @@ function gp({ data: e }) {
8473
8476
  boxShadow: w,
8474
8477
  ...Zf(t.status),
8475
8478
  ...n ? y : {},
8476
- "--ag-status": o.color
8479
+ "--ag-status": s.color
8477
8480
  },
8478
8481
  children: [
8479
8482
  /* @__PURE__ */ (0, G.jsx)(tp, { direction: r }),
@@ -8491,9 +8494,9 @@ function gp({ data: e }) {
8491
8494
  children: [/* @__PURE__ */ (0, G.jsx)("span", {
8492
8495
  className: "ag-live-name",
8493
8496
  children: t.label
8494
- }), c && /* @__PURE__ */ (0, G.jsx)("span", {
8497
+ }), l && /* @__PURE__ */ (0, G.jsx)("span", {
8495
8498
  className: "ag-live-meta",
8496
- children: c
8499
+ children: l
8497
8500
  })]
8498
8501
  }),
8499
8502
  /* @__PURE__ */ (0, G.jsxs)("div", {
@@ -8503,14 +8506,14 @@ function gp({ data: e }) {
8503
8506
  children: [/* @__PURE__ */ (0, G.jsx)("span", {
8504
8507
  className: "ag-live-dot",
8505
8508
  "aria-hidden": !0
8506
- }), o.label]
8507
- }), /* @__PURE__ */ (0, G.jsxs)("span", { children: [s && /* @__PURE__ */ (0, G.jsx)("span", {
8509
+ }), s.label]
8510
+ }), /* @__PURE__ */ (0, G.jsxs)("span", { children: [c && /* @__PURE__ */ (0, G.jsx)("span", {
8508
8511
  title: "Time alive",
8509
- children: s
8512
+ children: c
8510
8513
  }), t.commits != null && /* @__PURE__ */ (0, G.jsxs)("span", {
8511
8514
  title: "Commits shipped",
8512
8515
  children: [
8513
- s ? " · " : "",
8516
+ c ? " · " : "",
8514
8517
  t.commits,
8515
8518
  " ",
8516
8519
  t.commits === 1 ? "commit" : "commits"
@@ -8519,18 +8522,21 @@ function gp({ data: e }) {
8519
8522
  })
8520
8523
  ]
8521
8524
  }),
8522
- /* @__PURE__ */ (0, G.jsx)("p", {
8525
+ a ? /* @__PURE__ */ (0, G.jsx)("p", {
8526
+ className: "ag-live-thinking ag-live-failure",
8527
+ children: t.result ?? u.at(-1)?.label ?? s.label
8528
+ }) : /* @__PURE__ */ (0, G.jsx)("p", {
8523
8529
  className: "ag-live-thinking",
8524
8530
  children: t.turn || /* @__PURE__ */ (0, G.jsx)("span", {
8525
8531
  className: "ag-live-quiet",
8526
- children: o.label
8532
+ children: s.label
8527
8533
  })
8528
8534
  }, t.turn ?? ""),
8529
8535
  /* @__PURE__ */ (0, G.jsx)("ol", {
8530
8536
  className: "ag-live-events",
8531
8537
  "aria-label": "Latest events",
8532
- children: l.map((e) => {
8533
- let t = fp(e.label), n = pp(e.at, a);
8538
+ children: u.map((e) => {
8539
+ let t = fp(e.label), n = a ? pp(e.at) : mp(e.at, o);
8534
8540
  return /* @__PURE__ */ (0, G.jsxs)("li", { children: [
8535
8541
  /* @__PURE__ */ (0, G.jsx)(t, {
8536
8542
  "aria-hidden": !0,
@@ -8551,12 +8557,12 @@ function gp({ data: e }) {
8551
8557
  ]
8552
8558
  });
8553
8559
  }
8554
- var _p = {
8560
+ var vp = {
8555
8561
  agent: np,
8556
- liveAgent: gp,
8562
+ liveAgent: _p,
8557
8563
  agentFrame: ip
8558
- }, vp = { agentMessage: lp }, yp = 16, bp = 40;
8559
- function xp() {
8564
+ }, yp = { agentMessage: lp }, bp = 16, xp = 40;
8565
+ function Sp() {
8560
8566
  let [e, t] = (0, W.useState)(null), n = (0, W.useRef)(null);
8561
8567
  return [e, (0, W.useCallback)((e) => {
8562
8568
  if (n.current?.disconnect(), n.current = null, !e || typeof ResizeObserver > "u") return;
@@ -8570,8 +8576,8 @@ function xp() {
8570
8576
  n.current = new ResizeObserver(r), n.current.observe(e), r();
8571
8577
  }, [])];
8572
8578
  }
8573
- function Sp({ nodes: e, edges: t, selectedId: n, onSelect: r, direction: i = "TB", className: a, emptyState: o, live: s = !1, now: c }) {
8574
- let l = s ? Nf : Mf, u = (0, W.useRef)(null), [d, f] = xp(), m = h(u, e.length > 0), g = zf(e, t), _ = (0, W.useRef)(g);
8579
+ function Cp({ nodes: e, edges: t, selectedId: n, onSelect: r, direction: i = "TB", className: a, emptyState: o, live: s = !1, now: c }) {
8580
+ let l = s ? Nf : Mf, u = (0, W.useRef)(null), [d, f] = Sp(), m = h(u, e.length > 0), g = zf(e, t), _ = (0, W.useRef)(g);
8575
8581
  _.current.key !== g.key && (_.current = g);
8576
8582
  let v = _.current, [y, b] = (0, W.useState)(null), x = `${i}:${s ? "live" : "cards"}:${v.key}`;
8577
8583
  (0, W.useEffect)(() => {
@@ -8590,7 +8596,7 @@ function Sp({ nodes: e, edges: t, selectedId: n, onSelect: r, direction: i = "TB
8590
8596
  x,
8591
8597
  l
8592
8598
  ]);
8593
- let S = (0, W.useMemo)(() => y && y.key === x && d ? Kf(y.all, d, yp) : null, [
8599
+ let S = (0, W.useMemo)(() => y && y.key === x && d ? Kf(y.all, d, bp) : null, [
8594
8600
  y,
8595
8601
  x,
8596
8602
  d
@@ -8716,7 +8722,7 @@ function Sp({ nodes: e, edges: t, selectedId: n, onSelect: r, direction: i = "TB
8716
8722
  N.current = P, M.current = !1;
8717
8723
  let r = requestAnimationFrame(() => {
8718
8724
  e.fitView({
8719
- padding: `${yp}px`,
8725
+ padding: `${bp}px`,
8720
8726
  maxZoom: 1,
8721
8727
  minZoom: F,
8722
8728
  duration: n ? 220 : 0
@@ -8739,18 +8745,18 @@ function Sp({ nodes: e, edges: t, selectedId: n, onSelect: r, direction: i = "TB
8739
8745
  return e.length === 0 ? /* @__PURE__ */ (0, G.jsx)("div", {
8740
8746
  className: `flex items-center justify-center rounded-lg border border-border border-dashed p-4 text-center text-muted-foreground text-xs ${a ?? ""}`,
8741
8747
  children: o ?? "No agents yet"
8742
- }) : /* @__PURE__ */ (0, G.jsxs)("div", {
8748
+ }) : /* @__PURE__ */ (0, G.jsx)("div", {
8743
8749
  ref: (e) => {
8744
8750
  u.current = e, f(e);
8745
8751
  },
8746
8752
  className: `agent-graph${s ? " ag-live" : ""} relative transition-opacity duration-150 ease-out motion-reduce:transition-none ${S && A ? "opacity-100" : "opacity-0"} ${a ?? ""}`,
8747
8753
  "data-layout": S && A ? "ready" : "pending",
8748
8754
  "data-columns": S?.columns,
8749
- children: [s && /* @__PURE__ */ (0, G.jsx)("style", { children: "\n.ag-live { --ag-fg: hsl(var(--foreground)); --ag-muted: hsl(var(--muted-foreground)); --ag-surface: hsl(var(--card)); --ag-border: hsl(var(--border)); }\n.ag-live .ag-live-card { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; padding: 12px; border: 1px solid var(--ag-border);\n border-radius: 14px; background: var(--ag-surface); color: var(--ag-fg); cursor: pointer; overflow: hidden; animation: ag-live-grow 420ms cubic-bezier(.2,.8,.2,1) both; transform-origin: 50% 0;\n transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms cubic-bezier(.2,.8,.2,1); }\n.ag-live .ag-live-card:hover { transform: translateY(-1px); }\n/* A running agent's card carries a thin travelling sheen along its top edge: work in progress without a glowing border. */\n.ag-live .ag-live-card[data-status=\"running\"]::before { content: \"\"; position: absolute; inset: 0 0 auto; height: 2px;\n background: linear-gradient(90deg, transparent, var(--ag-status), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: ag-live-sheen 2.4s ease-in-out infinite; }\n.ag-live .ag-live-head { display: flex; align-items: center; gap: 8px; min-width: 0; }\n.ag-live .ag-live-names { display: flex; flex-direction: column; min-width: 0; flex: 1; }\n.ag-live .ag-live-name { font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ag-live .ag-live-meta, .ag-live .ag-live-stats { font-size: 11px; line-height: 14px; color: var(--ag-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ag-live .ag-live-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; flex: none; }\n.ag-live .ag-live-pill { display: inline-flex; align-items: center; gap: 4px; height: 16px; padding: 0 6px; border-radius: 8px; font-weight: 600; color: var(--ag-status);\n background: color-mix(in oklab, var(--ag-status) 14%, transparent); }\n.ag-live .ag-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ag-status); }\n.ag-live [data-status=\"running\"] .ag-live-dot { animation: ag-live-breathe 1.6s ease-in-out infinite; }\n.ag-live .ag-live-thinking { flex: none; margin: 0; font-size: 13px; line-height: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; animation: ag-live-in 260ms ease-out both; }\n.ag-live .ag-live-quiet { color: var(--ag-muted); }\n.ag-live .ag-live-events { margin: auto 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }\n.ag-live .ag-live-events li { display: flex; align-items: center; gap: 6px; height: 16px; font: 11px/16px var(--font-mono, ui-monospace, monospace); color: var(--ag-muted);\n animation: ag-live-in 260ms cubic-bezier(.2,.8,.2,1) both; }\n.ag-live .ag-live-events li svg { flex: none; opacity: .8; }\n/* Older lines fade back so the newest reads first, as a log tail does. */\n.ag-live .ag-live-events li:nth-last-child(3) { opacity: .55; }\n.ag-live .ag-live-events li:nth-last-child(2) { opacity: .8; }\n.ag-live .ag-live-events li:last-child { color: var(--ag-fg); animation: ag-live-in 260ms cubic-bezier(.2,.8,.2,1) both, ag-live-flash 1.2s ease-out both; }\n.ag-live .ag-live-event-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ag-live .ag-live-event-at { flex: none; font-family: inherit; color: var(--ag-muted); font-variant-numeric: tabular-nums; }\n.ag-live .ag-live-slot { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }\n.ag-live .ag-live-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; height: 32px; padding: 0 12px; border: 1px solid var(--ag-border); border-radius: 16px;\n background: var(--ag-surface); color: var(--ag-muted); font-size: 12px; opacity: .72; cursor: pointer; animation: ag-live-settle 320ms cubic-bezier(.2,.8,.2,1) both; }\n.ag-live .ag-live-chip-name { color: var(--ag-fg); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.ag-live .ag-live-chip-result { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n@keyframes ag-live-sheen { from { background-position: -40% 0; } to { background-position: 140% 0; } }\n@keyframes ag-live-breathe { 50% { opacity: .35; transform: scale(.8); } }\n@keyframes ag-live-flash { from { background: color-mix(in oklab, var(--ag-status) 16%, transparent); } to { background: transparent; } }\n@keyframes ag-live-grow { from { opacity: 0; transform: scale(.92) translateY(-8px); } }\n@keyframes ag-live-in { from { opacity: 0; transform: translateY(6px); } }\n@keyframes ag-live-settle { from { opacity: 1; transform: scale(1.08); } }\n@media (prefers-reduced-motion: reduce) { .ag-live *, .ag-live *::before { animation: none !important; } .ag-live .ag-live-card:hover { transform: none; } }\n" }), /* @__PURE__ */ (0, G.jsxs)(Vd, {
8755
+ children: /* @__PURE__ */ (0, G.jsxs)(Vd, {
8750
8756
  nodes: w,
8751
8757
  edges: E,
8752
- nodeTypes: _p,
8753
- edgeTypes: vp,
8758
+ nodeTypes: vp,
8759
+ edgeTypes: yp,
8754
8760
  colorMode: m,
8755
8761
  onInit: (e) => {
8756
8762
  D.current = e, k(!0);
@@ -8781,7 +8787,7 @@ function Sp({ nodes: e, edges: t, selectedId: n, onSelect: r, direction: i = "TB
8781
8787
  size: 1.4,
8782
8788
  color: "hsl(var(--muted-foreground) / 0.38)"
8783
8789
  }),
8784
- e.length > bp && /* @__PURE__ */ (0, G.jsx)(Of, {
8790
+ e.length > xp && /* @__PURE__ */ (0, G.jsx)(Of, {
8785
8791
  pannable: !0,
8786
8792
  zoomable: !0,
8787
8793
  position: "bottom-left",
@@ -8796,13 +8802,13 @@ function Sp({ nodes: e, edges: t, selectedId: n, onSelect: r, direction: i = "TB
8796
8802
  showInteractive: !1,
8797
8803
  position: "bottom-right",
8798
8804
  fitViewOptions: {
8799
- padding: `${yp}px`,
8805
+ padding: `${bp}px`,
8800
8806
  maxZoom: 1
8801
8807
  }
8802
8808
  })
8803
8809
  ]
8804
- })]
8810
+ })
8805
8811
  });
8806
8812
  }
8807
8813
  //#endregion
8808
- export { Sp as AgentGraphCanvas, ee as _, cu as a, Gd as c, Kd as d, Q as f, Do as g, ss as h, Ud as i, Vd as l, X as m, Hu as n, Of as o, Wa as p, df as r, qc as s, tf as t, qd as u };
8814
+ export { Cp as AgentGraphCanvas, ee as _, cu as a, Gd as c, Kd as d, Q as f, Do as g, ss as h, Ud as i, Vd as l, X as m, Hu as n, Of as o, Wa as p, df as r, qc as s, tf as t, qd as u };