@meridianlabs/log-viewer 0.3.177 → 0.3.179

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.177-0-gb6b56165e" }),
106728
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.179-0-g03aaf1fe6" }),
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,
@@ -165091,6 +165099,7 @@ function useLoadSample() {
165091
165099
  } else {
165092
165100
  log$1.debug(`PREPARING FOR POLLING RUNNING SAMPLE: ${id}-${epoch}`);
165093
165101
  sampleActions.clearSampleForPolling(logFile, id, epoch);
165102
+ getSamplePolling().stopPolling();
165094
165103
  }
165095
165104
  } catch (e) {
165096
165105
  sampleActions.setSampleError(e);
@@ -165929,7 +165938,7 @@ const chevron = "_chevron_h3ljc_10";
165929
165938
  const backdrop$1 = "_backdrop_h3ljc_24";
165930
165939
  const dropdownMenu = "_dropdownMenu_h3ljc_33";
165931
165940
  const dropdownItem = "_dropdownItem_h3ljc_47";
165932
- const styles$18 = {
165941
+ const styles$17 = {
165933
165942
  dropdownContainer,
165934
165943
  toolButton,
165935
165944
  chevron,
@@ -165943,29 +165952,29 @@ const ToolDropdownButton = forwardRef(({ label: label2, icon: icon2, className:
165943
165952
  fn3();
165944
165953
  setIsOpen(false);
165945
165954
  };
165946
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$18.dropdownContainer, children: [
165955
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$17.dropdownContainer, children: [
165947
165956
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
165948
165957
  "button",
165949
165958
  {
165950
165959
  ref,
165951
165960
  type: "button",
165952
- className: clsx("btn", "btn-tools", styles$18.toolButton, className2),
165961
+ className: clsx("btn", "btn-tools", styles$17.toolButton, className2),
165953
165962
  onClick: () => setIsOpen(!isOpen),
165954
165963
  ...rest,
165955
165964
  children: [
165956
165965
  icon2 && /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: `${icon2}` }),
165957
165966
  label2,
165958
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi-chevron-down", styles$18.chevron) })
165967
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx("bi-chevron-down", styles$17.chevron) })
165959
165968
  ]
165960
165969
  }
165961
165970
  ),
165962
165971
  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(
165972
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$17.backdrop, onClick: () => setIsOpen(false) }),
165973
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$17.dropdownMenu, children: Object.entries(items).map(([itemLabel, fn3]) => /* @__PURE__ */ jsxRuntimeExports.jsx(
165965
165974
  "button",
165966
165975
  {
165967
165976
  type: "button",
165968
- className: styles$18.dropdownItem,
165977
+ className: styles$17.dropdownItem,
165969
165978
  onClick: () => handleItemClick(fn3),
165970
165979
  children: itemLabel
165971
165980
  },
@@ -166020,12 +166029,12 @@ const Card = ({ id, children: children2, className: className2 }) => {
166020
166029
  };
166021
166030
  const panel$6 = "_panel_twp3v_1";
166022
166031
  const container$i = "_container_twp3v_7";
166023
- const styles$17 = {
166032
+ const styles$16 = {
166024
166033
  panel: panel$6,
166025
166034
  container: container$i
166026
166035
  };
166027
166036
  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: [
166037
+ 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
166038
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.noSamples }),
166030
166039
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: text2 })
166031
166040
  ] }) });
@@ -166181,7 +166190,7 @@ const col1_3$1 = "_col1_3_sq96g_12";
166181
166190
  const col3$1 = "_col3_sq96g_16";
166182
166191
  const separator$5 = "_separator_sq96g_20";
166183
166192
  const padded$1 = "_padded_sq96g_26";
166184
- const styles$16 = {
166193
+ const styles$15 = {
166185
166194
  wrapper: wrapper$3,
166186
166195
  col2: col2$2,
166187
166196
  col1_3: col1_3$1,
@@ -166243,14 +166252,14 @@ const ModelUsagePanel = ({ usage, className: className2 }) => {
166243
166252
  value: usage.total_tokens,
166244
166253
  secondary: false
166245
166254
  });
166246
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$16.wrapper, className2), children: rows.map((row2, idx) => {
166255
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$15.wrapper, className2), children: rows.map((row2, idx) => {
166247
166256
  if (row2.label === "---") {
166248
166257
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
166249
166258
  "div",
166250
166259
  {
166251
166260
  className: clsx(
166252
- styles$16.separator,
166253
- row2.padded ? styles$16.padded : void 0
166261
+ styles$15.separator,
166262
+ row2.padded ? styles$15.padded : void 0
166254
166263
  )
166255
166264
  },
166256
166265
  `$usage-sep-${idx}`
@@ -166263,12 +166272,12 @@ const ModelUsagePanel = ({ usage, className: className2 }) => {
166263
166272
  className: clsx(
166264
166273
  "text-style-label",
166265
166274
  "text-style-secondary",
166266
- row2.secondary ? styles$16.col2 : styles$16.col1_3
166275
+ row2.secondary ? styles$15.col2 : styles$15.col1_3
166267
166276
  ),
166268
166277
  children: row2.label
166269
166278
  }
166270
166279
  ),
166271
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$16.col3, children: row2.value ? formatNumber(row2.value) : "" })
166280
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$15.col3, children: row2.value ? formatNumber(row2.value) : "" })
166272
166281
  ] }, `$usage-row-${idx}`);
166273
166282
  }
166274
166283
  }) });
@@ -166278,7 +166287,7 @@ const tableTokens = "_tableTokens_z217i_5";
166278
166287
  const tableH = "_tableH_z217i_9";
166279
166288
  const model = "_model_z217i_14";
166280
166289
  const cellContents = "_cellContents_z217i_18";
166281
- const styles$15 = {
166290
+ const styles$14 = {
166282
166291
  table: table$1,
166283
166292
  tableTokens,
166284
166293
  tableH,
@@ -166293,7 +166302,7 @@ const TokenTable$1 = ({ className: className2, children: children2 }) => {
166293
166302
  "table",
166294
166303
  "table-sm",
166295
166304
  "text-size-smaller",
166296
- styles$15.table,
166305
+ styles$14.table,
166297
166306
  className2
166298
166307
  ),
166299
166308
  children: children2
@@ -166310,7 +166319,7 @@ const TokenHeader = () => {
166310
166319
  colSpan: 3,
166311
166320
  className: clsx(
166312
166321
  "card-subheading",
166313
- styles$15.tableTokens,
166322
+ styles$14.tableTokens,
166314
166323
  "text-size-small",
166315
166324
  "text-style-label",
166316
166325
  "text-style-secondary"
@@ -166325,7 +166334,7 @@ const TokenHeader = () => {
166325
166334
  "th",
166326
166335
  {
166327
166336
  className: clsx(
166328
- styles$15.tableH,
166337
+ styles$14.tableH,
166329
166338
  "text-sixe-small",
166330
166339
  "text-style-label",
166331
166340
  "text-style-secondary"
@@ -166337,7 +166346,7 @@ const TokenHeader = () => {
166337
166346
  "th",
166338
166347
  {
166339
166348
  className: clsx(
166340
- styles$15.tableH,
166349
+ styles$14.tableH,
166341
166350
  "text-sixe-small",
166342
166351
  "text-style-label",
166343
166352
  "text-style-secondary"
@@ -166350,8 +166359,8 @@ const TokenHeader = () => {
166350
166359
  };
166351
166360
  const TokenRow = ({ model: model2, usage }) => {
166352
166361
  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) }) })
166362
+ /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$14.model, styles$14.cellContents), children: model2 }) }),
166363
+ /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ModelUsagePanel, { usage, className: clsx(styles$14.cellContents) }) })
166355
166364
  ] });
166356
166365
  };
166357
166366
  const ModelTokenTable = ({
@@ -166377,7 +166386,7 @@ const dot = "_dot_4p85e_8";
166377
166386
  const subtle = "_subtle_4p85e_36";
166378
166387
  const primary = "_primary_4p85e_40";
166379
166388
  const visuallyHidden = "_visuallyHidden_4p85e_59";
166380
- const styles$14 = {
166389
+ const styles$13 = {
166381
166390
  container: container$h,
166382
166391
  dotsContainer,
166383
166392
  small,
@@ -166399,30 +166408,30 @@ const PulsingDots = ({
166399
166408
  "div",
166400
166409
  {
166401
166410
  className: clsx(
166402
- styles$14.container,
166403
- size === "small" ? styles$14.small : size === "medium" ? styles$14.medium : styles$14.large,
166411
+ styles$13.container,
166412
+ size === "small" ? styles$13.small : size === "medium" ? styles$13.medium : styles$13.large,
166404
166413
  className2
166405
166414
  ),
166406
166415
  role: "status",
166407
166416
  children: [
166408
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$14.dotsContainer, children: [...Array(dotsCount)].map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
166417
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$13.dotsContainer, children: [...Array(dotsCount)].map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
166409
166418
  "div",
166410
166419
  {
166411
166420
  className: clsx(
166412
- styles$14.dot,
166413
- subtle2 ? styles$14.subtle : styles$14.primary
166421
+ styles$13.dot,
166422
+ subtle2 ? styles$13.subtle : styles$13.primary
166414
166423
  ),
166415
166424
  style: { animationDelay: `${index * 0.2}s` }
166416
166425
  },
166417
166426
  index
166418
166427
  )) }),
166419
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$14.visuallyHidden, children: text2 })
166428
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$13.visuallyHidden, children: text2 })
166420
166429
  ]
166421
166430
  }
166422
166431
  );
166423
166432
  };
166424
166433
  const progressContainer = "_progressContainer_1cjjr_1";
166425
- const styles$13 = {
166434
+ const styles$12 = {
166426
166435
  progressContainer
166427
166436
  };
166428
166437
  const LiveVirtualList = ({
@@ -166573,7 +166582,7 @@ const LiveVirtualList = ({
166573
166582
  return unregister;
166574
166583
  }, [id, registerVirtualList, searchInData]);
166575
166584
  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;
166585
+ return showProgress ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$12.progressContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0;
166577
166586
  };
166578
166587
  useEffect(() => {
166579
166588
  const parent = scrollRef?.current;
@@ -166652,7 +166661,7 @@ const prepareSearchTerm = (term) => {
166652
166661
  jsonEscaped: lower.replace(/"/g, '\\"')
166653
166662
  };
166654
166663
  };
166655
- const styles$12 = {};
166664
+ const styles$11 = {};
166656
166665
  const messageSearchText = (resolved) => {
166657
166666
  const texts = [];
166658
166667
  texts.push(...extractContentText$1(resolved.message.content));
@@ -166872,7 +166881,7 @@ const ChatViewVirtualListComponent = memo(
166872
166881
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
166873
166882
  "div",
166874
166883
  {
166875
- className: clsx(styles$12.item),
166884
+ className: clsx(styles$11.item),
166876
166885
  "data-index": props["data-index"],
166877
166886
  "data-item-group-index": props["data-item-group-index"],
166878
166887
  "data-item-index": props["data-item-index"],
@@ -166905,17 +166914,17 @@ const tabPanel = "_tabPanel_6o9gh_1";
166905
166914
  const tabControls = "_tabControls_6o9gh_5";
166906
166915
  const fullWidth$1 = "_fullWidth_6o9gh_12";
166907
166916
  const padded = "_padded_6o9gh_25";
166908
- const error$1 = "_error_6o9gh_30";
166917
+ const error$2 = "_error_6o9gh_30";
166909
166918
  const ansi = "_ansi_6o9gh_34";
166910
166919
  const noTop = "_noTop_6o9gh_38";
166911
166920
  const chat = "_chat_6o9gh_50";
166912
166921
  const transcriptContainer = "_transcriptContainer_6o9gh_58";
166913
- const styles$11 = {
166922
+ const styles$10 = {
166914
166923
  tabPanel,
166915
166924
  tabControls,
166916
166925
  fullWidth: fullWidth$1,
166917
166926
  padded,
166918
- error: error$1,
166927
+ error: error$2,
166919
166928
  ansi,
166920
166929
  noTop,
166921
166930
  chat,
@@ -167085,26 +167094,104 @@ function simpleMarkdownTruncate(markdown, maxLength = 250, ellipsis2 = "...") {
167085
167094
  }
167086
167095
  return truncated + ellipsis2;
167087
167096
  }
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
- ] });
167097
+ const kBaseFontSize = 0.9;
167098
+ const ScaleBaseFont = (scale) => {
167099
+ return `${kBaseFontSize + scale}rem`;
167100
+ };
167101
+ const FontSize = {
167102
+ smaller: ScaleBaseFont(-0.1)
167103
+ };
167104
+ const TextStyle = {
167105
+ secondary: {
167106
+ color: "var(--bs-secondary)"
167107
+ }
167108
+ };
167109
+ const ApplicationStyles = {
167110
+ moreButton: {
167111
+ maxHeight: "1.8em",
167112
+ fontSize: FontSize.smaller,
167113
+ padding: "0 0.2em 0 0.2em",
167114
+ ...TextStyle.secondary
167115
+ },
167116
+ threeLineClamp: {
167117
+ display: "-webkit-box",
167118
+ WebkitLineClamp: "3",
167119
+ WebkitBoxOrient: "vertical",
167120
+ overflow: "hidden"
167121
+ },
167122
+ lineClamp: (len) => {
167123
+ return {
167124
+ display: "-webkit-box",
167125
+ WebkitLineClamp: `${len}`,
167126
+ WebkitBoxOrient: "vertical",
167127
+ overflow: "hidden"
167128
+ };
167129
+ },
167130
+ wrapText: () => {
167131
+ return {
167132
+ whiteSpace: "nowrap",
167133
+ textOverflow: "ellipsis",
167134
+ overflow: "hidden"
167135
+ };
167136
+ },
167137
+ scoreFills: {
167138
+ green: {
167139
+ backgroundColor: "var(--bs-success)",
167140
+ borderColor: "var(--bs-success)",
167141
+ color: "var(--bs-body-bg)"
167142
+ },
167143
+ red: {
167144
+ backgroundColor: "var(--bs-danger)",
167145
+ borderColor: "var(--bs-danger)",
167146
+ color: "var(--bs-body-bg)"
167147
+ },
167148
+ orange: {
167149
+ backgroundColor: "var(--bs-orange)",
167150
+ borderColor: "var(--bs-orange)",
167151
+ color: "var(--bs-body-bg)"
167152
+ }
167153
+ }
167154
+ };
167155
+ const body$1 = "_body_x9ww7_1";
167156
+ const safe = "_safe_x9ww7_9";
167157
+ const iconSmall = "_iconSmall_x9ww7_13";
167158
+ const message$1 = "_message_x9ww7_19";
167159
+ const styles$$ = {
167160
+ body: body$1,
167161
+ safe,
167162
+ iconSmall,
167163
+ message: message$1
167164
+ };
167165
+ const SampleErrorView = ({
167166
+ message: message2,
167167
+ align
167168
+ }) => {
167169
+ align = align || "center";
167170
+ const type = errorType(message2);
167171
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
167172
+ "div",
167173
+ {
167174
+ className: clsx(
167175
+ styles$$.body,
167176
+ isCanceledError(type) ? styles$$.safe : void 0
167177
+ ),
167178
+ children: [
167179
+ /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.error, styles$$.iconSmall) }),
167180
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$$.message, style: ApplicationStyles.lineClamp(2), children: type })
167181
+ ]
167182
+ }
167183
+ );
167184
+ };
167185
+ const isCanceledError = (type) => {
167186
+ console.log(type);
167187
+ return type === "CancelledError";
167101
167188
  };
