@metrevals/inspect-log-viewer 0.3.150-beta.1764327404 → 0.3.151-beta.1764339753
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SamplesTab.d.ts","sourceRoot":"","sources":["../../../../src/app/log-view/tabs/SamplesTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AA2B7C,eAAO,MAAM,mBAAmB,GAC9B,YAAY,MAAM,GAAG,SAAS,EAC9B,YAAY,MAAM,IAAI;;;;;;;;;CAwCvB,CAAC;AAEF,UAAU,eAAe;IAEvB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"SamplesTab.d.ts","sourceRoot":"","sources":["../../../../src/app/log-view/tabs/SamplesTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AA2B7C,eAAO,MAAM,mBAAmB,GAC9B,YAAY,MAAM,GAAG,SAAS,EAC9B,YAAY,MAAM,IAAI;;;;;;;;;CAwCvB,CAAC;AAEF,UAAU,eAAe;IAEvB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmK1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/chat/MessageContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/chat/MessageContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAChD,OAAO,EACL,YAAY,EACZ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAUjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAKpD,KAAK,aAAa,GACd,WAAW,GACX,gBAAgB,GAChB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,eAAe,GACf,WAAW,GACX,WAAW,GACX,cAAc,CAAC;AAInB,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC;AAEpD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,eAAO,MAAM,gBAAgB,GAC3B,SAAS,OAAO,KACf,OAAO,IAAI,aAOb,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAoDlD,CAAC;AAiRF,MAAM,MAAM,gBAAgB,CAAC,IAAI,EAAE,IAAI,SAAS,WAAW,IAAI,IAAI,SAAS,GAAG,GAC3E,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,GAChB,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SampleDetailView.d.ts","sourceRoot":"","sources":["../../../src/app/samples-panel/SampleDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAmB5D;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"SampleDetailView.d.ts","sourceRoot":"","sources":["../../../src/app/samples-panel/SampleDetailView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AAmB5D;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAiO9B,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -97921,17 +97921,16 @@ const messageRenderers = {
|
|
|
97921
97921
|
const obj = JSON.parse(c2.text);
|
|
97922
97922
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(JsonMessageContent, { id: `${key2}-json`, json: obj });
|
|
97923
97923
|
} else {
|
|
97924
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
97924
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
|
|
97925
97925
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
97926
97926
|
RenderedText,
|
|
97927
97927
|
{
|
|
97928
97928
|
markdown: purgeInternalContainers(c2.text) || "",
|
|
97929
97929
|
className: isLast ? "no-last-para-padding" : ""
|
|
97930
|
-
}
|
|
97931
|
-
key2
|
|
97930
|
+
}
|
|
97932
97931
|
),
|
|
97933
97932
|
c2.citations ? /* @__PURE__ */ jsxRuntimeExports.jsx(MessageCitations, { citations: c2.citations }) : void 0
|
|
97934
|
-
] });
|
|
97933
|
+
] }, key2);
|
|
97935
97934
|
}
|
|
97936
97935
|
}
|
|
97937
97936
|
},
|
|
@@ -105146,7 +105145,7 @@ const ViewerOptionsPopover = ({
|
|
|
105146
105145
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1s.fullWidth, styles$1s.fullWidthPadded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1s.logDir, children: logDir2 }) }),
|
|
105147
105146
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1s.spacer) }),
|
|
105148
105147
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Version" }),
|
|
105149
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.150-
|
|
105148
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.150-17-g464563733" }),
|
|
105150
105149
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Schema" }),
|
|
105151
105150
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: DB_VERSION }),
|
|
105152
105151
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1s.spacer) }),
|
|
@@ -150927,7 +150926,7 @@ const useSamplesTabConfig = (evalStatus, refreshLog) => {
|
|
|
150927
150926
|
componentProps: {
|
|
150928
150927
|
running: evalStatus === "started"
|
|
150929
150928
|
},
|
|
150930
|
-
tools: () => !samplesDescriptor ? void 0 : totalSampleCount === 1 ? [/* @__PURE__ */ jsxRuntimeExports.jsx(ScoreFilterTools, {})] : [
|
|
150929
|
+
tools: () => !samplesDescriptor ? void 0 : totalSampleCount === 1 ? [/* @__PURE__ */ jsxRuntimeExports.jsx(ScoreFilterTools, {}, "sample-score-tool")] : [
|
|
150931
150930
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SampleTools, {}, "sample-tools"),
|
|
150932
150931
|
evalStatus === "started" && !streamSamples && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
150933
150932
|
ToolButton,
|
|
@@ -150965,6 +150964,7 @@ const SamplesTab = ({ running }) => {
|
|
|
150965
150964
|
const groupByOrder = useGroupByOrder();
|
|
150966
150965
|
const selectedScores = useSelectedScores();
|
|
150967
150966
|
const selectSample = useStore((state) => state.logActions.selectSample);
|
|
150967
|
+
const sampleStatus = useStore((state) => state.sample.sampleStatus);
|
|
150968
150968
|
const sampleListHandle = useRef(null);
|
|
150969
150969
|
const sampleProcessor = useMemo(() => {
|
|
150970
150970
|
if (!samplesDescriptor) return void 0;
|
|
@@ -151044,7 +151044,7 @@ const SamplesTab = ({ running }) => {
|
|
|
151044
151044
|
}
|
|
151045
151045
|
} else {
|
|
151046
151046
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
|
|
151047
|
-
samplesDescriptor && totalSampleCount === 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(InlineSampleDisplay, {}) : void 0,
|
|
151047
|
+
samplesDescriptor && totalSampleCount === 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(InlineSampleDisplay, { showActivity: sampleStatus === "loading" }) : void 0,
|
|
151048
151048
|
samplesDescriptor && totalSampleCount > 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
151049
151049
|
SampleList,
|
|
151050
151050
|
{
|
|
@@ -209998,6 +209998,7 @@ const SampleDetailView = () => {
|
|
|
209998
209998
|
const displayedSamples = useStore(
|
|
209999
209999
|
(state) => state.logs.samplesListState.displayedSamples
|
|
210000
210000
|
);
|
|
210001
|
+
const sampleStatus = useStore((state) => state.sample.sampleStatus);
|
|
210001
210002
|
const loadSample = useStore((state) => state.sampleActions.loadSample);
|
|
210002
210003
|
const clearSelectedLogDetails = useStore(
|
|
210003
210004
|
(state) => state.logActions.clearSelectedLogDetails
|
|
@@ -210166,7 +210167,13 @@ const SampleDetailView = () => {
|
|
|
210166
210167
|
] })
|
|
210167
210168
|
}
|
|
210168
210169
|
),
|
|
210169
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
210170
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
210171
|
+
InlineSampleDisplay,
|
|
210172
|
+
{
|
|
210173
|
+
showActivity: sampleStatus === "loading",
|
|
210174
|
+
className: styles.panel
|
|
210175
|
+
}
|
|
210176
|
+
)
|
|
210170
210177
|
] })
|
|
210171
210178
|
] });
|
|
210172
210179
|
};
|