@meridianlabs/log-viewer 0.3.176 → 0.3.178

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/lib/index.js CHANGED
@@ -18224,7 +18224,7 @@ const container$n = "_container_1n7pm_1";
18224
18224
  const label$b = "_label_1n7pm_7";
18225
18225
  const outer = "_outer_1n7pm_11";
18226
18226
  const inner = "_inner_1n7pm_20";
18227
- const styles$1Q = {
18227
+ const styles$1P = {
18228
18228
  container: container$n,
18229
18229
  label: label$b,
18230
18230
  outer,
@@ -18237,15 +18237,15 @@ const ProgressBar = ({
18237
18237
  label: label2,
18238
18238
  width = "100px"
18239
18239
  }) => {
18240
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1Q.container), children: [
18241
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1Q.outer), style: { width }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
18240
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1P.container), children: [
18241
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1P.outer), style: { width }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
18242
18242
  "div",
18243
18243
  {
18244
- className: clsx(styles$1Q.inner),
18244
+ className: clsx(styles$1P.inner),
18245
18245
  style: { width: `${(value2 - min2) / (max2 - min2) * 100}%` }
18246
18246
  }
18247
18247
  ) }),
18248
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1Q.label, "text-size-smallest"), children: [
18248
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1P.label, "text-size-smallest"), children: [
18249
18249
  value2,
18250
18250
  " / ",
18251
18251
  max2,
@@ -18458,7 +18458,7 @@ const errorType = (message2) => {
18458
18458
  const circle$1 = "_circle_qymy9_1";
18459
18459
  const green$1 = "_green_qymy9_12";
18460
18460
  const red$1 = "_red_qymy9_18";
18461
- const styles$1P = {
18461
+ const styles$1O = {
18462
18462
  circle: circle$1,
18463
18463
  green: green$1,
18464
18464
  red: red$1
@@ -18474,9 +18474,9 @@ const booleanScoreDescriptor = () => {
18474
18474
  "span",
18475
18475
  {
18476
18476
  className: clsx(
18477
- styles$1P.circle,
18477
+ styles$1O.circle,
18478
18478
  "text-size-small",
18479
- score2 ? styles$1P.green : styles$1P.red
18479
+ score2 ? styles$1O.green : styles$1O.red
18480
18480
  ),
18481
18481
  children: String(score2)
18482
18482
  }
@@ -18578,7 +18578,7 @@ const numericScoreDescriptor = (values) => {
18578
18578
  const container$m = "_container_1ramc_1";
18579
18579
  const key$1 = "_key_1ramc_12";
18580
18580
  const value$2 = "_value_1ramc_16";
18581
- const styles$1O = {
18581
+ const styles$1N = {
18582
18582
  container: container$m,
18583
18583
  key: key$1,
18584
18584
  value: value$2
@@ -18622,12 +18622,12 @@ const objectScoreDescriptor = (values) => {
18622
18622
  ) : String(value2);
18623
18623
  scores2.push(
18624
18624
  /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
18625
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1O.key, "text-size-smaller"), children: key2 }),
18626
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1O.value, "text-size-base"), children: formattedValue })
18625
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1N.key, "text-size-smaller"), children: key2 }),
18626
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1N.value, "text-size-base"), children: formattedValue })
18627
18627
  ] })
18628
18628
  );
18629
18629
  });
18630
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1O.container), children: scores2 }, `score-value`);
18630
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1N.container), children: scores2 }, `score-value`);
18631
18631
  }
18632
18632
  };
18633
18633
  };
@@ -19921,7 +19921,7 @@ function requireAnsiOutput() {
19921
19921
  var ansiOutputExports = requireAnsiOutput();
19922
19922
  const toolButton$1 = "_toolButton_nu8dt_1";
19923
19923
  const latched = "_latched_nu8dt_13";
19924
- const styles$1N = {
19924
+ const styles$1M = {
19925
19925
  toolButton: toolButton$1,
19926
19926
  latched
19927
19927
  };
@@ -19935,10 +19935,10 @@ const ToolButton = forwardRef(
19935
19935
  className: clsx(
19936
19936
  "btn",
19937
19937
  "btn-tools",
19938
- styles$1N.toolButton,
19938
+ styles$1M.toolButton,
19939
19939
  classes,
19940
19940
  className2,
19941
- latched2 ? styles$1N.latched : void 0
19941
+ latched2 ? styles$1M.latched : void 0
19942
19942
  ),
19943
19943
  ...rest,
19944
19944
  children: [
@@ -19954,7 +19954,7 @@ const ansiDisplayContainer = "_ansiDisplayContainer_sawhg_1";
19954
19954
  const ansiDisplay = "_ansiDisplay_sawhg_1";
19955
19955
  const ansiDisplayRaw = "_ansiDisplayRaw_sawhg_28";
19956
19956
  const ansiDisplayToggle = "_ansiDisplayToggle_sawhg_33";
19957
- const styles$1M = {
19957
+ const styles$1L = {
19958
19958
  ansiDisplayContainer,
19959
19959
  ansiDisplay,
19960
19960
  ansiDisplayRaw,
@@ -20010,13 +20010,13 @@ const ANSIDisplay = ({
20010
20010
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
20011
20011
  "div",
20012
20012
  {
20013
- className: clsx(styles$1M.ansiDisplayContainer, className2),
20013
+ className: clsx(styles$1L.ansiDisplayContainer, className2),
20014
20014
  style: { ...style2 },
20015
20015
  children: [
20016
20016
  /* @__PURE__ */ jsxRuntimeExports.jsx(
20017
20017
  ToolButton,
20018
20018
  {
20019
- className: clsx(styles$1M.ansiDisplayToggle, "text-size-smallest"),
20019
+ className: clsx(styles$1L.ansiDisplayToggle, "text-size-smallest"),
20020
20020
  icon: "bi bi-code-slash",
20021
20021
  label: "",
20022
20022
  latched: showRaw,
@@ -20024,9 +20024,9 @@ const ANSIDisplay = ({
20024
20024
  title: showRaw ? "Show rendered output" : "Show raw output"
20025
20025
  }
20026
20026
  ),
20027
- showRaw ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1M.ansiDisplay, styles$1M.ansiDisplayRaw), children: output2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1M.ansiDisplay), style: backgroundStyle, children: ansiOutput2.outputLines.map((line2, index) => {
20027
+ showRaw ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1L.ansiDisplay, styles$1L.ansiDisplayRaw), children: output2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1L.ansiDisplay), style: backgroundStyle, children: ansiOutput2.outputLines.map((line2, index) => {
20028
20028
  firstOutput = firstOutput || !!line2.outputRuns.length;
20029
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1M.ansiDisplayLine), children: !line2.outputRuns.length ? firstOutput ? /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}) : null : line2.outputRuns.map((outputRun) => /* @__PURE__ */ jsxRuntimeExports.jsx(OutputRun, { run: outputRun }, outputRun.id)) }, index);
20029
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1L.ansiDisplayLine), children: !line2.outputRuns.length ? firstOutput ? /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}) : null : line2.outputRuns.map((outputRun) => /* @__PURE__ */ jsxRuntimeExports.jsx(OutputRun, { run: outputRun }, outputRun.id)) }, index);
20030
20030
  }) })
20031
20031
  ]
20032
20032
  }
@@ -20253,7 +20253,7 @@ const visible = "_visible_tm52u_1";
20253
20253
  const hidden$1 = "_hidden_tm52u_5";
20254
20254
  const pills = "_pills_tm52u_9";
20255
20255
  const pill = "_pill_tm52u_9";