167102
167189
  const target = "_target_10p8e_1";
167103
167190
  const answer = "_answer_10p8e_5";
167104
167191
  const grid$7 = "_grid_10p8e_9";
167105
167192
  const centerLabel = "_centerLabel_10p8e_16";
167106
167193
  const centerValue = "_centerValue_10p8e_21";
167107
- const wrap = "_wrap_10p8e_26";
167194
+ const wrap$2 = "_wrap_10p8e_26";
167108
167195
  const titled = "_titled_10p8e_30";
167109
167196
  const value$1 = "_value_10p8e_34";
167110
167197
  const invalidationBanner = "_invalidationBanner_10p8e_40";
@@ -167113,13 +167200,13 @@ const invalidationContent = "_invalidationContent_10p8e_56";
167113
167200
  const invalidationTitle = "_invalidationTitle_10p8e_63";
167114
167201
  const invalidationDetails = "_invalidationDetails_10p8e_68";
167115
167202
  const invalidationReason = "_invalidationReason_10p8e_76";
167116
- const styles$$ = {
167203
+ const styles$_ = {
167117
167204
  target,
167118
167205
  answer,
167119
167206
  grid: grid$7,
167120
167207
  centerLabel,
167121
167208
  centerValue,
167122
- wrap,
167209
+ wrap: wrap$2,
167123
167210
  titled,
167124
167211
  value: value$1,
167125
167212
  invalidationBanner,
@@ -167204,7 +167291,7 @@ const SampleSummaryView = ({
167204
167291
  arrayToString(fields?.target || "none"),
167205
167292
  kMaxCellTextLength
167206
167293
  ),
167207
- className: clsx("no-last-para-padding", styles$$.target)
167294
+ className: clsx("no-last-para-padding", styles$_.target)
167208
167295
  }
167209
167296
  ),
167210
167297
  size: `minmax(auto, 3fr)`,
@@ -167218,7 +167305,7 @@ const SampleSummaryView = ({
167218
167305
  RenderedText,
167219
167306
  {
167220
167307
  markdown: truncateMarkdown(fields.answer || "", kMaxCellTextLength),
167221
- className: clsx("no-last-para-padding", styles$$.answer)
167308
+ className: clsx("no-last-para-padding", styles$_.answer)
167222
167309
  }
167223
167310
  ) : "",
167224
167311
  size: `minmax(auto, 5fr)`,
@@ -167257,20 +167344,20 @@ const SampleSummaryView = ({
167257
167344
  });
167258
167345
  }
167259
167346
  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 }) : "",
167347
+ const scoreColumns = selectedScores.map((scoreLabel) => ({
167348
+ label: selectedScores.length === 1 ? "Score" : scoreLabel.name,
167349
+ value: sampleDescriptor?.evalDescriptor.score(sample2, scoreLabel)?.render() || "",
167272
167350
  size: "fit-content(15em)",
167273
167351
  center: true
167352
+ })).filter((col) => col.value !== "");
167353
+ columns.push(...scoreColumns);
167354
+ }
167355
+ if (fields.error) {
167356
+ columns.push({
167357
+ label: "Error",
167358
+ value: /* @__PURE__ */ jsxRuntimeExports.jsx(SampleErrorView, { message: fields.error }),
167359
+ size: "fit-content(20em)",
167360
+ center: true
167274
167361
  });
167275
167362
  }
167276
167363
  const invalidation = isEvalSample(sample2) ? sample2.invalidation : void 0;
