@tangle-network/sandbox-cli 0.21.27 → 0.21.29
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 +6 -6
- 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,18 +1,18 @@
|
|
|
1
1
|
import { i as e, t } from "./viewer/rolldown-runtime-DArdT4gl.js";
|
|
2
|
-
import { i as n, t as r } from "./viewer/jsx-runtime-
|
|
3
|
-
import { t as i } from "./viewer/react-dom-
|
|
4
|
-
import { d as a, f as o } from "./viewer/markdown-
|
|
5
|
-
import { t as s } from "./viewer/page-header-
|
|
6
|
-
import { t as c } from "./viewer/segmented-control-
|
|
7
|
-
import { a as l, o as u } from "./viewer/ui-
|
|
8
|
-
import { a as d, c as f, d as p, i as m, l as h, n as g, o as _, r as v, s as y, t as b } from "./viewer/final-output-
|
|
9
|
-
import { c as x, i as S, l as C, n as w, o as ee, s as T } from "./viewer/record-part-
|
|
10
|
-
import { A as te, B as E, C as D, D as O, E as ne, F as re, G as k, H as A, J as j, K as M, L as ie, M as ae, N as oe, O as N, P as se, Q as P, R as ce, S as le, T as ue, U as F, V as de, W as fe, X as pe, Y as I, Z as L, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as xe, i as Se, j as Ce, k as we, m as Te, n as Ee, o as De, p as Oe, q as R, r as ke, s as z, t as Ae, u as je, w as Me, x as Ne, y as Pe, z as Fe } from "./viewer/data-
|
|
11
|
-
import { $ as Ie, A as Le, B as Re, C as ze, D as Be, E as Ve, F as He, G as Ue, H as We, I as Ge, J as Ke, K as qe, L as Je, M as Ye, N as Xe, O as Ze, P as Qe, Q as $e, R as et, S as tt, T as nt, U as rt, V as it, W as at, X as ot, Y as st, Z as ct, _ as lt, at as ut, b as dt, c as ft, d as pt, et as mt, f as ht, g as gt, h as _t, i as vt, it as yt, j as bt, k as xt, l as St, m as Ct, n as wt, nt as Tt, o as Et, ot as Dt, p as Ot, q as kt, r as At, rt as jt, s as Mt, st as Nt, t as Pt, tt as Ft, u as It, v as Lt, w as Rt, x as zt, y as Bt, z as Vt } from "./viewer/react-
|
|
2
|
+
import { i as n, t as r } from "./viewer/jsx-runtime-DQWyJOhv.js";
|
|
3
|
+
import { t as i } from "./viewer/react-dom-t1L4_-il.js";
|
|
4
|
+
import { d as a, f as o } from "./viewer/markdown-CX_sVrXB.js";
|
|
5
|
+
import { t as s } from "./viewer/page-header-Brq611fd.js";
|
|
6
|
+
import { t as c } from "./viewer/segmented-control-BaJmvTNd.js";
|
|
7
|
+
import { a as l, o as u } from "./viewer/ui-C9b1rIUH.js";
|
|
8
|
+
import { a as d, c as f, d as p, i as m, l as h, n as g, o as _, r as v, s as y, t as b } from "./viewer/final-output-kwY11u9X.js";
|
|
9
|
+
import { c as x, i as S, l as C, n as w, o as ee, s as T } from "./viewer/record-part-D3_Anfpe.js";
|
|
10
|
+
import { A as te, B as E, C as D, D as O, E as ne, F as re, G as k, H as A, J as j, K as M, L as ie, M as ae, N as oe, O as N, P as se, Q as P, R as ce, S as le, T as ue, U as F, V as de, W as fe, X as pe, Y as I, Z as L, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as xe, i as Se, j as Ce, k as we, m as Te, n as Ee, o as De, p as Oe, q as R, r as ke, s as z, t as Ae, u as je, w as Me, x as Ne, y as Pe, z as Fe } from "./viewer/data-CkWfWr7i.js";
|
|
11
|
+
import { $ as Ie, A as Le, B as Re, C as ze, D as Be, E as Ve, F as He, G as Ue, H as We, I as Ge, J as Ke, K as qe, L as Je, M as Ye, N as Xe, O as Ze, P as Qe, Q as $e, R as et, S as tt, T as nt, U as rt, V as it, W as at, X as ot, Y as st, Z as ct, _ as lt, at as ut, b as dt, c as ft, d as pt, et as mt, f as ht, g as gt, h as _t, i as vt, it as yt, j as bt, k as xt, l as St, m as Ct, n as wt, nt as Tt, o as Et, ot as Dt, p as Ot, q as kt, r as At, rt as jt, s as Mt, st as Nt, t as Pt, tt as Ft, u as It, v as Lt, w as Rt, x as zt, y as Bt, z as Vt } from "./viewer/react-CY3IbSNO.js";
|
|
12
12
|
import { n as Ht, r as Ut, t as B } from "./viewer/plain-words-CgvxtEOa.js";
|
|
13
|
-
import { a as Wt, i as Gt, n as Kt, o as qt, t as Jt } from "./viewer/AnswerStrip-
|
|
14
|
-
import { a as Yt, i as Xt, o as Zt, r as Qt, s as $t, t as en } from "./viewer/Scores-
|
|
15
|
-
import { a as tn, i as nn, n as rn, r as an, t as on } from "./viewer/lazy-pages-
|
|
13
|
+
import { a as Wt, i as Gt, n as Kt, o as qt, t as Jt } from "./viewer/AnswerStrip-CGUyXuYH.js";
|
|
14
|
+
import { a as Yt, i as Xt, o as Zt, r as Qt, s as $t, t as en } from "./viewer/Scores-ZS16yk0n.js";
|
|
15
|
+
import { a as tn, i as nn, n as rn, r as an, t as on } from "./viewer/lazy-pages-BowaGsg-.js";
|
|
16
16
|
//#region node_modules/.pnpm/scheduler@0.28.0/node_modules/scheduler/cjs/scheduler.production.js
|
|
17
17
|
var sn = /* @__PURE__ */ t(((e) => {
|
|
18
18
|
function t(e, t) {
|
|
@@ -12482,7 +12482,7 @@ function Xi({ play: e, now: t = Date.now() }) {
|
|
|
12482
12482
|
});
|
|
12483
12483
|
}
|
|
12484
12484
|
//#endregion
|
|
12485
|
-
//#region node_modules/.pnpm/@tangle-network+charts@0.21.
|
|
12485
|
+
//#region node_modules/.pnpm/@tangle-network+charts@0.21.22_react@19.3.0/node_modules/@tangle-network/charts/dist/index.js
|
|
12486
12486
|
function Zi(e, t) {
|
|
12487
12487
|
let n = [
|
|
12488
12488
|
[1],
|
|
@@ -14941,8 +14941,8 @@ var jo = (e) => e ? `${e.slice(5, 10)} ${e.slice(11, 16)}Z` : "", Mo = (e) => /\
|
|
|
14941
14941
|
why: Ht(i.why ?? i.text, 24)
|
|
14942
14942
|
} : null;
|
|
14943
14943
|
};
|
|
14944
|
-
function Po({ rows: e, sort: t, onSort: n }) {
|
|
14945
|
-
let
|
|
14944
|
+
function Po({ rows: e, sort: t, onSort: n, live: r }) {
|
|
14945
|
+
let i = (e, r, i) => /* @__PURE__ */ (0, H.jsx)("th", {
|
|
14946
14946
|
className: "num",
|
|
14947
14947
|
"aria-sort": t === e ? "descending" : void 0,
|
|
14948
14948
|
title: i,
|
|
@@ -14961,10 +14961,10 @@ function Po({ rows: e, sort: t, onSort: n }) {
|
|
|
14961
14961
|
/* @__PURE__ */ (0, H.jsx)("th", { children: "Status" }),
|
|
14962
14962
|
/* @__PURE__ */ (0, H.jsx)("th", { children: "Best release" }),
|
|
14963
14963
|
/* @__PURE__ */ (0, H.jsx)("th", { children: "Last run" }),
|
|
14964
|
-
|
|
14965
|
-
|
|
14964
|
+
i("runs", "Runs"),
|
|
14965
|
+
i("spend", "API-equivalent", "Every token at list price, whoever paid; how many started runs were priced")
|
|
14966
14966
|
] }) }), /* @__PURE__ */ (0, H.jsx)("tbody", { children: e.map((e) => {
|
|
14967
|
-
let t = `/play/${encodeURIComponent(e.id)}`, n = () => De(t),
|
|
14967
|
+
let t = `/play/${encodeURIComponent(e.id)}`, n = () => De(t), i = e.standing ?? null, a = i?.view ?? null, o = i?.lastEnding ?? null, s = i?.cost ?? null, c = r?.get(e.id) ?? e.latestRun?.id ?? o?.runId ?? null, l = c ? a?.runs?.[c] : void 0, u = c && c === o?.runId ? o.word : null, d = a?.progress ?? null, f = i?.best ?? null;
|
|
14968
14968
|
return /* @__PURE__ */ (0, H.jsxs)("tr", {
|
|
14969
14969
|
"data-play": e.id,
|
|
14970
14970
|
className: "clickable",
|
|
@@ -14983,17 +14983,17 @@ function Po({ rows: e, sort: t, onSort: n }) {
|
|
|
14983
14983
|
}),
|
|
14984
14984
|
/* @__PURE__ */ (0, H.jsx)("td", {
|
|
14985
14985
|
className: "plays-standing",
|
|
14986
|
-
children:
|
|
14986
|
+
children: a ? /* @__PURE__ */ (0, H.jsxs)(Kt, {
|
|
14987
14987
|
className: "plays-status",
|
|
14988
|
-
text: [No(
|
|
14989
|
-
children: [/* @__PURE__ */ (0, H.jsx)(Ee, { status: ce(
|
|
14988
|
+
text: [No(a) && `${No(a).text}: ${No(a).why}`, a.sentence].filter(Boolean).join(" · "),
|
|
14989
|
+
children: [/* @__PURE__ */ (0, H.jsx)(Ee, { status: ce(a.status) }), No(a)?.tone === "needs" && /* @__PURE__ */ (0, H.jsx)("span", {
|
|
14990
14990
|
"data-holding": "needs",
|
|
14991
|
-
children: No(
|
|
14991
|
+
children: No(a).text
|
|
14992
14992
|
})]
|
|
14993
|
-
}) :
|
|
14993
|
+
}) : i?.sentence ? /* @__PURE__ */ (0, H.jsx)("span", {
|
|
14994
14994
|
className: "clamp-1",
|
|
14995
|
-
title:
|
|
14996
|
-
children: /* @__PURE__ */ (0, H.jsx)(Ae, { text:
|
|
14995
|
+
title: i.sentence,
|
|
14996
|
+
children: /* @__PURE__ */ (0, H.jsx)(Ae, { text: i.sentence })
|
|
14997
14997
|
}) : /* @__PURE__ */ (0, H.jsx)(Ee, { status: ve({
|
|
14998
14998
|
axis: "run",
|
|
14999
14999
|
state: e.state
|
|
@@ -15001,25 +15001,25 @@ function Po({ rows: e, sort: t, onSort: n }) {
|
|
|
15001
15001
|
}),
|
|
15002
15002
|
/* @__PURE__ */ (0, H.jsx)("td", {
|
|
15003
15003
|
className: "plays-best",
|
|
15004
|
-
children:
|
|
15005
|
-
title: `${
|
|
15004
|
+
children: d ? /* @__PURE__ */ (0, H.jsxs)("span", {
|
|
15005
|
+
title: `${d.runId ? `${Mo(d.runId)} ` : ""}${d.release}: ${d.sentence}`,
|
|
15006
15006
|
children: [/* @__PURE__ */ (0, H.jsx)("span", {
|
|
15007
15007
|
className: "mono",
|
|
15008
|
-
children:
|
|
15008
|
+
children: d.release
|
|
15009
15009
|
}), /* @__PURE__ */ (0, H.jsxs)("span", {
|
|
15010
15010
|
className: "td-steps",
|
|
15011
|
-
"aria-label":
|
|
15012
|
-
children: [
|
|
15013
|
-
|
|
15011
|
+
"aria-label": d.sentence,
|
|
15012
|
+
children: [d.steps.map((e, t) => /* @__PURE__ */ (0, H.jsx)("i", { "data-step": e.state }, t)), /* @__PURE__ */ (0, H.jsxs)("em", { children: [
|
|
15013
|
+
d.passed,
|
|
15014
15014
|
"/",
|
|
15015
|
-
|
|
15015
|
+
d.total
|
|
15016
15016
|
] })]
|
|
15017
15017
|
})]
|
|
15018
|
-
}) :
|
|
15019
|
-
title: [
|
|
15018
|
+
}) : f?.tag || f?.run ? /* @__PURE__ */ (0, H.jsx)("span", {
|
|
15019
|
+
title: [f.checker ? `under ${f.checker}` : null, f.verdict ? oe(f.verdict) : null].filter(Boolean).join(" · ") || void 0,
|
|
15020
15020
|
children: /* @__PURE__ */ (0, H.jsx)("span", {
|
|
15021
15021
|
className: "mono",
|
|
15022
|
-
children: we(
|
|
15022
|
+
children: we(f.tag) ?? "workspace"
|
|
15023
15023
|
})
|
|
15024
15024
|
}) : /* @__PURE__ */ (0, H.jsx)("span", {
|
|
15025
15025
|
className: "faint",
|
|
@@ -15028,21 +15028,21 @@ function Po({ rows: e, sort: t, onSort: n }) {
|
|
|
15028
15028
|
}),
|
|
15029
15029
|
/* @__PURE__ */ (0, H.jsxs)("td", {
|
|
15030
15030
|
className: "plays-last",
|
|
15031
|
-
children: [
|
|
15031
|
+
children: [c ? /* @__PURE__ */ (0, H.jsx)("a", {
|
|
15032
15032
|
className: "mono",
|
|
15033
|
-
title:
|
|
15034
|
-
href: `/run/${encodeURIComponent(
|
|
15033
|
+
title: c,
|
|
15034
|
+
href: `/run/${encodeURIComponent(c)}`,
|
|
15035
15035
|
onClick: (e) => {
|
|
15036
|
-
e.preventDefault(), e.stopPropagation(), De(`/run/${encodeURIComponent(
|
|
15036
|
+
e.preventDefault(), e.stopPropagation(), De(`/run/${encodeURIComponent(c)}`);
|
|
15037
15037
|
},
|
|
15038
|
-
children: Mo(
|
|
15038
|
+
children: Mo(c)
|
|
15039
15039
|
}) : "—", /* @__PURE__ */ (0, H.jsx)("span", {
|
|
15040
|
-
title: jo(
|
|
15041
|
-
children:
|
|
15042
|
-
status: ce(
|
|
15040
|
+
title: jo(l?.at ?? e.latestRun?.startedAt) ?? void 0,
|
|
15041
|
+
children: l ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)(Ee, {
|
|
15042
|
+
status: ce(l),
|
|
15043
15043
|
className: "ending-word"
|
|
15044
|
-
})] }) :
|
|
15045
|
-
status: he(
|
|
15044
|
+
})] }) : u ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)(Ee, {
|
|
15045
|
+
status: he(u),
|
|
15046
15046
|
className: "ending-word"
|
|
15047
15047
|
})] }) : null
|
|
15048
15048
|
})]
|
|
@@ -15053,8 +15053,8 @@ function Po({ rows: e, sort: t, onSort: n }) {
|
|
|
15053
15053
|
}),
|
|
15054
15054
|
/* @__PURE__ */ (0, H.jsx)("td", {
|
|
15055
15055
|
className: "num",
|
|
15056
|
-
title:
|
|
15057
|
-
children:
|
|
15056
|
+
title: s?.priced !== null && s?.priced !== void 0 ? `${s.priced} of ${s.started ?? "?"} started runs priced${s.provenance ? ` (${s.provenance})` : ""}` : void 0,
|
|
15057
|
+
children: s?.apiEquivalentUsd !== null && s?.apiEquivalentUsd !== void 0 && s.priced ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [z(s.apiEquivalentUsd), s.priced === s.started ? "" : "+"] }) : /* @__PURE__ */ (0, H.jsx)("span", {
|
|
15058
15058
|
className: "faint",
|
|
15059
15059
|
title: "API-equivalent not priced",
|
|
15060
15060
|
children: "—"
|
|
@@ -23183,7 +23183,7 @@ function Dd({ api: e, mode: t, id: n, theme: r = "auto" }) {
|
|
|
23183
23183
|
return /* @__PURE__ */ (0, H.jsx)("div", {
|
|
23184
23184
|
className: "agent-record ar-ws",
|
|
23185
23185
|
"data-theme": r === "auto" ? void 0 : r,
|
|
23186
|
-
children: t === "receipt" ? /* @__PURE__ */ (0, H.jsx)(
|
|
23186
|
+
children: t === "receipt" ? /* @__PURE__ */ (0, H.jsx)(Gd, {
|
|
23187
23187
|
api: e,
|
|
23188
23188
|
id: n
|
|
23189
23189
|
}) : t === "explore" ? /* @__PURE__ */ (0, H.jsx)(ao, { api: e }) : tn(t) ? /* @__PURE__ */ (0, H.jsx)(V.Suspense, {
|
|
@@ -23195,7 +23195,7 @@ function Dd({ api: e, mode: t, id: n, theme: r = "auto" }) {
|
|
|
23195
23195
|
}) : t === "theatre" ? /* @__PURE__ */ (0, H.jsx)(ts, {
|
|
23196
23196
|
api: e,
|
|
23197
23197
|
id: n
|
|
23198
|
-
}) : t === "plays" ? /* @__PURE__ */ (0, H.jsx)(
|
|
23198
|
+
}) : t === "plays" ? /* @__PURE__ */ (0, H.jsx)(Pd, { api: e }) : t === "play" ? /* @__PURE__ */ (0, H.jsx)(Id, {
|
|
23199
23199
|
api: e,
|
|
23200
23200
|
id: n
|
|
23201
23201
|
}) : /* @__PURE__ */ (0, H.jsx)(V.Suspense, {
|
|
@@ -23203,7 +23203,7 @@ function Dd({ api: e, mode: t, id: n, theme: r = "auto" }) {
|
|
|
23203
23203
|
children: /* @__PURE__ */ (0, H.jsx)(nn, {
|
|
23204
23204
|
api: e,
|
|
23205
23205
|
id: n,
|
|
23206
|
-
legacy: () => /* @__PURE__ */ (0, H.jsx)(
|
|
23206
|
+
legacy: () => /* @__PURE__ */ (0, H.jsx)(Hd, {
|
|
23207
23207
|
api: e,
|
|
23208
23208
|
id: n
|
|
23209
23209
|
})
|
|
@@ -23274,8 +23274,8 @@ function jd({ counts: e, total: t, noun: n, showHidden: r, onChange: i }) {
|
|
|
23274
23274
|
})]
|
|
23275
23275
|
}) : null;
|
|
23276
23276
|
}
|
|
23277
|
-
var Md = 50;
|
|
23278
|
-
function
|
|
23277
|
+
var Md = 50, Nd = (e) => (/* @__PURE__ */ new Set([...(e.runs ?? []).filter((e) => e.state === "running").map((e) => e.play), ...e.plays.filter((e) => e.latestRun?.state === "running").map((e) => e.id)])).size;
|
|
23278
|
+
function Pd({ api: e }) {
|
|
23279
23279
|
let [t, n] = fo(), r = Oe(`${e}/plays`), i = t.get("q") ?? "", a = t.get("program") ?? "", o = [
|
|
23280
23280
|
"latest",
|
|
23281
23281
|
"spend",
|
|
@@ -23299,27 +23299,27 @@ function Nd({ api: e }) {
|
|
|
23299
23299
|
a,
|
|
23300
23300
|
o,
|
|
23301
23301
|
d
|
|
23302
|
-
]), y = [
|
|
23302
|
+
]), y = (0, V.useMemo)(() => new Map((r.data?.runs ?? []).filter((e) => e.state === "running").sort((e, t) => String(e.startedAt ?? "").localeCompare(String(t.startedAt ?? ""))).map((e) => [e.play, e.id])), [r.data]), b = [
|
|
23303
23303
|
"plays",
|
|
23304
23304
|
"findings",
|
|
23305
23305
|
"runs"
|
|
23306
|
-
].find((e) => e === t.get("view")) ?? "plays",
|
|
23306
|
+
].find((e) => e === t.get("view")) ?? "plays", x = [
|
|
23307
23307
|
["latest", "Latest run first"],
|
|
23308
23308
|
["spend", "Most API-equivalent first"],
|
|
23309
23309
|
["runs", "Most runs first"],
|
|
23310
23310
|
["name", "By name"]
|
|
23311
|
-
],
|
|
23311
|
+
], S = b === "plays" ? /* @__PURE__ */ (0, H.jsx)(u, {
|
|
23312
23312
|
label: "Order",
|
|
23313
23313
|
value: o,
|
|
23314
|
-
options:
|
|
23314
|
+
options: x.map(([e, t]) => ({
|
|
23315
23315
|
id: e,
|
|
23316
23316
|
label: t
|
|
23317
23317
|
})),
|
|
23318
23318
|
width: 260,
|
|
23319
23319
|
placeholder: "Order plays",
|
|
23320
23320
|
onChange: (e) => n({ sort: !e || e === "latest" ? void 0 : e }),
|
|
23321
|
-
children:
|
|
23322
|
-
}) : null,
|
|
23321
|
+
children: x.find(([e]) => e === o)?.[1] ?? "Latest run first"
|
|
23322
|
+
}) : null, C = /* @__PURE__ */ (0, H.jsxs)("div", {
|
|
23323
23323
|
className: "message-filters plays-filters",
|
|
23324
23324
|
"aria-label": "Research filters",
|
|
23325
23325
|
children: [
|
|
@@ -23348,9 +23348,9 @@ function Nd({ api: e }) {
|
|
|
23348
23348
|
onChange: (e) => n({ program: e ?? void 0 }),
|
|
23349
23349
|
children: a || "All programs"
|
|
23350
23350
|
}),
|
|
23351
|
-
|
|
23351
|
+
S
|
|
23352
23352
|
]
|
|
23353
|
-
}),
|
|
23353
|
+
}), w = r.data?.frontiers?.length ? /* @__PURE__ */ (0, H.jsxs)("details", {
|
|
23354
23354
|
className: "research-frontiers",
|
|
23355
23355
|
"aria-label": "Frontier statements",
|
|
23356
23356
|
children: [/* @__PURE__ */ (0, H.jsxs)("summary", {
|
|
@@ -23381,14 +23381,14 @@ function Nd({ api: e }) {
|
|
|
23381
23381
|
]
|
|
23382
23382
|
}, e.id))
|
|
23383
23383
|
})]
|
|
23384
|
-
}) : null,
|
|
23384
|
+
}) : null, ee = /* @__PURE__ */ (0, H.jsx)(s, {
|
|
23385
23385
|
className: "rp-head",
|
|
23386
23386
|
title: "Plays",
|
|
23387
23387
|
actions: r.data ? /* @__PURE__ */ (0, H.jsxs)("ul", {
|
|
23388
23388
|
className: "rp-stats",
|
|
23389
23389
|
children: [
|
|
23390
23390
|
/* @__PURE__ */ (0, H.jsxs)("li", { children: [/* @__PURE__ */ (0, H.jsx)("b", { children: r.data.plays.length }), " plays"] }),
|
|
23391
|
-
/* @__PURE__ */ (0, H.jsxs)("li", { children: [/* @__PURE__ */ (0, H.jsx)("b", { children: r.data
|
|
23391
|
+
/* @__PURE__ */ (0, H.jsxs)("li", { children: [/* @__PURE__ */ (0, H.jsx)("b", { children: Nd(r.data) }), " running"] }),
|
|
23392
23392
|
r.data.builtAt && /* @__PURE__ */ (0, H.jsxs)("li", {
|
|
23393
23393
|
title: "when the host built this list",
|
|
23394
23394
|
children: [
|
|
@@ -23399,10 +23399,10 @@ function Nd({ api: e }) {
|
|
|
23399
23399
|
})
|
|
23400
23400
|
]
|
|
23401
23401
|
}) : void 0
|
|
23402
|
-
}),
|
|
23402
|
+
}), T = /* @__PURE__ */ (0, H.jsx)(c, {
|
|
23403
23403
|
"aria-label": "Research views",
|
|
23404
23404
|
className: "ws-views",
|
|
23405
|
-
value:
|
|
23405
|
+
value: b,
|
|
23406
23406
|
onValueChange: (e) => n({ view: e === "plays" ? void 0 : e }),
|
|
23407
23407
|
options: [
|
|
23408
23408
|
{
|
|
@@ -23419,14 +23419,14 @@ function Nd({ api: e }) {
|
|
|
23419
23419
|
}
|
|
23420
23420
|
]
|
|
23421
23421
|
});
|
|
23422
|
-
if (
|
|
23422
|
+
if (b === "findings") return /* @__PURE__ */ (0, H.jsxs)("div", {
|
|
23423
23423
|
className: "ws-page ws-plays",
|
|
23424
23424
|
"data-plays-home": "findings",
|
|
23425
23425
|
children: [
|
|
23426
|
-
|
|
23426
|
+
ee,
|
|
23427
23427
|
/* @__PURE__ */ (0, H.jsxs)("div", {
|
|
23428
23428
|
className: "plays-bar",
|
|
23429
|
-
children: [
|
|
23429
|
+
children: [T, C]
|
|
23430
23430
|
}),
|
|
23431
23431
|
/* @__PURE__ */ (0, H.jsx)(ji, {
|
|
23432
23432
|
api: e,
|
|
@@ -23435,19 +23435,19 @@ function Nd({ api: e }) {
|
|
|
23435
23435
|
review: Ei.find(([e]) => e === t.get("review"))?.[0] ?? null,
|
|
23436
23436
|
onReview: (e) => n({ review: e ?? void 0 })
|
|
23437
23437
|
}),
|
|
23438
|
-
|
|
23438
|
+
w
|
|
23439
23439
|
]
|
|
23440
23440
|
});
|
|
23441
|
-
if (
|
|
23441
|
+
if (b === "runs") {
|
|
23442
23442
|
let t = Date.now() - 2592e6, n = r.data?.runs ?? [], o = n.filter((e) => (e.state === "running" || e.startedAt && Date.parse(e.startedAt) >= t) && (!a || e.program === a) && (!i || `${e.id} ${e.play} ${e.reason ?? ""} ${e.stopCause ?? ""}`.toLowerCase().includes(i.toLowerCase()))), s = (e) => e ? `${e.slice(5, 10)} ${e.slice(11, 16)}Z` : "—";
|
|
23443
23443
|
return /* @__PURE__ */ (0, H.jsxs)("div", {
|
|
23444
23444
|
className: "ws-page ws-plays",
|
|
23445
23445
|
"data-plays-home": "runs",
|
|
23446
23446
|
children: [
|
|
23447
|
-
|
|
23447
|
+
ee,
|
|
23448
23448
|
/* @__PURE__ */ (0, H.jsxs)("div", {
|
|
23449
23449
|
className: "plays-bar",
|
|
23450
|
-
children: [
|
|
23450
|
+
children: [T, C]
|
|
23451
23451
|
}),
|
|
23452
23452
|
/* @__PURE__ */ (0, H.jsxs)("div", {
|
|
23453
23453
|
className: "runs-answer",
|
|
@@ -23528,10 +23528,10 @@ function Nd({ api: e }) {
|
|
|
23528
23528
|
className: "ws-page ws-plays",
|
|
23529
23529
|
"data-plays": !0,
|
|
23530
23530
|
children: [
|
|
23531
|
-
|
|
23531
|
+
ee,
|
|
23532
23532
|
/* @__PURE__ */ (0, H.jsxs)("div", {
|
|
23533
23533
|
className: "plays-bar",
|
|
23534
|
-
children: [
|
|
23534
|
+
children: [T, C]
|
|
23535
23535
|
}),
|
|
23536
23536
|
/* @__PURE__ */ (0, H.jsx)(jd, {
|
|
23537
23537
|
counts: v.counts,
|
|
@@ -23548,7 +23548,8 @@ function Nd({ api: e }) {
|
|
|
23548
23548
|
children: /* @__PURE__ */ (0, H.jsx)(Po, {
|
|
23549
23549
|
rows: _.slice(0, m),
|
|
23550
23550
|
sort: o,
|
|
23551
|
-
onSort: (e) => n({ sort: e ?? void 0 })
|
|
23551
|
+
onSort: (e) => n({ sort: e ?? void 0 }),
|
|
23552
|
+
live: y
|
|
23552
23553
|
})
|
|
23553
23554
|
}),
|
|
23554
23555
|
_.length > m && /* @__PURE__ */ (0, H.jsxs)("button", {
|
|
@@ -23575,7 +23576,7 @@ function Nd({ api: e }) {
|
|
|
23575
23576
|
})
|
|
23576
23577
|
});
|
|
23577
23578
|
}
|
|
23578
|
-
var
|
|
23579
|
+
var Fd = {
|
|
23579
23580
|
results: { tab: "standing" },
|
|
23580
23581
|
story: { tab: "standing" },
|
|
23581
23582
|
versions: { tab: "releases" },
|
|
@@ -23587,8 +23588,8 @@ var Pd = {
|
|
|
23587
23588
|
patch: { judged: "1" }
|
|
23588
23589
|
}
|
|
23589
23590
|
};
|
|
23590
|
-
function
|
|
23591
|
-
let [n, r] = fo(), i = Oe(`${e}/plays/${encodeURIComponent(t)}`), a = (0, V.useMemo)(() => Pe(t), [t]), o = n.get("tab") ?? "standing", s =
|
|
23591
|
+
function Id({ api: e, id: t }) {
|
|
23592
|
+
let [n, r] = fo(), i = Oe(`${e}/plays/${encodeURIComponent(t)}`), a = (0, V.useMemo)(() => Pe(t), [t]), o = n.get("tab") ?? "standing", s = Fd[o];
|
|
23592
23593
|
(0, V.useEffect)(() => {
|
|
23593
23594
|
s && r({
|
|
23594
23595
|
tab: s.tab === "standing" ? void 0 : s.tab,
|
|
@@ -23714,7 +23715,7 @@ function Fd({ api: e, id: t }) {
|
|
|
23714
23715
|
onChange: (e) => r({ show: e ? "all" : void 0 })
|
|
23715
23716
|
}), /* @__PURE__ */ (0, H.jsx)("section", {
|
|
23716
23717
|
className: "ws-section",
|
|
23717
|
-
children: /* @__PURE__ */ (0, H.jsx)(
|
|
23718
|
+
children: /* @__PURE__ */ (0, H.jsx)(Rd, {
|
|
23718
23719
|
play: y,
|
|
23719
23720
|
latestDigest: w,
|
|
23720
23721
|
headlines: ne,
|
|
@@ -23745,7 +23746,7 @@ function Fd({ api: e, id: t }) {
|
|
|
23745
23746
|
className: "ws-section gaps",
|
|
23746
23747
|
children: [/* @__PURE__ */ (0, H.jsx)("h3", { children: "Missing evidence" }), /* @__PURE__ */ (0, H.jsx)("ul", {
|
|
23747
23748
|
className: "gap-list",
|
|
23748
|
-
children:
|
|
23749
|
+
children: Bd(y.gaps).map((e) => /* @__PURE__ */ (0, H.jsxs)("li", { children: [
|
|
23749
23750
|
/* @__PURE__ */ (0, H.jsx)("code", { children: e.code }),
|
|
23750
23751
|
" ",
|
|
23751
23752
|
e.runs.length > 1 ? `${e.runs.length} runs: ${e.runs.map((e) => Ad(_.id, e)).join(", ")}` : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [e.runs[0] && /* @__PURE__ */ (0, H.jsxs)("span", {
|
|
@@ -23855,14 +23856,14 @@ function Fd({ api: e, id: t }) {
|
|
|
23855
23856
|
})
|
|
23856
23857
|
});
|
|
23857
23858
|
}
|
|
23858
|
-
function
|
|
23859
|
+
function Ld(e, t) {
|
|
23859
23860
|
let n = /* @__PURE__ */ new Set();
|
|
23860
23861
|
return e.filter((e) => {
|
|
23861
23862
|
let r = e.method === "systemone" && e.calibrated !== !0;
|
|
23862
23863
|
return e.status !== "decided" || r || e.polarity !== "bad" || n.has(e.dimension) || t && !t.has(e.dimension) ? !1 : (n.add(e.dimension), !0);
|
|
23863
23864
|
});
|
|
23864
23865
|
}
|
|
23865
|
-
function
|
|
23866
|
+
function Rd({ play: e, latestDigest: t, headlines: n, headline: r, onOpen: i }) {
|
|
23866
23867
|
let a = e.runs.some((e) => e.purpose), o = new Map(e.runs.map((e) => [e.id, {
|
|
23867
23868
|
equivalent: Ed(e.spend),
|
|
23868
23869
|
subscription: Td(e.spend)
|
|
@@ -23982,13 +23983,13 @@ function Ld({ play: e, latestDigest: t, headlines: n, headline: r, onOpen: i })
|
|
|
23982
23983
|
className: `num ${c.spend.sandboxUsd === null ? "unknown" : ""}`,
|
|
23983
23984
|
children: z(c.spend.sandboxUsd)
|
|
23984
23985
|
}),
|
|
23985
|
-
/* @__PURE__ */ (0, H.jsx)("td", { children: c.record.capture ? /* @__PURE__ */ (0, H.jsx)(
|
|
23986
|
+
/* @__PURE__ */ (0, H.jsx)("td", { children: c.record.capture ? /* @__PURE__ */ (0, H.jsx)(zd, { capture: c.record.capture }) : /* @__PURE__ */ (0, H.jsx)("span", {
|
|
23986
23987
|
className: "faint",
|
|
23987
23988
|
children: c.record.status
|
|
23988
23989
|
}) }),
|
|
23989
23990
|
/* @__PURE__ */ (0, H.jsx)("td", {
|
|
23990
23991
|
className: "headline-cell",
|
|
23991
|
-
children:
|
|
23992
|
+
children: Ld(n.get(c.id) ?? [], r).map((e) => /* @__PURE__ */ (0, H.jsxs)("span", {
|
|
23992
23993
|
className: "label-chip polarity-bad",
|
|
23993
23994
|
title: `${e.dimension}: ${e.label}`,
|
|
23994
23995
|
children: [
|
|
@@ -24003,7 +24004,7 @@ function Ld({ play: e, latestDigest: t, headlines: n, headline: r, onOpen: i })
|
|
|
24003
24004
|
})
|
|
24004
24005
|
});
|
|
24005
24006
|
}
|
|
24006
|
-
function
|
|
24007
|
+
function zd({ capture: e }) {
|
|
24007
24008
|
let t = Math.max(1, e.complete + e.lossy + e.absent);
|
|
24008
24009
|
return /* @__PURE__ */ (0, H.jsxs)("span", {
|
|
24009
24010
|
className: "capture-bar",
|
|
@@ -24024,7 +24025,7 @@ function Rd({ capture: e }) {
|
|
|
24024
24025
|
]
|
|
24025
24026
|
});
|
|
24026
24027
|
}
|
|
24027
|
-
function
|
|
24028
|
+
function Bd(e) {
|
|
24028
24029
|
let t = /* @__PURE__ */ new Map();
|
|
24029
24030
|
for (let n of e) {
|
|
24030
24031
|
let e = t.get(n.code) ?? {
|
|
@@ -24037,7 +24038,7 @@ function zd(e) {
|
|
|
24037
24038
|
}
|
|
24038
24039
|
return [...t.values()];
|
|
24039
24040
|
}
|
|
24040
|
-
function
|
|
24041
|
+
function Vd({ api: e, runId: t, play: n, selected: r, onSelect: i }) {
|
|
24041
24042
|
let a = Oe(`${e}/plays/${encodeURIComponent(n)}/profiles`), o = (0, V.useMemo)(() => ({
|
|
24042
24043
|
kind: "run",
|
|
24043
24044
|
runId: t,
|
|
@@ -24060,7 +24061,7 @@ function Bd({ api: e, runId: t, play: n, selected: r, onSelect: i }) {
|
|
|
24060
24061
|
children: a.error ? `This run's profiles are unavailable: ${a.error}` : "Loading profile versions…"
|
|
24061
24062
|
});
|
|
24062
24063
|
}
|
|
24063
|
-
function
|
|
24064
|
+
function Hd({ api: e, id: t }) {
|
|
24064
24065
|
let [n, r] = fo(), [i, a] = (0, V.useState)(void 0), o = `${e}/runs/${encodeURIComponent(t)}`, [s, l] = (0, V.useState)(0), [u, d] = (0, V.useState)(null), [f, p] = (0, V.useState)(() => /* @__PURE__ */ new Set()), m = (0, V.useRef)(null), h = Oe(s ? `${o}?revision=${s}` : o, i, !0);
|
|
24065
24066
|
(0, V.useEffect)(() => a(h.data?.live.polling ? 3e3 : void 0), [h.data?.live.polling]);
|
|
24066
24067
|
let g = h.data?.run.record.digest ?? null, _ = h.data?.run.record.status === "ready" || !!g, v = g ? `&digest=${g}` : "", y = w(_ ? `${o}/record?part=nodes${v}` : null), b = Oe(`${o}/assessments${g ? `?digest=${g}` : ""}`, void 0, !0), x = Oe(`${e}/dimensions`), S = (0, V.useMemo)(() => Wc(x.data), [x.data]), C = qu(n), ee = n.get("node"), T = y.index, te = ee ?? t, E = _ && !h.data?.execution?.alive && ["archive", "none"].includes(h.data?.run.location?.kind ?? "") && m.current !== te, D = !h.data?.execution?.alive && _ && (!T || T.nodes.has(T.canonical(te))), O = !!h.data?.execution && !D && !E && !f.has(te) && !["timeline", "usage"].includes(n.get("tab") ?? "");
|
|
@@ -24183,7 +24184,7 @@ function Vd({ api: e, id: t }) {
|
|
|
24183
24184
|
onOpen: ie
|
|
24184
24185
|
})] }),
|
|
24185
24186
|
C === "versions" && P,
|
|
24186
|
-
C === "profiles" && /* @__PURE__ */ (0, H.jsx)(
|
|
24187
|
+
C === "profiles" && /* @__PURE__ */ (0, H.jsx)(Vd, {
|
|
24187
24188
|
api: e,
|
|
24188
24189
|
runId: A.id,
|
|
24189
24190
|
play: A.play,
|
|
@@ -24238,7 +24239,7 @@ function Vd({ api: e, id: t }) {
|
|
|
24238
24239
|
T && (C === "assessments" || C === "coverage") && re && /* @__PURE__ */ (0, H.jsx)("section", {
|
|
24239
24240
|
className: "run-panel",
|
|
24240
24241
|
"aria-label": C,
|
|
24241
|
-
children: k.index ? /* @__PURE__ */ (0, H.jsx)(
|
|
24242
|
+
children: k.index ? /* @__PURE__ */ (0, H.jsx)(Wd, {
|
|
24242
24243
|
section: C,
|
|
24243
24244
|
doc: j,
|
|
24244
24245
|
index: k.index,
|
|
@@ -24269,7 +24270,7 @@ function Vd({ api: e, id: t }) {
|
|
|
24269
24270
|
y.error ? ` ${y.error}` : "",
|
|
24270
24271
|
y.fetchError && !A.record.reason ? ` ${y.fetchError}` : ""
|
|
24271
24272
|
] }),
|
|
24272
|
-
/* @__PURE__ */ (0, H.jsx)(
|
|
24273
|
+
/* @__PURE__ */ (0, H.jsx)(Ud, {
|
|
24273
24274
|
api: e,
|
|
24274
24275
|
doc: j
|
|
24275
24276
|
})
|
|
@@ -24279,7 +24280,7 @@ function Vd({ api: e, id: t }) {
|
|
|
24279
24280
|
]
|
|
24280
24281
|
});
|
|
24281
24282
|
}
|
|
24282
|
-
function
|
|
24283
|
+
function Ud({ api: e, doc: t }) {
|
|
24283
24284
|
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
|
|
24284
24285
|
t.run.keys.length > 0 && /* @__PURE__ */ (0, H.jsxs)("table", {
|
|
24285
24286
|
className: "data-table",
|
|
@@ -24367,7 +24368,7 @@ function Hd({ api: e, doc: t }) {
|
|
|
24367
24368
|
})
|
|
24368
24369
|
] });
|
|
24369
24370
|
}
|
|
24370
|
-
function
|
|
24371
|
+
function Wd({ section: e, doc: t, index: n, actor: r, params: i, update: a, assessments: o, dimensions: s, gaps: c, stats: l, onSelectAgent: u }) {
|
|
24371
24372
|
return e === "assessments" ? /* @__PURE__ */ (0, H.jsx)(Jc, {
|
|
24372
24373
|
doc: o,
|
|
24373
24374
|
dimensions: s,
|
|
@@ -24393,7 +24394,7 @@ function Ud({ section: e, doc: t, index: n, actor: r, params: i, update: a, asse
|
|
|
24393
24394
|
onSelect: u
|
|
24394
24395
|
});
|
|
24395
24396
|
}
|
|
24396
|
-
function
|
|
24397
|
+
function Gd({ api: e, id: t }) {
|
|
24397
24398
|
let [n, r] = t.split("@"), i = `${e}/runs/${encodeURIComponent(n)}/receipt${r ? `/${encodeURIComponent(r)}` : ""}/receipt.json`, a = Oe(i), o = Oe(`${e}/runs/${encodeURIComponent(n)}`);
|
|
24398
24399
|
return a.data ? /* @__PURE__ */ (0, H.jsx)("div", {
|
|
24399
24400
|
className: "agent-record ar-ws",
|
|
@@ -24418,7 +24419,7 @@ function Wd({ api: e, id: t }) {
|
|
|
24418
24419
|
}
|
|
24419
24420
|
//#endregion
|
|
24420
24421
|
//#region src/workspace-standalone.tsx
|
|
24421
|
-
function
|
|
24422
|
+
function Kd(e) {
|
|
24422
24423
|
let t = e.dataset.theme;
|
|
24423
24424
|
if (t === "light" || t === "dark") return t;
|
|
24424
24425
|
let n = getComputedStyle(e).getPropertyValue("--ar-background").trim(), r = /^#([0-9a-f]{6})$/i.exec(n)?.[1];
|
|
@@ -24430,14 +24431,14 @@ function Gd(e) {
|
|
|
24430
24431
|
].map((e) => parseInt(r.slice(e, e + 2), 16) / 255);
|
|
24431
24432
|
return .2126 * i + .7152 * a + .0722 * o < .5 ? "dark" : "light";
|
|
24432
24433
|
}
|
|
24433
|
-
var
|
|
24434
|
-
if (
|
|
24435
|
-
let e =
|
|
24436
|
-
(0, dn.createRoot)(
|
|
24437
|
-
api:
|
|
24434
|
+
var qd = document.getElementById("agent-workspace");
|
|
24435
|
+
if (qd) {
|
|
24436
|
+
let e = qd.dataset.mode === "receipt" ? "receipt" : qd.dataset.mode === "explore" ? "explore" : qd.dataset.mode === "overview" ? "today" : tn(qd.dataset.mode ?? "") ? qd.dataset.mode : qd.dataset.mode === "theatre" ? "theatre" : qd.dataset.mode === "plays" ? "plays" : qd.dataset.mode === "play" || qd.dataset.mode === "report" ? "play" : "run";
|
|
24437
|
+
(0, dn.createRoot)(qd).render(/* @__PURE__ */ (0, H.jsx)(V.StrictMode, { children: /* @__PURE__ */ (0, H.jsx)(Dd, {
|
|
24438
|
+
api: qd.dataset.api ?? "/api/discovery",
|
|
24438
24439
|
mode: e,
|
|
24439
|
-
id:
|
|
24440
|
-
theme:
|
|
24440
|
+
id: qd.dataset.id ?? "",
|
|
24441
|
+
theme: Kd(qd)
|
|
24441
24442
|
}) }));
|
|
24442
24443
|
}
|
|
24443
24444
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-cli",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.29",
|
|
4
4
|
"description": "CLI for Tangle Sandbox operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"@tangle-network/agent-eval": "1.0.0",
|
|
24
24
|
"@tangle-network/agent-interface": "^5.10.2",
|
|
25
25
|
"@tangle-network/agent-provider-tangle": "4.5.0",
|
|
26
|
-
"@tangle-network/agent-runtime": "2.
|
|
26
|
+
"@tangle-network/agent-runtime": "2.2.1",
|
|
27
27
|
"@tangle-network/hub-sdk": "^1.0.5",
|
|
28
|
-
"@tangle-network/sandbox": "^1.0.
|
|
28
|
+
"@tangle-network/sandbox": "^1.0.45",
|
|
29
29
|
"@tangle-network/sdk-cli-runner": "^0.3.0",
|
|
30
30
|
"chalk": "^5.6.2",
|
|
31
|
-
"cli-bridge": "https://github.com/drewstone/cli-bridge/archive/
|
|
31
|
+
"cli-bridge": "https://github.com/drewstone/cli-bridge/archive/141926efddd227c9e78a1ccc2f065a2442c8ea68.tar.gz",
|
|
32
32
|
"commander": "12.1.0",
|
|
33
33
|
"dotenv": "17.2.3",
|
|
34
34
|
"ora": "^9.4.1",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"author": "Tangle Network",
|
|
67
67
|
"license": "MIT",
|
|
68
68
|
"tangleRelease": {
|
|
69
|
-
"sourceSha": "
|
|
70
|
-
"mergedAt": "2026-10-
|
|
69
|
+
"sourceSha": "c7b33a5aad0a59527d5b17a27c87ade20b89f1b5",
|
|
70
|
+
"mergedAt": "2026-10-27T22:05:03-06:00"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "tsdown",
|