20256
- const styles$1L = {
20256
+ const styles$1K = {
20257
20257
  visible,
20258
20258
  hidden: hidden$1,
20259
20259
  pills,
@@ -20283,7 +20283,7 @@ const NavPills = ({ id, children: children2 }) => {
20283
20283
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
20284
20284
  "div",
20285
20285
  {
20286
- className: child["props"]?.title === activeItem ? styles$1L.visible : styles$1L.hidden,
20286
+ className: child["props"]?.title === activeItem ? styles$1K.visible : styles$1K.hidden,
20287
20287
  children: child
20288
20288
  },
20289
20289
  `nav-pill-container-${idx}`
@@ -20293,7 +20293,7 @@ const NavPills = ({ id, children: children2 }) => {
20293
20293
  /* @__PURE__ */ jsxRuntimeExports.jsx(
20294
20294
  "ul",
20295
20295
  {
20296
- className: clsx("nav", "nav-pills", styles$1L.pills),
20296
+ className: clsx("nav", "nav-pills", styles$1K.pills),
20297
20297
  role: "tablist",
20298
20298
  "aria-orientation": "horizontal",
20299
20299
  children: navPills
@@ -20329,7 +20329,7 @@ const NavPill = ({
20329
20329
  "nav-link",
20330
20330
  "text-style-label",
20331
20331
  active ? "active " : "",
20332
- styles$1L.pill
20332
+ styles$1K.pill
20333
20333
  ),
20334
20334
  "data-target": title2,
20335
20335
  onClick: handleClick,
@@ -20345,7 +20345,7 @@ const Buckets = {
20345
20345
  final: 1e3
20346
20346
  };
20347
20347
  const copyButton = "_copyButton_1goi8_1";
20348
- const styles$1K = {
20348
+ const styles$1J = {
20349
20349
  copyButton
20350
20350
  };
20351
20351
  const CopyButton = ({
@@ -20375,7 +20375,7 @@ const CopyButton = ({
20375
20375
  "button",
20376
20376
  {
20377
20377
  type: "button",
20378
- className: clsx("copy-button", styles$1K.copyButton, className2),
20378
+ className: clsx("copy-button", styles$1J.copyButton, className2),
20379
20379
  onClick: handleClick,
20380
20380
  "aria-label": ariaLabel,
20381
20381
  disabled: isCopied,
@@ -20453,7 +20453,7 @@ const moreToggleButton = "_moreToggleButton_1cl3h_36";
20453
20453
  const separator$6 = "_separator_1cl3h_42";
20454
20454
  const inlineRight = "_inlineRight_1cl3h_48";
20455
20455
  const blockLeft = "_blockLeft_1cl3h_54";
20456
- const styles$1J = {
20456
+ const styles$1I = {
20457
20457
  expandablePanel,
20458
20458
  expandableBordered,
20459
20459
  expandableCollapsed,
@@ -20506,10 +20506,10 @@ const ExpandablePanel = memo(
20506
20506
  ref: contentRef,
20507
20507
  "data-expandable-panel": "true",
20508
20508
  className: clsx(
20509
- styles$1J.expandablePanel,
20510
- collapsed2 ? styles$1J.expandableCollapsed : void 0,
20511
- border ? styles$1J.expandableBordered : void 0,
20512
- showToggle ? styles$1J.padBottom : void 0,
20509
+ styles$1I.expandablePanel,
20510
+ collapsed2 ? styles$1I.expandableCollapsed : void 0,
20511
+ border ? styles$1I.expandableBordered : void 0,
20512
+ showToggle ? styles$1I.padBottom : void 0,
20513
20513
  className2
20514
20514
  ),
20515
20515
  children: [
@@ -20535,7 +20535,7 @@ const ExpandablePanel = memo(
20535
20535
  position: "block-left"
20536
20536
  }
20537
20537
  ) }),
20538
- showToggle && layout == "inline-right" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1J.separator) })
20538
+ showToggle && layout == "inline-right" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1I.separator) })
20539
20539
  ] });
20540
20540
  }
20541
20541
  );
@@ -20554,15 +20554,15 @@ const MoreToggle = ({
20554
20554
  "div",
20555
20555
  {
20556
20556
  className: clsx(
20557
- styles$1J.moreToggle,
20558
- border ? styles$1J.bordered : void 0,
20559
- position === "inline-right" ? styles$1J.inlineRight : styles$1J.blockLeft
20557
+ styles$1I.moreToggle,
20558
+ border ? styles$1I.bordered : void 0,
20559
+ position === "inline-right" ? styles$1I.inlineRight : styles$1I.blockLeft
20560
20560
  ),
20561
20561
  style: style2,
20562
20562
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
20563
20563
  "button",
20564
20564
  {
20565
- className: clsx("btn", styles$1J.moreToggleButton, "text-size-smallest"),
20565
+ className: clsx("btn", styles$1I.moreToggleButton, "text-size-smallest"),
20566
20566
  onClick: handleClick,
20567
20567
  children: [
20568
20568
  text2,
@@ -24096,7 +24096,7 @@ const keyPairBordered = "_keyPairBordered_qjlxf_9";
24096
24096
  const key = "_key_qjlxf_1";
24097
24097
  const pre$1 = "_pre_qjlxf_19";
24098
24098
  const treeIcon = "_treeIcon_qjlxf_23";
24099
- const styles$1I = {
24099
+ const styles$1H = {
24100
24100
  keyPairContainer,
24101
24101
  keyPairBordered,
24102
24102
  key,
@@ -24282,8 +24282,8 @@ const RecordTree = ({
24282
24282
  "div",
24283
24283
  {
24284
24284
  className: clsx(
24285
- styles$1I.keyPairContainer,
24286
- index < items.length - 1 && useBorders ? styles$1I.keyPairBordered : void 0,
24285
+ styles$1H.keyPairContainer,
24286
+ index < items.length - 1 && useBorders ? styles$1H.keyPairBordered : void 0,
24287
24287
  "text-size-small"
24288
24288
  ),
24289
24289
  style: {
@@ -24296,7 +24296,7 @@ const RecordTree = ({
24296
24296
  "data-index": index,
24297
24297
  className: clsx(
24298
24298
  kRecordTreeKey,
24299
- styles$1I.key,
24299
+ styles$1H.key,
24300
24300
  "font-monospace",
24301
24301
  "text-style-secondary"
24302
24302
  ),
@@ -24306,16 +24306,16 @@ const RecordTree = ({
24306
24306
  setCollapsed(item2.id, !collapsedIds?.[item2.id]);
24307
24307
  },
24308
24308
  children: [
24309
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: item2.hasChildren ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1I.pre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
24309
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: item2.hasChildren ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1H.pre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
24310
24310
  "i",
24311
24311
  {
24312
24312
  className: clsx(
24313
24313
  collapsedIds && collapsedIds[item2.id] ? ApplicationIcons.tree.closed : ApplicationIcons.tree.open,
24314
- styles$1I.treeIcon
24314
+ styles$1H.treeIcon
24315
24315
  )
24316
24316
  }
24317
24317
  ) }) : void 0 }),
24318
- /* @__PURE__ */ jsxRuntimeExports.jsxs("pre", { className: clsx(styles$1I.pre), children: [
24318
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("pre", { className: clsx(styles$1H.pre), children: [
24319
24319
  item2.key,
24320
24320
  ":"
24321
24321
  ] })
@@ -24800,7 +24800,7 @@ const indented = "_indented_1k527_37";
24800
24800
  const copyLink$1 = "_copyLink_1k527_41";
24801
24801
  const metadataLabel = "_metadataLabel_1k527_52";
24802
24802
  const hover$1 = "_hover_1k527_56";
24803
- const styles$1H = {
24803
+ const styles$1G = {
24804
24804
  message: message$3,
24805
24805
  systemRole,
24806
24806
  timestamp,
@@ -24814,14 +24814,14 @@ const styles$1H = {
24814
24814
  };
24815
24815
  const panel$8 = "_panel_1pa96_1";
24816
24816
  const code$5 = "_code_1pa96_7";
24817
- const styles$1G = {
24817
+ const styles$1F = {
24818
24818
  panel: panel$8,
24819
24819
  code: code$5
24820
24820
  };
24821
24821
  const CodePanel = ({ code: code2, language: language2 = "json" }) => {
24822
24822
  const codeContainerRef = useRef(null);
24823
24823
  usePrismHighlight(codeContainerRef, code2.length);
24824
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: codeContainerRef, className: clsx(styles$1G.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1G.code), children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx(`language-${language2}`), children: code2 }) }) });
24824
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: codeContainerRef, className: clsx(styles$1F.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1F.code), children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx(`language-${language2}`), children: code2 }) }) });
24825
24825
  };
24826
24826
  class JsonWorkerPool {
24827
24827
  encoder = new TextEncoder();
@@ -29634,7 +29634,7 @@ const errors = {
29634
29634
  const baseMinusTMin = base$1 - tMin;
29635
29635
  const floor = Math.floor;
29636
29636
  const stringFromCharCode = String.fromCharCode;
29637
- function error$4(type) {
29637
+ function error$5(type) {
29638
29638
  throw new RangeError(errors[type]);
29639
29639
  }
29640
29640
  function map$1(array, callback) {
@@ -29714,7 +29714,7 @@ const decode$1 = function(input2) {
29714
29714
  }
29715
29715
  for (let j = 0; j < basic; ++j) {
29716
29716
  if (input2.charCodeAt(j) >= 128) {
29717
- error$4("not-basic");
29717
+ error$5("not-basic");
29718
29718
  }
29719
29719
  output2.push(input2.charCodeAt(j));
29720
29720
  }
@@ -29722,14 +29722,14 @@ const decode$1 = function(input2) {
29722
29722
  const oldi = i;
29723
29723
  for (let w = 1, k2 = base$1; ; k2 += base$1) {
29724
29724
  if (index >= inputLength) {
29725
- error$4("invalid-input");
29725
+ error$5("invalid-input");
29726
29726
  }
29727
29727
  const digit = basicToDigit(input2.charCodeAt(index++));
29728
29728
  if (digit >= base$1) {
29729
- error$4("invalid-input");
29729
+ error$5("invalid-input");
29730
29730
  }
29731
29731
  if (digit > floor((maxInt - i) / w)) {
29732
- error$4("overflow");
29732
+ error$5("overflow");
29733
29733
  }
29734
29734
  i += digit * w;
29735
29735
  const t2 = k2 <= bias ? tMin : k2 >= bias + tMax ? tMax : k2 - bias;
@@ -29738,14 +29738,14 @@ const decode$1 = function(input2) {
29738
29738
  }
29739
29739
  const baseMinusT = base$1 - t2;
29740
29740
  if (w > floor(maxInt / baseMinusT)) {
29741
- error$4("overflow");
29741
+ error$5("overflow");
29742
29742
  }
29743
29743
  w *= baseMinusT;
29744
29744
  }
29745
29745
  const out = output2.length + 1;
29746
29746
  bias = adapt(i - oldi, out, oldi == 0);
29747
29747
  if (floor(i / out) > maxInt - n) {
29748
- error$4("overflow");
29748
+ error$5("overflow");
29749
29749
  }
29750
29750
  n += floor(i / out);
29751
29751
  i %= out;
@@ -29779,13 +29779,13 @@ const encode$1 = function(input2) {
29779
29779
  }
29780
29780
  const handledCPCountPlusOne = handledCPCount + 1;
29781
29781
  if (m - n > floor((maxInt - delta2) / handledCPCountPlusOne)) {
29782
- error$4("overflow");
29782
+ error$5("overflow");
29783
29783
  }
29784
29784
  delta2 += (m - n) * handledCPCountPlusOne;
29785
29785
  n = m;
29786
29786
  for (const currentValue of input2) {
29787
29787
  if (currentValue < n && ++delta2 > maxInt) {
29788
- error$4("overflow");
29788
+ error$5("overflow");
29789
29789
  }
29790
29790
  if (currentValue === n) {
29791
29791
  let q = delta2;
@@ -95634,7 +95634,7 @@ function unescapeCodeHtmlEntities(str2) {
95634
95634
  );
95635
95635
  }
95636
95636
  const content$3 = "_content_13ihw_1";
95637
- const styles$1F = {
95637
+ const styles$1E = {
95638
95638
  content: content$3
95639
95639
  };
95640
95640
  const Preformatted = forwardRef(
@@ -95643,7 +95643,7 @@ const Preformatted = forwardRef(
95643
95643
  "pre",
95644
95644
  {
95645
95645
  ref,
95646
- className: clsx(styles$1F.content, "text-size-smaller", className2),
95646
+ className: clsx(styles$1E.content, "text-size-smaller", className2),
95647
95647
  style: style2,
95648
95648
  children: text2
95649
95649
  }
@@ -95678,22 +95678,22 @@ const RenderedText = forwardRef(({ markdown, style: style2, className: className
95678
95678
  });
95679
95679
  const webSearch = "_webSearch_1376z_1";
95680
95680
  const query$1 = "_query_1376z_8";
95681
- const styles$1E = {
95681
+ const styles$1D = {
95682
95682
  webSearch,
95683
95683
  query: query$1
95684
95684
  };
95685
95685
  const WebSearch = ({ query: query2 }) => {
95686
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1E.webSearch, "text-size-smaller"), children: [
95686
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1D.webSearch, "text-size-smaller"), children: [
95687
95687
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-style-label", "text-style-secondary"), children: "Web Search:" }),
95688
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1E.query, "text-size-smallest"), children: query2 })
95688
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1D.query, "text-size-smallest"), children: query2 })
95689
95689
  ] });
95690
95690
  };
95691
95691
  const contentData = "_contentData_1lrx1_1";
95692
- const styles$1D = {
95692
+ const styles$1C = {
95693
95693
  contentData
95694
95694
  };
95695
95695
  const result$1 = "_result_1mixg_12";
95696
- const styles$1C = {
95696
+ const styles$1B = {
95697
95697
  result: result$1
95698
95698
  };
95699
95699
  const WebSearchResults = ({
@@ -95704,7 +95704,7 @@ const WebSearchResults = ({
95704
95704
  "div",
95705
95705
  {
95706
95706
  className: clsx(
95707
- styles$1C.label,
95707
+ styles$1B.label,
95708
95708
  "text-style-label",
95709
95709
  "text-style-secondary",
95710
95710
  "text-size-smaller"
@@ -95712,10 +95712,10 @@ const WebSearchResults = ({
95712
95712
  children: "Results"
95713
95713
  }
95714
95714
  ),
95715
- /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx(styles$1C.results, "text-size-smaller"), children: results.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
95715
+ /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx(styles$1B.results, "text-size-smaller"), children: results.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
95716
95716
  "li",
95717
95717
  {
95718
- className: clsx(styles$1C.result, "text-style-secondary"),
95718
+ className: clsx(styles$1B.result, "text-style-secondary"),
95719
95719
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
95720
95720
  "a",
95721
95721
  {
@@ -95735,14 +95735,14 @@ const WebSearchResults = ({
95735
95735
  const title$3 = "_title_1gjvf_1";
95736
95736
  const content$2 = "_content_1gjvf_11";
95737
95737
  const grid$a = "_grid_1gjvf_16";
95738
- const styles$1B = {
95738
+ const styles$1A = {
95739
95739
  title: title$3,
95740
95740
  content: content$2,
95741
95741
  grid: grid$a
95742
95742
  };
95743
95743
  const grid$9 = "_grid_14885_1";
95744
95744
  const cell$2 = "_cell_14885_8";
95745
- const styles$1A = {
95745
+ const styles$1z = {
95746
95746
  grid: grid$9,
95747
95747
  cell: cell$2
95748
95748
  };
@@ -95773,7 +95773,7 @@ const MetaDataGrid = ({
95773
95773
  {
95774
95774
  className: clsx(
95775
95775
  `${baseId}-key`,
95776
- styles$1A.cell,
95776
+ styles$1z.cell,
95777
95777
  "text-style-label",
95778
95778
  "text-style-secondary",
95779
95779
  fontStyle
@@ -95781,7 +95781,7 @@ const MetaDataGrid = ({
95781
95781
  children: entry?.name
95782
95782
  }
95783
95783
  ),
95784
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1A.value, `${baseId}-value`, fontStyle), children: entry && /* @__PURE__ */ jsxRuntimeExports.jsx(
95784
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1z.value, `${baseId}-value`, fontStyle), children: entry && /* @__PURE__ */ jsxRuntimeExports.jsx(
95785
95785
  RenderedContent,
95786
95786
  {
95787
95787
  id: id2,
@@ -95791,7 +95791,7 @@ const MetaDataGrid = ({
95791
95791
  MetaDataGrid,
95792
95792
  {
95793
95793
  id: id2,
95794
- className: clsx(styles$1A.nested),
95794
+ className: clsx(styles$1z.nested),
95795
95795
  entries: obj,
95796
95796
  size,
95797
95797
  plain
@@ -95802,7 +95802,7 @@ const MetaDataGrid = ({
95802
95802
  ) })
95803
95803
  ] }, `${baseId}-record-${index}`);
95804
95804
  });
95805
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id, className: clsx(className2, styles$1A.grid), style: style2, children: entryEls });
95805
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id, className: clsx(className2, styles$1z.grid), style: style2, children: entryEls });
95806
95806
  };
95807
95807
  const entryRecords = (entries) => {
95808
95808
  if (!entries) {
@@ -95827,19 +95827,19 @@ const CompactionData = ({ id, data }) => {
95827
95827
  MetaDataGrid,
95828
95828
  {
95829
95829
  id: `${id}-compacted-content-metadata`,
95830
- className: styles$1B.grid,
95830
+ className: styles$1A.grid,
95831
95831
  entries: compactionMetadata
95832
95832
  }
95833
95833
  );
95834
95834
  }
95835
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1B.content, "text-size-small"), children: [
95835
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1A.content, "text-size-small"), children: [
95836
95836
  /* @__PURE__ */ jsxRuntimeExports.jsx(
95837
95837
  "div",
95838
95838
  {
95839
95839
  className: clsx(
95840
95840
  "text-style-label",
95841
95841
  "text-style-secondary",
95842
- styles$1B.title
95842
+ styles$1A.title
95843
95843
  ),
95844
95844
  children: "Compacted Content"
95845
95845
  }
@@ -95854,17 +95854,17 @@ const ContentDataView = ({ id, contentData: contentData2 }) => {
95854
95854
  );
95855
95855
  if (!renderer) {
95856
95856
  const { encrypted_content, ...record } = renderableData;
95857
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1D.contentData), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
95857
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1C.contentData), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
95858
95858
  RecordTree,
95859
95859
  {
95860
95860
  id: `${id}-tree`,
95861
95861
  record,
95862
- className: clsx(styles$1D.data),
95862
+ className: clsx(styles$1C.data),
95863
95863
  defaultExpandLevel: 0
95864
95864
  }
95865
95865
  ) });
95866
95866
  }
95867
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1D.contentData), children: renderer.render(id, renderableData) });
95867
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1C.contentData), children: renderer.render(id, renderableData) });
95868
95868
  };
95869
95869
  const compactionDataRenderer = {
95870
95870
  name: "Compaction",
@@ -95915,7 +95915,7 @@ const serverToolRenderer = {
95915
95915
  {
95916
95916
  id: `${id}-server-tool`,
95917
95917
  record: data,
95918
- className: clsx(styles$1D.data)
95918
+ className: clsx(styles$1C.data)
95919
95919
  }
95920
95920
  )
95921
95921
  ] });
@@ -99105,7 +99105,7 @@ const documentFrame = "_documentFrame_1576h_1";
99105
99105
  const documentFrameTitle = "_documentFrameTitle_1576h_9";
99106
99106
  const downloadLink = "_downloadLink_1576h_16";
99107
99107
  const imageDocument = "_imageDocument_1576h_21";
99108
- const styles$1z = {
99108
+ const styles$1y = {
99109
99109
  documentFrame,
99110
99110
  documentFrameTitle,
99111
99111
  downloadLink,
@@ -99122,7 +99122,7 @@ const ContentDocumentView = ({
99122
99122
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ContentDocumentFrame, { document: document2, downloadable: canDownloadFiles, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
99123
99123
  "img",
99124
99124
  {
99125
- className: clsx(styles$1z.imageDocument),
99125
+ className: clsx(styles$1y.imageDocument),
99126
99126
  src: document2.document,
99127
99127
  alt: document2.filename,
99128
99128
  id
@@ -99147,17 +99147,17 @@ const ContentDocumentFrame = ({
99147
99147
  "div",
99148
99148
  {
99149
99149
  className: clsx(
99150
- styles$1z.documentFrame,
99150
+ styles$1y.documentFrame,
99151
99151
  "text-size-small",
99152
99152
  "text-style-secondary"
99153
99153
  ),
99154
99154
  children: [
99155
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1z.documentFrameTitle), children: [
99155
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1y.documentFrameTitle), children: [
99156
99156
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(iconForMimeType(document2.mime_type)) }),
99157
99157
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: downloadable ? /* @__PURE__ */ jsxRuntimeExports.jsx(
99158
99158
  "a",
99159
99159
  {
99160
- className: clsx(styles$1z.downloadLink),
99160
+ className: clsx(styles$1y.downloadLink),
99161
99161
  onClick: () => {
99162
99162
  api.download_file(document2.filename, document2.document);
99163
99163
  },
@@ -99171,7 +99171,7 @@ const ContentDocumentFrame = ({
99171
99171
  );
99172
99172
  };
99173
99173
  const jsonMessage = "_jsonMessage_oxf8d_1";
99174
- const styles$1y = {
99174
+ const styles$1x = {
99175
99175
  jsonMessage
99176
99176
  };
99177
99177
  const JsonMessageContent = ({
@@ -99184,7 +99184,7 @@ const JsonMessageContent = ({
99184
99184
  {
99185
99185
  id,
99186
99186
  record: json,
99187
- className: clsx(styles$1y.jsonMessage, className2),
99187
+ className: clsx(styles$1x.jsonMessage, className2),
99188
99188
  useBorders: false
99189
99189
  }
99190
99190
  );
@@ -99199,7 +99199,7 @@ const decodeHtmlEntities = (text2) => {
99199
99199
  };
99200
99200
  const citations = "_citations_1ggvf_1";
99201
99201
  const citationLink = "_citationLink_1ggvf_9";
99202
- const styles$1x = {
99202
+ const styles$1w = {
99203
99203
  citations,
99204
99204
  citationLink
99205
99205
  };
@@ -99207,7 +99207,7 @@ const MessageCitations = ({ citations: citations2 }) => {
99207
99207
  if (citations2.length === 0) {
99208
99208
  return void 0;
99209
99209
  }
99210
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1x.citations, "text-size-smallest"), children: citations2.map((citation, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
99210
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1w.citations, "text-size-smallest"), children: citations2.map((citation, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
99211
99211
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: index + 1 }),
99212
99212
  /* @__PURE__ */ jsxRuntimeExports.jsx(MessageCitation, { citation })
99213
99213
  ] }, index)) });
@@ -99227,7 +99227,7 @@ const UrlCitation = ({
99227
99227
  href: citation.url,
99228
99228
  target: "_blank",
99229
99229
  rel: "noopener noreferrer",
99230
- className: clsx(styles$1x.citationLink),
99230
+ className: clsx(styles$1w.citationLink),
99231
99231
  title: citation.cited_text ? `${citation.cited_text}
99232
99232
  ${citation.url}` : citation.url,
99233
99233
  children: children2
@@ -99236,7 +99236,7 @@ ${citation.url}` : citation.url,
99236
99236
  const OtherCitation = ({ children: children2 }) => /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: children2 });
99237
99237
  const contentImage = "_contentImage_srbm0_1";
99238
99238
  const reasoning = "_reasoning_srbm0_6";
99239
- const styles$1w = {
99239
+ const styles$1v = {
99240
99240
  contentImage,
99241
99241
  reasoning
99242
99242
  };
@@ -99245,15 +99245,15 @@ const title$2 = "_title_1792k_9";
99245
99245
  const titleText = "_titleText_1792k_18";
99246
99246
  const args = "_args_1792k_22";
99247
99247
  const argLabel = "_argLabel_1792k_31";
99248
- const error$3 = "_error_1792k_35";
99248
+ const error$4 = "_error_1792k_35";
99249
99249
  const toolPanel = "_toolPanel_1792k_40";
99250
- const styles$1v = {
99250
+ const styles$1u = {
99251
99251
  mcpToolUse,
99252
99252
  title: title$2,
99253
99253
  titleText,
99254
99254
  args,
99255
99255
  argLabel,
99256
- error: error$3,
99256
+ error: error$4,
99257
99257
  toolPanel
99258
99258
  };
99259
99259
  const ServerToolCall = ({
@@ -99268,23 +99268,23 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
99268
99268
  const titleStr = content2.context ? `${content2.context} — ${content2.name}()` : `${content2.name}()`;
99269
99269
  const listToolsResult = maybeListTools(content2);
99270
99270
  const webSearchResult = maybeWebSearchResult(content2);
99271
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { id, className: clsx(styles$1v.mcpToolUse, className2), children: [
99271
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { id, className: clsx(styles$1u.mcpToolUse, className2), children: [
99272
99272
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
99273
99273
  "div",
99274
99274
  {
99275
99275
  className: clsx(
99276
- styles$1v.title,
99276
+ styles$1u.title,
99277
99277
  "text-size-small",
99278
99278
  "text-style-secondary"
99279
99279
  ),
99280
99280
  children: [
99281
99281
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.role.tool }),
99282
- /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1v.titleText, children: titleStr }),
99283
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1v.type, children: content2.type })
99282
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1u.titleText, children: titleStr }),
99283
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1u.type, children: content2.type })
99284
99284
  ]
99285
99285
  }
99286
99286
  ),
99287
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1v.args, children: [
99287
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1u.args, children: [
99288
99288
  Object.keys(args2).map((key2, index) => {
99289
99289
  const value2 = args2[key2];
99290
99290
  let valueRecord = void 0;
@@ -99303,7 +99303,7 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
99303
99303
  }),
99304
99304
  webSearchResult ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
99305
99305
  /* @__PURE__ */ jsxRuntimeExports.jsx(LabelDiv, { label: "results" }),
99306
- /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDiv, { children: webSearchResult.result.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1v.result, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
99306
+ /* @__PURE__ */ jsxRuntimeExports.jsx(ValueDiv, { children: webSearchResult.result.map((result2, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1u.result, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
99307
99307
  "a",
99308
99308
  {
99309
99309
  href: result2.url,
@@ -99318,7 +99318,7 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
99318
99318
  {
99319
99319
  id: `${id}-output`,
99320
99320
  collapse: true,
99321
- className: clsx(styles$1v.toolPanel),
99321
+ className: clsx(styles$1u.toolPanel),
99322
99322
  children: [
99323
99323
  /* @__PURE__ */ jsxRuntimeExports.jsx(LabelDiv, { label: tool2.name }),
99324
99324
  /* @__PURE__ */ jsxRuntimeExports.jsxs(ValueDiv, { children: [
@@ -99336,7 +99336,7 @@ const McpToolUse = ({ id, content: content2, className: className2 }) => {
99336
99336
  }
99337
99337
  ) })) : void 0
99338
99338
  ] }),
99339
- content2.error ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1v.error, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
99339
+ content2.error ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1u.error, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
99340
99340
  "Error: ",
99341
99341
  content2.error
99342
99342
  ] }) }) : !listToolsResult && !webSearchResult ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(ExpandablePanel, { id: `${id}-output`, collapse: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -99393,7 +99393,7 @@ const LabelDiv = ({ label: label2 }) => {
99393
99393
  "div",
99394
99394
  {
99395
99395
  className: clsx(
99396
- styles$1v.argLabel,
99396
+ styles$1u.argLabel,
99397
99397
  "text-style-secondary",
99398
99398
  "text-size-smaller"
99399
99399
  ),
@@ -99415,7 +99415,7 @@ const toolImage = "_toolImage_1wvgr_1";
99415
99415
  const output = "_output_1wvgr_6";
99416
99416
  const textOutput = "_textOutput_1wvgr_10";
99417
99417
  const textCode = "_textCode_1wvgr_18";
99418
- const styles$1u = {
99418
+ const styles$1t = {
99419
99419
  toolImage,
99420
99420
  output,
99421
99421
  textOutput,
@@ -99437,7 +99437,7 @@ const ToolOutput = ({ output: output2, className: className2 }) => {
99437
99437
  /* @__PURE__ */ jsxRuntimeExports.jsx(
99438
99438
  "img",
99439
99439
  {
99440
- className: clsx(styles$1u.toolImage),
99440
+ className: clsx(styles$1t.toolImage),
99441
99441
  src: out.image
99442
99442
  },
99443
99443
  key2
@@ -99453,7 +99453,7 @@ const ToolOutput = ({ output: output2, className: className2 }) => {
99453
99453
  /* @__PURE__ */ jsxRuntimeExports.jsx(ToolTextOutput, { text: String(output2) }, "tool-output-single")
99454
99454
  );
99455
99455
  }
99456
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1u.output, className2), children: outputs });
99456
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1t.output, className2), children: outputs });
99457
99457
  };
99458
99458
  const ToolTextOutput = ({ text: text2 }) => {
99459
99459
  if (isJson(text2)) {
@@ -99464,13 +99464,13 @@ const ToolTextOutput = ({ text: text2 }) => {
99464
99464
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
99465
99465
  ANSIDisplay,
99466
99466
  {
99467
- className: styles$1u.ansiOutput,
99467
+ className: styles$1t.ansiOutput,
99468
99468
  output: text2,
99469
99469
  style: { fontSize: "clamp(0.4rem, 1.15vw, 0.9rem)" }
99470
99470
  }
99471
99471
  );
99472
99472
  }
99473
- return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1u.textOutput, "tool-output"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("sourceCode", styles$1u.textCode), children: text2.trim() }) });
99473
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1t.textOutput, "tool-output"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("sourceCode", styles$1t.textCode), children: text2.trim() }) });
99474
99474
  };
99475
99475
  const isMessageContent = (content2) => {
99476
99476
  return typeof content2 === "object" && content2 !== null && "type" in content2 && typeof content2.type === "string";
@@ -99579,7 +99579,7 @@ const messageRenderers = {
99579
99579
  }
99580
99580
  const renderReasoningCode = isOpenRouterReasoning(text2);
99581
99581
  const codeFormatted = renderReasoningCode ? JSON.stringify(jsonParse(text2), null, 2) : text2;
99582
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1w.reasoning, "text-size-small"), children: [
99582
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1v.reasoning, "text-size-small"), children: [
99583
99583
  /* @__PURE__ */ jsxRuntimeExports.jsx(
99584
99584
  "div",
99585
99585
  {
@@ -99602,7 +99602,7 @@ const messageRenderers = {
99602
99602
  render: (key2, content2, _isLast, _context) => {
99603
99603
  const c2 = content2;
99604
99604
  if (c2.image.startsWith("data:")) {
99605
- return /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: c2.image, className: styles$1w.contentImage }, key2);
99605
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: c2.image, className: styles$1v.contentImage }, key2);
99606
99606
  } else {
99607
99607
  return /* @__PURE__ */ jsxRuntimeExports.jsx("code", { children: c2.image }, key2);
99608
99608
  }
@@ -99841,20 +99841,20 @@ const extractInput = (args2, inputDescriptor) => {
99841
99841
  }
99842
99842
  };
99843
99843
  const toolCallView = "_toolCallView_l6wae_1";
99844
- const styles$1t = {
99844
+ const styles$1s = {
99845
99845
  toolCallView
99846
99846
  };
99847
99847
  const outputPre = "_outputPre_1jznn_1";
99848
99848
  const toolView = "_toolView_1jznn_7";
99849
99849
  const outputCode = "_outputCode_1jznn_15";
99850
- const styles$1s = {
99850
+ const styles$1r = {
99851
99851
  outputPre,
99852
99852
  toolView,
99853
99853
  outputCode
99854
99854
  };
99855
99855
  const todoList = "_todoList_1t8rx_1";
99856
99856
  const inProgress = "_inProgress_1t8rx_9";
99857
- const styles$1r = {
99857
+ const styles$1q = {
99858
99858
  todoList,
99859
99859
  inProgress
99860
99860
  };
@@ -99874,7 +99874,7 @@ const toToolTodos = (obj) => {
99874
99874
  };
99875
99875
  const TodoWriteInput = ({ contents: contents2, parentRef }) => {
99876
99876
  const todoItems = toToolTodos(contents2);
99877
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: parentRef, className: clsx(styles$1r.todoList), children: todoItems.map((todo) => {
99877
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: parentRef, className: clsx(styles$1q.todoList), children: todoItems.map((todo) => {
99878
99878
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
99879
99879
  /* @__PURE__ */ jsxRuntimeExports.jsx(
99880
99880
  "i",
@@ -99889,9 +99889,9 @@ const TodoWriteInput = ({ contents: contents2, parentRef }) => {
99889
99889
  "span",
99890
99890
  {
99891
99891
  className: clsx(
99892
- styles$1r.todoItem,
99892
+ styles$1q.todoItem,
99893
99893
  "text-size-smallest",
99894
- todo.status === "in_progress" ? styles$1r.inProgress : void 0
99894
+ todo.status === "in_progress" ? styles$1q.inProgress : void 0
99895
99895
  ),
99896
99896
  children: todo.content
99897
99897
  }
@@ -99914,7 +99914,7 @@ const ToolInput = (props) => {
99914
99914
  {
99915
99915
  markdown: toolCallView2.content,
99916
99916
  ref: sourceCodeRef,
99917
- className: clsx("tool-output", styles$1s.toolView, className2)
99917
+ className: clsx("tool-output", styles$1r.toolView, className2)
99918
99918
  }
99919
99919
  );
99920
99920
  } else {
@@ -99944,8 +99944,8 @@ const RenderTool = ({
99944
99944
  {
99945
99945
  className: clsx(
99946
99946
  "tool-output",
99947
- styles$1s.outputPre,
99948
- styles$1s.bottomMargin,
99947
+ styles$1r.outputPre,
99948
+ styles$1r.bottomMargin,
99949
99949
  className2
99950
99950
  ),
99951
99951
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -99955,7 +99955,7 @@ const RenderTool = ({
99955
99955
  "source-code",
99956
99956
  "sourceCode",
99957
99957
  contentType ? `language-${contentType}` : void 0,
99958
- styles$1s.outputCode
99958
+ styles$1r.outputCode
99959
99959
  ),
99960
99960
  children: formattedContent
99961
99961
  }
@@ -99972,16 +99972,16 @@ const isValidView = (view) => {
99972
99972
  const image = "_image_1vcac_1";
99973
99973
  const toolTitle = "_toolTitle_1vcac_6";
99974
99974
  const description = "_description_1vcac_10";
99975
- const styles$1q = {
99975
+ const styles$1p = {
99976
99976
  image,
99977
99977
  toolTitle,
99978
99978
  description
99979
99979
  };
99980
99980
  const ToolTitle = ({ title: title2, description: description2 }) => {
99981
99981
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
99982
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi", "bi-tools", styles$1q.image) }),
99983
- /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-small", styles$1q.toolTitle), children: title2 }),
99984
- description2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: clsx(styles$1q.description, "text-size-smallest"), children: [
99982
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi", "bi-tools", styles$1p.image) }),
99983
+ /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-small", styles$1p.toolTitle), children: title2 }),
99984
+ description2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: clsx(styles$1p.description, "text-size-smallest"), children: [
99985
99985
  "- ",
99986
99986
  description2
99987
99987
  ] }) : void 0
@@ -100030,7 +100030,7 @@ const ToolCallView = ({
100030
100030
  });
100031
100031
  const contents2 = mode !== "compact" ? input2 : input2 || functionCall;
100032
100032
  const context = defaultContext("tool");
100033
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1t.toolCallView), children: [
100033
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1s.toolCallView), children: [
100034
100034
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
100035
100035
  mode !== "compact" && (!view || view.title) ? /* @__PURE__ */ jsxRuntimeExports.jsx(
100036
100036
  ToolTitle,
@@ -100083,7 +100083,7 @@ const normalizeContent$1 = (output2) => {
100083
100083
  };
100084
100084
  const content$1 = "_content_1b2jp_1";
100085
100085
  const codeCompact = "_codeCompact_1b2jp_5";
100086
- const styles$1p = {
100086
+ const styles$1o = {
100087
100087
  content: content$1,
100088
100088
  codeCompact
100089
100089
  };
@@ -100114,7 +100114,7 @@ const MessageContents = ({
100114
100114
  }
100115
100115
  const resolvedToolOutput = resolveToolMessage(toolMessage);
100116
100116
  if (toolCallStyle === "compact") {
100117
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("code", { className: clsx(styles$1p.codeCompact), children: [
100117
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("code", { className: clsx(styles$1o.codeCompact), children: [
100118
100118
  "tool: ",
100119
100119
  functionCall
100120
100120
  ] }) }, `tool-call-${idx}`);
@@ -100138,7 +100138,7 @@ const MessageContents = ({
100138
100138
  }
100139
100139
  });
100140
100140
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
100141
- message2.content && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1p.content, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageContent, { contents: message2.content, context }) }),
100141
+ message2.content && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1o.content, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MessageContent, { contents: message2.content, context }) }),
100142
100142
  toolCalls
100143
100143
  ] });
100144
100144
  } else {
@@ -100213,10 +100213,10 @@ const ChatMessage = memo(
100213
100213
  className: clsx(
100214
100214
  message2.role,
100215
100215
  "text-size-base",
100216
- styles$1H.message,
100217
- message2.role === "system" ? styles$1H.systemRole : void 0,
100218
- message2.role === "user" ? styles$1H.userRole : void 0,
100219
- mouseOver ? styles$1H.hover : void 0
100216
+ styles$1G.message,
100217
+ message2.role === "system" ? styles$1G.systemRole : void 0,
100218
+ message2.role === "user" ? styles$1G.userRole : void 0,
100219
+ mouseOver ? styles$1G.hover : void 0
100220
100220
  ),
100221
100221
  onMouseEnter: () => setMouseOver(true),
100222
100222
  onMouseLeave: () => setMouseOver(false),
@@ -100225,8 +100225,8 @@ const ChatMessage = memo(
100225
100225
  "div",
100226
100226
  {
100227
100227
  className: clsx(
100228
- styles$1H.messageGrid,
100229
- message2.role === "tool" ? styles$1H.toolMessageGrid : void 0,
100228
+ styles$1G.messageGrid,
100229
+ message2.role === "tool" ? styles$1G.toolMessageGrid : void 0,
100230
100230
  "text-style-label"
100231
100231
  ),
100232
100232
  children: [
@@ -100238,11 +100238,11 @@ const ChatMessage = memo(
100238
100238
  {
100239
100239
  icon: ApplicationIcons.link,
100240
100240
  value: toFullUrl(messageUrl),
100241
- className: clsx(styles$1H.copyLink)
100241
+ className: clsx(styles$1G.copyLink)
100242
100242
  }
100243
100243
  ) : ""
100244
100244
  ] }),
100245
- message2.timestamp && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1H.timestamp, title: message2.timestamp, children: formatDateTime(new Date(message2.timestamp)) })
100245
+ message2.timestamp && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1G.timestamp, title: message2.timestamp, children: formatDateTime(new Date(message2.timestamp)) })
100246
100246
  ]
100247
100247
  }
100248
100248
  ),
@@ -100250,8 +100250,8 @@ const ChatMessage = memo(
100250
100250
  "div",
100251
100251
  {
100252
100252
  className: clsx(
100253
- styles$1H.messageContents,
100254
- indented2 ? styles$1H.indented : void 0
100253
+ styles$1G.messageContents,
100254
+ indented2 ? styles$1G.indented : void 0
100255
100255
  ),
100256
100256
  children: [
100257
100257
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -100276,7 +100276,7 @@ const ChatMessage = memo(
100276
100276
  LabeledValue,
100277
100277
  {
100278
100278
  label: "Metadata",
100279
- className: clsx(styles$1H.metadataLabel, "text-size-smaller"),
100279
+ className: clsx(styles$1G.metadataLabel, "text-size-smaller"),
100280
100280
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
100281
100281
  RecordTree,
100282
100282
  {
@@ -100299,7 +100299,7 @@ const grid$8 = "_grid_3x3ql_1";
100299
100299
  const number$1 = "_number_3x3ql_10";
100300
100300
  const user = "_user_3x3ql_14";
100301
100301
  const container$l = "_container_3x3ql_19";
100302
- const styles$1o = {
100302
+ const styles$1n = {
100303
100303
  grid: grid$8,
100304
100304
  number: number$1,
100305
100305
  user,
@@ -100319,9 +100319,9 @@ const ChatMessageRow = ({
100319
100319
  "div",
100320
100320
  {
100321
100321
  className: clsx(
100322
- styles$1o.grid,
100323
- styles$1o.container,
100324
- highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1o.user : void 0
100322
+ styles$1n.grid,
100323
+ styles$1n.container,
100324
+ highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1n.user : void 0
100325
100325
  ),
100326
100326
  children: [
100327
100327
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -100330,7 +100330,7 @@ const ChatMessageRow = ({
100330
100330
  className: clsx(
100331
100331
  "text-size-smaller",
100332
100332
  "text-style-secondary",
100333
- styles$1o.number
100333
+ styles$1n.number
100334
100334
  ),
100335
100335
  children: number2
100336
100336
  }
@@ -100354,9 +100354,9 @@ const ChatMessageRow = ({
100354
100354
  "div",
100355
100355
  {
100356
100356
  className: clsx(
100357
- styles$1o.container,
100358
- styles$1o.simple,
100359
- highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1o.user : void 0
100357
+ styles$1n.container,
100358
+ styles$1n.simple,
100359
+ highlightUserMessage && resolvedMessage.message.role === "user" ? styles$1n.user : void 0
100360
100360
  ),
100361
100361
  children: [
100362
100362
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -100524,7 +100524,7 @@ const query = "_query_seqs2_1";
100524
100524
  const summary$3 = "_summary_seqs2_6";
100525
100525
  const preWrap = "_preWrap_seqs2_10";
100526
100526
  const preCompact = "_preCompact_seqs2_15";
100527
- const styles$1n = {
100527
+ const styles$1m = {
100528
100528
  query,
100529
100529
  summary: summary$3,
100530
100530
  preWrap,
@@ -100642,7 +100642,7 @@ const contentRenderers = (renderObject) => {
100642
100642
  };
100643
100643
  } else {
100644
100644
  return {
100645
- rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1n.preWrap, styles$1n.preCompact), children: rendered })
100645
+ rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$1m.preWrap, styles$1m.preCompact), children: rendered })
100646
100646
  };
100647
100647
  }
100648
100648
  }
@@ -100691,7 +100691,7 @@ const contentRenderers = (renderObject) => {
100691
100691
  render: (_id, entry, _options) => {
100692
100692
  const results = [];
100693
100693
  results.push(
100694
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1n.query, children: [
100694
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1m.query, children: [
100695
100695
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.search }),
100696
100696
  " ",
100697
100697
  entry.value.query
@@ -100703,7 +100703,7 @@ const contentRenderers = (renderObject) => {
100703
100703
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: result2.url, children: result2.url }) })
100704
100704
  );
100705
100705
  results.push(
100706
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller", styles$1n.summary), children: result2.summary })
100706
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller", styles$1m.summary), children: result2.summary })
100707
100707
  );
100708
100708
  }
100709
100709
  );
@@ -100719,7 +100719,7 @@ const contentRenderers = (renderObject) => {
100719
100719
  },
100720
100720
  render: (_id, entry, _options) => {
100721
100721
  return {
100722
- rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1n.preWrap, children: entry.value })
100722
+ rendered: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$1m.preWrap, children: entry.value })
100723
100723
  };
100724
100724
  }
100725
100725
  },
@@ -100811,7 +100811,7 @@ const circle = "_circle_1iagp_1";
100811
100811
  const green = "_green_1iagp_12";
100812
100812
  const red = "_red_1iagp_18";
100813
100813
  const orange = "_orange_1iagp_24";
100814
- const styles$1m = {
100814
+ const styles$1l = {
100815
100815
  circle,
100816
100816
  green,
100817
100817
  red,
@@ -100852,22 +100852,22 @@ const passFailScoreDescriptor = (values) => {
100852
100852
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
100853
100853
  "span",
100854
100854
  {
100855
- className: clsx("text-size-small", styles$1m.circle, styles$1m.green),
100855
+ className: clsx("text-size-small", styles$1l.circle, styles$1l.green),
100856
100856
  children: "C"
100857
100857
  }
100858
100858
  );
100859
100859
  } else if (score2 === "I") {
100860
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1m.circle, styles$1m.red), children: "I" });
100860
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1l.circle, styles$1l.red), children: "I" });
100861
100861
  } else if (score2 === "P") {
100862
100862
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
100863
100863
  "span",
100864
100864
  {
100865
- className: clsx("text-size-small", styles$1m.circle, styles$1m.orange),
100865
+ className: clsx("text-size-small", styles$1l.circle, styles$1l.orange),
100866
100866
  children: "P"
100867
100867
  }
100868
100868
  );
100869
100869
  } else if (score2 === "N") {
100870
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1m.circle, styles$1m.red), children: "N" });
100870
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-small", styles$1l.circle, styles$1l.red), children: "N" });
100871
100871
  } else {
100872
100872
  return String(score2);
100873
100873
  }
@@ -101158,7 +101158,6 @@ const createSamplesDescriptor = (samples, evalDescriptor, selectedScores) => {
101158
101158
  answerLength = evalDescriptor.scoreAnswer(current2, selectedScores[0])?.length || 0;
101159
101159
  } else {
101160
101160
  previous.scores = [];
101161
- previous.scores[0] = 3;
101162
101161
  }
101163
101162
  previous.input = Math.min(Math.max(previous.input, text2.length), 200);
101164
101163
  previous.target = Math.min(
@@ -103918,7 +103917,7 @@ const filterSamples = (evalDescriptor, samples, filterValue) => {
103918
103917
  };
103919
103918
  const flex = "_flex_1kye9_1";
103920
103919
  const label$a = "_label_1kye9_5";
103921
- const styles$1l = {
103920
+ const styles$1k = {
103922
103921
  flex,
103923
103922
  label: label$a
103924
103923
  };
@@ -103952,7 +103951,7 @@ const SortFilter = ({ sort: sort2, setSort, epochs }) => {
103952
103951
  },
103953
103952
  [setSort]
103954
103953
  );
103955
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1l.flex, children: [
103954
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1k.flex, children: [
103956
103955
  /* @__PURE__ */ jsxRuntimeExports.jsx(
103957
103956
  "span",
103958
103957
  {
@@ -103961,7 +103960,7 @@ const SortFilter = ({ sort: sort2, setSort, epochs }) => {
103961
103960
  "text-size-smaller",
103962
103961
  "text-style-label",
103963
103962
  "text-style-secondary",
103964
- styles$1l.label
103963
+ styles$1k.label
103965
103964
  ),
103966
103965
  children: "Sort:"
103967
103966
  }
@@ -104680,7 +104679,7 @@ function useClientEvents() {
104680
104679
  }
104681
104680
  const button$3 = "_button_1bbut_1";
104682
104681
  const viewerOptions$1 = "_viewerOptions_1bbut_7";
104683
- const styles$1k = {
104682
+ const styles$1j = {
104684
104683
  button: button$3,
104685
104684
  viewerOptions: viewerOptions$1
104686
104685
  };
@@ -104700,14 +104699,14 @@ const FlowButton = forwardRef(
104700
104699
  {
104701
104700
  ref,
104702
104701
  type: "button",
104703
- className: clsx(styles$1k.button),
104702
+ className: clsx(styles$1j.button),
104704
104703
  onClick: navigate,
104705
104704
  title: "View Flow configuration for this directory",
104706
104705
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
104707
104706
  "i",
104708
104707
  {
104709
104708
  ref,
104710
- className: clsx(ApplicationIcons.flow, styles$1k.viewerOptions)
104709
+ className: clsx(ApplicationIcons.flow, styles$1j.viewerOptions)
104711
104710
  }
104712
104711
  )
104713
104712
  }
@@ -104731,28 +104730,28 @@ const useFlowServerData = (dir) => {
104731
104730
  const wrapper$4 = "_wrapper_1tajk_1";
104732
104731
  const container$k = "_container_1tajk_12";
104733
104732
  const animate = "_animate_1tajk_21";
104734
- const styles$1j = {
104733
+ const styles$1i = {
104735
104734
  wrapper: wrapper$4,
104736
104735
  container: container$k,
104737
104736
  animate
104738
104737
  };
104739
104738
  const ActivityBar = ({ animating }) => {
104740
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1j.wrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
104739
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1i.wrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
104741
104740
  "div",
104742
104741
  {
104743
- className: clsx(styles$1j.container),
104742
+ className: clsx(styles$1i.container),
104744
104743
  role: "progressbar",
104745
104744
  "aria-label": "Progress bar",
104746
104745
  "aria-valuenow": 25,
104747
104746
  "aria-valuemin": 0,
104748
104747
  "aria-valuemax": 100,
104749
- children: animating && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1j.animate })
104748
+ children: animating && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1i.animate })
104750
104749
  }
104751
104750
  ) });
104752
104751
  };
104753
104752
  const button$2 = "_button_1bbut_1";
104754
104753
  const viewerOptions = "_viewerOptions_1bbut_7";
104755
- const styles$1i = {
104754
+ const styles$1h = {
104756
104755
  button: button$2,
104757
104756
  viewerOptions
104758
104757
  };
@@ -104765,14 +104764,14 @@ const ViewerOptionsButton = forwardRef(({ showing, setShowing }, ref) => {
104765
104764
  {
104766
104765
  ref,
104767
104766
  type: "button",
104768
- className: clsx(styles$1i.button),
104767
+ className: clsx(styles$1h.button),
104769
104768
  onClick: toggleShowing,
104770
104769
  title: "Viewer information and options",
104771
104770
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
104772
104771
  "i",
104773
104772
  {
104774
104773
  ref,
104775
- className: clsx(ApplicationIcons.info, styles$1i.viewerOptions)
104774
+ className: clsx(ApplicationIcons.info, styles$1h.viewerOptions)
104776
104775
  }
104777
104776
  )
104778
104777
  }
@@ -106659,7 +106658,7 @@ const clearButton = "_clearButton_e3s30_52";
106659
106658
  const message$2 = "_message_e3s30_56";
106660
106659
  const messageSuccess = "_messageSuccess_e3s30_64";
106661
106660
  const messageError = "_messageError_e3s30_69";
106662
- const styles$1h = {
106661
+ const styles$1g = {
106663
106662
  container: container$j,
106664
106663
  fullWidth: fullWidth$2,
106665
106664
  fullWidthPadded,
@@ -106711,32 +106710,32 @@ const ViewerOptionsPopover = ({
106711
106710
  hoverDelay: -1,
106712
106711
  offset: [-10, 5],
106713
106712
  showArrow: false,
106714
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1h.container, "text-size-smaller"), children: [
106713
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1g.container, "text-size-smaller"), children: [
106715
106714
  /* @__PURE__ */ jsxRuntimeExports.jsx(
106716
106715
  "div",
106717
106716
  {
106718
106717
  className: clsx(
106719
106718
  "text-style-label",
106720
106719
  "text-style-secondary",
106721
- styles$1h.fullWidth
106720
+ styles$1g.fullWidth
106722
106721
  ),
106723
106722
  children: "Log Directory"
106724
106723
  }
106725
106724
  ),
106726
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1h.fullWidth, styles$1h.fullWidthPadded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1h.logDir, children: logDir2 }) }),
106727
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1h.spacer) }),
106725
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1g.fullWidth, styles$1g.fullWidthPadded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1g.logDir, children: logDir2 }) }),
106726
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1g.spacer) }),
106728
106727
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Version" }),
106729
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.176-0-gcf290607b" }),
106728
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.178-0-g6ebcf87dc" }),
106730
106729
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Schema" }),
106731
106730
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: DB_VERSION }),
106732
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1h.spacer) }),
106731
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1g.spacer) }),
106733
106732
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Logs" }),
106734
106733
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: dbStats?.logCount || 0 }),
106735
106734
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Log Previews" }),
106736
106735
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: dbStats?.previewCount || 0 }),
106737
106736
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Log Details" }),
106738
106737
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: dbStats?.detailsCount || 0 }),
106739
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1h.spacer) }),
106738
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1g.spacer) }),
106740
106739
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Tools" }),
106741
106740
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(), children: [
106742
106741
  " ",
@@ -106749,7 +106748,7 @@ const ViewerOptionsPopover = ({
106749
106748
  "btn",
106750
106749
  "btn-tools",
106751
106750
  "text-size-smallest",
106752
- styles$1h.clearButton
106751
+ styles$1g.clearButton
106753
106752
  ),
106754
106753
  children: isClearing ? "Clearing..." : "Clear Local Database"
106755
106754
  }
@@ -106759,9 +106758,9 @@ const ViewerOptionsPopover = ({
106759
106758
  "div",
106760
106759
  {
106761
106760
  className: clsx(
106762
- styles$1h.fullWidth,
106763
- styles$1h.message,
106764
- clearMessage.includes("success") ? styles$1h.messageSuccess : styles$1h.messageError
106761
+ styles$1g.fullWidth,
106762
+ styles$1g.message,
106763
+ clearMessage.includes("success") ? styles$1g.messageSuccess : styles$1g.messageError
106765
106764
  ),
106766
106765
  children: clearMessage
106767
106766
  }
@@ -106778,7 +106777,7 @@ const left$1 = "_left_1u3sd_31";
106778
106777
  const right$1 = "_right_1u3sd_41";
106779
106778
  const toolbarButton = "_toolbarButton_1u3sd_50";
106780
106779
  const pathContainer = "_pathContainer_1u3sd_58";
106781
- const styles$1g = {
106780
+ const styles$1f = {
106782
106781
  header: header$2,
106783
106782
  bordered,
106784
106783
  breadcrumbs,
@@ -106875,7 +106874,8 @@ const Navbar = ({
106875
106874
  fnNavigationUrl,
106876
106875
  bordered: bordered2,
106877
106876
  children: children2,
106878
- currentPath
106877
+ currentPath,
106878
+ breadcrumbsEnabled
106879
106879
  }) => {
106880
106880
  const logDir2 = useStore((state) => state.logs.logDir);
106881
106881
  const baseLogDir = dirname(logDir2 || "");
@@ -106913,42 +106913,48 @@ const Navbar = ({
106913
106913
  className: clsx(
106914
106914
  "text-size-smaller",
106915
106915
  "header-nav",
106916
- styles$1g.header,
106917
- bordered2 === false ? null : styles$1g.bordered
106916
+ styles$1f.header,
106917
+ bordered2 === false ? null : styles$1f.bordered
106918
106918
  ),
106919
106919
  "aria-label": "breadcrumb",
106920
106920
  "data-unsearchable": true,
106921
106921
  children: [
106922
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1g.left), children: [
106923
- /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: backUrl, className: clsx(styles$1g.toolbarButton), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.navbar.back) }) }),
106922
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1f.left), children: [
106923
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: backUrl, className: clsx(styles$1f.toolbarButton), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.navbar.back) }) }),
106924
106924
  /* @__PURE__ */ jsxRuntimeExports.jsx(
106925
106925
  Link,
106926
106926
  {
106927
106927
  to: fnNavigationUrl("", logDir2),
106928
- className: clsx(styles$1g.toolbarButton),
106928
+ className: clsx(styles$1f.toolbarButton),
106929
106929
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.navbar.home) })
106930
106930
  }
106931
106931
  ),
106932
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1g.pathContainer), ref: pathContainerRef, children: logDir2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx("breadcrumb", styles$1g.breadcrumbs), children: visibleSegments?.map((segment2, index) => {
106932
+ breadcrumbsEnabled !== false && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1f.pathContainer), ref: pathContainerRef, children: logDir2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("ol", { className: clsx("breadcrumb", styles$1f.breadcrumbs), children: visibleSegments?.map((segment2, index) => {
106933
106933
  const isLast = index === visibleSegments.length - 1;
106934
106934
  const shouldShowEllipsis = showEllipsis && index === 1 && visibleSegments.length >= 2;
106935
106935
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
106936
- shouldShowEllipsis && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: clsx("breadcrumb-item", styles$1g.ellipsis), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "..." }) }),
106936
+ shouldShowEllipsis && /* @__PURE__ */ jsxRuntimeExports.jsx(
106937
+ "li",
106938
+ {
106939
+ className: clsx("breadcrumb-item", styles$1f.ellipsis),
106940
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "..." })
106941
+ }
106942
+ ),
106937
106943
  /* @__PURE__ */ jsxRuntimeExports.jsx(
106938
106944
  "li",
106939
106945
  {
106940
106946
  className: clsx(
106941
- styles$1g.pathLink,
106947
+ styles$1f.pathLink,
106942
106948
  "breadcrumb-item",
106943
106949
  isLast ? "active" : void 0
106944
106950
  ),
106945
- children: segment2.url && !isLast ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: segment2.url, children: segment2.text }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1g.pathSegment), children: segment2.text })
106951
+ children: segment2.url && !isLast ? /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: segment2.url, children: segment2.text }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$1f.pathSegment), children: segment2.text })
106946
106952
  }
106947
106953
  )
106948
106954
  ] }, index);
106949
106955
  }) }) : "" })
106950
106956
  ] }),
106951
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1g.right), children: children2 })
106957
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1f.right), children: children2 })
106952
106958
  ]
106953
106959
  }
106954
106960
  );
@@ -106958,7 +106964,8 @@ const ApplicationNavbar = ({
106958
106964
  fnNavigationUrl,
106959
106965
  bordered: bordered2,
106960
106966
  children: children2,
106961
- showActivity = "all"
106967
+ showActivity = "all",
106968
+ breadcrumbsEnabled
106962
106969
  }) => {
106963
106970
  const optionsRef = useRef(null);
106964
106971
  const loading = useStore((state) => state.app.status.loading);
@@ -106985,6 +106992,7 @@ const ApplicationNavbar = ({
106985
106992
  currentPath,
106986
106993
  fnNavigationUrl,
106987
106994
  bordered: bordered2,
106995
+ breadcrumbsEnabled,
106988
106996
  children: [
106989
106997
  children2,
106990
106998
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -107010,7 +107018,7 @@ const ApplicationNavbar = ({
107010
107018
  ] });
107011
107019
  };
107012
107020
  const navbarButton = "_navbarButton_1gksz_1";
107013
- const styles$1f = {
107021
+ const styles$1e = {
107014
107022
  navbarButton
107015
107023
  };
107016
107024
  const NavbarButton = forwardRef(
@@ -107020,7 +107028,7 @@ const NavbarButton = forwardRef(
107020
107028
  {
107021
107029
  ref,
107022
107030
  label: label2,
107023
- className: clsx(className2, styles$1f.navbarButton),
107031
+ className: clsx(className2, styles$1e.navbarButton),
107024
107032
  icon: icon2,
107025
107033
  latched: latched2,
107026
107034
  ...rest
@@ -107032,7 +107040,7 @@ NavbarButton.displayName = "NavbarButton";
107032
107040
  const rootControl = "_rootControl_mhb7y_1";
107033
107041
  const segment = "_segment_mhb7y_9";
107034
107042
  const selected$4 = "_selected_mhb7y_9";
107035
- const styles$1e = {
107043
+ const styles$1d = {
107036
107044
  rootControl,
107037
107045
  segment,
107038
107046
  selected: selected$4
@@ -107051,13 +107059,13 @@ const SegmentedControl = ({
107051
107059
  if (selectedId === void 0) {
107052
107060
  selectedId = segments2[0]?.id;
107053
107061
  }
107054
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1e.rootControl), children: segments2.map((segment2, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
107062
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1d.rootControl), children: segments2.map((segment2, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
107055
107063
  "button",
107056
107064
  {
107057
107065
  className: clsx(
107058
- styles$1e.segment,
107066
+ styles$1d.segment,
107059
107067
  {
107060
- [styles$1e.selected]: selectedId === segment2.id
107068
+ [styles$1d.selected]: selectedId === segment2.id
107061
107069
  },
107062
107070
  "text-size-smallest",
107063
107071
  "text-style-secondary"
@@ -107111,7 +107119,7 @@ const headerRow = "_headerRow_vtlwq_30";
107111
107119
  const buttonContainer = "_buttonContainer_vtlwq_39";
107112
107120
  const button$1 = "_button_vtlwq_39";
107113
107121
  const columnsLayout = "_columnsLayout_vtlwq_54";
107114
- const styles$1d = {
107122
+ const styles$1c = {
107115
107123
  checkboxWrapper,
107116
107124
  label: label$9,
107117
107125
  checkbox,
@@ -107196,20 +107204,20 @@ const ColumnSelectorPopover = ({
107196
107204
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
107197
107205
  "div",
107198
107206
  {
107199
- className: styles$1d.checkboxWrapper,
107207
+ className: styles$1c.checkboxWrapper,
107200
107208
  title: hasFilter ? "Unselecting will remove an active filter on this column" : void 0,
107201
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { className: styles$1d.label, children: [
107209
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { className: styles$1c.label, children: [
107202
107210
  /* @__PURE__ */ jsxRuntimeExports.jsx(
107203
107211
  "input",
107204
107212
  {
107205
107213
  type: "checkbox",
107206
107214
  checked: currentVisibility[field],
107207
107215
  onChange: () => handleToggle(field),
107208
- className: styles$1d.checkbox
107216
+ className: styles$1c.checkbox
107209
107217
  }
107210
107218
  ),
107211
107219
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: col.headerName || field }),
107212
- hasFilter && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: `${ApplicationIcons.filter} ${styles$1d.filterIcon}` })
107220
+ hasFilter && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: `${ApplicationIcons.filter} ${styles$1c.filterIcon}` })
107213
107221
  ] })
107214
107222
  },
107215
107223
  field
@@ -107225,16 +107233,16 @@ const ColumnSelectorPopover = ({
107225
107233
  placement: "bottom-start",
107226
107234
  showArrow: false,
107227
107235
  hoverDelay: -1,
107228
- className: styles$1d.popover,
107229
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1d.scrollableContainer, "text-size-small"), children: [
107230
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1d.section), children: [
107231
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1d.headerRow, children: [
107236
+ className: styles$1c.popover,
107237
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1c.scrollableContainer, "text-size-small"), children: [
107238
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1c.section), children: [
107239
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1c.headerRow, children: [
107232
107240
  /* @__PURE__ */ jsxRuntimeExports.jsx("b", { children: "Base" }),
107233
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1d.buttonContainer, "text-size-small"), children: [
107241
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1c.buttonContainer, "text-size-small"), children: [
107234
107242
  /* @__PURE__ */ jsxRuntimeExports.jsx(
107235
107243
  "a",
107236
107244
  {
107237
- className: clsx(styles$1d.button, "text-size-small"),
107245
+ className: clsx(styles$1c.button, "text-size-small"),
107238
107246
  onClick: handleSelectAllBase,
107239
107247
  children: "All"
107240
107248
  }
@@ -107243,23 +107251,23 @@ const ColumnSelectorPopover = ({
107243
107251
  /* @__PURE__ */ jsxRuntimeExports.jsx(
107244
107252
  "a",
107245
107253
  {
107246
- className: clsx(styles$1d.button),
107254
+ className: clsx(styles$1c.button),
107247
107255
  onClick: handleDeselectAllBase,
107248
107256
  children: "None"
107249
107257
  }
107250
107258
  )
107251
107259
  ] })
107252
107260
  ] }),
107253
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1d.columnsLayout, children: columnGroups.base.map((col) => renderColumnCheckbox(col)) })
107261
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1c.columnsLayout, children: columnGroups.base.map((col) => renderColumnCheckbox(col)) })
107254
107262
  ] }),
107255
107263
  columnGroups.scores.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
107256
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1d.headerRow, children: [
107264
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1c.headerRow, children: [
107257
107265
  /* @__PURE__ */ jsxRuntimeExports.jsx("b", { children: "Scorers" }),
107258
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1d.buttonContainer, children: [
107266
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1c.buttonContainer, children: [
107259
107267
  /* @__PURE__ */ jsxRuntimeExports.jsx(
107260
107268
  "a",
107261
107269
  {
107262
- className: clsx(styles$1d.button),
107270
+ className: clsx(styles$1c.button),
107263
107271
  onClick: handleSelectAllScores,
107264
107272
  children: "All"
107265
107273
  }
@@ -107268,14 +107276,14 @@ const ColumnSelectorPopover = ({
107268
107276
  /* @__PURE__ */ jsxRuntimeExports.jsx(
107269
107277
  "a",
107270
107278
  {
107271
- className: clsx(styles$1d.button),
107279
+ className: clsx(styles$1c.button),
107272
107280
  onClick: handleDeselectAllScores,
107273
107281
  children: "None"
107274
107282
  }
107275
107283
  )
107276
107284
  ] })
107277
107285
  ] }),
107278
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1d.columnsLayout, children: columnGroups.scores.map((col) => renderColumnCheckbox(col)) })
107286
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1c.columnsLayout, children: columnGroups.scores.map((col) => renderColumnCheckbox(col)) })
107279
107287
  ] })
107280
107288
  ] })
107281
107289
  }
@@ -107328,7 +107336,7 @@ const iconCell = "_iconCell_oveew_19";
107328
107336
  const numberCell = "_numberCell_oveew_32";
107329
107337
  const taskText = "_taskText_oveew_42";
107330
107338
  const folder = "_folder_oveew_49";
107331
- const styles$1c = {
107339
+ const styles$1b = {
107332
107340
  gridWrapper,
107333
107341
  gridContainer,
107334
107342
  iconCell,
@@ -107339,7 +107347,7 @@ const styles$1c = {
107339
107347
  const nameCell = "_nameCell_mdto2_1";
107340
107348
  const modelCell = "_modelCell_mdto2_8";
107341
107349
  const scoreCell = "_scoreCell_mdto2_15";
107342
- const error$2 = "_error_mdto2_22";
107350
+ const error$3 = "_error_mdto2_22";
107343
107351
  const started = "_started_mdto2_26";
107344
107352
  const success = "_success_mdto2_30";
107345
107353
  const cancelled = "_cancelled_mdto2_34";
@@ -107349,14 +107357,14 @@ const localStyles = {
107349
107357
  nameCell,
107350
107358
  modelCell,
107351
107359
  scoreCell,
107352
- error: error$2,
107360
+ error: error$3,
107353
107361
  started,
107354
107362
  success,
107355
107363
  cancelled,
107356
107364
  statusCell,
107357
107365
  dateCell
107358
107366
  };
107359
- const styles$1b = { ...styles$1c, ...localStyles };
107367
+ const styles$1a = { ...styles$1b, ...localStyles };
107360
107368
  const EmptyCell = () => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "-" });
107361
107369
  const useLogListColumns = () => {
107362
107370
  const columnVisibility = useStore(
@@ -107416,7 +107424,7 @@ const useLogListColumns = () => {
107416
107424
  cellRenderer: (params) => {
107417
107425
  const type = params.data?.type;
107418
107426
  const icon2 = type === "file" || type === "pending-task" ? ApplicationIcons.inspectFile : ApplicationIcons.folder;
107419
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.iconCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2) }) });
107427
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.iconCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2) }) });
107420
107428
  }
107421
107429
  },
107422
107430
  {
@@ -107442,7 +107450,7 @@ const useLogListColumns = () => {
107442
107450
  if (item2.type === "file") {
107443
107451
  value2 = item2.task || parseLogFileName(item2.name).name;
107444
107452
  }
107445
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.nameCell, children: item2.type === "folder" && item2.url ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1b.folder, children: value2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1b.taskText, children: value2 }) });
107453
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.nameCell, children: item2.type === "folder" && item2.url ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1a.folder, children: value2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1a.taskText, children: value2 }) });
107446
107454
  }
107447
107455
  },
107448
107456
  {
@@ -107458,7 +107466,7 @@ const useLogListColumns = () => {
107458
107466
  const item2 = params.data;
107459
107467
  if (!item2) return null;
107460
107468
  if (item2.model) {
107461
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.modelCell, children: item2.model });
107469
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.modelCell, children: item2.model });
107462
107470
  }
107463
107471
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
107464
107472
  }
@@ -107481,7 +107489,7 @@ const useLogListColumns = () => {
107481
107489
  if (!item2 || item2.score === void 0) {
107482
107490
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
107483
107491
  }
107484
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.scoreCell, children: formatPrettyDecimal(item2.score) });
107492
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.scoreCell, children: formatPrettyDecimal(item2.score) });
107485
107493
  }
107486
107494
  },
107487
107495
  {
@@ -107501,8 +107509,8 @@ const useLogListColumns = () => {
107501
107509
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
107502
107510
  }
107503
107511
  const icon2 = item2.type === "pending-task" ? ApplicationIcons.pendingTask : status2 === "error" ? ApplicationIcons.error : status2 === "started" ? ApplicationIcons.running : status2 === "cancelled" ? ApplicationIcons.cancelled : ApplicationIcons.success;
107504
- const clz = item2.type === "pending-task" ? styles$1b.started : status2 === "error" ? styles$1b.error : status2 === "started" ? styles$1b.started : status2 === "cancelled" ? styles$1b.cancelled : styles$1b.success;
107505
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.statusCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, clz) }) });
107512
+ const clz = item2.type === "pending-task" ? styles$1a.started : status2 === "error" ? styles$1a.error : status2 === "started" ? styles$1a.started : status2 === "cancelled" ? styles$1a.cancelled : styles$1a.success;
107513
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.statusCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, clz) }) });
107506
107514
  }
107507
107515
  },
107508
107516
  {
@@ -107531,7 +107539,7 @@ const useLogListColumns = () => {
107531
107539
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
107532
107540
  }
107533
107541
  const timeStr = formatDateTime(new Date(completed));
107534
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.dateCell, children: timeStr });
107542
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.dateCell, children: timeStr });
107535
107543
  },
107536
107544
  comparator: createFolderFirstComparator(comparators.date)
107537
107545
  },
@@ -107554,7 +107562,7 @@ const useLogListColumns = () => {
107554
107562
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
107555
107563
  }
107556
107564
  const value2 = basename(item2.name);
107557
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.nameCell, children: value2 });
107565
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.nameCell, children: value2 });
107558
107566
  }
107559
107567
  }
107560
107568
  ];
@@ -107584,7 +107592,7 @@ const useLogListColumns = () => {
107584
107592
  if (value2 === void 0 || value2 === null || value2 === "") {
107585
107593
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyCell, {});
107586
107594
  }
107587
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.scoreCell, children: formatPrettyDecimal(value2) });
107595
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1a.scoreCell, children: formatPrettyDecimal(value2) });
107588
107596
  },
107589
107597
  comparator: createFolderFirstComparator((valA, valB) => {
107590
107598
  if (typeof valA === "number" && typeof valB === "number") {
@@ -164672,7 +164680,7 @@ const LogListGrid = ({
164672
164680
  useEffect(() => {
164673
164681
  resizeGridColumns();
164674
164682
  }, [columns, resizeGridColumns]);
164675
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1c.gridWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: gridContainerRef, className: styles$1c.gridContainer, tabIndex: 0, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
164683
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1b.gridWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: gridContainerRef, className: styles$1b.gridContainer, tabIndex: 0, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
164676
164684
  AgGridReact,
164677
164685
  {
164678
164686
  ref: gridRef,
@@ -164721,7 +164729,7 @@ const label$8 = "_label_14uod_25";
164721
164729
  const right = "_right_14uod_30";
164722
164730
  const left = "_left_14uod_39";
164723
164731
  const center$1 = "_center_14uod_48";
164724
- const styles$1a = {
164732
+ const styles$19 = {
164725
164733
  footer: footer$1,
164726
164734
  spinnerContainer: spinnerContainer$1,
164727
164735
  spinner: spinner$2,
@@ -164738,12 +164746,12 @@ const LogListFooter = ({
164738
164746
  progressBar
164739
164747
  }) => {
164740
164748
  const effectiveItemCount = filteredCount ?? itemCount;
164741
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", styles$1a.footer), children: [
164742
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1a.left), children: progressText ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$1a.spinnerContainer), children: [
164749
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", styles$19.footer), children: [
164750
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$19.left), children: progressText ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$19.spinnerContainer), children: [
164743
164751
  /* @__PURE__ */ jsxRuntimeExports.jsx(
164744
164752
  "div",
164745
164753
  {
164746
- className: clsx("spinner-border", styles$1a.spinner),
164754
+ className: clsx("spinner-border", styles$19.spinner),
164747
164755
  role: "status",
164748
164756
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: clsx("visually-hidden"), children: [
164749
164757
  progressText,
@@ -164751,18 +164759,18 @@ const LogListFooter = ({
164751
164759
  ] })
164752
164760
  }
164753
164761
  ),
164754
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-style-secondary", styles$1a.label), children: [
164762
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-style-secondary", styles$19.label), children: [
164755
164763
  progressText,
164756
164764
  "..."
164757
164765
  ] })
164758
164766
  ] }) : null }),
164759
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1a.center) }),
164760
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1a.right), children: progressBar ? progressBar : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: effectiveItemCount === 0 ? "" : filteredCount !== void 0 && filteredCount !== itemCount ? `${effectiveItemCount} / ${itemCount} ${itemCountLabel || "items"}` : `${effectiveItemCount} ${itemCountLabel || "items"}` }) })
164767
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$19.center) }),
164768
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$19.right), children: progressBar ? progressBar : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: effectiveItemCount === 0 ? "" : filteredCount !== void 0 && filteredCount !== itemCount ? `${effectiveItemCount} / ${itemCount} ${itemCountLabel || "items"}` : `${effectiveItemCount} ${itemCountLabel || "items"}` }) })
164761
164769
  ] });
164762
164770
  };
164763
164771
  const panel$7 = "_panel_16dj8_1";
164764
164772
  const list$1 = "_list_16dj8_8";
164765
- const styles$19 = {
164773
+ const styles$18 = {
164766
164774
  panel: panel$7,
164767
164775
  list: list$1
164768
164776
  };
@@ -164931,7 +164939,7 @@ const LogsPanel = ({ maybeShowSingleLog }) => {
164931
164939
  }
164932
164940
  }
164933
164941
  }, [logItems, maybeShowSingleLog, navigate]);
164934
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$19.panel), children: [
164942
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$18.panel), children: [
164935
164943
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
164936
164944
  ApplicationNavbar,
164937
164945
  {
@@ -164988,7 +164996,7 @@ const LogsPanel = ({ maybeShowSingleLog }) => {
164988
164996
  }
164989
164997
  ),
164990
164998
  /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
164991
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$19.list, "text-size-smaller"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
164999
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$18.list, "text-size-smaller"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
164992
165000
  LogListGrid,
164993
165001
  {
164994
165002
  items: logItems,
@@ -165929,7 +165937,7 @@ const chevron = "_chevron_h3ljc_10";
165929
165937
  const backdrop$1 = "_backdrop_h3ljc_24";
165930
165938
  const dropdownMenu = "_dropdownMenu_h3ljc_33";
165931
165939
  const dropdownItem = "_dropdownItem_h3ljc_47";
165932
- const styles$18 = {
165940
+ const styles$17 = {
165933
165941
  dropdownContainer,
165934
165942
  toolButton,
165935
165943
  chevron,
@@ -165943,29 +165951,29 @@ const ToolDropdownButton = forwardRef(({ label: label2, icon: icon2, className:
165943
165951
  fn3();
165944
165952
  setIsOpen(false);
165945
165953
  };
165946
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$18.dropdownContainer, children: [
165954
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$17.dropdownContainer, children: [
165947
165955
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
165948
165956
  "button",
165949
165957
  {
165950
165958
  ref,
165951
165959
  type: "button",
165952
- className: clsx("btn", "btn-tools", styles$18.toolButton, className2),
165960
+ className: clsx("btn", "btn-tools", styles$17.toolButton, className2),
165953
165961
  onClick: () => setIsOpen(!isOpen),
165954
165962
  ...rest,
165955
165963
  children: [
165956
165964
  icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: `${icon2}` }),
165957
165965
  label2,
165958
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi-chevron-down", styles$18.chevron) })
165966
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi-chevron-down", styles$17.chevron) })
165959
165967
  ]
165960
165968
  }
165961
165969
  ),
165962
165970
  isOpen && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
165963
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$18.backdrop, onClick: () => setIsOpen(false) }),
165964
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$18.dropdownMenu, children: Object.entries(items).map(([itemLabel, fn3]) => /* @__PURE__ */ jsxRuntimeExports.jsx(
165971
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$17.backdrop, onClick: () => setIsOpen(false) }),
165972
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$17.dropdownMenu, children: Object.entries(items).map(([itemLabel, fn3]) => /* @__PURE__ */ jsxRuntimeExports.jsx(
165965
165973
  "button",
165966
165974
  {
165967
165975
  type: "button",
165968
- className: styles$18.dropdownItem,
165976
+ className: styles$17.dropdownItem,
165969
165977
  onClick: () => handleItemClick(fn3),
165970
165978
  children: itemLabel
165971
165979
  },
@@ -166020,12 +166028,12 @@ const Card = ({ id, children: children2, className: className2 }) => {
166020
166028
  };
166021
166029
  const panel$6 = "_panel_twp3v_1";
166022
166030
  const container$i = "_container_twp3v_7";
166023
- const styles$17 = {
166031
+ const styles$16 = {
166024
166032
  panel: panel$6,
166025
166033
  container: container$i
166026
166034
  };
166027
166035
  const NoContentsPanel = ({ text: text2 }) => {
166028
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$17.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$17.container, "text-size-smaller"), children: [
166036
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$16.panel), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$16.container, "text-size-smaller"), children: [
166029
166037
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.noSamples }),
166030
166038
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: text2 })
166031
166039
  ] }) });
@@ -166181,7 +166189,7 @@ const col1_3$1 = "_col1_3_sq96g_12";
166181
166189
  const col3$1 = "_col3_sq96g_16";
166182
166190
  const separator$5 = "_separator_sq96g_20";
166183
166191
  const padded$1 = "_padded_sq96g_26";
166184
- const styles$16 = {
166192
+ const styles$15 = {
166185
166193
  wrapper: wrapper$3,
166186
166194
  col2: col2$2,
166187
166195
  col1_3: col1_3$1,
@@ -166243,14 +166251,14 @@ const ModelUsagePanel = ({ usage, className: className2 }) => {
166243
166251
  value: usage.total_tokens,
166244
166252
  secondary: false
166245
166253
  });
166246
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$16.wrapper, className2), children: rows.map((row2, idx) => {
166254
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$15.wrapper, className2), children: rows.map((row2, idx) => {
166247
166255
  if (row2.label === "---") {
166248
166256
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
166249
166257
  "div",
166250
166258
  {
166251
166259
  className: clsx(
166252
- styles$16.separator,
166253
- row2.padded ? styles$16.padded : void 0
166260
+ styles$15.separator,
166261
+ row2.padded ? styles$15.padded : void 0
166254
166262
  )
166255
166263
  },
166256
166264
  `$usage-sep-${idx}`
@@ -166263,12 +166271,12 @@ const ModelUsagePanel = ({ usage, className: className2 }) => {
166263
166271
  className: clsx(
166264
166272
  "text-style-label",
166265
166273
  "text-style-secondary",
166266
- row2.secondary ? styles$16.col2 : styles$16.col1_3
166274
+ row2.secondary ? styles$15.col2 : styles$15.col1_3
166267
166275
  ),
166268
166276
  children: row2.label
166269
166277
  }
166270
166278
  ),
166271
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$16.col3, children: row2.value ? formatNumber(row2.value) : "" })
166279
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$15.col3, children: row2.value ? formatNumber(row2.value) : "" })
166272
166280
  ] }, `$usage-row-${idx}`);
166273
166281
  }
166274
166282
  }) });
@@ -166278,7 +166286,7 @@ const tableTokens = "_tableTokens_z217i_5";
166278
166286
  const tableH = "_tableH_z217i_9";
166279
166287
  const model = "_model_z217i_14";
166280
166288
  const cellContents = "_cellContents_z217i_18";
166281
- const styles$15 = {
166289
+ const styles$14 = {
166282
166290
  table: table$1,
166283
166291
  tableTokens,
166284
166292
  tableH,
@@ -166293,7 +166301,7 @@ const TokenTable$1 = ({ className: className2, children: children2 }) => {
166293
166301
  "table",
166294
166302
  "table-sm",
166295
166303
  "text-size-smaller",
166296
- styles$15.table,
166304
+ styles$14.table,
166297
166305
  className2
166298
166306
  ),
166299
166307
  children: children2
@@ -166310,7 +166318,7 @@ const TokenHeader = () => {
166310
166318
  colSpan: 3,
166311
166319
  className: clsx(
166312
166320
  "card-subheading",
166313
- styles$15.tableTokens,
166321
+ styles$14.tableTokens,
166314
166322
  "text-size-small",
166315
166323
  "text-style-label",
166316
166324
  "text-style-secondary"
@@ -166325,7 +166333,7 @@ const TokenHeader = () => {
166325
166333
  "th",
166326
166334
  {
166327
166335
  className: clsx(
166328
- styles$15.tableH,
166336
+ styles$14.tableH,
166329
166337
  "text-sixe-small",
166330
166338
  "text-style-label",
166331
166339
  "text-style-secondary"
@@ -166337,7 +166345,7 @@ const TokenHeader = () => {
166337
166345
  "th",
166338
166346
  {
166339
166347
  className: clsx(
166340
- styles$15.tableH,
166348
+ styles$14.tableH,
166341
166349
  "text-sixe-small",
166342
166350
  "text-style-label",
166343
166351
  "text-style-secondary"
@@ -166350,8 +166358,8 @@ const TokenHeader = () => {
166350
166358
  };
166351
166359
  const TokenRow = ({ model: model2, usage }) => {
166352
166360
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
166353
- /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$15.model, styles$15.cellContents), children: model2 }) }),
166354
- /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage, className: clsx(styles$15.cellContents) }) })
166361
+ /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$14.model, styles$14.cellContents), children: model2 }) }),
166362
+ /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage, className: clsx(styles$14.cellContents) }) })
166355
166363
  ] });
166356
166364
  };
166357
166365
  const ModelTokenTable = ({
@@ -166377,7 +166385,7 @@ const dot = "_dot_4p85e_8";
166377
166385
  const subtle = "_subtle_4p85e_36";
166378
166386
  const primary = "_primary_4p85e_40";
166379
166387
  const visuallyHidden = "_visuallyHidden_4p85e_59";
166380
- const styles$14 = {
166388
+ const styles$13 = {
166381
166389
  container: container$h,
166382
166390
  dotsContainer,
166383
166391
  small,
@@ -166399,30 +166407,30 @@ const PulsingDots = ({
166399
166407
  "div",
166400
166408
  {
166401
166409
  className: clsx(
166402
- styles$14.container,
166403
- size === "small" ? styles$14.small : size === "medium" ? styles$14.medium : styles$14.large,
166410
+ styles$13.container,
166411
+ size === "small" ? styles$13.small : size === "medium" ? styles$13.medium : styles$13.large,
166404
166412
  className2
166405
166413
  ),
166406
166414
  role: "status",
166407
166415
  children: [
166408
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$14.dotsContainer, children: [...Array(dotsCount)].map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
166416
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$13.dotsContainer, children: [...Array(dotsCount)].map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
166409
166417
  "div",
166410
166418
  {
166411
166419
  className: clsx(
166412
- styles$14.dot,
166413
- subtle2 ? styles$14.subtle : styles$14.primary
166420
+ styles$13.dot,
166421
+ subtle2 ? styles$13.subtle : styles$13.primary
166414
166422
  ),
166415
166423
  style: { animationDelay: `${index * 0.2}s` }
166416
166424
  },
166417
166425
  index
166418
166426
  )) }),
166419
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$14.visuallyHidden, children: text2 })
166427
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$13.visuallyHidden, children: text2 })
166420
166428
  ]
166421
166429
  }
166422
166430
  );
166423
166431
  };
166424
166432
  const progressContainer = "_progressContainer_1cjjr_1";
166425
- const styles$13 = {
166433
+ const styles$12 = {
166426
166434
  progressContainer
166427
166435
  };
166428
166436
  const LiveVirtualList = ({
@@ -166573,7 +166581,7 @@ const LiveVirtualList = ({
166573
166581
  return unregister;
166574
166582
  }, [id, registerVirtualList, searchInData]);
166575
166583
  const Footer = () => {
166576
- return showProgress ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$13.progressContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0;
166584
+ return showProgress ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$12.progressContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0;
166577
166585
  };
166578
166586
  useEffect(() => {
166579
166587
  const parent = scrollRef?.current;
@@ -166652,7 +166660,7 @@ const prepareSearchTerm = (term) => {
166652
166660
  jsonEscaped: lower.replace(/"/g, '\\"')
166653
166661
  };
166654
166662
  };
166655
- const styles$12 = {};
166663
+ const styles$11 = {};
166656
166664
  const messageSearchText = (resolved) => {
166657
166665
  const texts = [];
166658
166666
  texts.push(...extractContentText$1(resolved.message.content));
@@ -166872,7 +166880,7 @@ const ChatViewVirtualListComponent = memo(
166872
166880
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
166873
166881
  "div",
166874
166882
  {
166875
- className: clsx(styles$12.item),
166883
+ className: clsx(styles$11.item),
166876
166884
  "data-index": props["data-index"],
166877
166885
  "data-item-group-index": props["data-item-group-index"],
166878
166886
  "data-item-index": props["data-item-index"],
@@ -166905,17 +166913,17 @@ const tabPanel = "_tabPanel_6o9gh_1";
166905
166913
  const tabControls = "_tabControls_6o9gh_5";
166906
166914
  const fullWidth$1 = "_fullWidth_6o9gh_12";
166907
166915
  const padded = "_padded_6o9gh_25";
166908
- const error$1 = "_error_6o9gh_30";
166916
+ const error$2 = "_error_6o9gh_30";
166909
166917
  const ansi = "_ansi_6o9gh_34";
166910
166918
  const noTop = "_noTop_6o9gh_38";
166911
166919
  const chat = "_chat_6o9gh_50";
166912
166920
  const transcriptContainer = "_transcriptContainer_6o9gh_58";
166913
- const styles$11 = {
166921
+ const styles$10 = {
166914
166922
  tabPanel,
166915
166923
  tabControls,
166916
166924
  fullWidth: fullWidth$1,
166917
166925
  padded,
166918
- error: error$1,
166926
+ error: error$2,
166919
166927
  ansi,
166920
166928
  noTop,
166921
166929
  chat,
@@ -167085,26 +167093,104 @@ function simpleMarkdownTruncate(markdown, maxLength = 250, ellipsis2 = "...") {
167085
167093
  }
167086
167094
  return truncated + ellipsis2;
167087
167095
  }
167088
- const flatBody = "_flatBody_1cs2j_1";
167089
- const iconSmall$1 = "_iconSmall_1cs2j_9";
167090
- const lineBase = "_lineBase_1cs2j_16";
167091
- const styles$10 = {
167092
- flatBody,
167093
- iconSmall: iconSmall$1,
167094
- lineBase
167095
- };
167096
- const FlatSampleError = ({ message: message2 }) => {
167097
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$10.flatBody), children: [
167098
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$10.iconSmall) }),
167099
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$10.lineBase, "text-truncate"), children: errorType(message2) })
167100
- ] });
167096
+ const kBaseFontSize = 0.9;
167097
+ const ScaleBaseFont = (scale) => {
167098
+ return `${kBaseFontSize + scale}rem`;
167099
+ };
167100
+ const FontSize = {
167101
+ smaller: ScaleBaseFont(-0.1)
167102
+ };
167103
+ const TextStyle = {
167104
+ secondary: {
167105
+ color: "var(--bs-secondary)"
167106
+ }
167107
+ };
167108
+ const ApplicationStyles = {
167109
+ moreButton: {
167110
+ maxHeight: "1.8em",
167111
+ fontSize: FontSize.smaller,
167112
+ padding: "0 0.2em 0 0.2em",
167113
+ ...TextStyle.secondary
167114
+ },
167115
+ threeLineClamp: {
167116
+ display: "-webkit-box",
167117
+ WebkitLineClamp: "3",
167118
+ WebkitBoxOrient: "vertical",
167119
+ overflow: "hidden"
167120
+ },
167121
+ lineClamp: (len) => {
167122
+ return {
167123
+ display: "-webkit-box",
167124
+ WebkitLineClamp: `${len}`,
167125
+ WebkitBoxOrient: "vertical",
167126
+ overflow: "hidden"
167127
+ };
167128
+ },
167129
+ wrapText: () => {
167130
+ return {
167131
+ whiteSpace: "nowrap",
167132
+ textOverflow: "ellipsis",
167133
+ overflow: "hidden"
167134
+ };
167135
+ },
167136
+ scoreFills: {
167137
+ green: {
167138
+ backgroundColor: "var(--bs-success)",
167139
+ borderColor: "var(--bs-success)",
167140
+ color: "var(--bs-body-bg)"
167141
+ },
167142
+ red: {
167143
+ backgroundColor: "var(--bs-danger)",
167144
+ borderColor: "var(--bs-danger)",
167145
+ color: "var(--bs-body-bg)"
167146
+ },
167147
+ orange: {
167148
+ backgroundColor: "var(--bs-orange)",
167149
+ borderColor: "var(--bs-orange)",
167150
+ color: "var(--bs-body-bg)"
167151
+ }
167152
+ }
167153
+ };
167154
+ const body$1 = "_body_x9ww7_1";
167155
+ const safe = "_safe_x9ww7_9";
167156
+ const iconSmall = "_iconSmall_x9ww7_13";
167157
+ const message$1 = "_message_x9ww7_19";
167158
+ const styles$$ = {
167159
+ body: body$1,
167160
+ safe,
167161
+ iconSmall,
167162
+ message: message$1
167163
+ };
167164
+ const SampleErrorView = ({
167165
+ message: message2,
167166
+ align
167167
+ }) => {
167168
+ align = align || "center";
167169
+ const type = errorType(message2);
167170
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
167171
+ "div",
167172
+ {
167173
+ className: clsx(
167174
+ styles$$.body,
167175
+ isCanceledError(type) ? styles$$.safe : void 0
167176
+ ),
167177
+ children: [
167178
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$$.iconSmall) }),
167179
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$$.message, style: ApplicationStyles.lineClamp(2), children: type })
167180
+ ]
167181
+ }
167182
+ );
167183
+ };
167184
+ const isCanceledError = (type) => {
167185
+ console.log(type);
167186
+ return type === "CancelledError";
167101
167187
  };
167102
167188
  const target = "_target_10p8e_1";
167103
167189
  const answer = "_answer_10p8e_5";
167104
167190
  const grid$7 = "_grid_10p8e_9";
167105
167191
  const centerLabel = "_centerLabel_10p8e_16";
167106
167192
  const centerValue = "_centerValue_10p8e_21";
167107
- const wrap = "_wrap_10p8e_26";
167193
+ const wrap$2 = "_wrap_10p8e_26";
167108
167194
  const titled = "_titled_10p8e_30";
167109
167195
  const value$1 = "_value_10p8e_34";
167110
167196
  const invalidationBanner = "_invalidationBanner_10p8e_40";
@@ -167113,13 +167199,13 @@ const invalidationContent = "_invalidationContent_10p8e_56";
167113
167199
  const invalidationTitle = "_invalidationTitle_10p8e_63";
167114
167200
  const invalidationDetails = "_invalidationDetails_10p8e_68";
167115
167201
  const invalidationReason = "_invalidationReason_10p8e_76";
167116
- const styles$$ = {
167202
+ const styles$_ = {
167117
167203
  target,
167118
167204
  answer,
167119
167205
  grid: grid$7,
167120
167206
  centerLabel,
167121
167207
  centerValue,
167122
- wrap,
167208
+ wrap: wrap$2,
167123
167209
  titled,
167124
167210
  value: value$1,
167125
167211
  invalidationBanner,
@@ -167204,7 +167290,7 @@ const SampleSummaryView = ({
167204
167290
  arrayToString(fields?.target || "none"),
167205
167291
  kMaxCellTextLength
167206
167292
  ),
167207
- className: clsx("no-last-para-padding", styles$$.target)
167293
+ className: clsx("no-last-para-padding", styles$_.target)
167208
167294
  }
167209
167295
  ),
167210
167296
  size: `minmax(auto, 3fr)`,
@@ -167218,7 +167304,7 @@ const SampleSummaryView = ({
167218
167304
  RenderedText,
167219
167305
  {
167220
167306
  markdown: truncateMarkdown(fields.answer || "", kMaxCellTextLength),
167221
- className: clsx("no-last-para-padding", styles$$.answer)
167307
+ className: clsx("no-last-para-padding", styles$_.answer)
167222
167308
  }
167223
167309
  ) : "",
167224
167310
  size: `minmax(auto, 5fr)`,
@@ -167257,20 +167343,20 @@ const SampleSummaryView = ({
167257
167343
  });
167258
167344
  }
167259
167345
  if (selectedScores && selectedScores.length > 0) {
167260
- selectedScores.forEach((scoreLabel) => {
167261
- columns.push({
167262
- label: selectedScores.length === 1 ? "Score" : scoreLabel.name,
167263
- value: fields.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(FlatSampleError, { message: fields.error }) : sampleDescriptor?.evalDescriptor.score(sample2, scoreLabel)?.render() || "",
167264
- size: "fit-content(15em)",
167265
- center: true
167266
- });
167267
- });
167268
- } else {
167269
- columns.push({
167270
- label: "Score",
167271
- value: fields.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(FlatSampleError, { message: fields.error }) : "",
167346
+ const scoreColumns = selectedScores.map((scoreLabel) => ({
167347
+ label: selectedScores.length === 1 ? "Score" : scoreLabel.name,
167348
+ value: sampleDescriptor?.evalDescriptor.score(sample2, scoreLabel)?.render() || "",
167272
167349
  size: "fit-content(15em)",
167273
167350
  center: true
167351
+ })).filter((col) => col.value !== "");
167352
+ columns.push(...scoreColumns);
167353
+ }
167354
+ if (fields.error) {
167355
+ columns.push({
167356
+ label: "Error",
167357
+ value: /* @__PURE__ */ jsxRuntimeExports.jsx(SampleErrorView, { message: fields.error }),
167358
+ size: "fit-content(20em)",
167359
+ center: true
167274
167360
  });
167275
167361
  }
167276
167362
  const invalidation = isEvalSample(sample2) ? sample2.invalidation : void 0;
@@ -167279,7 +167365,7 @@ const SampleSummaryView = ({
167279
167365
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
167280
167366
  "div",
167281
167367
  {
167282
- className: clsx(styles$$.grid, "text-size-base"),
167368
+ className: clsx(styles$_.grid, "text-size-base"),
167283
167369
  style: {
167284
167370
  gridTemplateColumns: `${columns.map((col) => {
167285
167371
  return col.size;
@@ -167294,8 +167380,8 @@ const SampleSummaryView = ({
167294
167380
  "text-style-label",
167295
167381
  "text-style-secondary",
167296
167382
  "text-size-smallest",
167297
- col.title ? styles$$.titled : void 0,
167298
- col.center ? styles$$.centerLabel : void 0
167383
+ col.title ? styles$_.titled : void 0,
167384
+ col.center ? styles$_.centerLabel : void 0
167299
167385
  ),
167300
167386
  title: col.title,
167301
167387
  "data-unsearchable": true,
@@ -167309,10 +167395,10 @@ const SampleSummaryView = ({
167309
167395
  "div",
167310
167396
  {
167311
167397
  className: clsx(
167312
- styles$$.value,
167313
- styles$$.wrap,
167398
+ styles$_.value,
167399
+ styles$_.wrap,
167314
167400
  col.clamp ? "three-line-clamp" : void 0,
167315
- col.center ? styles$$.centerValue : void 0
167401
+ col.center ? styles$_.centerValue : void 0
167316
167402
  ),
167317
167403
  "data-unsearchable": true,
167318
167404
  children: col.value
@@ -167335,11 +167421,11 @@ const InvalidationBanner = ({
167335
167421
  return timestamp2;
167336
167422
  }
167337
167423
  };
167338
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$$.invalidationBanner, children: [
167339
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$$.invalidationIcon, children: "⚠" }),
167340
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$$.invalidationContent, children: [
167341
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$$.invalidationTitle, children: "Sample Invalidated" }),
167342
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$$.invalidationDetails, children: [
167424
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$_.invalidationBanner, children: [
167425
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$_.invalidationIcon, children: "⚠" }),
167426
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$_.invalidationContent, children: [
167427
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$_.invalidationTitle, children: "Sample Invalidated" }),
167428
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$_.invalidationDetails, children: [
167343
167429
  invalidation.author && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
167344
167430
  "By: ",
167345
167431
  invalidation.author
@@ -167348,7 +167434,7 @@ const InvalidationBanner = ({
167348
167434
  "On: ",
167349
167435
  formatTimestamp(invalidation.timestamp)
167350
167436
  ] }),
167351
- invalidation.reason && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$$.invalidationReason, children: [
167437
+ invalidation.reason && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$_.invalidationReason, children: [
167352
167438
  "Reason: ",
167353
167439
  invalidation.reason
167354
167440
  ] })
@@ -167376,7 +167462,7 @@ const fullWidth = "_fullWidth_kwhbh_13";
167376
167462
  const separator$4 = "_separator_kwhbh_25";
167377
167463
  const separatorPadded = "_separatorPadded_kwhbh_30";
167378
167464
  const headerSep = "_headerSep_kwhbh_35";
167379
- const styles$_ = {
167465
+ const styles$Z = {
167380
167466
  container: container$g,
167381
167467
  cell: cell$1,
167382
167468
  fullWidth,
@@ -167393,7 +167479,7 @@ const SampleScoresGrid = ({
167393
167479
  if (!evalDescriptor) {
167394
167480
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyPanel, { children: "No Sample Selected" });
167395
167481
  }
167396
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$_.container), children: [
167482
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$Z.container), children: [
167397
167483
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167398
167484
  "div",
167399
167485
  {
@@ -167441,7 +167527,7 @@ const SampleScoresGrid = ({
167441
167527
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167442
167528
  "div",
167443
167529
  {
167444
- className: clsx(styles$_.separator, styles$_.fullWidth, styles$_.headerSep)
167530
+ className: clsx(styles$Z.separator, styles$Z.fullWidth, styles$Z.headerSep)
167445
167531
  }
167446
167532
  ),
167447
167533
  Object.keys(evalSample.scores || {}).map((scorer2) => {
@@ -167453,16 +167539,16 @@ const SampleScoresGrid = ({
167453
167539
  const answer2 = scoreData.answer;
167454
167540
  let metadata2 = scoreData.metadata || {};
167455
167541
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
167456
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$_.cell), children: scorer2 }),
167457
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$_.cell, "text-size-base"), children: answer2 }),
167458
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$_.cell, "text-size-base"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167542
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$Z.cell), children: scorer2 }),
167543
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Z.cell, "text-size-base"), children: answer2 }),
167544
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Z.cell, "text-size-base"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167459
167545
  SampleScores,
167460
167546
  {
167461
167547
  sample: evalSample,
167462
167548
  scorer: scorer2
167463
167549
  }
167464
167550
  ) }),
167465
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$_.cell), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167551
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$Z.cell), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167466
167552
  RenderedContent,
167467
167553
  {
167468
167554
  id: `${scorer2}-explanation`,
@@ -167480,12 +167566,12 @@ const SampleScoresGrid = ({
167480
167566
  "text-size-smaller",
167481
167567
  "text-style-label",
167482
167568
  "text-style-secondary",
167483
- styles$_.fullWidth
167569
+ styles$Z.fullWidth
167484
167570
  ),
167485
167571
  children: "Metadata"
167486
167572
  }
167487
167573
  ),
167488
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$_.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167574
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Z.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167489
167575
  RecordTree,
167490
167576
  {
167491
167577
  id: `${scorer2}-metadataa`,
@@ -167498,9 +167584,9 @@ const SampleScoresGrid = ({
167498
167584
  "div",
167499
167585
  {
167500
167586
  className: clsx(
167501
- styles$_.separator,
167502
- styles$_.separatorPadded,
167503
- styles$_.fullWidth
167587
+ styles$Z.separator,
167588
+ styles$Z.separatorPadded,
167589
+ styles$Z.fullWidth
167504
167590
  )
167505
167591
  }
167506
167592
  )
@@ -167512,7 +167598,7 @@ const SampleScoresGrid = ({
167512
167598
  const wordBreak = "_wordBreak_las07_9";
167513
167599
  const scoreCard = "_scoreCard_las07_50";
167514
167600
  const scores = "_scores_las07_54";
167515
- const styles$Z = {
167601
+ const styles$Y = {
167516
167602
  wordBreak,
167517
167603
  scoreCard,
167518
167604
  scores
@@ -167545,9 +167631,9 @@ const SampleScoresView = ({
167545
167631
  "container-fluid",
167546
167632
  className2,
167547
167633
  "font-size-base",
167548
- styles$Z.container
167634
+ styles$Y.container
167549
167635
  ),
167550
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Card, { className: clsx(styles$Z.scoreCard), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(CardBody, { children: [
167636
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Card, { className: clsx(styles$Y.scoreCard), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(CardBody, { children: [
167551
167637
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167552
167638
  "div",
167553
167639
  {
@@ -167569,7 +167655,7 @@ const SampleScoresView = ({
167569
167655
  RenderedText,
167570
167656
  {
167571
167657
  markdown: scoreInput.join("\n"),
167572
- className: clsx(styles$Z.wordBreak, "text-size-base")
167658
+ className: clsx(styles$Y.wordBreak, "text-size-base")
167573
167659
  }
167574
167660
  )
167575
167661
  }
@@ -167578,7 +167664,7 @@ const SampleScoresView = ({
167578
167664
  SampleScoresGrid,
167579
167665
  {
167580
167666
  evalSample: sample2,
167581
- className: clsx(styles$Z.scores),
167667
+ className: clsx(styles$Y.scores),
167582
167668
  scrollRef
167583
167669
  }
167584
167670
  )
@@ -167678,7 +167764,7 @@ const grid$6 = "_grid_1ml4j_1";
167678
167764
  const row$2 = "_row_1ml4j_8";
167679
167765
  const links$1 = "_links_1ml4j_22";
167680
167766
  const selected$3 = "_selected_1ml4j_40";
167681
- const styles$Y = {
167767
+ const styles$X = {
167682
167768
  grid: grid$6,
167683
167769
  row: row$2,
167684
167770
  links: links$1,
@@ -167709,13 +167795,13 @@ const TranscriptFilterPopover = ({
167709
167795
  placement: "bottom-end",
167710
167796
  hoverDelay: -1,
167711
167797
  children: [
167712
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$Y.links, "text-size-smaller"), children: [
167798
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$X.links, "text-size-smaller"), children: [
167713
167799
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167714
167800
  "a",
167715
167801
  {
167716
167802
  className: clsx(
167717
- styles$Y.link,
167718
- isDefaultFilter ? styles$Y.selected : void 0
167803
+ styles$X.link,
167804
+ isDefaultFilter ? styles$X.selected : void 0
167719
167805
  ),
167720
167806
  onClick: () => setDefaultFilter(),
167721
167807
  children: "Default"
@@ -167726,19 +167812,19 @@ const TranscriptFilterPopover = ({
167726
167812
  "a",
167727
167813
  {
167728
167814
  className: clsx(
167729
- styles$Y.link,
167730
- isDebugFilter ? styles$Y.selected : void 0
167815
+ styles$X.link,
167816
+ isDebugFilter ? styles$X.selected : void 0
167731
167817
  ),
167732
167818
  onClick: () => setDebugFilter(),
167733
167819
  children: "Debug"
167734
167820
  }
167735
167821
  )
167736
167822
  ] }),
167737
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Y.grid, "text-size-smaller"), children: arrangedEventTypes(2).map((eventType) => {
167823
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$X.grid, "text-size-smaller"), children: arrangedEventTypes(2).map((eventType) => {
167738
167824
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
167739
167825
  "div",
167740
167826
  {
167741
- className: clsx(styles$Y.row),
167827
+ className: clsx(styles$X.row),
167742
167828
  onClick: () => {
167743
167829
  filterEventType(eventType, filtered.includes(eventType));
167744
167830
  },
@@ -168114,7 +168200,7 @@ const label$7 = "_label_1j0jk_28";
168114
168200
  const icon$2 = "_icon_1j0jk_34";
168115
168201
  const progress$2 = "_progress_1j0jk_38";
168116
168202
  const popover = "_popover_1j0jk_42";
168117
- const styles$X = {
168203
+ const styles$W = {
168118
168204
  eventRow,
168119
168205
  selected: selected$2,
168120
168206
  toggle,
@@ -168145,9 +168231,9 @@ const OutlineRow = ({
168145
168231
  "div",
168146
168232
  {
168147
168233
  className: clsx(
168148
- styles$X.eventRow,
168234
+ styles$W.eventRow,
168149
168235
  "text-size-smaller",
168150
- selected2 ? styles$X.selected : ""
168236
+ selected2 ? styles$W.selected : ""
168151
168237
  ),
168152
168238
  style: { paddingLeft: `${node2.depth * 0.4}em` },
168153
168239
  "data-unsearchable": true,
@@ -168155,20 +168241,20 @@ const OutlineRow = ({
168155
168241
  /* @__PURE__ */ jsxRuntimeExports.jsx(
168156
168242
  "div",
168157
168243
  {
168158
- className: clsx(styles$X.toggle),
168244
+ className: clsx(styles$W.toggle),
168159
168245
  onClick: () => {
168160
168246
  setCollapsed(!collapsed2);
168161
168247
  },
168162
168248
  children: toggle2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(toggle2) }) : void 0
168163
168249
  }
168164
168250
  ),
168165
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$X.label), "data-depth": node2.depth, children: [
168166
- icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$X.icon) }) : void 0,
168251
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$W.label), "data-depth": node2.depth, children: [
168252
+ icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$W.icon) }) : void 0,
168167
168253
  sampleEventUrl2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
168168
168254
  Link,
168169
168255
  {
168170
168256
  to: sampleEventUrl2,
168171
- className: clsx(styles$X.eventLink),
168257
+ className: clsx(styles$W.eventLink),
168172
168258
  ref,
168173
168259
  children: parsePackageName(labelForNode(node2)).module
168174
168260
  }
@@ -168177,7 +168263,7 @@ const OutlineRow = ({
168177
168263
  PulsingDots,
168178
168264
  {
168179
168265
  size: "small",
168180
- className: clsx(styles$X.progress),
168266
+ className: clsx(styles$W.progress),
168181
168267
  subtle: false
168182
168268
  }
168183
168269
  ) : void 0
@@ -168192,7 +168278,7 @@ const OutlineRow = ({
168192
168278
  positionEl: ref.current,
168193
168279
  isOpen: isShowing,
168194
168280
  setIsOpen: setShowing,
168195
- className: clsx(styles$X.popper),
168281
+ className: clsx(styles$W.popper),
168196
168282
  placement: "auto-end",
168197
168283
  children: summarizeNode(node2)
168198
168284
  }
@@ -168307,11 +168393,11 @@ const summarizeNode = (node2) => {
168307
168393
  {
168308
168394
  entries,
168309
168395
  size: "mini",
168310
- className: clsx(styles$X.popover, "text-size-smallest")
168396
+ className: clsx(styles$W.popover, "text-size-smallest")
168311
168397
  }
168312
168398
  );
168313
168399
  };
168314
- const styles$W = {};
168400
+ const styles$V = {};
168315
168401
  const kTurnType = "turn";
168316
168402
  const kTurnsType = "turns";
168317
168403
  const kCollapsedScoring = "scorings";
@@ -168580,7 +168666,7 @@ const TranscriptOutline = ({
168580
168666
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
168581
168667
  "div",
168582
168668
  {
168583
- className: clsx(styles$W.eventPadding),
168669
+ className: clsx(styles$V.eventPadding),
168584
168670
  style: { height: "2em" }
168585
168671
  },
168586
168672
  node2.id
@@ -168629,7 +168715,7 @@ const treeContainer = "_treeContainer_17sux_13";
168629
168715
  const listContainer = "_listContainer_17sux_25";
168630
168716
  const outline = "_outline_17sux_29";
168631
168717
  const outlineToggle = "_outlineToggle_17sux_33";
168632
- const styles$V = {
168718
+ const styles$U = {
168633
168719
  container: container$f,
168634
168720
  collapsed,
168635
168721
  treeContainer,
@@ -168639,7 +168725,7 @@ const styles$V = {
168639
168725
  };
168640
168726
  const title$1 = "_title_19l1b_1";
168641
168727
  const contents = "_contents_19l1b_8";
168642
- const styles$U = {
168728
+ const styles$T = {
168643
168729
  title: title$1,
168644
168730
  contents
168645
168731
  };
@@ -168649,12 +168735,12 @@ const EventRow = ({
168649
168735
  className: className2,
168650
168736
  children: children2
168651
168737
  }) => {
168652
- const contentEl = title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-small", styles$U.title, className2), children: [
168738
+ const contentEl = title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-small", styles$T.title, className2), children: [
168653
168739
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: icon2 || ApplicationIcons.metadata }),
168654
168740
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: title2 }),
168655
168741
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: children2 })
168656
168742
  ] }) : "";
168657
- const card2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("card", styles$U.contents), children: contentEl });
168743
+ const card2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("card", styles$T.contents), children: contentEl });
168658
168744
  return card2;
168659
168745
  };
168660
168746
  const ApprovalEventView = ({
@@ -168705,7 +168791,7 @@ const decisionIcon = (decision) => {
168705
168791
  }
168706
168792
  };
168707
168793
  const tab = "_tab_1je38_1";
168708
- const styles$T = {
168794
+ const styles$S = {
168709
168795
  tab
168710
168796
  };
168711
168797
  const EventNav = ({
@@ -168730,7 +168816,7 @@ const EventNav = ({
168730
168816
  active ? "active " : "",
168731
168817
  "text-style-label",
168732
168818
  "text-size-small",
168733
- styles$T.tab
168819
+ styles$S.tab
168734
168820
  ),
168735
168821
  onClick: handleClick,
168736
168822
  children: title2
@@ -168738,7 +168824,7 @@ const EventNav = ({
168738
168824
  ) });
168739
168825
  };
168740
168826
  const navs$1 = "_navs_1vm6p_1";
168741
- const styles$S = {
168827
+ const styles$R = {
168742
168828
  navs: navs$1
168743
168829
  };
168744
168830
  const EventNavs = ({
@@ -168749,7 +168835,7 @@ const EventNavs = ({
168749
168835
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
168750
168836
  "ul",
168751
168837
  {
168752
- className: clsx("nav", "nav-pills", styles$S.navs),
168838
+ className: clsx("nav", "nav-pills", styles$R.navs),
168753
168839
  role: "tablist",
168754
168840
  "aria-orientation": "horizontal",
168755
168841
  children: navs2.map((nav2) => {
@@ -168772,15 +168858,19 @@ const StickyScrollContext = createContext(
168772
168858
  );
168773
168859
  const StickyScrollProvider = StickyScrollContext.Provider;
168774
168860
  const useStickyScrollContainer = () => useContext(StickyScrollContext);
168775
- const STICKY_TOP = 30;
168776
168861
  const scrollListenerMap = /* @__PURE__ */ new Map();
168777
168862
  function updateStickyState(container2, elements) {
168778
168863
  const containerRect = container2?.getBoundingClientRect();
168779
168864
  const containerTop = containerRect?.top ?? 0;
168865
+ const stickyTop = parseFloat(
168866
+ getComputedStyle(document.body).getPropertyValue(
168867
+ "--inspect-event-panel-sticky-top"
168868
+ )
168869
+ ) || 0;
168780
168870
  elements.forEach((el2) => {
168781
168871
  const rect2 = el2.getBoundingClientRect();
168782
168872
  const relativeTop = rect2.top - containerTop;
168783
- const isStuck = relativeTop <= STICKY_TOP + 1 && relativeTop >= STICKY_TOP - 1;
168873
+ const isStuck = relativeTop <= stickyTop + 1 && relativeTop >= stickyTop - 1;
168784
168874
  el2.toggleAttribute("data-useStickyObserver-stuck", isStuck);
168785
168875
  });
168786
168876
  }
@@ -168847,19 +168937,19 @@ function useStickyObserver() {
168847
168937
  }, [container2, scrollContainerRef]);
168848
168938
  return ref;
168849
168939
  }
168850
- const stickyWrapper = "_stickyWrapper_16okh_1";
168851
- const label$6 = "_label_16okh_22";
168852
- const navs = "_navs_16okh_27";
168853
- const turnLabel = "_turnLabel_16okh_33";
168854
- const card = "_card_16okh_39";
168855
- const cardContent = "_cardContent_16okh_47";
168856
- const hidden = "_hidden_16okh_52";
168857
- const copyLink = "_copyLink_16okh_60";
168858
- const hover = "_hover_16okh_68";
168859
- const root = "_root_16okh_72";
168860
- const bottomDongle = "_bottomDongle_16okh_77";
168861
- const dongleIcon = "_dongleIcon_16okh_94";
168862
- const styles$R = {
168940
+ const stickyWrapper = "_stickyWrapper_1yfru_1";
168941
+ const label$6 = "_label_1yfru_22";
168942
+ const navs = "_navs_1yfru_27";
168943
+ const turnLabel = "_turnLabel_1yfru_33";
168944
+ const card = "_card_1yfru_39";
168945
+ const cardContent = "_cardContent_1yfru_47";
168946
+ const hidden = "_hidden_1yfru_52";
168947
+ const copyLink = "_copyLink_1yfru_60";
168948
+ const hover = "_hover_1yfru_68";
168949
+ const root = "_root_1yfru_72";
168950
+ const bottomDongle = "_bottomDongle_1yfru_77";
168951
+ const dongleIcon = "_dongleIcon_1yfru_94";
168952
+ const styles$Q = {
168863
168953
  stickyWrapper,
168864
168954
  label: label$6,
168865
168955
  navs,
@@ -168935,8 +169025,8 @@ const EventPanel = ({
168935
169025
  title: subTitle,
168936
169026
  className: clsx(
168937
169027
  "text-size-small",
168938
- mouseOver ? styles$R.hover : "",
168939
- turnLabel2 ? styles$R.stickyWrapper : ""
169028
+ mouseOver ? styles$Q.hover : "",
169029
+ turnLabel2 ? styles$Q.stickyWrapper : ""
168940
169030
  ),
168941
169031
  ref: turnLabel2 ? stickyRef : null,
168942
169032
  style: {
@@ -168978,19 +169068,19 @@ const EventPanel = ({
168978
169068
  {
168979
169069
  value: url,
168980
169070
  icon: ApplicationIcons.link,
168981
- className: clsx(styles$R.copyLink)
169071
+ className: clsx(styles$Q.copyLink)
168982
169072
  }
168983
169073
  ) : "",
168984
169074
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { onClick: toggleCollapse }),
168985
169075
  /* @__PURE__ */ jsxRuntimeExports.jsx(
168986
169076
  "div",
168987
169077
  {
168988
- className: clsx("text-style-secondary", styles$R.label),
169078
+ className: clsx("text-style-secondary", styles$Q.label),
168989
169079
  onClick: toggleCollapse,
168990
169080
  children: collapsed2 ? text2 : ""
168991
169081
  }
168992
169082
  ),
168993
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$R.navs, children: [
169083
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$Q.navs, children: [
168994
169084
  isCollapsible && collapsibleContent && collapsed2 ? "" : filteredArrChildren && filteredArrChildren.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
168995
169085
  EventNavs,
168996
169086
  {
@@ -169007,7 +169097,7 @@ const EventPanel = ({
169007
169097
  setSelectedNav
169008
169098
  }
169009
169099
  ) : "",
169010
- turnLabel2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$R.turnLabel), children: turnLabel2 })
169100
+ turnLabel2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$Q.turnLabel), children: turnLabel2 })
169011
169101
  ] })
169012
169102
  ]
169013
169103
  }
@@ -169018,8 +169108,8 @@ const EventPanel = ({
169018
169108
  id: `event-panel-${eventNodeId}`,
169019
169109
  className: clsx(
169020
169110
  className2,
169021
- styles$R.card,
169022
- depth === 0 ? styles$R.root : void 0
169111
+ styles$Q.card,
169112
+ depth === 0 ? styles$Q.root : void 0
169023
169113
  ),
169024
169114
  children: [
169025
169115
  titleEl,
@@ -169028,8 +169118,8 @@ const EventPanel = ({
169028
169118
  {
169029
169119
  className: clsx(
169030
169120
  "tab-content",
169031
- styles$R.cardContent,
169032
- isCollapsible && collapsed2 && collapsibleContent ? styles$R.hidden : void 0
169121
+ styles$Q.cardContent,
169122
+ isCollapsible && collapsed2 && collapsibleContent ? styles$Q.hidden : void 0
169033
169123
  ),
169034
169124
  children: filteredArrChildren?.map((child, index) => {
169035
169125
  const id = pillId(index);
@@ -169052,7 +169142,7 @@ const EventPanel = ({
169052
169142
  isCollapsible && useBottomDongle ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
169053
169143
  "div",
169054
169144
  {
169055
- className: clsx(styles$R.bottomDongle, "text-size-smallest"),
169145
+ className: clsx(styles$Q.bottomDongle, "text-size-smallest"),
169056
169146
  onClick: toggleCollapse,
169057
169147
  children: [
169058
169148
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -169060,7 +169150,7 @@ const EventPanel = ({
169060
169150
  {
169061
169151
  className: clsx(
169062
169152
  collapsed2 ? ApplicationIcons.chevron.right : ApplicationIcons.chevron.down,
169063
- styles$R.dongleIcon
169153
+ styles$Q.dongleIcon
169064
169154
  )
169065
169155
  }
169066
169156
  ),
@@ -169127,7 +169217,7 @@ const ErrorEventView = ({
169127
169217
  );
169128
169218
  };
169129
169219
  const panel$5 = "_panel_vz394_1";
169130
- const styles$Q = {
169220
+ const styles$P = {
169131
169221
  panel: panel$5
169132
169222
  };
169133
169223
  const InfoEventView = ({
@@ -169142,13 +169232,13 @@ const InfoEventView = ({
169142
169232
  RenderedText,
169143
169233
  {
169144
169234
  markdown: event.data,
169145
- className: clsx(styles$Q.panel, "text-size-base"),
169235
+ className: clsx(styles$P.panel, "text-size-base"),
169146
169236
  omitMath: true
169147
169237
  }
169148
169238
  )
169149
169239
  );
169150
169240
  } else {
169151
- panels.push(/* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { data: event.data, className: styles$Q.panel }));
169241
+ panels.push(/* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { data: event.data, className: styles$P.panel }));
169152
169242
  }
169153
169243
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
169154
169244
  EventPanel,
@@ -169191,9 +169281,11 @@ const InputEventView = ({
169191
169281
  }
169192
169282
  );
169193
169283
  };
169194
- const grid$5 = "_grid_1eq5o_1";
169195
- const styles$P = {
169196
- grid: grid$5
169284
+ const grid$5 = "_grid_159mg_1";
169285
+ const wrap = "_wrap_159mg_12";
169286
+ const styles$O = {
169287
+ grid: grid$5,
169288
+ wrap
169197
169289
  };
169198
169290
  const LoggerEventView = ({
169199
169291
  eventNode,
@@ -169207,8 +169299,16 @@ const LoggerEventView = ({
169207
169299
  className: className2,
169208
169300
  title: event.message.level,
169209
169301
  icon: ApplicationIcons.logging[event.message.level.toLowerCase()],
169210
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-base", styles$P.grid), children: [
169211
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller"), children: obj !== void 0 && obj !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: obj }) : event.message.message }),
169302
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-base", styles$O.grid), children: [
169303
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller"), children: obj !== void 0 && obj !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: obj }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
169304
+ ExpandablePanel,
169305
+ {
169306
+ id: `event-message-${event.uuid}`,
169307
+ collapse: true,
169308
+ className: clsx(styles$O.wrap),
169309
+ children: event.message.message
169310
+ }
169311
+ ) }),
169212
169312
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", "text-style-secondary"), children: [
169213
169313
  event.message.filename,
169214
169314
  ":",
@@ -169221,7 +169321,7 @@ const LoggerEventView = ({
169221
169321
  const container$e = "_container_1ww70_1";
169222
169322
  const titleRow = "_titleRow_1ww70_5";
169223
169323
  const title = "_title_1ww70_5";
169224
- const styles$O = {
169324
+ const styles$N = {
169225
169325
  container: container$e,
169226
169326
  titleRow,
169227
169327
  title
@@ -169232,11 +169332,11 @@ const EventSection = ({
169232
169332
  copyContent,
169233
169333
  className: className2
169234
169334
  }) => {
169235
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$O.container, className2), children: [
169236
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$O.titleRow), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
169335
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$N.container, className2), children: [
169336
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$N.titleRow), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
169237
169337
  "div",
169238
169338
  {
169239
- className: clsx("text-size-small", "text-style-label", styles$O.title),
169339
+ className: clsx("text-size-small", "text-style-label", styles$N.title),
169240
169340
  children: [
169241
169341
  title2,
169242
169342
  copyContent ? /* @__PURE__ */ jsxRuntimeExports.jsx(CopyButton, { value: copyContent, ariaLabel: "Copy to clipboard" }) : null
@@ -169252,18 +169352,18 @@ const tableSelection = "_tableSelection_1hidt_12";
169252
169352
  const codePre = "_codePre_1hidt_22";
169253
169353
  const code$3 = "_code_1hidt_22";
169254
169354
  const progress$1 = "_progress_1hidt_34";
169255
- const error = "_error_1hidt_38";
169355
+ const error$1 = "_error_1hidt_38";
169256
169356
  const toolConfig = "_toolConfig_1hidt_54";
169257
169357
  const toolChoice = "_toolChoice_1hidt_62";
169258
169358
  const traceback = "_traceback_1hidt_71";
169259
- const styles$N = {
169359
+ const styles$M = {
169260
169360
  container: container$d,
169261
169361
  all,
169262
169362
  tableSelection,
169263
169363
  codePre,
169264
169364
  code: code$3,
169265
169365
  progress: progress$1,
169266
- error,
169366
+ error: error$1,
169267
169367
  toolConfig,
169268
169368
  toolChoice,
169269
169369
  traceback
@@ -169274,7 +169374,7 @@ const col1_3 = "_col1_3_cv5sf_12";
169274
169374
  const col3 = "_col3_cv5sf_16";
169275
169375
  const separator$3 = "_separator_cv5sf_20";
169276
169376
  const topMargin = "_topMargin_cv5sf_26";
169277
- const styles$M = {
169377
+ const styles$L = {
169278
169378
  wrapper: wrapper$2,
169279
169379
  col2: col2$1,
169280
169380
  col1_3,
@@ -169348,9 +169448,9 @@ const EventTimingPanel = ({
169348
169448
  });
169349
169449
  }
169350
169450
  }
169351
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$M.wrapper), children: rows.map((row2, idx) => {
169451
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$L.wrapper), children: rows.map((row2, idx) => {
169352
169452
  if (row2.label === "---") {
169353
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$M.separator }, `$usage-sep-${idx}`);
169453
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$L.separator }, `$usage-sep-${idx}`);
169354
169454
  } else {
169355
169455
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
169356
169456
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -169359,13 +169459,13 @@ const EventTimingPanel = ({
169359
169459
  className: clsx(
169360
169460
  "text-style-label",
169361
169461
  "text-style-secondary",
169362
- row2.secondary ? styles$M.col2 : styles$M.col1_3,
169363
- row2.topMargin ? styles$M.topMargin : void 0
169462
+ row2.secondary ? styles$L.col2 : styles$L.col1_3,
169463
+ row2.topMargin ? styles$L.topMargin : void 0
169364
169464
  ),
169365
169465
  children: row2.label
169366
169466
  }
169367
169467
  ),
169368
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$M.col3, children: row2.value ? row2.value : "" })
169468
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$L.col3, children: row2.value ? row2.value : "" })
169369
169469
  ] }, `$usage-row-${idx}`);
169370
169470
  }
169371
169471
  }) });
@@ -169421,7 +169521,7 @@ const ModelEventView = ({
169421
169521
  icon: ApplicationIcons.model,
169422
169522
  turnLabel: turnLabel2,
169423
169523
  children: [
169424
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$N.container, children: [
169524
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$M.container, children: [
169425
169525
  /* @__PURE__ */ jsxRuntimeExports.jsx(
169426
169526
  ChatView,
169427
169527
  {
@@ -169433,7 +169533,7 @@ const ModelEventView = ({
169433
169533
  allowLinking: false
169434
169534
  }
169435
169535
  ),
169436
- event.error ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$N.error, children: [
169536
+ event.error ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$M.error, children: [
169437
169537
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.error, "aria-hidden": "true" }),
169438
169538
  /* @__PURE__ */ jsxRuntimeExports.jsx(
169439
169539
  ANSIDisplay,
@@ -169444,20 +169544,20 @@ const ModelEventView = ({
169444
169544
  }
169445
169545
  }
169446
169546
  )
169447
- ] }) : event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$N.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
169547
+ ] }) : event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$M.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
169448
169548
  ] }),
169449
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "All", className: styles$N.container, children: [
169450
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$N.all, children: [
169549
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "All", className: styles$M.container, children: [
169550
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$M.all, children: [
169451
169551
  Object.keys(entries).length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
169452
169552
  EventSection,
169453
169553
  {
169454
169554
  title: "Configuration",
169455
- className: styles$N.tableSelection,
169555
+ className: styles$M.tableSelection,
169456
169556
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries, plain: true })
169457
169557
  }
169458
169558
  ),
169459
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Usage", className: styles$N.tableSelection, children: event.output.usage !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage: event.output.usage }) : void 0 }),
169460
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Timing", className: styles$N.tableSelection, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169559
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Usage", className: styles$M.tableSelection, children: event.output.usage !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage: event.output.usage }) : void 0 }),
169560
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Timing", className: styles$M.tableSelection, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169461
169561
  EventTimingPanel,
169462
169562
  {
169463
169563
  timestamp: event.timestamp,
@@ -169477,21 +169577,21 @@ const ModelEventView = ({
169477
169577
  }
169478
169578
  ) })
169479
169579
  ] }),
169480
- event.tools.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Tools", className: styles$N.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolsConfig, { tools: event.tools, toolChoice: event.tool_choice }) }),
169580
+ event.tools.length > 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Tools", className: styles$M.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolsConfig, { tools: event.tools, toolChoice: event.tool_choice }) }),
169481
169581
  event.call ? /* @__PURE__ */ jsxRuntimeExports.jsx(
169482
169582
  APIView,
169483
169583
  {
169484
169584
  "data-name": "API",
169485
169585
  call: event.call,
169486
169586
  error: event.error,
169487
- className: styles$N.container
169587
+ className: styles$M.container
169488
169588
  }
169489
169589
  ) : "",
169490
- event.traceback_ansi && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Error", className: styles$N.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169590
+ event.traceback_ansi && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Error", className: styles$M.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169491
169591
  ANSIDisplay,
169492
169592
  {
169493
169593
  output: event.traceback_ansi,
169494
- className: styles$N.traceback
169594
+ className: styles$M.traceback
169495
169595
  }
169496
169596
  ) })
169497
169597
  ]
@@ -169519,11 +169619,11 @@ const APICodeCell = ({ id, sourceCode }) => {
169519
169619
  if (!sourceCode) {
169520
169620
  return null;
169521
169621
  }
169522
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: sourceCodeRef, className: clsx("model-call"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$N.codePre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169622
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: sourceCodeRef, className: clsx("model-call"), children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$M.codePre), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169523
169623
  "code",
169524
169624
  {
169525
169625
  id,
169526
- className: clsx("language-json", styles$N.code, "text-size-small"),
169626
+ className: clsx("language-json", styles$M.code, "text-size-small"),
169527
169627
  children: sourceCode
169528
169628
  }
169529
169629
  ) }) });
@@ -169536,8 +169636,8 @@ const ToolsConfig = ({ tools: tools2, toolChoice: toolChoice2 }) => {
169536
169636
  ] }, `${tool2.name}-${idx}`);
169537
169637
  });
169538
169638
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
169539
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$N.toolConfig, "text-size-small"), children: toolEls }),
169540
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$N.toolChoice, "text-size-small"), children: [
169639
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$M.toolConfig, "text-size-small"), children: toolEls }),
169640
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$M.toolChoice, "text-size-small"), children: [
169541
169641
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Tool Choice" }),
169542
169642
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolChoiceView, { toolChoice: toolChoice2 }) })
169543
169643
  ] })
@@ -169559,7 +169659,7 @@ const code$2 = "_code_1a3fk_5";
169559
169659
  const sample = "_sample_1a3fk_10";
169560
169660
  const section$1 = "_section_1a3fk_14";
169561
169661
  const metadata$1 = "_metadata_1a3fk_21";
169562
- const styles$L = {
169662
+ const styles$K = {
169563
169663
  noMargin,
169564
169664
  code: code$2,
169565
169665
  sample,
@@ -169576,13 +169676,13 @@ const SampleInitEventView = ({
169576
169676
  if (event.sample.files && Object.keys(event.sample.files).length > 0) {
169577
169677
  sections.push(
169578
169678
  /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Files", children: Object.keys(event.sample.files).map((file) => {
169579
- return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$L.noMargin, children: file }, `sample-init-file-${file}`);
169679
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$K.noMargin, children: file }, `sample-init-file-${file}`);
169580
169680
  }) }, `event-${eventNode.id}`)
169581
169681
  );
169582
169682
  }
169583
169683
  if (event.sample.setup) {
169584
169684
  sections.push(
169585
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Setup", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$L.code, children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: "sourceCode", children: event.sample.setup }) }) }, `${eventNode.id}-section-setup`)
169685
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Setup", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$K.code, children: /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: "sourceCode", children: event.sample.setup }) }) }, `${eventNode.id}-section-setup`)
169586
169686
  );
169587
169687
  }
169588
169688
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -169595,7 +169695,7 @@ const SampleInitEventView = ({
169595
169695
  icon: ApplicationIcons.sample,
169596
169696
  subTitle: formatDateTime(new Date(event.timestamp)),
169597
169697
  children: [
169598
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Sample", className: styles$L.sample, children: [
169698
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Sample", className: styles$K.sample, children: [
169599
169699
  /* @__PURE__ */ jsxRuntimeExports.jsx(
169600
169700
  ChatView,
169601
169701
  {
@@ -169611,7 +169711,7 @@ const SampleInitEventView = ({
169611
169711
  choice
169612
169712
  ] }, `$choice-{choice}`);
169613
169713
  }) : "",
169614
- sections.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$L.section, children: sections }) : "",
169714
+ sections.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$K.section, children: sections }) : "",
169615
169715
  event.sample.target ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Target", children: toArray(event.sample.target).map((target2) => {
169616
169716
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base"), children: target2 }, target2);
169617
169717
  }) }) : void 0
@@ -169621,7 +169721,7 @@ const SampleInitEventView = ({
169621
169721
  MetaDataGrid,
169622
169722
  {
169623
169723
  "data-name": "Metadata",
169624
- className: styles$L.metadata,
169724
+ className: styles$K.metadata,
169625
169725
  entries: event.sample.metadata
169626
169726
  }
169627
169727
  ) : ""
@@ -169685,7 +169785,7 @@ const exec = "_exec_1irga_15";
169685
169785
  const result = "_result_1irga_19";
169686
169786
  const fileLabel = "_fileLabel_1irga_23";
169687
169787
  const wrapPre = "_wrapPre_1irga_28";
169688
- const styles$K = {
169788
+ const styles$J = {
169689
169789
  twoColumn,
169690
169790
  exec,
169691
169791
  result,
@@ -169723,10 +169823,10 @@ const ExecView = ({ id, event }) => {
169723
169823
  const input2 = event.input;
169724
169824
  const result2 = event.result;
169725
169825
  const output2 = event.output ? event.output.trim() : void 0;
169726
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$K.exec), children: [
169727
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Command`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$K.twoColumn), children: [
169728
- /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$K.wrapPre), children: cmd2 }),
169729
- /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$K.wrapPre), children: input2 !== null ? input2?.trim() : void 0 }),
169826
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$J.exec), children: [
169827
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Command`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$J.twoColumn), children: [
169828
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$J.wrapPre), children: cmd2 }),
169829
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$J.wrapPre), children: input2 !== null ? input2?.trim() : void 0 }),
169730
169830
  options2 !== null && Object.keys(options2).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Options`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169731
169831
  MetaDataGrid,
169732
169832
  {
@@ -169743,7 +169843,7 @@ const ExecView = ({ id, event }) => {
169743
169843
  entry: { name: "sandbox_output", value: output2 }
169744
169844
  }
169745
169845
  ) }) : void 0,
169746
- result2 !== 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$K.result, "text-size-base"), children: [
169846
+ result2 !== 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$J.result, "text-size-base"), children: [
169747
169847
  "(exited with code ",
169748
169848
  result2,
169749
169849
  ")"
@@ -169769,14 +169869,14 @@ const WriteFileView = ({ id, event }) => {
169769
169869
  };
169770
169870
  const FileView = ({ id, file, contents: contents2 }) => {
169771
169871
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
169772
- /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "File", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$K.fileLabel), children: file }) }),
169872
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "File", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$J.fileLabel), children: file }) }),
169773
169873
  contents2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Contents", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ExpandablePanel, { id: `${id}-file`, collapse: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { children: contents2 }) }) }) : void 0
169774
169874
  ] });
169775
169875
  };
169776
169876
  const explanation = "_explanation_1k2k0_1";
169777
169877
  const wrappingContent$1 = "_wrappingContent_1k2k0_8";
169778
169878
  const separator$2 = "_separator_1k2k0_13";
169779
- const styles$J = {
169879
+ const styles$I = {
169780
169880
  explanation,
169781
169881
  wrappingContent: wrappingContent$1,
169782
169882
  separator: separator$2
@@ -169802,29 +169902,29 @@ const ScoreEventView = ({
169802
169902
  icon: ApplicationIcons.scorer,
169803
169903
  collapsibleContent: true,
169804
169904
  children: [
169805
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Explanation", className: clsx(styles$J.explanation), children: [
169905
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Explanation", className: clsx(styles$I.explanation), children: [
169806
169906
  event.target ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
169807
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) }),
169907
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169808
169908
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Target" }),
169809
169909
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: resolvedTarget || "" }) })
169810
169910
  ] }) : "",
169811
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) }),
169911
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169812
169912
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Answer" }),
169813
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.answer || "" }) }),
169814
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) }),
169913
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.answer || "" }) }),
169914
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169815
169915
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Explanation" }),
169816
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.explanation || "" }) }),
169817
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) }),
169916
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.explanation || "" }) }),
169917
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169818
169918
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Score" }),
169819
169919
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderScore(event.score.value) }),
169820
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) })
169920
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) })
169821
169921
  ] }),
169822
169922
  event.score.metadata ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Metadata", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169823
169923
  RecordTree,
169824
169924
  {
169825
169925
  id: `${eventNode.id}-score-metadata`,
169826
169926
  record: event.score.metadata,
169827
- className: styles$J.metadataTree,
169927
+ className: styles$I.metadataTree,
169828
169928
  defaultExpandLevel: 0
169829
169929
  }
169830
169930
  ) }) : void 0
@@ -177937,7 +178037,7 @@ const lightboxContent = "_lightboxContent_1mvg8_33";
177937
178037
  const lightboxButtonCloseWrapper = "_lightboxButtonCloseWrapper_1mvg8_45";
177938
178038
  const lightboxButtonClose = "_lightboxButtonClose_1mvg8_45";
177939
178039
  const lightboxPreviewButton = "_lightboxPreviewButton_1mvg8_63";
177940
- const styles$I = {
178040
+ const styles$H = {
177941
178041
  carouselThumbs,
177942
178042
  carouselThumb,
177943
178043
  carouselPlayIcon,
@@ -178006,12 +178106,12 @@ const LightboxCarousel = ({ id, slides }) => {
178006
178106
  [openLightbox]
178007
178107
  );
178008
178108
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("lightbox-carousel-container"), children: [
178009
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.carouselThumbs), children: slides.map((slide, index) => {
178109
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.carouselThumbs), children: slides.map((slide, index) => {
178010
178110
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
178011
178111
  "div",
178012
178112
  {
178013
178113
  "data-index": index,
178014
- className: clsx(styles$I.carouselThumb),
178114
+ className: clsx(styles$H.carouselThumb),
178015
178115
  onClick: handleThumbClick,
178016
178116
  children: [
178017
178117
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: slide.label }),
@@ -178020,7 +178120,7 @@ const LightboxCarousel = ({ id, slides }) => {
178020
178120
  {
178021
178121
  className: clsx(
178022
178122
  ApplicationIcons.play,
178023
- styles$I.carouselPlayIcon
178123
+ styles$H.carouselPlayIcon
178024
178124
  )
178025
178125
  }
178026
178126
  ) })
@@ -178032,12 +178132,12 @@ const LightboxCarousel = ({ id, slides }) => {
178032
178132
  showOverlay && /* @__PURE__ */ jsxRuntimeExports.jsxs(
178033
178133
  "div",
178034
178134
  {
178035
- className: clsx(styles$I.lightboxOverlay, isOpen ? "open" : "closed"),
178135
+ className: clsx(styles$H.lightboxOverlay, isOpen ? "open" : "closed"),
178036
178136
  children: [
178037
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.lightboxButtonCloseWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
178137
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.lightboxButtonCloseWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
178038
178138
  "button",
178039
178139
  {
178040
- className: styles$I.lightboxButtonClose,
178140
+ className: styles$H.lightboxButtonClose,
178041
178141
  onClick: closeLightbox,
178042
178142
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.close })
178043
178143
  }
@@ -178045,7 +178145,7 @@ const LightboxCarousel = ({ id, slides }) => {
178045
178145
  slides.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
178046
178146
  "button",
178047
178147
  {
178048
- className: clsx(styles$I.lightboxPreviewButton, "prev"),
178148
+ className: clsx(styles$H.lightboxPreviewButton, "prev"),
178049
178149
  onClick: showPrev,
178050
178150
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.previous })
178051
178151
  }
@@ -178053,7 +178153,7 @@ const LightboxCarousel = ({ id, slides }) => {
178053
178153
  slides.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
178054
178154
  "button",
178055
178155
  {
178056
- className: clsx(styles$I.lightboxPreviewButton, "next"),
178156
+ className: clsx(styles$H.lightboxPreviewButton, "next"),
178057
178157
  onClick: showNext,
178058
178158
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.next })
178059
178159
  }
@@ -178061,7 +178161,7 @@ const LightboxCarousel = ({ id, slides }) => {
178061
178161
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178062
178162
  "div",
178063
178163
  {
178064
- className: clsx(styles$I.lightboxContent, isOpen ? "open" : "closed"),
178164
+ className: clsx(styles$H.lightboxContent, isOpen ? "open" : "closed"),
178065
178165
  children: slides[currentIndex].render()
178066
178166
  },
178067
178167
  `carousel-slide-${currentIndex}`
@@ -178161,7 +178261,7 @@ const extractSize = (value2, label2, defaultValue) => {
178161
178261
  const toolsGrid = "_toolsGrid_1qqm2_1";
178162
178262
  const tools = "_tools_1qqm2_1";
178163
178263
  const tool = "_tool_1qqm2_1";
178164
- const styles$H = {
178264
+ const styles$G = {
178165
178265
  toolsGrid,
178166
178266
  tools,
178167
178267
  tool
@@ -178330,7 +178430,7 @@ const renderTools = (changes, resolvedState) => {
178330
178430
  toolsInfo["Tools"] = /* @__PURE__ */ jsxRuntimeExports.jsx(Tools, { toolDefinitions: filtered });
178331
178431
  }
178332
178432
  }
178333
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.tools), children: Object.keys(toolsInfo).map((key2) => {
178433
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$G.tools), children: Object.keys(toolsInfo).map((key2) => {
178334
178434
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
178335
178435
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178336
178436
  "div",
@@ -178385,7 +178485,7 @@ const StoreSpecificRenderableTypes = [
178385
178485
  human_baseline_session
178386
178486
  ];
178387
178487
  const Tools = ({ toolDefinitions }) => {
178388
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$H.toolsGrid, children: toolDefinitions.map((toolDefinition, idx) => {
178488
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$G.toolsGrid, children: toolDefinitions.map((toolDefinition, idx) => {
178389
178489
  const toolName = toolDefinition.name;
178390
178490
  const toolArgs = toolDefinition.parameters?.properties ? Object.keys(toolDefinition.parameters.properties) : [];
178391
178491
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -178400,11 +178500,11 @@ const Tools = ({ toolDefinitions }) => {
178400
178500
  };
178401
178501
  const Tool = ({ toolName, toolArgs }) => {
178402
178502
  const functionCall = toolArgs && toolArgs.length > 0 ? `${toolName}(${toolArgs.join(", ")})` : toolName;
178403
- return /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-smallest", styles$H.tool), children: functionCall });
178503
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-smallest", styles$G.tool), children: functionCall });
178404
178504
  };
178405
178505
  const diff = "_diff_eobja_1";
178406
178506
  const summary$2 = "_summary_eobja_6";
178407
- const styles$G = {
178507
+ const styles$F = {
178408
178508
  diff,
178409
178509
  summary: summary$2
178410
178510
  };
@@ -178449,14 +178549,14 @@ const StateEventView = ({
178449
178549
  text: !changePreview ? summary2 : void 0,
178450
178550
  collapsibleContent: true,
178451
178551
  children: [
178452
- changePreview ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Summary", className: clsx(styles$G.summary), children: changePreview }) : void 0,
178552
+ changePreview ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Summary", className: clsx(styles$F.summary), children: changePreview }) : void 0,
178453
178553
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178454
178554
  StateDiffView,
178455
178555
  {
178456
178556
  before,
178457
178557
  after,
178458
178558
  "data-name": "Diff",
178459
- className: clsx(styles$G.diff)
178559
+ className: clsx(styles$F.diff)
178460
178560
  }
178461
178561
  )
178462
178562
  ]
@@ -178781,7 +178881,7 @@ const summary$1 = "_summary_ac4z2_1";
178781
178881
  const summaryRendered = "_summaryRendered_ac4z2_6";
178782
178882
  const subtaskSummary = "_subtaskSummary_ac4z2_10";
178783
178883
  const subtaskLabel = "_subtaskLabel_ac4z2_17";
178784
- const styles$F = {
178884
+ const styles$E = {
178785
178885
  summary: summary$1,
178786
178886
  summaryRendered,
178787
178887
  subtaskSummary,
@@ -178796,9 +178896,9 @@ const SubtaskEventView = ({
178796
178896
  const body2 = [];
178797
178897
  if (event.type === "fork") {
178798
178898
  body2.push(
178799
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { title: "Summary", className: clsx(styles$F.summary), children: [
178899
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { title: "Summary", className: clsx(styles$E.summary), children: [
178800
178900
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Inputs" }),
178801
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$F.summaryRendered), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: event.input }) })
178901
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$E.summaryRendered), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: event.input }) })
178802
178902
  ] })
178803
178903
  );
178804
178904
  } else {
@@ -178834,12 +178934,12 @@ const SubtaskEventView = ({
178834
178934
  };
178835
178935
  const SubtaskSummary = ({ input: input2, result: result2 }) => {
178836
178936
  const output2 = typeof result2 === "object" ? result2 : { result: result2 };
178837
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$F.subtaskSummary), children: [
178937
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$E.subtaskSummary), children: [
178838
178938
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-size-small"), children: "Input" }),
178839
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-large", styles$F.subtaskLabel) }),
178939
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-large", styles$E.subtaskLabel) }),
178840
178940
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-size-small"), children: "Output" }),
178841
178941
  input2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: input2 }) : void 0,
178842
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-title-secondary", styles$F.subtaskLabel), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) }),
178942
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-title-secondary", styles$E.subtaskLabel), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) }),
178843
178943
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: output2 }) })
178844
178944
  ] });
178845
178945
  };
@@ -178864,7 +178964,7 @@ const None = () => {
178864
178964
  const summary = "_summary_1qsnv_1";
178865
178965
  const approval = "_approval_1qsnv_6";
178866
178966
  const progress = "_progress_1qsnv_12";
178867
- const styles$E = {
178967
+ const styles$D = {
178868
178968
  summary,
178869
178969
  approval,
178870
178970
  progress
@@ -178906,7 +179006,7 @@ const ToolEventView = ({
178906
179006
  childIds: children2.map((child) => child.id),
178907
179007
  collapseControl: "bottom",
178908
179008
  turnLabel: turnLabel2,
178909
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$E.summary, children: [
179009
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$D.summary, children: [
178910
179010
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178911
179011
  ToolCallView,
178912
179012
  {
@@ -178934,10 +179034,10 @@ const ToolEventView = ({
178934
179034
  ApprovalEventView,
178935
179035
  {
178936
179036
  eventNode: approvalNode,
178937
- className: styles$E.approval
179037
+ className: styles$D.approval
178938
179038
  }
178939
179039
  ) : "",
178940
- event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$E.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
179040
+ event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
178941
179041
  ] })
178942
179042
  }
178943
179043
  );
@@ -178948,7 +179048,7 @@ const separator$1 = "_separator_io1r0_13";
178948
179048
  const unchanged = "_unchanged_io1r0_22";
178949
179049
  const section = "_section_io1r0_27";
178950
179050
  const spacer = "_spacer_io1r0_31";
178951
- const styles$D = {
179051
+ const styles$C = {
178952
179052
  container: container$c,
178953
179053
  wrappingContent,
178954
179054
  separator: separator$1,
@@ -178980,46 +179080,46 @@ const ScoreEditEventView = ({
178980
179080
  className: clsx(
178981
179081
  "text-style-label",
178982
179082
  "text-style-secondary",
178983
- styles$D.section
179083
+ styles$C.section
178984
179084
  ),
178985
179085
  children: "Updated Values"
178986
179086
  }
178987
179087
  ),
178988
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$D.container), children: [
179088
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$C.container), children: [
178989
179089
  event.edit.value ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
178990
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179090
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
178991
179091
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Value" }),
178992
179092
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderScore(event.edit.value) })
178993
179093
  ] }) : "",
178994
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179094
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
178995
179095
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Answer" }),
178996
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: event.edit.answer === kUnchangedSentinel ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$D.unchanged), children: "[unchanged]" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.answer || "" }) }),
178997
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179096
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: event.edit.answer === kUnchangedSentinel ? /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$C.unchanged), children: "[unchanged]" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.answer || "" }) }),
179097
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
178998
179098
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Explanation" }),
178999
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.explanation || "" }) })
179099
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.explanation || "" }) })
179000
179100
  ] }),
179001
- event.edit.provenance ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$D.container), children: [
179101
+ event.edit.provenance ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$C.container), children: [
179002
179102
  /* @__PURE__ */ jsxRuntimeExports.jsx(
179003
179103
  "div",
179004
179104
  {
179005
179105
  className: clsx(
179006
179106
  "text-style-label",
179007
179107
  "text-style-secondary",
179008
- styles$D.section
179108
+ styles$C.section
179009
179109
  ),
179010
179110
  children: "Provenance"
179011
179111
  }
179012
179112
  ),
179013
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.spacer) }),
179014
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179113
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.spacer) }),
179114
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
179015
179115
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Author" }),
179016
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.author }) }),
179017
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179116
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.author }) }),
179117
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
179018
179118
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Reason" }),
179019
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.reason || "" }) }),
179020
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179119
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.reason || "" }) }),
179120
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
179021
179121
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Time" }),
179022
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
179122
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
179023
179123
  RenderedText,
179024
179124
  {
179025
179125
  markdown: formatDateTime(new Date(event.edit.provenance.timestamp)) || ""
@@ -179031,7 +179131,7 @@ const ScoreEditEventView = ({
179031
179131
  {
179032
179132
  id: `${eventNode.id}-score-metadata`,
179033
179133
  record: event.edit.metadata || {},
179034
- className: styles$D.metadataTree,
179134
+ className: styles$C.metadataTree,
179035
179135
  defaultExpandLevel: 0
179036
179136
  }
179037
179137
  ) }) : void 0
@@ -179164,7 +179264,7 @@ const node = "_node_1r858_1";
179164
179264
  const attached = "_attached_1r858_5";
179165
179265
  const attachedParent = "_attachedParent_1r858_9";
179166
179266
  const attachedChild = "_attachedChild_1r858_16";
179167
- const styles$C = {
179267
+ const styles$B = {
179168
179268
  node,
179169
179269
  attached,
179170
179270
  attachedParent,
@@ -179391,22 +179491,22 @@ const TranscriptVirtualListComponent = ({
179391
179491
  }, [eventNodes, hasToolEventsAtCurrentDepth, turnMap]);
179392
179492
  const renderRow = useCallback(
179393
179493
  (index, item2, style2) => {
179394
- const paddingClass = index === 0 ? styles$C.first : void 0;
179494
+ const paddingClass = index === 0 ? styles$B.first : void 0;
179395
179495
  const previousIndex = index - 1;
179396
179496
  const nextIndex = index + 1;
179397
179497
  const previous = previousIndex > 0 && previousIndex <= eventNodes.length ? eventNodes[previousIndex] : void 0;
179398
179498
  const next = nextIndex < eventNodes.length ? eventNodes[nextIndex] : void 0;
179399
179499
  const attached2 = item2.event.event === "tool" && (previous?.event.event === "tool" || previous?.event.event === "model");
179400
179500
  const attachedParent2 = item2.event.event === "model" && next?.event.event === "tool";
179401
- const attachedClass = attached2 ? styles$C.attached : void 0;
179402
- const attachedChildClass = attached2 ? styles$C.attachedChild : void 0;
179403
- const attachedParentClass = attachedParent2 ? styles$C.attachedParent : void 0;
179501
+ const attachedClass = attached2 ? styles$B.attached : void 0;
179502
+ const attachedChildClass = attached2 ? styles$B.attachedChild : void 0;
179503
+ const attachedParentClass = attachedParent2 ? styles$B.attachedParent : void 0;
179404
179504
  const context = contextMap.get(item2.id);
179405
179505
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
179406
179506
  "div",
179407
179507
  {
179408
179508
  id: item2.id,
179409
- className: clsx(styles$C.node, paddingClass, attachedClass),
179509
+ className: clsx(styles$B.node, paddingClass, attachedClass),
179410
179510
  style: {
179411
179511
  ...style2,
179412
179512
  paddingLeft: `${item2.depth <= 1 ? item2.depth * 0.7 : (0.7 + item2.depth - 1) * 1}em`,
@@ -179453,7 +179553,7 @@ const TranscriptVirtualListComponent = ({
179453
179553
  }
179454
179554
  };
179455
179555
  const panel$4 = "_panel_8zdtn_1";
179456
- const styles$B = {
179556
+ const styles$A = {
179457
179557
  panel: panel$4
179458
179558
  };
179459
179559
  const CompactionEventView = ({
@@ -179479,7 +179579,7 @@ const CompactionEventView = ({
179479
179579
  className: className2,
179480
179580
  subTitle: formatDateTime(new Date(event.timestamp)),
179481
179581
  icon: ApplicationIcons.info,
179482
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: data, className: styles$B.panel })]
179582
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: data, className: styles$A.panel })]
179483
179583
  }
179484
179584
  );
179485
179585
  };
@@ -180177,21 +180277,21 @@ const TranscriptPanel = memo((props) => {
180177
180277
  "div",
180178
180278
  {
180179
180279
  className: clsx(
180180
- styles$V.container,
180181
- collapsed2 ? styles$V.collapsed : void 0
180280
+ styles$U.container,
180281
+ collapsed2 ? styles$U.collapsed : void 0
180182
180282
  ),
180183
180283
  children: [
180184
180284
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
180185
180285
  StickyScroll,
180186
180286
  {
180187
180287
  scrollRef,
180188
- className: styles$V.treeContainer,
180288
+ className: styles$U.treeContainer,
180189
180289
  offsetTop: topOffset,
180190
180290
  children: [
180191
180291
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180192
180292
  TranscriptOutline,
180193
180293
  {
180194
- className: clsx(styles$V.outline),
180294
+ className: clsx(styles$U.outline),
180195
180295
  eventNodes,
180196
180296
  filteredNodes: outlineFilteredNodes,
180197
180297
  running,
@@ -180202,7 +180302,7 @@ const TranscriptPanel = memo((props) => {
180202
180302
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180203
180303
  "div",
180204
180304
  {
180205
- className: styles$V.outlineToggle,
180305
+ className: styles$U.outlineToggle,
180206
180306
  onClick: () => setCollapsed(!collapsed2),
180207
180307
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.sidebar })
180208
180308
  }
@@ -180220,7 +180320,7 @@ const TranscriptPanel = memo((props) => {
180220
180320
  running,
180221
180321
  initialEventId: initialEventId === void 0 ? null : initialEventId,
180222
180322
  offsetTop: topOffset,
180223
- className: styles$V.listContainer,
180323
+ className: styles$U.listContainer,
180224
180324
  turnMap
180225
180325
  }
180226
180326
  )
@@ -180438,16 +180538,16 @@ const SampleDisplay = ({
180438
180538
  {
180439
180539
  id: tabsetId,
180440
180540
  tabsRef,
180441
- className: clsx(styles$11.tabControls),
180541
+ className: clsx(styles$10.tabControls),
180442
180542
  tabControlsClassName: clsx("text-size-base"),
180443
- tabPanelsClassName: clsx(styles$11.tabPanel),
180543
+ tabPanelsClassName: clsx(styles$10.tabPanel),
180444
180544
  tools: tools2,
180445
180545
  children: [
180446
180546
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
180447
180547
  TabPanel,
180448
180548
  {
180449
180549
  id: kSampleTranscriptTabId,
180450
- className: clsx("sample-tab", styles$11.transcriptContainer),
180550
+ className: clsx("sample-tab", styles$10.transcriptContainer),
180451
180551
  title: "Transcript",
180452
180552
  onSelected: onSelectedTab,
180453
180553
  selected: effectiveSelectedTab === kSampleTranscriptTabId || effectiveSelectedTab === void 0,
@@ -180481,7 +180581,7 @@ const SampleDisplay = ({
180481
180581
  TabPanel,
180482
180582
  {
180483
180583
  id: kSampleMessagesTabId,
180484
- className: clsx("sample-tab", styles$11.fullWidth, styles$11.chat),
180584
+ className: clsx("sample-tab", styles$10.fullWidth, styles$10.chat),
180485
180585
  title: "Messages",
180486
180586
  onSelected: onSelectedTab,
180487
180587
  selected: effectiveSelectedTab === kSampleMessagesTabId,
@@ -180497,7 +180597,7 @@ const SampleDisplay = ({
180497
180597
  scrollRef,
180498
180598
  toolCallStyle: "complete",
180499
180599
  running,
180500
- className: styles$11.fullWidth
180600
+ className: styles$10.fullWidth
180501
180601
  },
180502
180602
  `${baseId}-chat-${id}`
180503
180603
  )
@@ -180516,7 +180616,7 @@ const SampleDisplay = ({
180516
180616
  SampleScoresView,
180517
180617
  {
180518
180618
  sample: sample2,
180519
- className: styles$11.padded,
180619
+ className: styles$10.padded,
180520
180620
  scrollRef
180521
180621
  }
180522
180622
  )
@@ -180531,7 +180631,7 @@ const SampleDisplay = ({
180531
180631
  title: "Metadata",
180532
180632
  onSelected: onSelectedTab,
180533
180633
  selected: effectiveSelectedTab === kSampleMetdataTabId,
180534
- children: !sample2 || sampleMetadatas.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$11.padded, styles$11.fullWidth), children: sampleMetadatas }) : /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "No metadata" })
180634
+ children: !sample2 || sampleMetadatas.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$10.padded, styles$10.fullWidth), children: sampleMetadatas }) : /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "No metadata" })
180535
180635
  }
180536
180636
  ),
180537
180637
  sample2?.error || sample2?.error_retries && sample2?.error_retries.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -180542,14 +180642,14 @@ const SampleDisplay = ({
180542
180642
  title: "Errors",
180543
180643
  onSelected: onSelectedTab,
180544
180644
  selected: effectiveSelectedTab === kSampleErrorTabId,
180545
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$11.error), children: [
180645
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$10.error), children: [
180546
180646
  sample2?.error ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
180547
180647
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: `Sample Error` }),
180548
180648
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
180549
180649
  ANSIDisplay,
180550
180650
  {
180551
180651
  output: sample2.error.traceback_ansi,
180552
- className: clsx("text-size-small", styles$11.ansi),
180652
+ className: clsx("text-size-small", styles$10.ansi),
180553
180653
  style: {
180554
180654
  fontSize: "clamp(0.3rem, 1.1vw, 0.8rem)",
180555
180655
  margin: "0.5em 0"
@@ -180564,7 +180664,7 @@ const SampleDisplay = ({
180564
180664
  ANSIDisplay,
180565
180665
  {
180566
180666
  output: retry.traceback_ansi,
180567
- className: clsx("text-size-small", styles$11.ansi),
180667
+ className: clsx("text-size-small", styles$10.ansi),
180568
180668
  style: {
180569
180669
  fontSize: "clamp(0.3rem, 1.1vw, 0.8rem)",
180570
180670
  margin: "0.5em 0"
@@ -180584,7 +180684,7 @@ const SampleDisplay = ({
180584
180684
  title: "JSON",
180585
180685
  onSelected: onSelectedTab,
180586
180686
  selected: effectiveSelectedTab === kSampleJsonTabId,
180587
- children: !sample2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON not available" }) : estimateSize(sample2.events) > 25 * 1024 * 1024 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON too large to display" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$11.padded, styles$11.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
180687
+ children: !sample2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON not available" }) : estimateSize(sample2.events) > 25 * 1024 * 1024 ? /* @__PURE__ */ jsxRuntimeExports.jsx(NoContentsPanel, { text: "JSON too large to display" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$10.padded, styles$10.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
180588
180688
  JSONPanel,
180589
180689
  {
180590
180690
  data: sample2,
@@ -180635,7 +180735,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180635
180735
  {
180636
180736
  id: `task-sample-invalidation-${id}`,
180637
180737
  record: invalidationRecord,
180638
- className: clsx("tab-pane", styles$11.noTop),
180738
+ className: clsx("tab-pane", styles$10.noTop),
180639
180739
  scrollRef
180640
180740
  }
180641
180741
  ) })
@@ -180650,7 +180750,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180650
180750
  ModelTokenTable,
180651
180751
  {
180652
180752
  model_usage: sample2.model_usage,
180653
- className: clsx(styles$11.noTop)
180753
+ className: clsx(styles$10.noTop)
180654
180754
  }
180655
180755
  ) })
180656
180756
  ] }, `sample-usage-${id}`)
@@ -180668,7 +180768,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180668
180768
  Working: formatTime$1(sample2.working_time),
180669
180769
  Total: formatTime$1(sample2.total_time)
180670
180770
  },
180671
- className: clsx("tab-pane", styles$11.noTop),
180771
+ className: clsx("tab-pane", styles$10.noTop),
180672
180772
  scrollRef
180673
180773
  }
180674
180774
  ) })
@@ -180684,7 +180784,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180684
180784
  {
180685
180785
  id: `task-sample-metadata-${id}`,
180686
180786
  record: sample2?.metadata,
180687
- className: clsx("tab-pane", styles$11.noTop),
180787
+ className: clsx("tab-pane", styles$10.noTop),
180688
180788
  scrollRef
180689
180789
  }
180690
180790
  ) })
@@ -180700,7 +180800,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180700
180800
  {
180701
180801
  id: `task-sample-store-${id}`,
180702
180802
  record: sample2?.store,
180703
- className: clsx("tab-pane", styles$11.noTop),
180803
+ className: clsx("tab-pane", styles$10.noTop),
180704
180804
  scrollRef,
180705
180805
  processStore: true
180706
180806
  }
@@ -180778,7 +180878,7 @@ const isRunning = (sampleSummary, runningSampleData) => {
180778
180878
  };
180779
180879
  const container$b = "_container_ly812_1";
180780
180880
  const scroller = "_scroller_ly812_7";
180781
- const styles$A = {
180881
+ const styles$z = {
180782
180882
  container: container$b,
180783
180883
  scroller
180784
180884
  };
@@ -180796,14 +180896,14 @@ const InlineSampleComponent = ({
180796
180896
  }) => {
180797
180897
  const sampleData = useSampleData();
180798
180898
  const scrollRef = useRef(null);
180799
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$A.container), children: [
180899
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$z.container), children: [
180800
180900
  showActivity && /* @__PURE__ */ jsxRuntimeExports.jsx(
180801
180901
  ActivityBar,
180802
180902
  {
180803
180903
  animating: sampleData.status === "loading" || sampleData.status === "streaming"
180804
180904
  }
180805
180905
  ),
180806
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$A.scroller), ref: scrollRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StickyScrollProvider, { value: scrollRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$A.body, children: sampleData.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(
180906
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$z.scroller), ref: scrollRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StickyScrollProvider, { value: scrollRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$z.body, children: sampleData.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(
180807
180907
  ErrorPanel,
180808
180908
  {
180809
180909
  title: "Unable to load sample",
@@ -180824,7 +180924,7 @@ const sampleInfo = "_sampleInfo_14cqz_11";
180824
180924
  const sampleNav = "_sampleNav_14cqz_17";
180825
180925
  const nav$1 = "_nav_14cqz_25";
180826
180926
  const disabled$1 = "_disabled_14cqz_25";
180827
- const styles$z = {
180927
+ const styles$y = {
180828
180928
  detail,
180829
180929
  panel: panel$3,
180830
180930
  sampleInfo,
@@ -180840,7 +180940,12 @@ const SampleDetailComponent = ({
180840
180940
  navbarConfig
180841
180941
  }) => {
180842
180942
  const { onPrevious, onNext, hasPrevious, hasNext } = navigation;
180843
- const { currentPath, fnNavigationUrl, bordered: bordered2 = true } = navbarConfig;
180943
+ const {
180944
+ currentPath,
180945
+ fnNavigationUrl,
180946
+ bordered: bordered2 = true,
180947
+ breadcrumbsEnabled
180948
+ } = navbarConfig;
180844
180949
  const sampleData = useSampleData();
180845
180950
  const sample2 = useMemo(() => {
180846
180951
  return sampleData.getSelectedSample();
@@ -180915,14 +181020,15 @@ const SampleDetailComponent = ({
180915
181020
  );
180916
181021
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(ExtendedFindProvider, { children: [
180917
181022
  showFind ? /* @__PURE__ */ jsxRuntimeExports.jsx(FindBand, {}) : "",
180918
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$z.detail, children: [
181023
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$y.detail, children: [
180919
181024
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180920
181025
  ApplicationNavbar,
180921
181026
  {
180922
181027
  currentPath,
180923
181028
  fnNavigationUrl,
180924
181029
  bordered: bordered2,
180925
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$z.sampleNav), children: [
181030
+ breadcrumbsEnabled,
181031
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$y.sampleNav), children: [
180926
181032
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180927
181033
  "div",
180928
181034
  {
@@ -180932,11 +181038,11 @@ const SampleDetailComponent = ({
180932
181038
  role: "button",
180933
181039
  "aria-label": "Previous sample",
180934
181040
  "aria-disabled": !hasPrevious,
180935
- className: clsx(!hasPrevious && styles$z.disabled, styles$z.nav),
181041
+ className: clsx(!hasPrevious && styles$y.disabled, styles$y.nav),
180936
181042
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.previous) })
180937
181043
  }
180938
181044
  ),
180939
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$z.sampleInfo, "text-size-smallest"), children: [
181045
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$y.sampleInfo, "text-size-smallest"), children: [
180940
181046
  "Sample ",
180941
181047
  sampleId,
180942
181048
  " (Epoch ",
@@ -180952,7 +181058,7 @@ const SampleDetailComponent = ({
180952
181058
  role: "button",
180953
181059
  "aria-label": "Next sample",
180954
181060
  "aria-disabled": !hasNext,
180955
- className: clsx(!hasNext && styles$z.disabled, styles$z.nav),
181061
+ className: clsx(!hasNext && styles$y.disabled, styles$y.nav),
180956
181062
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.next) })
180957
181063
  }
180958
181064
  )
@@ -180963,7 +181069,7 @@ const SampleDetailComponent = ({
180963
181069
  InlineSampleComponent,
180964
181070
  {
180965
181071
  showActivity: false,
180966
- className: styles$z.panel
181072
+ className: styles$y.panel
180967
181073
  }
180968
181074
  )
180969
181075
  ] })
@@ -180989,6 +181095,7 @@ const LogSampleDetailView = () => {
180989
181095
  const selectedSampleHandle = useStore(
180990
181096
  (state) => state.log.selectedSampleHandle
180991
181097
  );
181098
+ const singleFileMode = useStore((state) => state.app.singleFileMode);
180992
181099
  const logPath = routeLogPath || selectedLogFile;
180993
181100
  const sampleId = routeSampleId || selectedSampleHandle?.id?.toString();
180994
181101
  const epoch = routeEpoch || selectedSampleHandle?.epoch?.toString();
@@ -181062,7 +181169,8 @@ const LogSampleDetailView = () => {
181062
181169
  // (breadcrumbs don't make the last segment a link)
181063
181170
  currentPath: logPath ? `${logPath}/sample` : void 0,
181064
181171
  fnNavigationUrl,
181065
- bordered: true
181172
+ bordered: true,
181173
+ breadcrumbsEnabled: !singleFileMode
181066
181174
  }
181067
181175
  }
181068
181176
  );
@@ -181108,17 +181216,17 @@ const tabContainer = "_tabContainer_1r3mu_6";
181108
181216
  const tabSet = "_tabSet_1r3mu_14";
181109
181217
  const tabs = "_tabs_1r3mu_21";
181110
181218
  const tabPanels = "_tabPanels_1r3mu_29";
181111
- const styles$y = {
181219
+ const styles$x = {
181112
181220
  workspace,
181113
181221
  tabContainer,
181114
181222
  tabSet,
181115
181223
  tabs,
181116
181224
  tabPanels
181117
181225
  };
181118
- const message$1 = "_message_1gb2h_5";
181119
- const styles$x = {
181226
+ const message = "_message_1gb2h_5";
181227
+ const styles$w = {
181120
181228
  "task-error-display": "_task-error-display_1gb2h_1",
181121
- message: message$1
181229
+ message
181122
181230
  };
181123
181231
  const TaskErrorCard = ({ error: error2 }) => {
181124
181232
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
@@ -181135,7 +181243,7 @@ const TaskErrorCard = ({ error: error2 }) => {
181135
181243
  {
181136
181244
  id: "task-error-collapse",
181137
181245
  collapse: true,
181138
- className: clsx("text-size-smaller", styles$x.message),
181246
+ className: clsx("text-size-smaller", styles$w.message),
181139
181247
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181140
181248
  RenderedContent,
181141
181249
  {
@@ -181149,7 +181257,7 @@ const TaskErrorCard = ({ error: error2 }) => {
181149
181257
  ANSIDisplay,
181150
181258
  {
181151
181259
  output: error2.traceback_ansi,
181152
- className: styles$x["task-error-display"]
181260
+ className: styles$w["task-error-display"]
181153
181261
  }
181154
181262
  )
181155
181263
  ] })
@@ -181215,7 +181323,7 @@ const MessageBand = ({
181215
181323
  ] });
181216
181324
  };
181217
181325
  const item$1 = "_item_1uzhd_1";
181218
- const styles$w = {
181326
+ const styles$v = {
181219
181327
  item: item$1
181220
181328
  };
181221
181329
  const DatasetDetailView = ({
@@ -181226,12 +181334,12 @@ const DatasetDetailView = ({
181226
181334
  Object.entries(dataset).filter(([key2]) => key2 !== "sample_ids")
181227
181335
  );
181228
181336
  if (!dataset || Object.keys(filtered).length === 0) {
181229
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-base", styles$w.item), style: style2, children: "No dataset information available" });
181337
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-base", styles$v.item), style: style2, children: "No dataset information available" });
181230
181338
  }
181231
181339
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
181232
181340
  MetaDataGrid,
181233
181341
  {
181234
- className: clsx("text-size-base", styles$w.item),
181342
+ className: clsx("text-size-base", styles$v.item),
181235
181343
  entries: filtered,
181236
181344
  style: style2,
181237
181345
  plain: true
@@ -181241,7 +181349,7 @@ const DatasetDetailView = ({
181241
181349
  const icon$1 = "_icon_59zaz_1";
181242
181350
  const container$a = "_container_59zaz_5";
181243
181351
  const metadata = "_metadata_59zaz_11";
181244
- const styles$v = {
181352
+ const styles$u = {
181245
181353
  icon: icon$1,
181246
181354
  container: container$a,
181247
181355
  metadata
@@ -181252,22 +181360,22 @@ const DetailStep = ({
181252
181360
  params,
181253
181361
  className: className2
181254
181362
  }) => {
181255
- const iconHtml = icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$v.icon) }) : "";
181363
+ const iconHtml = icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$u.icon) }) : "";
181256
181364
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2), children: [
181257
181365
  iconHtml,
181258
181366
  " ",
181259
181367
  name2,
181260
- params && Object.keys(params).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$v.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181368
+ params && Object.keys(params).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$u.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181261
181369
  MetaDataGrid,
181262
181370
  {
181263
181371
  entries: params,
181264
- className: clsx("text-size-small", styles$v.metadata)
181372
+ className: clsx("text-size-small", styles$u.metadata)
181265
181373
  }
181266
181374
  ) }) : ""
181267
181375
  ] });
181268
181376
  };
181269
181377
  const item = "_item_leq25_1";
181270
- const styles$u = {
181378
+ const styles$t = {
181271
181379
  item
181272
181380
  };
181273
181381
  const ScorerDetailView = ({
@@ -181284,38 +181392,38 @@ const ScorerDetailView = ({
181284
181392
  icon: ApplicationIcons.scorer,
181285
181393
  name: name2,
181286
181394
  params,
181287
- className: clsx(styles$u.item, "text-size-base")
181395
+ className: clsx(styles$t.item, "text-size-base")
181288
181396
  }
181289
181397
  );
181290
181398
  };
181291
181399
  const container$9 = "_container_12j2k_1";
181292
181400
  const separator = "_separator_12j2k_11";
181293
- const styles$t = {
181401
+ const styles$s = {
181294
181402
  container: container$9,
181295
181403
  separator
181296
181404
  };
181297
181405
  const SolversDetailView = ({ steps }) => {
181298
- const separator2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$t.items, "text-size-small", styles$t.separator), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) });
181406
+ const separator2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$s.items, "text-size-small", styles$s.separator), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) });
181299
181407
  const details = steps?.map((step, index) => {
181300
181408
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
181301
181409
  /* @__PURE__ */ jsxRuntimeExports.jsx(
181302
181410
  DetailStep,
181303
181411
  {
181304
181412
  name: step.solver,
181305
- className: clsx(styles$t.items, "text-size-small")
181413
+ className: clsx(styles$s.items, "text-size-small")
181306
181414
  }
181307
181415
  ),
181308
181416
  index < steps.length - 1 ? separator2 : ""
181309
181417
  ] }, `solver-step-${index}`);
181310
181418
  });
181311
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$t.container, children: details });
181419
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$s.container, children: details });
181312
181420
  };
181313
181421
  const floatingCol = "_floatingCol_1n79r_1";
181314
181422
  const wideCol = "_wideCol_1n79r_9";
181315
181423
  const planCol = "_planCol_1n79r_24";
181316
181424
  const container$8 = "_container_1n79r_29";
181317
181425
  const grid$4 = "_grid_1n79r_35";
181318
- const styles$s = {
181426
+ const styles$r = {
181319
181427
  floatingCol,
181320
181428
  wideCol,
181321
181429
  planCol,
@@ -181334,13 +181442,13 @@ const PlanDetailView = ({
181334
181442
  const taskColumns = [];
181335
181443
  taskColumns.push({
181336
181444
  title: "Dataset",
181337
- className: styles$s.floatingCol,
181445
+ className: styles$r.floatingCol,
181338
181446
  contents: /* @__PURE__ */ jsxRuntimeExports.jsx(DatasetDetailView, { dataset: evaluation.dataset })
181339
181447
  });
181340
181448
  if (steps) {
181341
181449
  taskColumns.push({
181342
181450
  title: "Solvers",
181343
- className: styles$s.wideCol,
181451
+ className: styles$r.wideCol,
181344
181452
  contents: /* @__PURE__ */ jsxRuntimeExports.jsx(SolversDetailView, { steps })
181345
181453
  });
181346
181454
  }
@@ -181374,15 +181482,15 @@ const PlanDetailView = ({
181374
181482
  });
181375
181483
  taskColumns.push({
181376
181484
  title: label2,
181377
- className: styles$s.floatingCol,
181485
+ className: styles$r.floatingCol,
181378
181486
  contents: scorerPanels
181379
181487
  });
181380
181488
  }
181381
181489
  }
181382
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$s.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181490
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181383
181491
  "div",
181384
181492
  {
181385
- className: styles$s.grid,
181493
+ className: styles$r.grid,
181386
181494
  style: {
181387
181495
  gridTemplateColumns: `repeat(${taskColumns.length}, fit-content(50%))`
181388
181496
  },
@@ -181410,7 +181518,7 @@ const PlanColumn = ({ title: title2, className: className2, children: children2
181410
181518
  "text-size-small",
181411
181519
  "text-style-label",
181412
181520
  "text-style-secondary",
181413
- styles$s.planCol
181521
+ styles$r.planCol
181414
181522
  ),
181415
181523
  children: title2
181416
181524
  }
@@ -181543,7 +181651,7 @@ const DownloadPanel = ({
181543
181651
  ] }) });
181544
181652
  };
181545
181653
  const jsonTab = "_jsonTab_6pq03_1";
181546
- const styles$r = {
181654
+ const styles$q = {
181547
181655
  jsonTab
181548
181656
  };
181549
181657
  const kJsonMaxSize = 1e7;
@@ -181619,7 +181727,7 @@ const JsonTab = ({ logFile, json }) => {
181619
181727
  const downloadFiles = useStore((state) => state.capabilities.downloadFiles);
181620
181728
  if (logFile && json.length > kJsonMaxSize && downloadFiles) {
181621
181729
  const file = `${filename(logFile)}.json`;
181622
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181730
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181623
181731
  DownloadPanel,
181624
181732
  {
181625
181733
  message: "The JSON for this log file is too large to render.",
@@ -181629,14 +181737,14 @@ const JsonTab = ({ logFile, json }) => {
181629
181737
  }
181630
181738
  ) });
181631
181739
  } else {
181632
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { id: "task-json-contents", json, simple: true }) });
181740
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { id: "task-json-contents", json, simple: true }) });
181633
181741
  }
181634
181742
  };
181635
181743
  const container$7 = "_container_4wzpj_1";
181636
181744
  const modelInfo = "_modelInfo_4wzpj_8";
181637
181745
  const role = "_role_4wzpj_15";
181638
181746
  const sep = "_sep_4wzpj_19";
181639
- const styles$q = {
181747
+ const styles$p = {
181640
181748
  container: container$7,
181641
181749
  modelInfo,
181642
181750
  role,
@@ -181658,31 +181766,31 @@ const ModelCard = ({ evalSpec }) => {
181658
181766
  const noneEl = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-style-secondary", children: "None" });
181659
181767
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
181660
181768
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: "Models" }),
181661
- /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: "task-model-card-body", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q.container, children: Object.keys(modelsInfo || {}).map((modelKey) => {
181769
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: "task-model-card-body", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$p.container, children: Object.keys(modelsInfo || {}).map((modelKey) => {
181662
181770
  const modelInfo2 = modelsInfo[modelKey];
181663
181771
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
181664
181772
  "div",
181665
181773
  {
181666
- className: clsx(styles$q.modelInfo, "text-size-small"),
181774
+ className: clsx(styles$p.modelInfo, "text-size-small"),
181667
181775
  children: [
181668
181776
  /* @__PURE__ */ jsxRuntimeExports.jsx(
181669
181777
  "div",
181670
181778
  {
181671
181779
  className: clsx(
181672
- styles$q.role,
181780
+ styles$p.role,
181673
181781
  "text-style-label",
181674
181782
  "text-style-secondary"
181675
181783
  ),
181676
181784
  children: modelKey
181677
181785
  }
181678
181786
  ),
181679
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181787
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181680
181788
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Model" }),
181681
181789
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: modelInfo2.model }),
181682
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181790
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181683
181791
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Base Url" }),
181684
181792
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: modelInfo2.base_url || noneEl }),
181685
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181793
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181686
181794
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Configuration" }),
181687
181795
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: modelInfo2.config && Object.keys(modelInfo2.config).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
181688
181796
  MetaDataGrid,
@@ -181690,7 +181798,7 @@ const ModelCard = ({ evalSpec }) => {
181690
181798
  entries: modelInfo2.config
181691
181799
  }
181692
181800
  ) : noneEl }),
181693
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181801
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181694
181802
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Args" }),
181695
181803
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: Object.keys(modelInfo2.args).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
181696
181804
  MetaDataGrid,
@@ -181698,7 +181806,7 @@ const ModelCard = ({ evalSpec }) => {
181698
181806
  entries: modelInfo2.args
181699
181807
  }
181700
181808
  ) : noneEl }),
181701
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) })
181809
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) })
181702
181810
  ]
181703
181811
  },
181704
181812
  modelKey
@@ -181708,7 +181816,7 @@ const ModelCard = ({ evalSpec }) => {
181708
181816
  };
181709
181817
  const wrapper$1 = "_wrapper_14r3b_1";
181710
181818
  const col2 = "_col2_14r3b_16";
181711
- const styles$p = {
181819
+ const styles$o = {
181712
181820
  wrapper: wrapper$1,
181713
181821
  col2
181714
181822
  };
@@ -181719,7 +181827,7 @@ const UsageCard = ({ stats }) => {
181719
181827
  }
181720
181828
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
181721
181829
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: "Usage" }),
181722
- /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: kUsageCardBodyId, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$p.wrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$p.col2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelTokenTable, { model_usage: stats.model_usage }) }) }) })
181830
+ /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { id: kUsageCardBodyId, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$o.wrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$o.col2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelTokenTable, { model_usage: stats.model_usage }) }) }) })
181723
181831
  ] });
181724
181832
  };
181725
181833
  const useModelsTab = (evalSpec, evalStats, evalStatus) => {
@@ -181749,7 +181857,7 @@ const ModelTab = ({
181749
181857
  };
181750
181858
  const container$6 = "_container_15b4r_1";
181751
181859
  const label$5 = "_label_15b4r_5";
181752
- const styles$o = {
181860
+ const styles$n = {
181753
181861
  container: container$6,
181754
181862
  label: label$5
181755
181863
  };
@@ -181766,7 +181874,7 @@ const EpochFilter = ({
181766
181874
  const sel = e.target;
181767
181875
  setEpoch(sel.value);
181768
181876
  };
181769
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$o.container, children: [
181877
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$n.container, children: [
181770
181878
  /* @__PURE__ */ jsxRuntimeExports.jsx(
181771
181879
  "span",
181772
181880
  {
@@ -181775,7 +181883,7 @@ const EpochFilter = ({
181775
181883
  "text-size-smaller",
181776
181884
  "text-style-label",
181777
181885
  "text-style-secondary",
181778
- styles$o.label
181886
+ styles$n.label
181779
181887
  ),
181780
181888
  children: "Epochs:"
181781
181889
  }
@@ -202506,7 +202614,7 @@ function getCompletions(context, filterItems, samples) {
202506
202614
  const label$4 = "_label_jbrqc_1";
202507
202615
  const input = "_input_jbrqc_7";
202508
202616
  const help = "_help_jbrqc_11";
202509
- const styles$n = {
202617
+ const styles$m = {
202510
202618
  label: label$4,
202511
202619
  input,
202512
202620
  help
@@ -202715,7 +202823,7 @@ const SampleFilter = () => {
202715
202823
  "text-size-smaller",
202716
202824
  "text-style-label",
202717
202825
  "text-style-secondary",
202718
- styles$n.label
202826
+ styles$m.label
202719
202827
  ),
202720
202828
  children: "Filter:"
202721
202829
  }
@@ -202724,13 +202832,13 @@ const SampleFilter = () => {
202724
202832
  "div",
202725
202833
  {
202726
202834
  ref: editorRef,
202727
- className: clsx(filterError && "filter-pending", styles$n.input)
202835
+ className: clsx(filterError && "filter-pending", styles$m.input)
202728
202836
  }
202729
202837
  ),
202730
202838
  /* @__PURE__ */ jsxRuntimeExports.jsx(
202731
202839
  "span",
202732
202840
  {
202733
- className: clsx("bi", "bi-question-circle", styles$n.help),
202841
+ className: clsx("bi", "bi-question-circle", styles$m.help),
202734
202842
  "data-tooltip": FILTER_TOOLTIP,
202735
202843
  "data-tooltip-position": "bottom-left"
202736
202844
  }
@@ -202744,7 +202852,7 @@ const label$3 = "_label_uvlpz_26";
202744
202852
  const links = "_links_uvlpz_32";
202745
202853
  const selected$1 = "_selected_uvlpz_50";
202746
202854
  const bodyColorButton = "_bodyColorButton_uvlpz_54";
202747
- const styles$m = {
202855
+ const styles$l = {
202748
202856
  container: container$5,
202749
202857
  grid: grid$3,
202750
202858
  row: row$1,
@@ -202775,7 +202883,7 @@ const SelectScorer = ({
202775
202883
  "text-size-smaller",
202776
202884
  "text-style-label",
202777
202885
  "text-style-secondary",
202778
- styles$m.label
202886
+ styles$l.label
202779
202887
  ),
202780
202888
  children: "Scorers:"
202781
202889
  }
@@ -202787,7 +202895,7 @@ const SelectScorer = ({
202787
202895
  icon: ApplicationIcons.metrics,
202788
202896
  onClick: () => setShowing(!showing),
202789
202897
  ref: buttonRef,
202790
- className: clsx(styles$m.bodyColorButton)
202898
+ className: clsx(styles$l.bodyColorButton)
202791
202899
  }
202792
202900
  ),
202793
202901
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -202803,13 +202911,13 @@ const SelectScorer = ({
202803
202911
  padding: "3px 5px"
202804
202912
  },
202805
202913
  children: [
202806
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$m.links, "text-size-smaller"), children: [
202914
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$l.links, "text-size-smaller"), children: [
202807
202915
  /* @__PURE__ */ jsxRuntimeExports.jsx(
202808
202916
  "a",
202809
202917
  {
202810
202918
  className: clsx(
202811
- styles$m.link,
202812
- !allScoresSelected ? styles$m.selected : void 0
202919
+ styles$l.link,
202920
+ !allScoresSelected ? styles$l.selected : void 0
202813
202921
  ),
202814
202922
  onClick: () => {
202815
202923
  if (scores2.length > 0) {
@@ -202824,8 +202932,8 @@ const SelectScorer = ({
202824
202932
  "a",
202825
202933
  {
202826
202934
  className: clsx(
202827
- styles$m.link,
202828
- allScoresSelected ? styles$m.selected : void 0
202935
+ styles$l.link,
202936
+ allScoresSelected ? styles$l.selected : void 0
202829
202937
  ),
202830
202938
  onClick: () => {
202831
202939
  setSelectedScores(scores2);
@@ -202834,7 +202942,7 @@ const SelectScorer = ({
202834
202942
  }
202835
202943
  )
202836
202944
  ] }),
202837
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$m.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
202945
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$l.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
202838
202946
  ScoreCheckboxes,
202839
202947
  {
202840
202948
  scores: scores2,
@@ -202866,13 +202974,13 @@ const ScoreCheckboxes = ({
202866
202974
  },
202867
202975
  [setSelectedScores, scores2, selectedKeys]
202868
202976
  );
202869
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$m.grid, "text-size-smaller"), children: scores2.map((sc2) => {
202977
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$l.grid, "text-size-smaller"), children: scores2.map((sc2) => {
202870
202978
  const key2 = `${sc2.scorer}.${sc2.name}`;
202871
202979
  const isChecked = selectedKeys ? selectedKeys.has(key2) : false;
202872
202980
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
202873
202981
  "div",
202874
202982
  {
202875
- className: clsx(styles$m.row),
202983
+ className: clsx(styles$l.row),
202876
202984
  onClick: () => handleToggle(sc2, isChecked),
202877
202985
  children: [
202878
202986
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -202937,92 +203045,17 @@ const ScoreFilterTools = () => {
202937
203045
  }
202938
203046
  );
202939
203047
  };
202940
- const kBaseFontSize = 0.9;
202941
- const ScaleBaseFont = (scale) => {
202942
- return `${kBaseFontSize + scale}rem`;
202943
- };
202944
- const FontSize = {
202945
- smaller: ScaleBaseFont(-0.1)
202946
- };
202947
- const TextStyle = {
202948
- secondary: {
202949
- color: "var(--bs-secondary)"
202950
- }
202951
- };
202952
- const ApplicationStyles = {
202953
- moreButton: {
202954
- maxHeight: "1.8em",
202955
- fontSize: FontSize.smaller,
202956
- padding: "0 0.2em 0 0.2em",
202957
- ...TextStyle.secondary
202958
- },
202959
- threeLineClamp: {
202960
- display: "-webkit-box",
202961
- WebkitLineClamp: "3",
202962
- WebkitBoxOrient: "vertical",
202963
- overflow: "hidden"
202964
- },
202965
- lineClamp: (len) => {
202966
- return {
202967
- display: "-webkit-box",
202968
- WebkitLineClamp: `${len}`,
202969
- WebkitBoxOrient: "vertical",
202970
- overflow: "hidden"
202971
- };
202972
- },
202973
- wrapText: () => {
202974
- return {
202975
- whiteSpace: "nowrap",
202976
- textOverflow: "ellipsis",
202977
- overflow: "hidden"
202978
- };
202979
- },
202980
- scoreFills: {
202981
- green: {
202982
- backgroundColor: "var(--bs-success)",
202983
- borderColor: "var(--bs-success)",
202984
- color: "var(--bs-body-bg)"
202985
- },
202986
- red: {
202987
- backgroundColor: "var(--bs-danger)",
202988
- borderColor: "var(--bs-danger)",
202989
- color: "var(--bs-body-bg)"
202990
- },
202991
- orange: {
202992
- backgroundColor: "var(--bs-orange)",
202993
- borderColor: "var(--bs-orange)",
202994
- color: "var(--bs-body-bg)"
202995
- }
202996
- }
202997
- };
202998
- const body$1 = "_body_12gn4_1";
202999
- const iconSmall = "_iconSmall_12gn4_9";
203000
- const message = "_message_12gn4_15";
203001
- const styles$l = {
203002
- body: body$1,
203003
- iconSmall,
203004
- message
203005
- };
203006
- const SampleErrorView = ({
203007
- message: message2,
203008
- align
203009
- }) => {
203010
- align = align || "center";
203011
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$l.body, children: [
203012
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$l.iconSmall) }),
203013
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$l.message, style: ApplicationStyles.lineClamp(2), children: errorType(message2) })
203014
- ] });
203015
- };
203016
- const grid$2 = "_grid_1213u_1";
203017
- const selected = "_selected_1213u_11";
203018
- const sampleLink = "_sampleLink_1213u_15";
203019
- const disabledRow = "_disabledRow_1213u_34";
203020
- const disabled = "_disabled_1213u_34";
203021
- const cell = "_cell_1213u_44";
203022
- const wrapAnywhere = "_wrapAnywhere_1213u_49";
203023
- const noLeft = "_noLeft_1213u_53";
203024
- const score = "_score_1213u_57";
203025
- const centered = "_centered_1213u_62";
203048
+ const grid$2 = "_grid_173xh_1";
203049
+ const selected = "_selected_173xh_11";
203050
+ const sampleLink = "_sampleLink_173xh_15";
203051
+ const disabledRow = "_disabledRow_173xh_34";
203052
+ const disabled = "_disabled_173xh_34";
203053
+ const cell = "_cell_173xh_44";
203054
+ const wrapAnywhere = "_wrapAnywhere_173xh_49";
203055
+ const noLeft = "_noLeft_173xh_53";
203056
+ const score = "_score_173xh_57";
203057
+ const centered = "_centered_173xh_62";
203058
+ const error = "_error_173xh_67";
203026
203059
  const styles$k = {
203027
203060
  grid: grid$2,
203028
203061
  selected,
@@ -203033,7 +203066,8 @@ const styles$k = {
203033
203066
  wrapAnywhere,
203034
203067
  noLeft,
203035
203068
  score,
203036
- centered
203069
+ centered,
203070
+ error
203037
203071
  };
203038
203072
  const SampleRow = ({
203039
203073
  id,
@@ -203055,9 +203089,7 @@ const SampleRow = ({
203055
203089
  scoresRendered = [null];
203056
203090
  }
203057
203091
  const scoreColumnContent = scoresRendered.map((scoreRendered, i) => {
203058
- if (sample2.error) {
203059
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SampleErrorView, { message: sample2.error });
203060
- } else if (completed) {
203092
+ if (completed) {
203061
203093
  return scoreRendered;
203062
203094
  } else if (i === scoresRendered.length - 1) {
203063
203095
  return /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false });
@@ -203151,7 +203183,19 @@ const SampleRow = ({
203151
203183
  children: scoreColumnContent2
203152
203184
  },
203153
203185
  `score-${i}`
203154
- ))
203186
+ )),
203187
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
203188
+ "div",
203189
+ {
203190
+ className: clsx(
203191
+ "sample-error",
203192
+ "text-size-small",
203193
+ styles$k.cell,
203194
+ styles$k.error
203195
+ ),
203196
+ children: sample2.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(SampleErrorView, { message: sample2.error }) : void 0
203197
+ }
203198
+ )
203155
203199
  ]
203156
203200
  }
203157
203201
  );
@@ -203226,6 +203270,7 @@ const SampleHeader = ({
203226
203270
  answer: answer2 = true,
203227
203271
  limit = true,
203228
203272
  retries = false,
203273
+ errors: errors2 = false,
203229
203274
  scoreLabels = ["Score"],
203230
203275
  gridColumnsTemplate
203231
203276
  }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -203252,7 +203297,8 @@ const SampleHeader = ({
203252
203297
  children: label2
203253
203298
  },
203254
203299
  `score-header-${i}`
203255
- ))
203300
+ )),
203301
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: errors2 ? "Error" : "" })
203256
203302
  ]
203257
203303
  }
203258
203304
  );
@@ -203375,9 +203421,23 @@ const SampleList = memo((props) => {
203375
203421
  );
203376
203422
  const selectedScores = useSelectedScores();
203377
203423
  const scores2 = useScores();
203424
+ const sampleCount = items?.reduce((prev, current2) => {
203425
+ if (current2.type === "sample") {
203426
+ return prev + 1;
203427
+ } else {
203428
+ return prev;
203429
+ }
203430
+ }, 0);
203431
+ const errorCount = items?.reduce((previous, item2) => {
203432
+ if (typeof item2.data === "object" && item2.data.error) {
203433
+ return previous + 1;
203434
+ }
203435
+ return previous;
203436
+ }, 0);
203437
+ const hasErrors = errorCount > 0;
203378
203438
  const gridColumnsTemplate = useMemo(() => {
203379
- return gridColumnsValue(samplesDescriptor);
203380
- }, [samplesDescriptor]);
203439
+ return gridColumnsValue(samplesDescriptor, hasErrors);
203440
+ }, [samplesDescriptor, hasErrors]);
203381
203441
  const renderRow = useCallback(
203382
203442
  (_index, item2) => {
203383
203443
  if (item2.type === "sample") {
@@ -203421,20 +203481,10 @@ const SampleList = memo((props) => {
203421
203481
  selectedSampleHandle?.id
203422
203482
  ]
203423
203483
  );
203424
- const { input: input2, limit, answer: answer2, target: target2, retries } = gridColumns(samplesDescriptor);
203425
- const sampleCount = items?.reduce((prev, current2) => {
203426
- if (current2.type === "sample") {
203427
- return prev + 1;
203428
- } else {
203429
- return prev;
203430
- }
203431
- }, 0);
203432
- const errorCount = items?.reduce((previous, item2) => {
203433
- if (typeof item2.data === "object" && item2.data.error) {
203434
- return previous + 1;
203435
- }
203436
- return previous;
203437
- }, 0);
203484
+ const { input: input2, limit, answer: answer2, target: target2, retries } = gridColumns(
203485
+ samplesDescriptor,
203486
+ hasErrors
203487
+ );
203438
203488
  const limitCount = items?.reduce((previous, item2) => {
203439
203489
  if (typeof item2.data === "object" && item2.data.limit) {
203440
203490
  return previous + 1;
@@ -203481,6 +203531,7 @@ const SampleList = memo((props) => {
203481
203531
  answer: answer2 !== "0",
203482
203532
  limit: limit !== "0",
203483
203533
  retries: retries !== "0em",
203534
+ errors: hasErrors,
203484
203535
  scoreLabels: scoreHeaders(selectedScores, scores2),
203485
203536
  gridColumnsTemplate
203486
203537
  }
@@ -203521,12 +203572,13 @@ const SampleList = memo((props) => {
203521
203572
  )
203522
203573
  ] });
203523
203574
  });
203524
- const gridColumnsValue = (sampleDescriptor) => {
203525
- const { input: input2, target: target2, answer: answer2, limit, retries, id, scores: scores2 } = gridColumns(sampleDescriptor);
203526
- const result2 = `${id} ${input2} ${target2} ${answer2} ${limit} ${retries} ${scores2.join(" ")}`;
203575
+ const gridColumnsValue = (sampleDescriptor, hasErrors) => {
203576
+ const { input: input2, target: target2, answer: answer2, limit, retries, id, scores: scores2, errors: errors2 } = gridColumns(sampleDescriptor, hasErrors);
203577
+ const parts = [id, input2, target2, answer2, limit, retries, ...scores2, errors2];
203578
+ const result2 = parts.join(" ");
203527
203579
  return result2;
203528
203580
  };
203529
- const gridColumns = (sampleDescriptor) => {
203581
+ const gridColumns = (sampleDescriptor, hasErrors) => {
203530
203582
  const input2 = sampleDescriptor && sampleDescriptor.messageShape.normalized.input > 0 ? Math.max(0.15, sampleDescriptor.messageShape.normalized.input) : 0;
203531
203583
  const target2 = sampleDescriptor && sampleDescriptor.messageShape.normalized.target > 0 ? Math.max(0.15, sampleDescriptor.messageShape.normalized.target) : 0;
203532
203584
  const answer2 = sampleDescriptor && sampleDescriptor.messageShape.normalized.answer > 0 ? Math.max(0.15, sampleDescriptor.messageShape.normalized.answer) : 0;
@@ -203546,12 +203598,14 @@ const gridColumns = (sampleDescriptor) => {
203546
203598
  return `${val}fr`;
203547
203599
  }
203548
203600
  };
203601
+ const errors2 = hasErrors ? "fit-content(20em)" : "0";
203549
203602
  return {
203550
203603
  input: frSize(input2),
203551
203604
  target: frSize(target2),
203552
203605
  answer: frSize(answer2),
203553
203606
  limit: frSize(limit),
203554
203607
  retries: `${retries}em`,
203608
+ errors: errors2,
203555
203609
  id: `${id}rem`,
203556
203610
  scores: scores2
203557
203611
  };
@@ -205203,15 +205257,15 @@ const LogView = () => {
205203
205257
  status: selectedLogDetails?.status
205204
205258
  }
205205
205259
  ),
205206
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: divRef, className: clsx("workspace", styles$y.workspace), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("log-detail", styles$y.tabContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
205260
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: divRef, className: clsx("workspace", styles$x.workspace), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("log-detail", styles$x.tabContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
205207
205261
  TabSet,
205208
205262
  {
205209
205263
  id: "log-details",
205210
205264
  tools: tabTools2,
205211
205265
  type: "pills",
205212
- className: clsx(styles$y.tabSet, "text-size-smaller"),
205213
- tabControlsClassName: clsx(styles$y.tabs, "text-size-smaller"),
205214
- tabPanelsClassName: clsx(styles$y.tabPanels),
205266
+ className: clsx(styles$x.tabSet, "text-size-smaller"),
205267
+ tabControlsClassName: clsx(styles$x.tabs, "text-size-smaller"),
205268
+ tabPanelsClassName: clsx(styles$x.tabPanels),
205215
205269
  children: Object.keys(tabs2).map((key2) => {
205216
205270
  const tab2 = tabs2[key2];
205217
205271
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -205504,7 +205558,7 @@ const useSampleColumns = (logDetails) => {
205504
205558
  pinned: "left",
205505
205559
  cellRenderer: (params) => {
205506
205560
  if (params.data?.displayIndex !== void 0) {
205507
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1c.numberCell, children: params.data.displayIndex });
205561
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.numberCell, children: params.data.displayIndex });
205508
205562
  }
205509
205563
  return "";
205510
205564
  }
@@ -205822,7 +205876,7 @@ const SamplesGrid = ({
205822
205876
  useEffect(() => {
205823
205877
  resizeGridColumns();
205824
205878
  }, [columns, resizeGridColumns]);
205825
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1c.gridWrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: gridContainerRef, className: styles$1c.gridContainer, tabIndex: 0, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
205879
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.gridWrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: gridContainerRef, className: styles$1b.gridContainer, tabIndex: 0, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
205826
205880
  AgGridReact,
205827
205881
  {
205828
205882
  ref: gridRef,
@@ -206207,6 +206261,7 @@ const SampleDetailView = () => {
206207
206261
  );
206208
206262
  const clearLog = useStore((state) => state.logActions.clearLog);
206209
206263
  const clearSampleTab = useStore((state) => state.appActions.clearSampleTab);
206264
+ const singleFileMode = useStore((state) => state.app.singleFileMode);
206210
206265
  const currentIndex = useMemo(() => {
206211
206266
  if (!displayedSamples || !selectedLogFile || !sampleId || !epoch) {
206212
206267
  return -1;
@@ -206267,7 +206322,8 @@ const SampleDetailView = () => {
206267
206322
  navbarConfig: {
206268
206323
  currentPath: routeLogPath,
206269
206324
  fnNavigationUrl: samplesUrl,
206270
- bordered: true
206325
+ bordered: true,
206326
+ breadcrumbsEnabled: !singleFileMode
206271
206327
  }
206272
206328
  }
206273
206329
  );
@@ -206294,13 +206350,8 @@ const AppLayout = () => {
206294
206350
  }, [location2]);
206295
206351
  const singleFileMode = useStore((state) => state.app.singleFileMode);
206296
206352
  const { sampleId, epoch, sampleUuid } = useLogRouteParams();
206297
- const selectedSampleHandle = useStore(
206298
- (state) => state.log.selectedSampleHandle
206299
- );
206300
206353
  if (singleFileMode) {
206301
- const isSampleDetailFromUrl = sampleId && epoch || sampleUuid;
206302
- const isSampleDetailFromState = selectedSampleHandle?.id !== void 0 && selectedSampleHandle?.epoch !== void 0;
206303
- const isSampleDetail = isSampleDetailFromUrl || isSampleDetailFromState;
206354
+ const isSampleDetail = sampleId && epoch || sampleUuid;
206304
206355
  return /* @__PURE__ */ jsxRuntimeExports.jsx(AppErrorBoundary, { children: isSampleDetail ? /* @__PURE__ */ jsxRuntimeExports.jsx(LogSampleDetailView, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(LogViewContainer, {}) });
206305
206356
  }
206306
206357
  return /* @__PURE__ */ jsxRuntimeExports.jsx(AppErrorBoundary, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Outlet, {}) });