@@ -167279,7 +167366,7 @@ const SampleSummaryView = ({
167279
167366
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
167280
167367
  "div",
167281
167368
  {
167282
- className: clsx(styles$$.grid, "text-size-base"),
167369
+ className: clsx(styles$_.grid, "text-size-base"),
167283
167370
  style: {
167284
167371
  gridTemplateColumns: `${columns.map((col) => {
167285
167372
  return col.size;
@@ -167294,8 +167381,8 @@ const SampleSummaryView = ({
167294
167381
  "text-style-label",
167295
167382
  "text-style-secondary",
167296
167383
  "text-size-smallest",
167297
- col.title ? styles$$.titled : void 0,
167298
- col.center ? styles$$.centerLabel : void 0
167384
+ col.title ? styles$_.titled : void 0,
167385
+ col.center ? styles$_.centerLabel : void 0
167299
167386
  ),
167300
167387
  title: col.title,
167301
167388
  "data-unsearchable": true,
@@ -167309,10 +167396,10 @@ const SampleSummaryView = ({
167309
167396
  "div",
167310
167397
  {
167311
167398
  className: clsx(
167312
- styles$$.value,
167313
- styles$$.wrap,
167399
+ styles$_.value,
167400
+ styles$_.wrap,
167314
167401
  col.clamp ? "three-line-clamp" : void 0,
167315
- col.center ? styles$$.centerValue : void 0
167402
+ col.center ? styles$_.centerValue : void 0
167316
167403
  ),
167317
167404
  "data-unsearchable": true,
167318
167405
  children: col.value
@@ -167335,11 +167422,11 @@ const InvalidationBanner = ({
167335
167422
  return timestamp2;
167336
167423
  }
167337
167424
  };
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: [
167425
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$_.invalidationBanner, children: [
167426
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$_.invalidationIcon, children: "⚠" }),
167427
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$_.invalidationContent, children: [
167428
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$_.invalidationTitle, children: "Sample Invalidated" }),
167429
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$_.invalidationDetails, children: [
167343
167430
  invalidation.author && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
167344
167431
  "By: ",
167345
167432
  invalidation.author
@@ -167348,7 +167435,7 @@ const InvalidationBanner = ({
167348
167435
  "On: ",
167349
167436
  formatTimestamp(invalidation.timestamp)
167350
167437
  ] }),
167351
- invalidation.reason && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$$.invalidationReason, children: [
167438
+ invalidation.reason && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$_.invalidationReason, children: [
167352
167439
  "Reason: ",
167353
167440
  invalidation.reason
167354
167441
  ] })
@@ -167376,7 +167463,7 @@ const fullWidth = "_fullWidth_kwhbh_13";
167376
167463
  const separator$4 = "_separator_kwhbh_25";
167377
167464
  const separatorPadded = "_separatorPadded_kwhbh_30";
167378
167465
  const headerSep = "_headerSep_kwhbh_35";
167379
- const styles$_ = {
167466
+ const styles$Z = {
167380
167467
  container: container$g,
167381
167468
  cell: cell$1,
167382
167469
  fullWidth,
@@ -167393,7 +167480,7 @@ const SampleScoresGrid = ({
167393
167480
  if (!evalDescriptor) {
167394
167481
  return /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyPanel, { children: "No Sample Selected" });
167395
167482
  }
167396
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$_.container), children: [
167483
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$Z.container), children: [
167397
167484
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167398
167485
  "div",
167399
167486
  {
@@ -167441,7 +167528,7 @@ const SampleScoresGrid = ({
167441
167528
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167442
167529
  "div",
167443
167530
  {
167444
- className: clsx(styles$_.separator, styles$_.fullWidth, styles$_.headerSep)
167531
+ className: clsx(styles$Z.separator, styles$Z.fullWidth, styles$Z.headerSep)
167445
167532
  }
167446
167533
  ),
167447
167534
  Object.keys(evalSample.scores || {}).map((scorer2) => {
@@ -167453,16 +167540,16 @@ const SampleScoresGrid = ({
167453
167540
  const answer2 = scoreData.answer;
167454
167541
  let metadata2 = scoreData.metadata || {};
167455
167542
  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(
167543
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$Z.cell), children: scorer2 }),
167544
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Z.cell, "text-size-base"), children: answer2 }),
167545
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Z.cell, "text-size-base"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167459
167546
  SampleScores,
167460
167547
  {
167461
167548
  sample: evalSample,
167462
167549
  scorer: scorer2
167463
167550
  }
167464
167551
  ) }),
167465
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$_.cell), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167552
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base", styles$Z.cell), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167466
167553
  RenderedContent,
167467
167554
  {
167468
167555
  id: `${scorer2}-explanation`,
@@ -167480,12 +167567,12 @@ const SampleScoresGrid = ({
167480
167567
  "text-size-smaller",
167481
167568
  "text-style-label",
167482
167569
  "text-style-secondary",
167483
- styles$_.fullWidth
167570
+ styles$Z.fullWidth
167484
167571
  ),
167485
167572
  children: "Metadata"
167486
167573
  }
167487
167574
  ),
167488
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$_.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167575
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Z.fullWidth), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
167489
167576
  RecordTree,
167490
167577
  {
167491
167578
  id: `${scorer2}-metadataa`,
@@ -167498,9 +167585,9 @@ const SampleScoresGrid = ({
167498
167585
  "div",
167499
167586
  {
167500
167587
  className: clsx(
167501
- styles$_.separator,
167502
- styles$_.separatorPadded,
167503
- styles$_.fullWidth
167588
+ styles$Z.separator,
167589
+ styles$Z.separatorPadded,
167590
+ styles$Z.fullWidth
167504
167591
  )
167505
167592
  }
167506
167593
  )
@@ -167512,7 +167599,7 @@ const SampleScoresGrid = ({
167512
167599
  const wordBreak = "_wordBreak_las07_9";
167513
167600
  const scoreCard = "_scoreCard_las07_50";
167514
167601
  const scores = "_scores_las07_54";
167515
- const styles$Z = {
167602
+ const styles$Y = {
167516
167603
  wordBreak,
167517
167604
  scoreCard,
167518
167605
  scores
@@ -167545,9 +167632,9 @@ const SampleScoresView = ({
167545
167632
  "container-fluid",
167546
167633
  className2,
167547
167634
  "font-size-base",
167548
- styles$Z.container
167635
+ styles$Y.container
167549
167636
  ),
167550
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Card, { className: clsx(styles$Z.scoreCard), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(CardBody, { children: [
167637
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Card, { className: clsx(styles$Y.scoreCard), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(CardBody, { children: [
167551
167638
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167552
167639
  "div",
167553
167640
  {
@@ -167569,7 +167656,7 @@ const SampleScoresView = ({
167569
167656
  RenderedText,
167570
167657
  {
167571
167658
  markdown: scoreInput.join("\n"),
167572
- className: clsx(styles$Z.wordBreak, "text-size-base")
167659
+ className: clsx(styles$Y.wordBreak, "text-size-base")
167573
167660
  }
167574
167661
  )
167575
167662
  }
@@ -167578,7 +167665,7 @@ const SampleScoresView = ({
167578
167665
  SampleScoresGrid,
167579
167666
  {
167580
167667
  evalSample: sample2,
167581
- className: clsx(styles$Z.scores),
167668
+ className: clsx(styles$Y.scores),
167582
167669
  scrollRef
167583
167670
  }
167584
167671
  )
@@ -167678,7 +167765,7 @@ const grid$6 = "_grid_1ml4j_1";
167678
167765
  const row$2 = "_row_1ml4j_8";
167679
167766
  const links$1 = "_links_1ml4j_22";
167680
167767
  const selected$3 = "_selected_1ml4j_40";
167681
- const styles$Y = {
167768
+ const styles$X = {
167682
167769
  grid: grid$6,
167683
167770
  row: row$2,
167684
167771
  links: links$1,
@@ -167709,13 +167796,13 @@ const TranscriptFilterPopover = ({
167709
167796
  placement: "bottom-end",
167710
167797
  hoverDelay: -1,
167711
167798
  children: [
167712
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$Y.links, "text-size-smaller"), children: [
167799
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$X.links, "text-size-smaller"), children: [
167713
167800
  /* @__PURE__ */ jsxRuntimeExports.jsx(
167714
167801
  "a",
167715
167802
  {
167716
167803
  className: clsx(
167717
- styles$Y.link,
167718
- isDefaultFilter ? styles$Y.selected : void 0
167804
+ styles$X.link,
167805
+ isDefaultFilter ? styles$X.selected : void 0
167719
167806
  ),
167720
167807
  onClick: () => setDefaultFilter(),
167721
167808
  children: "Default"
@@ -167726,19 +167813,19 @@ const TranscriptFilterPopover = ({
167726
167813
  "a",
167727
167814
  {
167728
167815
  className: clsx(
167729
- styles$Y.link,
167730
- isDebugFilter ? styles$Y.selected : void 0
167816
+ styles$X.link,
167817
+ isDebugFilter ? styles$X.selected : void 0
167731
167818
  ),
167732
167819
  onClick: () => setDebugFilter(),
167733
167820
  children: "Debug"
167734
167821
  }
167735
167822
  )
167736
167823
  ] }),
167737
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$Y.grid, "text-size-smaller"), children: arrangedEventTypes(2).map((eventType) => {
167824
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$X.grid, "text-size-smaller"), children: arrangedEventTypes(2).map((eventType) => {
167738
167825
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
167739
167826
  "div",
167740
167827
  {
167741
- className: clsx(styles$Y.row),
167828
+ className: clsx(styles$X.row),
167742
167829
  onClick: () => {
167743
167830
  filterEventType(eventType, filtered.includes(eventType));
167744
167831
  },
@@ -168114,7 +168201,7 @@ const label$7 = "_label_1j0jk_28";
168114
168201
  const icon$2 = "_icon_1j0jk_34";
168115
168202
  const progress$2 = "_progress_1j0jk_38";
168116
168203
  const popover = "_popover_1j0jk_42";
168117
- const styles$X = {
168204
+ const styles$W = {
168118
168205
  eventRow,
168119
168206
  selected: selected$2,
168120
168207
  toggle,
@@ -168145,9 +168232,9 @@ const OutlineRow = ({
168145
168232
  "div",
168146
168233
  {
168147
168234
  className: clsx(
168148
- styles$X.eventRow,
168235
+ styles$W.eventRow,
168149
168236
  "text-size-smaller",
168150
- selected2 ? styles$X.selected : ""
168237
+ selected2 ? styles$W.selected : ""
168151
168238
  ),
168152
168239
  style: { paddingLeft: `${node2.depth * 0.4}em` },
168153
168240
  "data-unsearchable": true,
@@ -168155,20 +168242,20 @@ const OutlineRow = ({
168155
168242
  /* @__PURE__ */ jsxRuntimeExports.jsx(
168156
168243
  "div",
168157
168244
  {
168158
- className: clsx(styles$X.toggle),
168245
+ className: clsx(styles$W.toggle),
168159
168246
  onClick: () => {
168160
168247
  setCollapsed(!collapsed2);
168161
168248
  },
168162
168249
  children: toggle2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(toggle2) }) : void 0
168163
168250
  }
168164
168251
  ),
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,
168252
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$W.label), "data-depth": node2.depth, children: [
168253
+ icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$W.icon) }) : void 0,
168167
168254
  sampleEventUrl2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
168168
168255
  Link,
168169
168256
  {
168170
168257
  to: sampleEventUrl2,
168171
- className: clsx(styles$X.eventLink),
168258
+ className: clsx(styles$W.eventLink),
168172
168259
  ref,
168173
168260
  children: parsePackageName(labelForNode(node2)).module
168174
168261
  }
@@ -168177,7 +168264,7 @@ const OutlineRow = ({
168177
168264
  PulsingDots,
168178
168265
  {
168179
168266
  size: "small",
168180
- className: clsx(styles$X.progress),
168267
+ className: clsx(styles$W.progress),
168181
168268
  subtle: false
168182
168269
  }
168183
168270
  ) : void 0
@@ -168192,7 +168279,7 @@ const OutlineRow = ({
168192
168279
  positionEl: ref.current,
168193
168280
  isOpen: isShowing,
168194
168281
  setIsOpen: setShowing,
168195
- className: clsx(styles$X.popper),
168282
+ className: clsx(styles$W.popper),
168196
168283
  placement: "auto-end",
168197
168284
  children: summarizeNode(node2)
168198
168285
  }
@@ -168307,11 +168394,11 @@ const summarizeNode = (node2) => {
168307
168394
  {
168308
168395
  entries,
168309
168396
  size: "mini",
168310
- className: clsx(styles$X.popover, "text-size-smallest")
168397
+ className: clsx(styles$W.popover, "text-size-smallest")
168311
168398
  }
168312
168399
  );
168313
168400
  };
168314
- const styles$W = {};
168401
+ const styles$V = {};
168315
168402
  const kTurnType = "turn";
168316
168403
  const kTurnsType = "turns";
168317
168404
  const kCollapsedScoring = "scorings";
@@ -168580,7 +168667,7 @@ const TranscriptOutline = ({
168580
168667
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
168581
168668
  "div",
168582
168669
  {
168583
- className: clsx(styles$W.eventPadding),
168670
+ className: clsx(styles$V.eventPadding),
168584
168671
  style: { height: "2em" }
168585
168672
  },
168586
168673
  node2.id
@@ -168629,7 +168716,7 @@ const treeContainer = "_treeContainer_17sux_13";
168629
168716
  const listContainer = "_listContainer_17sux_25";
168630
168717
  const outline = "_outline_17sux_29";
168631
168718
  const outlineToggle = "_outlineToggle_17sux_33";
168632
- const styles$V = {
168719
+ const styles$U = {
168633
168720
  container: container$f,
168634
168721
  collapsed,
168635
168722
  treeContainer,
@@ -168639,7 +168726,7 @@ const styles$V = {
168639
168726
  };
168640
168727
  const title$1 = "_title_19l1b_1";
168641
168728
  const contents = "_contents_19l1b_8";
168642
- const styles$U = {
168729
+ const styles$T = {
168643
168730
  title: title$1,
168644
168731
  contents
168645
168732
  };
@@ -168649,12 +168736,12 @@ const EventRow = ({
168649
168736
  className: className2,
168650
168737
  children: children2
168651
168738
  }) => {
168652
- const contentEl = title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-small", styles$U.title, className2), children: [
168739
+ const contentEl = title2 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-small", styles$T.title, className2), children: [
168653
168740
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: icon2 || ApplicationIcons.metadata }),
168654
168741
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: title2 }),
168655
168742
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: children2 })
168656
168743
  ] }) : "";
168657
- const card2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("card", styles$U.contents), children: contentEl });
168744
+ const card2 = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("card", styles$T.contents), children: contentEl });
168658
168745
  return card2;
168659
168746
  };
168660
168747
  const ApprovalEventView = ({
@@ -168705,7 +168792,7 @@ const decisionIcon = (decision) => {
168705
168792
  }
168706
168793
  };
168707
168794
  const tab = "_tab_1je38_1";
168708
- const styles$T = {
168795
+ const styles$S = {
168709
168796
  tab
168710
168797
  };
168711
168798
  const EventNav = ({
@@ -168730,7 +168817,7 @@ const EventNav = ({
168730
168817
  active ? "active " : "",
168731
168818
  "text-style-label",
168732
168819
  "text-size-small",
168733
- styles$T.tab
168820
+ styles$S.tab
168734
168821
  ),
168735
168822
  onClick: handleClick,
168736
168823
  children: title2
@@ -168738,7 +168825,7 @@ const EventNav = ({
168738
168825
  ) });
168739
168826
  };
168740
168827
  const navs$1 = "_navs_1vm6p_1";
168741
- const styles$S = {
168828
+ const styles$R = {
168742
168829
  navs: navs$1
168743
168830
  };
168744
168831
  const EventNavs = ({
@@ -168749,7 +168836,7 @@ const EventNavs = ({
168749
168836
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
168750
168837
  "ul",
168751
168838
  {
168752
- className: clsx("nav", "nav-pills", styles$S.navs),
168839
+ className: clsx("nav", "nav-pills", styles$R.navs),
168753
168840
  role: "tablist",
168754
168841
  "aria-orientation": "horizontal",
168755
168842
  children: navs2.map((nav2) => {
@@ -168772,15 +168859,19 @@ const StickyScrollContext = createContext(
168772
168859
  );
168773
168860
  const StickyScrollProvider = StickyScrollContext.Provider;
168774
168861
  const useStickyScrollContainer = () => useContext(StickyScrollContext);
168775
- const STICKY_TOP = 30;
168776
168862
  const scrollListenerMap = /* @__PURE__ */ new Map();
168777
168863
  function updateStickyState(container2, elements) {
168778
168864
  const containerRect = container2?.getBoundingClientRect();
168779
168865
  const containerTop = containerRect?.top ?? 0;
168866
+ const stickyTop = parseFloat(
168867
+ getComputedStyle(document.body).getPropertyValue(
168868
+ "--inspect-event-panel-sticky-top"
168869
+ )
168870
+ ) || 0;
168780
168871
  elements.forEach((el2) => {
168781
168872
  const rect2 = el2.getBoundingClientRect();
168782
168873
  const relativeTop = rect2.top - containerTop;
168783
- const isStuck = relativeTop <= STICKY_TOP + 1 && relativeTop >= STICKY_TOP - 1;
168874
+ const isStuck = relativeTop <= stickyTop + 1 && relativeTop >= stickyTop - 1;
168784
168875
  el2.toggleAttribute("data-useStickyObserver-stuck", isStuck);
168785
168876
  });
168786
168877
  }
@@ -168847,19 +168938,19 @@ function useStickyObserver() {
168847
168938
  }, [container2, scrollContainerRef]);
168848
168939
  return ref;
168849
168940
  }
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 = {
168941
+ const stickyWrapper = "_stickyWrapper_1yfru_1";
168942
+ const label$6 = "_label_1yfru_22";
168943
+ const navs = "_navs_1yfru_27";
168944
+ const turnLabel = "_turnLabel_1yfru_33";
168945
+ const card = "_card_1yfru_39";
168946
+ const cardContent = "_cardContent_1yfru_47";
168947
+ const hidden = "_hidden_1yfru_52";
168948
+ const copyLink = "_copyLink_1yfru_60";
168949
+ const hover = "_hover_1yfru_68";
168950
+ const root = "_root_1yfru_72";
168951
+ const bottomDongle = "_bottomDongle_1yfru_77";
168952
+ const dongleIcon = "_dongleIcon_1yfru_94";
168953
+ const styles$Q = {
168863
168954
  stickyWrapper,
168864
168955
  label: label$6,
168865
168956
  navs,
@@ -168935,8 +169026,8 @@ const EventPanel = ({
168935
169026
  title: subTitle,
168936
169027
  className: clsx(
168937
169028
  "text-size-small",
168938
- mouseOver ? styles$R.hover : "",
168939
- turnLabel2 ? styles$R.stickyWrapper : ""
169029
+ mouseOver ? styles$Q.hover : "",
169030
+ turnLabel2 ? styles$Q.stickyWrapper : ""
168940
169031
  ),
168941
169032
  ref: turnLabel2 ? stickyRef : null,
168942
169033
  style: {
@@ -168978,19 +169069,19 @@ const EventPanel = ({
168978
169069
  {
168979
169070
  value: url,
168980
169071
  icon: ApplicationIcons.link,
168981
- className: clsx(styles$R.copyLink)
169072
+ className: clsx(styles$Q.copyLink)
168982
169073
  }
168983
169074
  ) : "",
168984
169075
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { onClick: toggleCollapse }),
168985
169076
  /* @__PURE__ */ jsxRuntimeExports.jsx(
168986
169077
  "div",
168987
169078
  {
168988
- className: clsx("text-style-secondary", styles$R.label),
169079
+ className: clsx("text-style-secondary", styles$Q.label),
168989
169080
  onClick: toggleCollapse,
168990
169081
  children: collapsed2 ? text2 : ""
168991
169082
  }
168992
169083
  ),
168993
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$R.navs, children: [
169084
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$Q.navs, children: [
168994
169085
  isCollapsible && collapsibleContent && collapsed2 ? "" : filteredArrChildren && filteredArrChildren.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
168995
169086
  EventNavs,
168996
169087
  {
@@ -169007,7 +169098,7 @@ const EventPanel = ({
169007
169098
  setSelectedNav
169008
169099
  }
169009
169100
  ) : "",
169010
- turnLabel2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$R.turnLabel), children: turnLabel2 })
169101
+ turnLabel2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx(styles$Q.turnLabel), children: turnLabel2 })
169011
169102
  ] })
169012
169103
  ]
169013
169104
  }
@@ -169018,8 +169109,8 @@ const EventPanel = ({
169018
169109
  id: `event-panel-${eventNodeId}`,
169019
169110
  className: clsx(
169020
169111
  className2,
169021
- styles$R.card,
169022
- depth === 0 ? styles$R.root : void 0
169112
+ styles$Q.card,
169113
+ depth === 0 ? styles$Q.root : void 0
169023
169114
  ),
169024
169115
  children: [
169025
169116
  titleEl,
@@ -169028,8 +169119,8 @@ const EventPanel = ({
169028
169119
  {
169029
169120
  className: clsx(
169030
169121
  "tab-content",
169031
- styles$R.cardContent,
169032
- isCollapsible && collapsed2 && collapsibleContent ? styles$R.hidden : void 0
169122
+ styles$Q.cardContent,
169123
+ isCollapsible && collapsed2 && collapsibleContent ? styles$Q.hidden : void 0
169033
169124
  ),
169034
169125
  children: filteredArrChildren?.map((child, index) => {
169035
169126
  const id = pillId(index);
@@ -169052,7 +169143,7 @@ const EventPanel = ({
169052
169143
  isCollapsible && useBottomDongle ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
169053
169144
  "div",
169054
169145
  {
169055
- className: clsx(styles$R.bottomDongle, "text-size-smallest"),
169146
+ className: clsx(styles$Q.bottomDongle, "text-size-smallest"),
169056
169147
  onClick: toggleCollapse,
169057
169148
  children: [
169058
169149
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -169060,7 +169151,7 @@ const EventPanel = ({
169060
169151
  {
169061
169152
  className: clsx(
169062
169153
  collapsed2 ? ApplicationIcons.chevron.right : ApplicationIcons.chevron.down,
169063
- styles$R.dongleIcon
169154
+ styles$Q.dongleIcon
169064
169155
  )
169065
169156
  }
169066
169157
  ),
@@ -169127,7 +169218,7 @@ const ErrorEventView = ({
169127
169218
  );
169128
169219
  };
169129
169220
  const panel$5 = "_panel_vz394_1";
169130
- const styles$Q = {
169221
+ const styles$P = {
169131
169222
  panel: panel$5
169132
169223
  };
169133
169224
  const InfoEventView = ({
@@ -169142,13 +169233,13 @@ const InfoEventView = ({
169142
169233
  RenderedText,
169143
169234
  {
169144
169235
  markdown: event.data,
169145
- className: clsx(styles$Q.panel, "text-size-base"),
169236
+ className: clsx(styles$P.panel, "text-size-base"),
169146
169237
  omitMath: true
169147
169238
  }
169148
169239
  )
169149
169240
  );
169150
169241
  } else {
169151
- panels.push(/* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { data: event.data, className: styles$Q.panel }));
169242
+ panels.push(/* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { data: event.data, className: styles$P.panel }));
169152
169243
  }
169153
169244
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
169154
169245
  EventPanel,
@@ -169191,9 +169282,11 @@ const InputEventView = ({
169191
169282
  }
169192
169283
  );
169193
169284
  };
169194
- const grid$5 = "_grid_1eq5o_1";
169195
- const styles$P = {
169196
- grid: grid$5
169285
+ const grid$5 = "_grid_159mg_1";
169286
+ const wrap = "_wrap_159mg_12";
169287
+ const styles$O = {
169288
+ grid: grid$5,
169289
+ wrap
169197
169290
  };
169198
169291
  const LoggerEventView = ({
169199
169292
  eventNode,
@@ -169207,8 +169300,16 @@ const LoggerEventView = ({
169207
169300
  className: className2,
169208
169301
  title: event.message.level,
169209
169302
  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 }),
169303
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-base", styles$O.grid), children: [
169304
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-smaller"), children: obj !== void 0 && obj !== null ? /* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: obj }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
169305
+ ExpandablePanel,
169306
+ {
169307
+ id: `event-message-${event.uuid}`,
169308
+ collapse: true,
169309
+ className: clsx(styles$O.wrap),
169310
+ children: event.message.message
169311
+ }
169312
+ ) }),
169212
169313
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx("text-size-smaller", "text-style-secondary"), children: [
169213
169314
  event.message.filename,
169214
169315
  ":",
@@ -169221,7 +169322,7 @@ const LoggerEventView = ({
169221
169322
  const container$e = "_container_1ww70_1";
169222
169323
  const titleRow = "_titleRow_1ww70_5";
169223
169324
  const title = "_title_1ww70_5";
169224
- const styles$O = {
169325
+ const styles$N = {
169225
169326
  container: container$e,
169226
169327
  titleRow,
169227
169328
  title
@@ -169232,11 +169333,11 @@ const EventSection = ({
169232
169333
  copyContent,
169233
169334
  className: className2
169234
169335
  }) => {
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(
169336
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$N.container, className2), children: [
169337
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$N.titleRow), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
169237
169338
  "div",
169238
169339
  {
169239
- className: clsx("text-size-small", "text-style-label", styles$O.title),
169340
+ className: clsx("text-size-small", "text-style-label", styles$N.title),
169240
169341
  children: [
169241
169342
  title2,
169242
169343
  copyContent ? /* @__PURE__ */ jsxRuntimeExports.jsx(CopyButton, { value: copyContent, ariaLabel: "Copy to clipboard" }) : null
@@ -169252,18 +169353,18 @@ const tableSelection = "_tableSelection_1hidt_12";
169252
169353
  const codePre = "_codePre_1hidt_22";
169253
169354
  const code$3 = "_code_1hidt_22";
169254
169355
  const progress$1 = "_progress_1hidt_34";
169255
- const error = "_error_1hidt_38";
169356
+ const error$1 = "_error_1hidt_38";
169256
169357
  const toolConfig = "_toolConfig_1hidt_54";
169257
169358
  const toolChoice = "_toolChoice_1hidt_62";
169258
169359
  const traceback = "_traceback_1hidt_71";
169259
- const styles$N = {
169360
+ const styles$M = {
169260
169361
  container: container$d,
169261
169362
  all,
169262
169363
  tableSelection,
169263
169364
  codePre,
169264
169365
  code: code$3,
169265
169366
  progress: progress$1,
169266
- error,
169367
+ error: error$1,
169267
169368
  toolConfig,
169268
169369
  toolChoice,
169269
169370
  traceback
@@ -169274,7 +169375,7 @@ const col1_3 = "_col1_3_cv5sf_12";
169274
169375
  const col3 = "_col3_cv5sf_16";
169275
169376
  const separator$3 = "_separator_cv5sf_20";
169276
169377
  const topMargin = "_topMargin_cv5sf_26";
169277
- const styles$M = {
169378
+ const styles$L = {
169278
169379
  wrapper: wrapper$2,
169279
169380
  col2: col2$1,
169280
169381
  col1_3,
@@ -169348,9 +169449,9 @@ const EventTimingPanel = ({
169348
169449
  });
169349
169450
  }
169350
169451
  }
169351
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$M.wrapper), children: rows.map((row2, idx) => {
169452
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-small", styles$L.wrapper), children: rows.map((row2, idx) => {
169352
169453
  if (row2.label === "---") {
169353
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$M.separator }, `$usage-sep-${idx}`);
169454
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$L.separator }, `$usage-sep-${idx}`);
169354
169455
  } else {
169355
169456
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
169356
169457
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -169359,13 +169460,13 @@ const EventTimingPanel = ({
169359
169460
  className: clsx(
169360
169461
  "text-style-label",
169361
169462
  "text-style-secondary",
169362
- row2.secondary ? styles$M.col2 : styles$M.col1_3,
169363
- row2.topMargin ? styles$M.topMargin : void 0
169463
+ row2.secondary ? styles$L.col2 : styles$L.col1_3,
169464
+ row2.topMargin ? styles$L.topMargin : void 0
169364
169465
  ),
169365
169466
  children: row2.label
169366
169467
  }
169367
169468
  ),
169368
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$M.col3, children: row2.value ? row2.value : "" })
169469
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$L.col3, children: row2.value ? row2.value : "" })
169369
169470
  ] }, `$usage-row-${idx}`);
169370
169471
  }
169371
169472
  }) });
@@ -169421,7 +169522,7 @@ const ModelEventView = ({
169421
169522
  icon: ApplicationIcons.model,
169422
169523
  turnLabel: turnLabel2,
169423
169524
  children: [
169424
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$N.container, children: [
169525
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$M.container, children: [
169425
169526
  /* @__PURE__ */ jsxRuntimeExports.jsx(
169426
169527
  ChatView,
169427
169528
  {
@@ -169433,7 +169534,7 @@ const ModelEventView = ({
169433
169534
  allowLinking: false
169434
169535
  }
169435
169536
  ),
169436
- event.error ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$N.error, children: [
169537
+ event.error ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$M.error, children: [
169437
169538
  /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.error, "aria-hidden": "true" }),
169438
169539
  /* @__PURE__ */ jsxRuntimeExports.jsx(
169439
169540
  ANSIDisplay,
@@ -169444,20 +169545,20 @@ const ModelEventView = ({
169444
169545
  }
169445
169546
  }
169446
169547
  )
169447
- ] }) : event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$N.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
169548
+ ] }) : event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$M.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
169448
169549
  ] }),
169449
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "All", className: styles$N.container, children: [
169450
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$N.all, children: [
169550
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "All", className: styles$M.container, children: [
169551
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$M.all, children: [
169451
169552
  Object.keys(entries).length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
169452
169553
  EventSection,
169453
169554
  {
169454
169555
  title: "Configuration",
169455
- className: styles$N.tableSelection,
169556
+ className: styles$M.tableSelection,
169456
169557
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries, plain: true })
169457
169558
  }
169458
169559
  ),
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(
169560
+ /* @__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 }),
169561
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Timing", className: styles$M.tableSelection, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169461
169562
  EventTimingPanel,
169462
169563
  {
169463
169564
  timestamp: event.timestamp,
@@ -169477,21 +169578,21 @@ const ModelEventView = ({
169477
169578
  }
169478
169579
  ) })
169479
169580
  ] }),
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 }) }),
169581
+ 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
169582
  event.call ? /* @__PURE__ */ jsxRuntimeExports.jsx(
169482
169583
  APIView,
169483
169584
  {
169484
169585
  "data-name": "API",
169485
169586
  call: event.call,
169486
169587
  error: event.error,
169487
- className: styles$N.container
169588
+ className: styles$M.container
169488
169589
  }
169489
169590
  ) : "",
169490
- event.traceback_ansi && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Error", className: styles$N.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169591
+ event.traceback_ansi && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Error", className: styles$M.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169491
169592
  ANSIDisplay,
169492
169593
  {
169493
169594
  output: event.traceback_ansi,
169494
- className: styles$N.traceback
169595
+ className: styles$M.traceback
169495
169596
  }
169496
169597
  ) })
169497
169598
  ]
@@ -169519,11 +169620,11 @@ const APICodeCell = ({ id, sourceCode }) => {
169519
169620
  if (!sourceCode) {
169520
169621
  return null;
169521
169622
  }
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(
169623
+ 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
169624
  "code",
169524
169625
  {
169525
169626
  id,
169526
- className: clsx("language-json", styles$N.code, "text-size-small"),
169627
+ className: clsx("language-json", styles$M.code, "text-size-small"),
169527
169628
  children: sourceCode
169528
169629
  }
169529
169630
  ) }) });
@@ -169536,8 +169637,8 @@ const ToolsConfig = ({ tools: tools2, toolChoice: toolChoice2 }) => {
169536
169637
  ] }, `${tool2.name}-${idx}`);
169537
169638
  });
169538
169639
  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: [
169640
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$M.toolConfig, "text-size-small"), children: toolEls }),
169641
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$M.toolChoice, "text-size-small"), children: [
169541
169642
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Tool Choice" }),
169542
169643
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolChoiceView, { toolChoice: toolChoice2 }) })
169543
169644
  ] })
@@ -169559,7 +169660,7 @@ const code$2 = "_code_1a3fk_5";
169559
169660
  const sample = "_sample_1a3fk_10";
169560
169661
  const section$1 = "_section_1a3fk_14";
169561
169662
  const metadata$1 = "_metadata_1a3fk_21";
169562
- const styles$L = {
169663
+ const styles$K = {
169563
169664
  noMargin,
169564
169665
  code: code$2,
169565
169666
  sample,
@@ -169576,13 +169677,13 @@ const SampleInitEventView = ({
169576
169677
  if (event.sample.files && Object.keys(event.sample.files).length > 0) {
169577
169678
  sections.push(
169578
169679
  /* @__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}`);
169680
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: styles$K.noMargin, children: file }, `sample-init-file-${file}`);
169580
169681
  }) }, `event-${eventNode.id}`)
169581
169682
  );
169582
169683
  }
169583
169684
  if (event.sample.setup) {
169584
169685
  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`)
169686
+ /* @__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
169687
  );
169587
169688
  }
169588
169689
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -169595,7 +169696,7 @@ const SampleInitEventView = ({
169595
169696
  icon: ApplicationIcons.sample,
169596
169697
  subTitle: formatDateTime(new Date(event.timestamp)),
169597
169698
  children: [
169598
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Sample", className: styles$L.sample, children: [
169699
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Sample", className: styles$K.sample, children: [
169599
169700
  /* @__PURE__ */ jsxRuntimeExports.jsx(
169600
169701
  ChatView,
169601
169702
  {
@@ -169611,7 +169712,7 @@ const SampleInitEventView = ({
169611
169712
  choice
169612
169713
  ] }, `$choice-{choice}`);
169613
169714
  }) : "",
169614
- sections.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$L.section, children: sections }) : "",
169715
+ sections.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$K.section, children: sections }) : "",
169615
169716
  event.sample.target ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "Target", children: toArray(event.sample.target).map((target2) => {
169616
169717
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-base"), children: target2 }, target2);
169617
169718
  }) }) : void 0
@@ -169621,7 +169722,7 @@ const SampleInitEventView = ({
169621
169722
  MetaDataGrid,
169622
169723
  {
169623
169724
  "data-name": "Metadata",
169624
- className: styles$L.metadata,
169725
+ className: styles$K.metadata,
169625
169726
  entries: event.sample.metadata
169626
169727
  }
169627
169728
  ) : ""
@@ -169685,7 +169786,7 @@ const exec = "_exec_1irga_15";
169685
169786
  const result = "_result_1irga_19";
169686
169787
  const fileLabel = "_fileLabel_1irga_23";
169687
169788
  const wrapPre = "_wrapPre_1irga_28";
169688
- const styles$K = {
169789
+ const styles$J = {
169689
169790
  twoColumn,
169690
169791
  exec,
169691
169792
  result,
@@ -169723,10 +169824,10 @@ const ExecView = ({ id, event }) => {
169723
169824
  const input2 = event.input;
169724
169825
  const result2 = event.result;
169725
169826
  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 }),
169827
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$J.exec), children: [
169828
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Command`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$J.twoColumn), children: [
169829
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$J.wrapPre), children: cmd2 }),
169830
+ /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$J.wrapPre), children: input2 !== null ? input2?.trim() : void 0 }),
169730
169831
  options2 !== null && Object.keys(options2).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: `Options`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169731
169832
  MetaDataGrid,
169732
169833
  {
@@ -169743,7 +169844,7 @@ const ExecView = ({ id, event }) => {
169743
169844
  entry: { name: "sandbox_output", value: output2 }
169744
169845
  }
169745
169846
  ) }) : void 0,
169746
- result2 !== 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$K.result, "text-size-base"), children: [
169847
+ result2 !== 0 ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$J.result, "text-size-base"), children: [
169747
169848
  "(exited with code ",
169748
169849
  result2,
169749
169850
  ")"
@@ -169769,14 +169870,14 @@ const WriteFileView = ({ id, event }) => {
169769
169870
  };
169770
169871
  const FileView = ({ id, file, contents: contents2 }) => {
169771
169872
  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 }) }),
169873
+ /* @__PURE__ */ jsxRuntimeExports.jsx(EventSection, { title: "File", children: /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: clsx(styles$J.fileLabel), children: file }) }),
169773
169874
  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
169875
  ] });
169775
169876
  };
169776
169877
  const explanation = "_explanation_1k2k0_1";
169777
169878
  const wrappingContent$1 = "_wrappingContent_1k2k0_8";
169778
169879
  const separator$2 = "_separator_1k2k0_13";
169779
- const styles$J = {
169880
+ const styles$I = {
169780
169881
  explanation,
169781
169882
  wrappingContent: wrappingContent$1,
169782
169883
  separator: separator$2
@@ -169802,29 +169903,29 @@ const ScoreEventView = ({
169802
169903
  icon: ApplicationIcons.scorer,
169803
169904
  collapsibleContent: true,
169804
169905
  children: [
169805
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Explanation", className: clsx(styles$J.explanation), children: [
169906
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Explanation", className: clsx(styles$I.explanation), children: [
169806
169907
  event.target ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
169807
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) }),
169908
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169808
169909
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Target" }),
169809
169910
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: resolvedTarget || "" }) })
169810
169911
  ] }) : "",
169811
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) }),
169912
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169812
169913
  /* @__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) }),
169914
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.answer || "" }) }),
169915
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169815
169916
  /* @__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) }),
169917
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.score.explanation || "" }) }),
169918
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) }),
169818
169919
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Score" }),
169819
169920
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderScore(event.score.value) }),
169820
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$J.separator) })
169921
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.separator) })
169821
169922
  ] }),
169822
169923
  event.score.metadata ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Metadata", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
169823
169924
  RecordTree,
169824
169925
  {
169825
169926
  id: `${eventNode.id}-score-metadata`,
169826
169927
  record: event.score.metadata,
169827
- className: styles$J.metadataTree,
169928
+ className: styles$I.metadataTree,
169828
169929
  defaultExpandLevel: 0
169829
169930
  }
169830
169931
  ) }) : void 0
@@ -177937,7 +178038,7 @@ const lightboxContent = "_lightboxContent_1mvg8_33";
177937
178038
  const lightboxButtonCloseWrapper = "_lightboxButtonCloseWrapper_1mvg8_45";
177938
178039
  const lightboxButtonClose = "_lightboxButtonClose_1mvg8_45";
177939
178040
  const lightboxPreviewButton = "_lightboxPreviewButton_1mvg8_63";
177940
- const styles$I = {
178041
+ const styles$H = {
177941
178042
  carouselThumbs,
177942
178043
  carouselThumb,
177943
178044
  carouselPlayIcon,
@@ -178006,12 +178107,12 @@ const LightboxCarousel = ({ id, slides }) => {
178006
178107
  [openLightbox]
178007
178108
  );
178008
178109
  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) => {
178110
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.carouselThumbs), children: slides.map((slide, index) => {
178010
178111
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
178011
178112
  "div",
178012
178113
  {
178013
178114
  "data-index": index,
178014
- className: clsx(styles$I.carouselThumb),
178115
+ className: clsx(styles$H.carouselThumb),
178015
178116
  onClick: handleThumbClick,
178016
178117
  children: [
178017
178118
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: slide.label }),
@@ -178020,7 +178121,7 @@ const LightboxCarousel = ({ id, slides }) => {
178020
178121
  {
178021
178122
  className: clsx(
178022
178123
  ApplicationIcons.play,
178023
- styles$I.carouselPlayIcon
178124
+ styles$H.carouselPlayIcon
178024
178125
  )
178025
178126
  }
178026
178127
  ) })
@@ -178032,12 +178133,12 @@ const LightboxCarousel = ({ id, slides }) => {
178032
178133
  showOverlay && /* @__PURE__ */ jsxRuntimeExports.jsxs(
178033
178134
  "div",
178034
178135
  {
178035
- className: clsx(styles$I.lightboxOverlay, isOpen ? "open" : "closed"),
178136
+ className: clsx(styles$H.lightboxOverlay, isOpen ? "open" : "closed"),
178036
178137
  children: [
178037
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$I.lightboxButtonCloseWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
178138
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.lightboxButtonCloseWrapper), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
178038
178139
  "button",
178039
178140
  {
178040
- className: styles$I.lightboxButtonClose,
178141
+ className: styles$H.lightboxButtonClose,
178041
178142
  onClick: closeLightbox,
178042
178143
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.close })
178043
178144
  }
@@ -178045,7 +178146,7 @@ const LightboxCarousel = ({ id, slides }) => {
178045
178146
  slides.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
178046
178147
  "button",
178047
178148
  {
178048
- className: clsx(styles$I.lightboxPreviewButton, "prev"),
178149
+ className: clsx(styles$H.lightboxPreviewButton, "prev"),
178049
178150
  onClick: showPrev,
178050
178151
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.previous })
178051
178152
  }
@@ -178053,7 +178154,7 @@ const LightboxCarousel = ({ id, slides }) => {
178053
178154
  slides.length > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
178054
178155
  "button",
178055
178156
  {
178056
- className: clsx(styles$I.lightboxPreviewButton, "next"),
178157
+ className: clsx(styles$H.lightboxPreviewButton, "next"),
178057
178158
  onClick: showNext,
178058
178159
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.next })
178059
178160
  }
@@ -178061,7 +178162,7 @@ const LightboxCarousel = ({ id, slides }) => {
178061
178162
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178062
178163
  "div",
178063
178164
  {
178064
- className: clsx(styles$I.lightboxContent, isOpen ? "open" : "closed"),
178165
+ className: clsx(styles$H.lightboxContent, isOpen ? "open" : "closed"),
178065
178166
  children: slides[currentIndex].render()
178066
178167
  },
178067
178168
  `carousel-slide-${currentIndex}`
@@ -178161,7 +178262,7 @@ const extractSize = (value2, label2, defaultValue) => {
178161
178262
  const toolsGrid = "_toolsGrid_1qqm2_1";
178162
178263
  const tools = "_tools_1qqm2_1";
178163
178264
  const tool = "_tool_1qqm2_1";
178164
- const styles$H = {
178265
+ const styles$G = {
178165
178266
  toolsGrid,
178166
178267
  tools,
178167
178268
  tool
@@ -178330,7 +178431,7 @@ const renderTools = (changes, resolvedState) => {
178330
178431
  toolsInfo["Tools"] = /* @__PURE__ */ jsxRuntimeExports.jsx(Tools, { toolDefinitions: filtered });
178331
178432
  }
178332
178433
  }
178333
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$H.tools), children: Object.keys(toolsInfo).map((key2) => {
178434
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$G.tools), children: Object.keys(toolsInfo).map((key2) => {
178334
178435
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
178335
178436
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178336
178437
  "div",
@@ -178385,7 +178486,7 @@ const StoreSpecificRenderableTypes = [
178385
178486
  human_baseline_session
178386
178487
  ];
178387
178488
  const Tools = ({ toolDefinitions }) => {
178388
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$H.toolsGrid, children: toolDefinitions.map((toolDefinition, idx) => {
178489
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$G.toolsGrid, children: toolDefinitions.map((toolDefinition, idx) => {
178389
178490
  const toolName = toolDefinition.name;
178390
178491
  const toolArgs = toolDefinition.parameters?.properties ? Object.keys(toolDefinition.parameters.properties) : [];
178391
178492
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -178400,11 +178501,11 @@ const Tools = ({ toolDefinitions }) => {
178400
178501
  };
178401
178502
  const Tool = ({ toolName, toolArgs }) => {
178402
178503
  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 });
178504
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: clsx("text-size-smallest", styles$G.tool), children: functionCall });
178404
178505
  };
178405
178506
  const diff = "_diff_eobja_1";
178406
178507
  const summary$2 = "_summary_eobja_6";
178407
- const styles$G = {
178508
+ const styles$F = {
178408
178509
  diff,
178409
178510
  summary: summary$2
178410
178511
  };
@@ -178449,14 +178550,14 @@ const StateEventView = ({
178449
178550
  text: !changePreview ? summary2 : void 0,
178450
178551
  collapsibleContent: true,
178451
178552
  children: [
178452
- changePreview ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Summary", className: clsx(styles$G.summary), children: changePreview }) : void 0,
178553
+ changePreview ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-name": "Summary", className: clsx(styles$F.summary), children: changePreview }) : void 0,
178453
178554
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178454
178555
  StateDiffView,
178455
178556
  {
178456
178557
  before,
178457
178558
  after,
178458
178559
  "data-name": "Diff",
178459
- className: clsx(styles$G.diff)
178560
+ className: clsx(styles$F.diff)
178460
178561
  }
178461
178562
  )
178462
178563
  ]
@@ -178781,7 +178882,7 @@ const summary$1 = "_summary_ac4z2_1";
178781
178882
  const summaryRendered = "_summaryRendered_ac4z2_6";
178782
178883
  const subtaskSummary = "_subtaskSummary_ac4z2_10";
178783
178884
  const subtaskLabel = "_subtaskLabel_ac4z2_17";
178784
- const styles$F = {
178885
+ const styles$E = {
178785
178886
  summary: summary$1,
178786
178887
  summaryRendered,
178787
178888
  subtaskSummary,
@@ -178796,9 +178897,9 @@ const SubtaskEventView = ({
178796
178897
  const body2 = [];
178797
178898
  if (event.type === "fork") {
178798
178899
  body2.push(
178799
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { title: "Summary", className: clsx(styles$F.summary), children: [
178900
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { title: "Summary", className: clsx(styles$E.summary), children: [
178800
178901
  /* @__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 }) })
178902
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$E.summaryRendered), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: event.input }) })
178802
178903
  ] })
178803
178904
  );
178804
178905
  } else {
@@ -178834,12 +178935,12 @@ const SubtaskEventView = ({
178834
178935
  };
178835
178936
  const SubtaskSummary = ({ input: input2, result: result2 }) => {
178836
178937
  const output2 = typeof result2 === "object" ? result2 : { result: result2 };
178837
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$F.subtaskSummary), children: [
178938
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$E.subtaskSummary), children: [
178838
178939
  /* @__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) }),
178940
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-large", styles$E.subtaskLabel) }),
178840
178941
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-size-small"), children: "Output" }),
178841
178942
  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 }) }),
178943
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-size-title-secondary", styles$E.subtaskLabel), children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.arrows.right }) }),
178843
178944
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rendered, { values: output2 }) })
178844
178945
  ] });
178845
178946
  };
@@ -178864,7 +178965,7 @@ const None = () => {
178864
178965
  const summary = "_summary_1qsnv_1";
178865
178966
  const approval = "_approval_1qsnv_6";
178866
178967
  const progress = "_progress_1qsnv_12";
178867
- const styles$E = {
178968
+ const styles$D = {
178868
178969
  summary,
178869
178970
  approval,
178870
178971
  progress
@@ -178906,7 +179007,7 @@ const ToolEventView = ({
178906
179007
  childIds: children2.map((child) => child.id),
178907
179008
  collapseControl: "bottom",
178908
179009
  turnLabel: turnLabel2,
178909
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$E.summary, children: [
179010
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { "data-name": "Summary", className: styles$D.summary, children: [
178910
179011
  /* @__PURE__ */ jsxRuntimeExports.jsx(
178911
179012
  ToolCallView,
178912
179013
  {
@@ -178934,10 +179035,10 @@ const ToolEventView = ({
178934
179035
  ApprovalEventView,
178935
179036
  {
178936
179037
  eventNode: approvalNode,
178937
- className: styles$E.approval
179038
+ className: styles$D.approval
178938
179039
  }
178939
179040
  ) : "",
178940
- event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$E.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
179041
+ event.pending ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.progress), children: /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false, size: "medium" }) }) : void 0
178941
179042
  ] })
178942
179043
  }
178943
179044
  );
@@ -178948,7 +179049,7 @@ const separator$1 = "_separator_io1r0_13";
178948
179049
  const unchanged = "_unchanged_io1r0_22";
178949
179050
  const section = "_section_io1r0_27";
178950
179051
  const spacer = "_spacer_io1r0_31";
178951
- const styles$D = {
179052
+ const styles$C = {
178952
179053
  container: container$c,
178953
179054
  wrappingContent,
178954
179055
  separator: separator$1,
@@ -178980,46 +179081,46 @@ const ScoreEditEventView = ({
178980
179081
  className: clsx(
178981
179082
  "text-style-label",
178982
179083
  "text-style-secondary",
178983
- styles$D.section
179084
+ styles$C.section
178984
179085
  ),
178985
179086
  children: "Updated Values"
178986
179087
  }
178987
179088
  ),
178988
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$D.container), children: [
179089
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$C.container), children: [
178989
179090
  event.edit.value ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
178990
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179091
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
178991
179092
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Value" }),
178992
179093
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderScore(event.edit.value) })
178993
179094
  ] }) : "",
178994
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179095
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
178995
179096
  /* @__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) }),
179097
+ /* @__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 || "" }) }),
179098
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
178998
179099
  /* @__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 || "" }) })
179100
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.explanation || "" }) })
179000
179101
  ] }),
179001
- event.edit.provenance ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$D.container), children: [
179102
+ event.edit.provenance ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$C.container), children: [
179002
179103
  /* @__PURE__ */ jsxRuntimeExports.jsx(
179003
179104
  "div",
179004
179105
  {
179005
179106
  className: clsx(
179006
179107
  "text-style-label",
179007
179108
  "text-style-secondary",
179008
- styles$D.section
179109
+ styles$C.section
179009
179110
  ),
179010
179111
  children: "Provenance"
179011
179112
  }
179012
179113
  ),
179013
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.spacer) }),
179014
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.separator) }),
179114
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.spacer) }),
179115
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
179015
179116
  /* @__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) }),
179117
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.author }) }),
179118
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
179018
179119
  /* @__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) }),
179120
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(RenderedText, { markdown: event.edit.provenance.reason || "" }) }),
179121
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.separator) }),
179021
179122
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-style-label", children: "Time" }),
179022
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$D.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
179123
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$C.wrappingContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
179023
179124
  RenderedText,
179024
179125
  {
179025
179126
  markdown: formatDateTime(new Date(event.edit.provenance.timestamp)) || ""
@@ -179031,7 +179132,7 @@ const ScoreEditEventView = ({
179031
179132
  {
179032
179133
  id: `${eventNode.id}-score-metadata`,
179033
179134
  record: event.edit.metadata || {},
179034
- className: styles$D.metadataTree,
179135
+ className: styles$C.metadataTree,
179035
179136
  defaultExpandLevel: 0
179036
179137
  }
179037
179138
  ) }) : void 0
@@ -179164,7 +179265,7 @@ const node = "_node_1r858_1";
179164
179265
  const attached = "_attached_1r858_5";
179165
179266
  const attachedParent = "_attachedParent_1r858_9";
179166
179267
  const attachedChild = "_attachedChild_1r858_16";
179167
- const styles$C = {
179268
+ const styles$B = {
179168
179269
  node,
179169
179270
  attached,
179170
179271
  attachedParent,
@@ -179391,22 +179492,22 @@ const TranscriptVirtualListComponent = ({
179391
179492
  }, [eventNodes, hasToolEventsAtCurrentDepth, turnMap]);
179392
179493
  const renderRow = useCallback(
179393
179494
  (index, item2, style2) => {
179394
- const paddingClass = index === 0 ? styles$C.first : void 0;
179495
+ const paddingClass = index === 0 ? styles$B.first : void 0;
179395
179496
  const previousIndex = index - 1;
179396
179497
  const nextIndex = index + 1;
179397
179498
  const previous = previousIndex > 0 && previousIndex <= eventNodes.length ? eventNodes[previousIndex] : void 0;
179398
179499
  const next = nextIndex < eventNodes.length ? eventNodes[nextIndex] : void 0;
179399
179500
  const attached2 = item2.event.event === "tool" && (previous?.event.event === "tool" || previous?.event.event === "model");
179400
179501
  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;
179502
+ const attachedClass = attached2 ? styles$B.attached : void 0;
179503
+ const attachedChildClass = attached2 ? styles$B.attachedChild : void 0;
179504
+ const attachedParentClass = attachedParent2 ? styles$B.attachedParent : void 0;
179404
179505
  const context = contextMap.get(item2.id);
179405
179506
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
179406
179507
  "div",
179407
179508
  {
179408
179509
  id: item2.id,
179409
- className: clsx(styles$C.node, paddingClass, attachedClass),
179510
+ className: clsx(styles$B.node, paddingClass, attachedClass),
179410
179511
  style: {
179411
179512
  ...style2,
179412
179513
  paddingLeft: `${item2.depth <= 1 ? item2.depth * 0.7 : (0.7 + item2.depth - 1) * 1}em`,
@@ -179453,7 +179554,7 @@ const TranscriptVirtualListComponent = ({
179453
179554
  }
179454
179555
  };
179455
179556
  const panel$4 = "_panel_8zdtn_1";
179456
- const styles$B = {
179557
+ const styles$A = {
179457
179558
  panel: panel$4
179458
179559
  };
179459
179560
  const CompactionEventView = ({
@@ -179479,7 +179580,7 @@ const CompactionEventView = ({
179479
179580
  className: className2,
179480
179581
  subTitle: formatDateTime(new Date(event.timestamp)),
179481
179582
  icon: ApplicationIcons.info,
179482
- children: [/* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: data, className: styles$B.panel })]
179583
+ children: [/* @__PURE__ */ jsxRuntimeExports.jsx(MetaDataGrid, { entries: data, className: styles$A.panel })]
179483
179584
  }
179484
179585
  );
179485
179586
  };
@@ -180177,21 +180278,21 @@ const TranscriptPanel = memo((props) => {
180177
180278
  "div",
180178
180279
  {
180179
180280
  className: clsx(
180180
- styles$V.container,
180181
- collapsed2 ? styles$V.collapsed : void 0
180281
+ styles$U.container,
180282
+ collapsed2 ? styles$U.collapsed : void 0
180182
180283
  ),
180183
180284
  children: [
180184
180285
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
180185
180286
  StickyScroll,
180186
180287
  {
180187
180288
  scrollRef,
180188
- className: styles$V.treeContainer,
180289
+ className: styles$U.treeContainer,
180189
180290
  offsetTop: topOffset,
180190
180291
  children: [
180191
180292
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180192
180293
  TranscriptOutline,
180193
180294
  {
180194
- className: clsx(styles$V.outline),
180295
+ className: clsx(styles$U.outline),
180195
180296
  eventNodes,
180196
180297
  filteredNodes: outlineFilteredNodes,
180197
180298
  running,
@@ -180202,7 +180303,7 @@ const TranscriptPanel = memo((props) => {
180202
180303
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180203
180304
  "div",
180204
180305
  {
180205
- className: styles$V.outlineToggle,
180306
+ className: styles$U.outlineToggle,
180206
180307
  onClick: () => setCollapsed(!collapsed2),
180207
180308
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: ApplicationIcons.sidebar })
180208
180309
  }
@@ -180220,7 +180321,7 @@ const TranscriptPanel = memo((props) => {
180220
180321
  running,
180221
180322
  initialEventId: initialEventId === void 0 ? null : initialEventId,
180222
180323
  offsetTop: topOffset,
180223
- className: styles$V.listContainer,
180324
+ className: styles$U.listContainer,
180224
180325
  turnMap
180225
180326
  }
180226
180327
  )
@@ -180438,16 +180539,16 @@ const SampleDisplay = ({
180438
180539
  {
180439
180540
  id: tabsetId,
180440
180541
  tabsRef,
180441
- className: clsx(styles$11.tabControls),
180542
+ className: clsx(styles$10.tabControls),
180442
180543
  tabControlsClassName: clsx("text-size-base"),
180443
- tabPanelsClassName: clsx(styles$11.tabPanel),
180544
+ tabPanelsClassName: clsx(styles$10.tabPanel),
180444
180545
  tools: tools2,
180445
180546
  children: [
180446
180547
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
180447
180548
  TabPanel,
180448
180549
  {
180449
180550
  id: kSampleTranscriptTabId,
180450
- className: clsx("sample-tab", styles$11.transcriptContainer),
180551
+ className: clsx("sample-tab", styles$10.transcriptContainer),
180451
180552
  title: "Transcript",
180452
180553
  onSelected: onSelectedTab,
180453
180554
  selected: effectiveSelectedTab === kSampleTranscriptTabId || effectiveSelectedTab === void 0,
@@ -180481,7 +180582,7 @@ const SampleDisplay = ({
180481
180582
  TabPanel,
180482
180583
  {
180483
180584
  id: kSampleMessagesTabId,
180484
- className: clsx("sample-tab", styles$11.fullWidth, styles$11.chat),
180585
+ className: clsx("sample-tab", styles$10.fullWidth, styles$10.chat),
180485
180586
  title: "Messages",
180486
180587
  onSelected: onSelectedTab,
180487
180588
  selected: effectiveSelectedTab === kSampleMessagesTabId,
@@ -180497,7 +180598,7 @@ const SampleDisplay = ({
180497
180598
  scrollRef,
180498
180599
  toolCallStyle: "complete",
180499
180600
  running,
180500
- className: styles$11.fullWidth
180601
+ className: styles$10.fullWidth
180501
180602
  },
180502
180603
  `${baseId}-chat-${id}`
180503
180604
  )
@@ -180516,7 +180617,7 @@ const SampleDisplay = ({
180516
180617
  SampleScoresView,
180517
180618
  {
180518
180619
  sample: sample2,
180519
- className: styles$11.padded,
180620
+ className: styles$10.padded,
180520
180621
  scrollRef
180521
180622
  }
180522
180623
  )
@@ -180531,7 +180632,7 @@ const SampleDisplay = ({
180531
180632
  title: "Metadata",
180532
180633
  onSelected: onSelectedTab,
180533
180634
  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" })
180635
+ 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
180636
  }
180536
180637
  ),
180537
180638
  sample2?.error || sample2?.error_retries && sample2?.error_retries.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -180542,14 +180643,14 @@ const SampleDisplay = ({
180542
180643
  title: "Errors",
180543
180644
  onSelected: onSelectedTab,
180544
180645
  selected: effectiveSelectedTab === kSampleErrorTabId,
180545
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$11.error), children: [
180646
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$10.error), children: [
180546
180647
  sample2?.error ? /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
180547
180648
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardHeader, { label: `Sample Error` }),
180548
180649
  /* @__PURE__ */ jsxRuntimeExports.jsx(CardBody, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
180549
180650
  ANSIDisplay,
180550
180651
  {
180551
180652
  output: sample2.error.traceback_ansi,
180552
- className: clsx("text-size-small", styles$11.ansi),
180653
+ className: clsx("text-size-small", styles$10.ansi),
180553
180654
  style: {
180554
180655
  fontSize: "clamp(0.3rem, 1.1vw, 0.8rem)",
180555
180656
  margin: "0.5em 0"
@@ -180564,7 +180665,7 @@ const SampleDisplay = ({
180564
180665
  ANSIDisplay,
180565
180666
  {
180566
180667
  output: retry.traceback_ansi,
180567
- className: clsx("text-size-small", styles$11.ansi),
180668
+ className: clsx("text-size-small", styles$10.ansi),
180568
180669
  style: {
180569
180670
  fontSize: "clamp(0.3rem, 1.1vw, 0.8rem)",
180570
180671
  margin: "0.5em 0"
@@ -180584,7 +180685,7 @@ const SampleDisplay = ({
180584
180685
  title: "JSON",
180585
180686
  onSelected: onSelectedTab,
180586
180687
  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(
180688
+ 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
180689
  JSONPanel,
180589
180690
  {
180590
180691
  data: sample2,
@@ -180635,7 +180736,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180635
180736
  {
180636
180737
  id: `task-sample-invalidation-${id}`,
180637
180738
  record: invalidationRecord,
180638
- className: clsx("tab-pane", styles$11.noTop),
180739
+ className: clsx("tab-pane", styles$10.noTop),
180639
180740
  scrollRef
180640
180741
  }
180641
180742
  ) })
@@ -180650,7 +180751,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180650
180751
  ModelTokenTable,
180651
180752
  {
180652
180753
  model_usage: sample2.model_usage,
180653
- className: clsx(styles$11.noTop)
180754
+ className: clsx(styles$10.noTop)
180654
180755
  }
180655
180756
  ) })
180656
180757
  ] }, `sample-usage-${id}`)
@@ -180668,7 +180769,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180668
180769
  Working: formatTime$1(sample2.working_time),
180669
180770
  Total: formatTime$1(sample2.total_time)
180670
180771
  },
180671
- className: clsx("tab-pane", styles$11.noTop),
180772
+ className: clsx("tab-pane", styles$10.noTop),
180672
180773
  scrollRef
180673
180774
  }
180674
180775
  ) })
@@ -180684,7 +180785,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180684
180785
  {
180685
180786
  id: `task-sample-metadata-${id}`,
180686
180787
  record: sample2?.metadata,
180687
- className: clsx("tab-pane", styles$11.noTop),
180788
+ className: clsx("tab-pane", styles$10.noTop),
180688
180789
  scrollRef
180689
180790
  }
180690
180791
  ) })
@@ -180700,7 +180801,7 @@ const metadataViewsForSample = (id, scrollRef, sample2) => {
180700
180801
  {
180701
180802
  id: `task-sample-store-${id}`,
180702
180803
  record: sample2?.store,
180703
- className: clsx("tab-pane", styles$11.noTop),
180804
+ className: clsx("tab-pane", styles$10.noTop),
180704
180805
  scrollRef,
180705
180806
  processStore: true
180706
180807
  }
@@ -180778,7 +180879,7 @@ const isRunning = (sampleSummary, runningSampleData) => {
180778
180879
  };
180779
180880
  const container$b = "_container_ly812_1";
180780
180881
  const scroller = "_scroller_ly812_7";
180781
- const styles$A = {
180882
+ const styles$z = {
180782
180883
  container: container$b,
180783
180884
  scroller
180784
180885
  };
@@ -180796,14 +180897,14 @@ const InlineSampleComponent = ({
180796
180897
  }) => {
180797
180898
  const sampleData = useSampleData();
180798
180899
  const scrollRef = useRef(null);
180799
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$A.container), children: [
180900
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2, styles$z.container), children: [
180800
180901
  showActivity && /* @__PURE__ */ jsxRuntimeExports.jsx(
180801
180902
  ActivityBar,
180802
180903
  {
180803
180904
  animating: sampleData.status === "loading" || sampleData.status === "streaming"
180804
180905
  }
180805
180906
  ),
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(
180907
+ /* @__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
180908
  ErrorPanel,
180808
180909
  {
180809
180910
  title: "Unable to load sample",
@@ -180824,7 +180925,7 @@ const sampleInfo = "_sampleInfo_14cqz_11";
180824
180925
  const sampleNav = "_sampleNav_14cqz_17";
180825
180926
  const nav$1 = "_nav_14cqz_25";
180826
180927
  const disabled$1 = "_disabled_14cqz_25";
180827
- const styles$z = {
180928
+ const styles$y = {
180828
180929
  detail,
180829
180930
  panel: panel$3,
180830
180931
  sampleInfo,
@@ -180840,14 +180941,20 @@ const SampleDetailComponent = ({
180840
180941
  navbarConfig
180841
180942
  }) => {
180842
180943
  const { onPrevious, onNext, hasPrevious, hasNext } = navigation;
180843
- const { currentPath, fnNavigationUrl, bordered: bordered2 = true } = navbarConfig;
180944
+ const {
180945
+ currentPath,
180946
+ fnNavigationUrl,
180947
+ bordered: bordered2 = true,
180948
+ breadcrumbsEnabled
180949
+ } = navbarConfig;
180844
180950
  const sampleData = useSampleData();
180845
180951
  const sample2 = useMemo(() => {
180846
180952
  return sampleData.getSelectedSample();
180847
180953
  }, [sampleData]);
180848
- const sampleStatus = useStore((state) => state.sample.sampleStatus);
180849
180954
  const sampleMatchesRequest = useMemo(() => {
180850
- if (!sample2 || !sampleId || !epoch) return false;
180955
+ if (!sample2 || !sampleId || !epoch) {
180956
+ return true;
180957
+ }
180851
180958
  return String(sample2.id) === sampleId && sample2.epoch === parseInt(epoch, 10);
180852
180959
  }, [sample2, sampleId, epoch]);
180853
180960
  const showFind = useStore((state) => state.app.showFind);
@@ -180915,14 +181022,15 @@ const SampleDetailComponent = ({
180915
181022
  );
180916
181023
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(ExtendedFindProvider, { children: [
180917
181024
  showFind ? /* @__PURE__ */ jsxRuntimeExports.jsx(FindBand, {}) : "",
180918
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$z.detail, children: [
181025
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$y.detail, children: [
180919
181026
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180920
181027
  ApplicationNavbar,
180921
181028
  {
180922
181029
  currentPath,
180923
181030
  fnNavigationUrl,
180924
181031
  bordered: bordered2,
180925
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$z.sampleNav), children: [
181032
+ breadcrumbsEnabled,
181033
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$y.sampleNav), children: [
180926
181034
  /* @__PURE__ */ jsxRuntimeExports.jsx(
180927
181035
  "div",
180928
181036
  {
@@ -180932,11 +181040,11 @@ const SampleDetailComponent = ({
180932
181040
  role: "button",
180933
181041
  "aria-label": "Previous sample",
180934
181042
  "aria-disabled": !hasPrevious,
180935
- className: clsx(!hasPrevious && styles$z.disabled, styles$z.nav),
181043
+ className: clsx(!hasPrevious && styles$y.disabled, styles$y.nav),
180936
181044
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.previous) })
180937
181045
  }
180938
181046
  ),
180939
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$z.sampleInfo, "text-size-smallest"), children: [
181047
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$y.sampleInfo, "text-size-smallest"), children: [
180940
181048
  "Sample ",
180941
181049
  sampleId,
180942
181050
  " (Epoch ",
@@ -180952,18 +181060,18 @@ const SampleDetailComponent = ({
180952
181060
  role: "button",
180953
181061
  "aria-label": "Next sample",
180954
181062
  "aria-disabled": !hasNext,
180955
- className: clsx(!hasNext && styles$z.disabled, styles$z.nav),
181063
+ className: clsx(!hasNext && styles$y.disabled, styles$y.nav),
180956
181064
  children: /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(ApplicationIcons.next) })
180957
181065
  }
180958
181066
  )
180959
181067
  ] })
180960
181068
  }
180961
181069
  ),
180962
- sampleStatus !== "loading" && sample2 && sampleMatchesRequest && /* @__PURE__ */ jsxRuntimeExports.jsx(
181070
+ sampleMatchesRequest && /* @__PURE__ */ jsxRuntimeExports.jsx(
180963
181071
  InlineSampleComponent,
180964
181072
  {
180965
181073
  showActivity: false,
180966
- className: styles$z.panel
181074
+ className: styles$y.panel
180967
181075
  }
180968
181076
  )
180969
181077
  ] })
@@ -180977,6 +181085,8 @@ const LogSampleDetailView = () => {
180977
181085
  sampleTabId,
180978
181086
  sampleUuid
180979
181087
  } = useLogRouteParams();
181088
+ useLoadSample();
181089
+ usePollSample();
180980
181090
  const navigate = useNavigate();
180981
181091
  const initLogDir = useStore((state) => state.logsActions.initLogDir);
180982
181092
  const sampleSummaries = useSampleSummaries();
@@ -180989,6 +181099,7 @@ const LogSampleDetailView = () => {
180989
181099
  const selectedSampleHandle = useStore(
180990
181100
  (state) => state.log.selectedSampleHandle
180991
181101
  );
181102
+ const singleFileMode = useStore((state) => state.app.singleFileMode);
180992
181103
  const logPath = routeLogPath || selectedLogFile;
180993
181104
  const sampleId = routeSampleId || selectedSampleHandle?.id?.toString();
180994
181105
  const epoch = routeEpoch || selectedSampleHandle?.epoch?.toString();
@@ -181029,8 +181140,6 @@ const LogSampleDetailView = () => {
181029
181140
  }
181030
181141
  }
181031
181142
  }, [logPath, sampleUuid, sampleSummaries, sampleTabId, navigate]);
181032
- useLoadSample();
181033
- usePollSample();
181034
181143
  const { onPrevious, onNext, hasPrevious, hasNext } = useLogSampleNavigation();
181035
181144
  const fnNavigationUrl = useCallback(
181036
181145
  (file, log_dir) => {
@@ -181062,7 +181171,8 @@ const LogSampleDetailView = () => {
181062
181171
  // (breadcrumbs don't make the last segment a link)
181063
181172
  currentPath: logPath ? `${logPath}/sample` : void 0,
181064
181173
  fnNavigationUrl,
181065
- bordered: true
181174
+ bordered: true,
181175
+ breadcrumbsEnabled: !singleFileMode
181066
181176
  }
181067
181177
  }
181068
181178
  );
@@ -181108,17 +181218,17 @@ const tabContainer = "_tabContainer_1r3mu_6";
181108
181218
  const tabSet = "_tabSet_1r3mu_14";
181109
181219
  const tabs = "_tabs_1r3mu_21";
181110
181220
  const tabPanels = "_tabPanels_1r3mu_29";
181111
- const styles$y = {
181221
+ const styles$x = {
181112
181222
  workspace,
181113
181223
  tabContainer,
181114
181224
  tabSet,
181115
181225
  tabs,
181116
181226
  tabPanels
181117
181227
  };
181118
- const message$1 = "_message_1gb2h_5";
181119
- const styles$x = {
181228
+ const message = "_message_1gb2h_5";
181229
+ const styles$w = {
181120
181230
  "task-error-display": "_task-error-display_1gb2h_1",
181121
- message: message$1
181231
+ message
181122
181232
  };
181123
181233
  const TaskErrorCard = ({ error: error2 }) => {
181124
181234
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
@@ -181135,7 +181245,7 @@ const TaskErrorCard = ({ error: error2 }) => {
181135
181245
  {
181136
181246
  id: "task-error-collapse",
181137
181247
  collapse: true,
181138
- className: clsx("text-size-smaller", styles$x.message),
181248
+ className: clsx("text-size-smaller", styles$w.message),
181139
181249
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181140
181250
  RenderedContent,
181141
181251
  {
@@ -181149,7 +181259,7 @@ const TaskErrorCard = ({ error: error2 }) => {
181149
181259
  ANSIDisplay,
181150
181260
  {
181151
181261
  output: error2.traceback_ansi,
181152
- className: styles$x["task-error-display"]
181262
+ className: styles$w["task-error-display"]
181153
181263
  }
181154
181264
  )
181155
181265
  ] })
@@ -181215,7 +181325,7 @@ const MessageBand = ({
181215
181325
  ] });
181216
181326
  };
181217
181327
  const item$1 = "_item_1uzhd_1";
181218
- const styles$w = {
181328
+ const styles$v = {
181219
181329
  item: item$1
181220
181330
  };
181221
181331
  const DatasetDetailView = ({
@@ -181226,12 +181336,12 @@ const DatasetDetailView = ({
181226
181336
  Object.entries(dataset).filter(([key2]) => key2 !== "sample_ids")
181227
181337
  );
181228
181338
  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" });
181339
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx("text-size-base", styles$v.item), style: style2, children: "No dataset information available" });
181230
181340
  }
181231
181341
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
181232
181342
  MetaDataGrid,
181233
181343
  {
181234
- className: clsx("text-size-base", styles$w.item),
181344
+ className: clsx("text-size-base", styles$v.item),
181235
181345
  entries: filtered,
181236
181346
  style: style2,
181237
181347
  plain: true
@@ -181241,7 +181351,7 @@ const DatasetDetailView = ({
181241
181351
  const icon$1 = "_icon_59zaz_1";
181242
181352
  const container$a = "_container_59zaz_5";
181243
181353
  const metadata = "_metadata_59zaz_11";
181244
- const styles$v = {
181354
+ const styles$u = {
181245
181355
  icon: icon$1,
181246
181356
  container: container$a,
181247
181357
  metadata
@@ -181252,22 +181362,22 @@ const DetailStep = ({
181252
181362
  params,
181253
181363
  className: className2
181254
181364
  }) => {
181255
- const iconHtml = icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$v.icon) }) : "";
181365
+ const iconHtml = icon2 ? /* @__PURE__ */ jsxRuntimeExports.jsx("i", { className: clsx(icon2, styles$u.icon) }) : "";
181256
181366
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(className2), children: [
181257
181367
  iconHtml,
181258
181368
  " ",
181259
181369
  name2,
181260
- params && Object.keys(params).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$v.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181370
+ params && Object.keys(params).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$u.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181261
181371
  MetaDataGrid,
181262
181372
  {
181263
181373
  entries: params,
181264
- className: clsx("text-size-small", styles$v.metadata)
181374
+ className: clsx("text-size-small", styles$u.metadata)
181265
181375
  }
181266
181376
  ) }) : ""
181267
181377
  ] });
181268
181378
  };
181269
181379
  const item = "_item_leq25_1";
181270
- const styles$u = {
181380
+ const styles$t = {
181271
181381
  item
181272
181382
  };
181273
181383
  const ScorerDetailView = ({
@@ -181284,38 +181394,38 @@ const ScorerDetailView = ({
181284
181394
  icon: ApplicationIcons.scorer,
181285
181395
  name: name2,
181286
181396
  params,
181287
- className: clsx(styles$u.item, "text-size-base")
181397
+ className: clsx(styles$t.item, "text-size-base")
181288
181398
  }
181289
181399
  );
181290
181400
  };
181291
181401
  const container$9 = "_container_12j2k_1";
181292
181402
  const separator = "_separator_12j2k_11";
181293
- const styles$t = {
181403
+ const styles$s = {
181294
181404
  container: container$9,
181295
181405
  separator
181296
181406
  };
181297
181407
  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 }) });
181408
+ 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
181409
  const details = steps?.map((step, index) => {
181300
181410
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
181301
181411
  /* @__PURE__ */ jsxRuntimeExports.jsx(
181302
181412
  DetailStep,
181303
181413
  {
181304
181414
  name: step.solver,
181305
- className: clsx(styles$t.items, "text-size-small")
181415
+ className: clsx(styles$s.items, "text-size-small")
181306
181416
  }
181307
181417
  ),
181308
181418
  index < steps.length - 1 ? separator2 : ""
181309
181419
  ] }, `solver-step-${index}`);
181310
181420
  });
181311
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$t.container, children: details });
181421
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$s.container, children: details });
181312
181422
  };
181313
181423
  const floatingCol = "_floatingCol_1n79r_1";
181314
181424
  const wideCol = "_wideCol_1n79r_9";
181315
181425
  const planCol = "_planCol_1n79r_24";
181316
181426
  const container$8 = "_container_1n79r_29";
181317
181427
  const grid$4 = "_grid_1n79r_35";
181318
- const styles$s = {
181428
+ const styles$r = {
181319
181429
  floatingCol,
181320
181430
  wideCol,
181321
181431
  planCol,
@@ -181334,13 +181444,13 @@ const PlanDetailView = ({
181334
181444
  const taskColumns = [];
181335
181445
  taskColumns.push({
181336
181446
  title: "Dataset",
181337
- className: styles$s.floatingCol,
181447
+ className: styles$r.floatingCol,
181338
181448
  contents: /* @__PURE__ */ jsxRuntimeExports.jsx(DatasetDetailView, { dataset: evaluation.dataset })
181339
181449
  });
181340
181450
  if (steps) {
181341
181451
  taskColumns.push({
181342
181452
  title: "Solvers",
181343
- className: styles$s.wideCol,
181453
+ className: styles$r.wideCol,
181344
181454
  contents: /* @__PURE__ */ jsxRuntimeExports.jsx(SolversDetailView, { steps })
181345
181455
  });
181346
181456
  }
@@ -181374,15 +181484,15 @@ const PlanDetailView = ({
181374
181484
  });
181375
181485
  taskColumns.push({
181376
181486
  title: label2,
181377
- className: styles$s.floatingCol,
181487
+ className: styles$r.floatingCol,
181378
181488
  contents: scorerPanels
181379
181489
  });
181380
181490
  }
181381
181491
  }
181382
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$s.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181492
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181383
181493
  "div",
181384
181494
  {
181385
- className: styles$s.grid,
181495
+ className: styles$r.grid,
181386
181496
  style: {
181387
181497
  gridTemplateColumns: `repeat(${taskColumns.length}, fit-content(50%))`
181388
181498
  },
@@ -181410,7 +181520,7 @@ const PlanColumn = ({ title: title2, className: className2, children: children2
181410
181520
  "text-size-small",
181411
181521
  "text-style-label",
181412
181522
  "text-style-secondary",
181413
- styles$s.planCol
181523
+ styles$r.planCol
181414
181524
  ),
181415
181525
  children: title2
181416
181526
  }
@@ -181543,7 +181653,7 @@ const DownloadPanel = ({
181543
181653
  ] }) });
181544
181654
  };
181545
181655
  const jsonTab = "_jsonTab_6pq03_1";
181546
- const styles$r = {
181656
+ const styles$q = {
181547
181657
  jsonTab
181548
181658
  };
181549
181659
  const kJsonMaxSize = 1e7;
@@ -181619,7 +181729,7 @@ const JsonTab = ({ logFile, json }) => {
181619
181729
  const downloadFiles = useStore((state) => state.capabilities.downloadFiles);
181620
181730
  if (logFile && json.length > kJsonMaxSize && downloadFiles) {
181621
181731
  const file = `${filename(logFile)}.json`;
181622
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181732
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
181623
181733
  DownloadPanel,
181624
181734
  {
181625
181735
  message: "The JSON for this log file is too large to render.",
@@ -181629,14 +181739,14 @@ const JsonTab = ({ logFile, json }) => {
181629
181739
  }
181630
181740
  ) });
181631
181741
  } else {
181632
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$r.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { id: "task-json-contents", json, simple: true }) });
181742
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$q.jsonTab, children: /* @__PURE__ */ jsxRuntimeExports.jsx(JSONPanel, { id: "task-json-contents", json, simple: true }) });
181633
181743
  }
181634
181744
  };
181635
181745
  const container$7 = "_container_4wzpj_1";
181636
181746
  const modelInfo = "_modelInfo_4wzpj_8";
181637
181747
  const role = "_role_4wzpj_15";
181638
181748
  const sep = "_sep_4wzpj_19";
181639
- const styles$q = {
181749
+ const styles$p = {
181640
181750
  container: container$7,
181641
181751
  modelInfo,
181642
181752
  role,
@@ -181658,31 +181768,31 @@ const ModelCard = ({ evalSpec }) => {
181658
181768
  const noneEl = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-style-secondary", children: "None" });
181659
181769
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
181660
181770
  /* @__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) => {
181771
+ /* @__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
181772
  const modelInfo2 = modelsInfo[modelKey];
181663
181773
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
181664
181774
  "div",
181665
181775
  {
181666
- className: clsx(styles$q.modelInfo, "text-size-small"),
181776
+ className: clsx(styles$p.modelInfo, "text-size-small"),
181667
181777
  children: [
181668
181778
  /* @__PURE__ */ jsxRuntimeExports.jsx(
181669
181779
  "div",
181670
181780
  {
181671
181781
  className: clsx(
181672
- styles$q.role,
181782
+ styles$p.role,
181673
181783
  "text-style-label",
181674
181784
  "text-style-secondary"
181675
181785
  ),
181676
181786
  children: modelKey
181677
181787
  }
181678
181788
  ),
181679
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181789
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181680
181790
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Model" }),
181681
181791
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: modelInfo2.model }),
181682
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181792
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181683
181793
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Base Url" }),
181684
181794
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: modelInfo2.base_url || noneEl }),
181685
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181795
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181686
181796
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Configuration" }),
181687
181797
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: modelInfo2.config && Object.keys(modelInfo2.config).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
181688
181798
  MetaDataGrid,
@@ -181690,7 +181800,7 @@ const ModelCard = ({ evalSpec }) => {
181690
181800
  entries: modelInfo2.config
181691
181801
  }
181692
181802
  ) : noneEl }),
181693
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) }),
181803
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) }),
181694
181804
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label"), children: "Args" }),
181695
181805
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-size-small", children: Object.keys(modelInfo2.args).length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
181696
181806
  MetaDataGrid,
@@ -181698,7 +181808,7 @@ const ModelCard = ({ evalSpec }) => {
181698
181808
  entries: modelInfo2.args
181699
181809
  }
181700
181810
  ) : noneEl }),
181701
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$q.sep) })
181811
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$p.sep) })
181702
181812
  ]
181703
181813
  },
181704
181814
  modelKey
@@ -181708,7 +181818,7 @@ const ModelCard = ({ evalSpec }) => {
181708
181818
  };
181709
181819
  const wrapper$1 = "_wrapper_14r3b_1";
181710
181820
  const col2 = "_col2_14r3b_16";
181711
- const styles$p = {
181821
+ const styles$o = {
181712
181822
  wrapper: wrapper$1,
181713
181823
  col2
181714
181824
  };
@@ -181719,7 +181829,7 @@ const UsageCard = ({ stats }) => {
181719
181829
  }
181720
181830
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Card, { children: [
181721
181831
  /* @__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 }) }) }) })
181832
+ /* @__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
181833
  ] });
181724
181834
  };
181725
181835
  const useModelsTab = (evalSpec, evalStats, evalStatus) => {
@@ -181749,7 +181859,7 @@ const ModelTab = ({
181749
181859
  };
181750
181860
  const container$6 = "_container_15b4r_1";
181751
181861
  const label$5 = "_label_15b4r_5";
181752
- const styles$o = {
181862
+ const styles$n = {
181753
181863
  container: container$6,
181754
181864
  label: label$5
181755
181865
  };
@@ -181766,7 +181876,7 @@ const EpochFilter = ({
181766
181876
  const sel = e.target;
181767
181877
  setEpoch(sel.value);
181768
181878
  };
181769
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$o.container, children: [
181879
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$n.container, children: [
181770
181880
  /* @__PURE__ */ jsxRuntimeExports.jsx(
181771
181881
  "span",
181772
181882
  {
@@ -181775,7 +181885,7 @@ const EpochFilter = ({
181775
181885
  "text-size-smaller",
181776
181886
  "text-style-label",
181777
181887
  "text-style-secondary",
181778
- styles$o.label
181888
+ styles$n.label
181779
181889
  ),
181780
181890
  children: "Epochs:"
181781
181891
  }
@@ -202506,7 +202616,7 @@ function getCompletions(context, filterItems, samples) {
202506
202616
  const label$4 = "_label_jbrqc_1";
202507
202617
  const input = "_input_jbrqc_7";
202508
202618
  const help = "_help_jbrqc_11";
202509
- const styles$n = {
202619
+ const styles$m = {
202510
202620
  label: label$4,
202511
202621
  input,
202512
202622
  help
@@ -202715,7 +202825,7 @@ const SampleFilter = () => {
202715
202825
  "text-size-smaller",
202716
202826
  "text-style-label",
202717
202827
  "text-style-secondary",
202718
- styles$n.label
202828
+ styles$m.label
202719
202829
  ),
202720
202830
  children: "Filter:"
202721
202831
  }
@@ -202724,13 +202834,13 @@ const SampleFilter = () => {
202724
202834
  "div",
202725
202835
  {
202726
202836
  ref: editorRef,
202727
- className: clsx(filterError && "filter-pending", styles$n.input)
202837
+ className: clsx(filterError && "filter-pending", styles$m.input)
202728
202838
  }
202729
202839
  ),
202730
202840
  /* @__PURE__ */ jsxRuntimeExports.jsx(
202731
202841
  "span",
202732
202842
  {
202733
- className: clsx("bi", "bi-question-circle", styles$n.help),
202843
+ className: clsx("bi", "bi-question-circle", styles$m.help),
202734
202844
  "data-tooltip": FILTER_TOOLTIP,
202735
202845
  "data-tooltip-position": "bottom-left"
202736
202846
  }
@@ -202744,7 +202854,7 @@ const label$3 = "_label_uvlpz_26";
202744
202854
  const links = "_links_uvlpz_32";
202745
202855
  const selected$1 = "_selected_uvlpz_50";
202746
202856
  const bodyColorButton = "_bodyColorButton_uvlpz_54";
202747
- const styles$m = {
202857
+ const styles$l = {
202748
202858
  container: container$5,
202749
202859
  grid: grid$3,
202750
202860
  row: row$1,
@@ -202775,7 +202885,7 @@ const SelectScorer = ({
202775
202885
  "text-size-smaller",
202776
202886
  "text-style-label",
202777
202887
  "text-style-secondary",
202778
- styles$m.label
202888
+ styles$l.label
202779
202889
  ),
202780
202890
  children: "Scorers:"
202781
202891
  }
@@ -202787,7 +202897,7 @@ const SelectScorer = ({
202787
202897
  icon: ApplicationIcons.metrics,
202788
202898
  onClick: () => setShowing(!showing),
202789
202899
  ref: buttonRef,
202790
- className: clsx(styles$m.bodyColorButton)
202900
+ className: clsx(styles$l.bodyColorButton)
202791
202901
  }
202792
202902
  ),
202793
202903
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -202803,13 +202913,13 @@ const SelectScorer = ({
202803
202913
  padding: "3px 5px"
202804
202914
  },
202805
202915
  children: [
202806
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$m.links, "text-size-smaller"), children: [
202916
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$l.links, "text-size-smaller"), children: [
202807
202917
  /* @__PURE__ */ jsxRuntimeExports.jsx(
202808
202918
  "a",
202809
202919
  {
202810
202920
  className: clsx(
202811
- styles$m.link,
202812
- !allScoresSelected ? styles$m.selected : void 0
202921
+ styles$l.link,
202922
+ !allScoresSelected ? styles$l.selected : void 0
202813
202923
  ),
202814
202924
  onClick: () => {
202815
202925
  if (scores2.length > 0) {
@@ -202824,8 +202934,8 @@ const SelectScorer = ({
202824
202934
  "a",
202825
202935
  {
202826
202936
  className: clsx(
202827
- styles$m.link,
202828
- allScoresSelected ? styles$m.selected : void 0
202937
+ styles$l.link,
202938
+ allScoresSelected ? styles$l.selected : void 0
202829
202939
  ),
202830
202940
  onClick: () => {
202831
202941
  setSelectedScores(scores2);
@@ -202834,7 +202944,7 @@ const SelectScorer = ({
202834
202944
  }
202835
202945
  )
202836
202946
  ] }),
202837
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$m.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
202947
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$l.container, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
202838
202948
  ScoreCheckboxes,
202839
202949
  {
202840
202950
  scores: scores2,
@@ -202866,13 +202976,13 @@ const ScoreCheckboxes = ({
202866
202976
  },
202867
202977
  [setSelectedScores, scores2, selectedKeys]
202868
202978
  );
202869
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$m.grid, "text-size-smaller"), children: scores2.map((sc2) => {
202979
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$l.grid, "text-size-smaller"), children: scores2.map((sc2) => {
202870
202980
  const key2 = `${sc2.scorer}.${sc2.name}`;
202871
202981
  const isChecked = selectedKeys ? selectedKeys.has(key2) : false;
202872
202982
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
202873
202983
  "div",
202874
202984
  {
202875
- className: clsx(styles$m.row),
202985
+ className: clsx(styles$l.row),
202876
202986
  onClick: () => handleToggle(sc2, isChecked),
202877
202987
  children: [
202878
202988
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -202937,92 +203047,17 @@ const ScoreFilterTools = () => {
202937
203047
  }
202938
203048
  );
202939
203049
  };
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";
203050
+ const grid$2 = "_grid_173xh_1";
203051
+ const selected = "_selected_173xh_11";
203052
+ const sampleLink = "_sampleLink_173xh_15";
203053
+ const disabledRow = "_disabledRow_173xh_34";
203054
+ const disabled = "_disabled_173xh_34";
203055
+ const cell = "_cell_173xh_44";
203056
+ const wrapAnywhere = "_wrapAnywhere_173xh_49";
203057
+ const noLeft = "_noLeft_173xh_53";
203058
+ const score = "_score_173xh_57";
203059
+ const centered = "_centered_173xh_62";
203060
+ const error = "_error_173xh_67";
203026
203061
  const styles$k = {
203027
203062
  grid: grid$2,
203028
203063
  selected,
@@ -203033,7 +203068,8 @@ const styles$k = {
203033
203068
  wrapAnywhere,
203034
203069
  noLeft,
203035
203070
  score,
203036
- centered
203071
+ centered,
203072
+ error
203037
203073
  };
203038
203074
  const SampleRow = ({
203039
203075
  id,
@@ -203055,9 +203091,7 @@ const SampleRow = ({
203055
203091
  scoresRendered = [null];
203056
203092
  }
203057
203093
  const scoreColumnContent = scoresRendered.map((scoreRendered, i) => {
203058
- if (sample2.error) {
203059
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SampleErrorView, { message: sample2.error });
203060
- } else if (completed) {
203094
+ if (completed) {
203061
203095
  return scoreRendered;
203062
203096
  } else if (i === scoresRendered.length - 1) {
203063
203097
  return /* @__PURE__ */ jsxRuntimeExports.jsx(PulsingDots, { subtle: false });
@@ -203151,7 +203185,19 @@ const SampleRow = ({
203151
203185
  children: scoreColumnContent2
203152
203186
  },
203153
203187
  `score-${i}`
203154
- ))
203188
+ )),
203189
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
203190
+ "div",
203191
+ {
203192
+ className: clsx(
203193
+ "sample-error",
203194
+ "text-size-small",
203195
+ styles$k.cell,
203196
+ styles$k.error
203197
+ ),
203198
+ children: sample2.error ? /* @__PURE__ */ jsxRuntimeExports.jsx(SampleErrorView, { message: sample2.error }) : void 0
203199
+ }
203200
+ )
203155
203201
  ]
203156
203202
  }
203157
203203
  );
@@ -203226,6 +203272,7 @@ const SampleHeader = ({
203226
203272
  answer: answer2 = true,
203227
203273
  limit = true,
203228
203274
  retries = false,
203275
+ errors: errors2 = false,
203229
203276
  scoreLabels = ["Score"],
203230
203277
  gridColumnsTemplate
203231
203278
  }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -203252,7 +203299,8 @@ const SampleHeader = ({
203252
203299
  children: label2
203253
203300
  },
203254
203301
  `score-header-${i}`
203255
- ))
203302
+ )),
203303
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: errors2 ? "Error" : "" })
203256
203304
  ]
203257
203305
  }
203258
203306
  );
@@ -203375,9 +203423,23 @@ const SampleList = memo((props) => {
203375
203423
  );
203376
203424
  const selectedScores = useSelectedScores();
203377
203425
  const scores2 = useScores();
203426
+ const sampleCount = items?.reduce((prev, current2) => {
203427
+ if (current2.type === "sample") {
203428
+ return prev + 1;
203429
+ } else {
203430
+ return prev;
203431
+ }
203432
+ }, 0);
203433
+ const errorCount = items?.reduce((previous, item2) => {
203434
+ if (typeof item2.data === "object" && item2.data.error) {
203435
+ return previous + 1;
203436
+ }
203437
+ return previous;
203438
+ }, 0);
203439
+ const hasErrors = errorCount > 0;
203378
203440
  const gridColumnsTemplate = useMemo(() => {
203379
- return gridColumnsValue(samplesDescriptor);
203380
- }, [samplesDescriptor]);
203441
+ return gridColumnsValue(samplesDescriptor, hasErrors);
203442
+ }, [samplesDescriptor, hasErrors]);
203381
203443
  const renderRow = useCallback(
203382
203444
  (_index, item2) => {
203383
203445
  if (item2.type === "sample") {
@@ -203421,20 +203483,10 @@ const SampleList = memo((props) => {
203421
203483
  selectedSampleHandle?.id
203422
203484
  ]
203423
203485
  );
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);
203486
+ const { input: input2, limit, answer: answer2, target: target2, retries } = gridColumns(
203487
+ samplesDescriptor,
203488
+ hasErrors
203489
+ );
203438
203490
  const limitCount = items?.reduce((previous, item2) => {
203439
203491
  if (typeof item2.data === "object" && item2.data.limit) {
203440
203492
  return previous + 1;
@@ -203481,6 +203533,7 @@ const SampleList = memo((props) => {
203481
203533
  answer: answer2 !== "0",
203482
203534
  limit: limit !== "0",
203483
203535
  retries: retries !== "0em",
203536
+ errors: hasErrors,
203484
203537
  scoreLabels: scoreHeaders(selectedScores, scores2),
203485
203538
  gridColumnsTemplate
203486
203539
  }
@@ -203521,12 +203574,13 @@ const SampleList = memo((props) => {
203521
203574
  )
203522
203575
  ] });
203523
203576
  });
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(" ")}`;
203577
+ const gridColumnsValue = (sampleDescriptor, hasErrors) => {
203578
+ const { input: input2, target: target2, answer: answer2, limit, retries, id, scores: scores2, errors: errors2 } = gridColumns(sampleDescriptor, hasErrors);
203579
+ const parts = [id, input2, target2, answer2, limit, retries, ...scores2, errors2];
203580
+ const result2 = parts.join(" ");
203527
203581
  return result2;
203528
203582
  };
203529
- const gridColumns = (sampleDescriptor) => {
203583
+ const gridColumns = (sampleDescriptor, hasErrors) => {
203530
203584
  const input2 = sampleDescriptor && sampleDescriptor.messageShape.normalized.input > 0 ? Math.max(0.15, sampleDescriptor.messageShape.normalized.input) : 0;
203531
203585
  const target2 = sampleDescriptor && sampleDescriptor.messageShape.normalized.target > 0 ? Math.max(0.15, sampleDescriptor.messageShape.normalized.target) : 0;
203532
203586
  const answer2 = sampleDescriptor && sampleDescriptor.messageShape.normalized.answer > 0 ? Math.max(0.15, sampleDescriptor.messageShape.normalized.answer) : 0;
@@ -203546,12 +203600,14 @@ const gridColumns = (sampleDescriptor) => {
203546
203600
  return `${val}fr`;
203547
203601
  }
203548
203602
  };
203603
+ const errors2 = hasErrors ? "fit-content(20em)" : "0";
203549
203604
  return {
203550
203605
  input: frSize(input2),
203551
203606
  target: frSize(target2),
203552
203607
  answer: frSize(answer2),
203553
203608
  limit: frSize(limit),
203554
203609
  retries: `${retries}em`,
203610
+ errors: errors2,
203555
203611
  id: `${id}rem`,
203556
203612
  scores: scores2
203557
203613
  };
@@ -205203,15 +205259,15 @@ const LogView = () => {
205203
205259
  status: selectedLogDetails?.status
205204
205260
  }
205205
205261
  ),
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(
205262
+ /* @__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
205263
  TabSet,
205208
205264
  {
205209
205265
  id: "log-details",
205210
205266
  tools: tabTools2,
205211
205267
  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),
205268
+ className: clsx(styles$x.tabSet, "text-size-smaller"),
205269
+ tabControlsClassName: clsx(styles$x.tabs, "text-size-smaller"),
205270
+ tabPanelsClassName: clsx(styles$x.tabPanels),
205215
205271
  children: Object.keys(tabs2).map((key2) => {
205216
205272
  const tab2 = tabs2[key2];
205217
205273
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -205504,7 +205560,7 @@ const useSampleColumns = (logDetails) => {
205504
205560
  pinned: "left",
205505
205561
  cellRenderer: (params) => {
205506
205562
  if (params.data?.displayIndex !== void 0) {
205507
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1c.numberCell, children: params.data.displayIndex });
205563
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1b.numberCell, children: params.data.displayIndex });
205508
205564
  }
205509
205565
  return "";
205510
205566
  }
@@ -205822,7 +205878,7 @@ const SamplesGrid = ({
205822
205878
  useEffect(() => {
205823
205879
  resizeGridColumns();
205824
205880
  }, [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(
205881
+ 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
205882
  AgGridReact,
205827
205883
  {
205828
205884
  ref: gridRef,
@@ -206207,6 +206263,7 @@ const SampleDetailView = () => {
206207
206263
  );
206208
206264
  const clearLog = useStore((state) => state.logActions.clearLog);
206209
206265
  const clearSampleTab = useStore((state) => state.appActions.clearSampleTab);
206266
+ const singleFileMode = useStore((state) => state.app.singleFileMode);
206210
206267
  const currentIndex = useMemo(() => {
206211
206268
  if (!displayedSamples || !selectedLogFile || !sampleId || !epoch) {
206212
206269
  return -1;
@@ -206267,7 +206324,8 @@ const SampleDetailView = () => {
206267
206324
  navbarConfig: {
206268
206325
  currentPath: routeLogPath,
206269
206326
  fnNavigationUrl: samplesUrl,
206270
- bordered: true
206327
+ bordered: true,
206328
+ breadcrumbsEnabled: !singleFileMode
206271
206329
  }
206272
206330
  }
206273
206331
  );
@@ -206294,13 +206352,8 @@ const AppLayout = () => {
206294
206352
  }, [location2]);
206295
206353
  const singleFileMode = useStore((state) => state.app.singleFileMode);
206296
206354
  const { sampleId, epoch, sampleUuid } = useLogRouteParams();
206297
- const selectedSampleHandle = useStore(
206298
- (state) => state.log.selectedSampleHandle
206299
- );
206300
206355
  if (singleFileMode) {
206301
- const isSampleDetailFromUrl = sampleId && epoch || sampleUuid;
206302
- const isSampleDetailFromState = selectedSampleHandle?.id !== void 0 && selectedSampleHandle?.epoch !== void 0;
206303
- const isSampleDetail = isSampleDetailFromUrl || isSampleDetailFromState;
206356
+ const isSampleDetail = sampleId && epoch || sampleUuid;
206304
206357
  return /* @__PURE__ */ jsxRuntimeExports.jsx(AppErrorBoundary, { children: isSampleDetail ? /* @__PURE__ */ jsxRuntimeExports.jsx(LogSampleDetailView, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(LogViewContainer, {}) });
206305
206358
  }
206306
206359
  return /* @__PURE__ */ jsxRuntimeExports.jsx(AppErrorBoundary, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Outlet, {}) });