@meridianlabs/log-viewer 0.3.283 → 0.3.284
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/{AsciinemaPlayerImpl-CTd51CWg.js → AsciinemaPlayerImpl-DrztGkXg.js} +33 -28
- package/lib/{AsciinemaPlayerImpl-CTd51CWg.js.map → AsciinemaPlayerImpl-DrztGkXg.js.map} +1 -1
- package/lib/index.js +87 -5
- package/lib/index.js.map +1 -1
- package/lib/{markdownPipeline-bhdCQvtQ.js → markdownPipeline-D23f-WkE.js} +177 -122
- package/lib/markdownPipeline-D23f-WkE.js.map +1 -0
- package/lib/src/app/samples/SampleDisplay.d.ts.map +1 -1
- package/lib/src/app/samples/StoreTerminalSessions.d.ts +20 -0
- package/lib/src/app/samples/StoreTerminalSessions.d.ts.map +1 -0
- package/lib/styles/index.css +9 -0
- package/package.json +2 -2
- package/lib/markdownPipeline-bhdCQvtQ.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SampleDisplay.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/SampleDisplay.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,EAAE,EAIF,SAAS,EAMV,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SampleDisplay.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/SampleDisplay.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,EAAE,EAIF,SAAS,EAMV,MAAM,OAAO,CAAC;AA8Hf,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAOD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsjChD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface StoreCast {
|
|
3
|
+
key: string;
|
|
4
|
+
name: string;
|
|
5
|
+
cast: string;
|
|
6
|
+
}
|
|
7
|
+
/** Collect the playable asciicast entries from a sample's store. */
|
|
8
|
+
export declare const storeCasts: (store: Record<string, unknown>) => StoreCast[];
|
|
9
|
+
interface StoreTerminalSessionsProps {
|
|
10
|
+
id: string;
|
|
11
|
+
casts: StoreCast[];
|
|
12
|
+
}
|
|
13
|
+
/** Plays each store asciicast, labeled by session name. */
|
|
14
|
+
export declare const StoreTerminalSessions: FC<StoreTerminalSessionsProps>;
|
|
15
|
+
export declare const castGeometry: (cast: string) => {
|
|
16
|
+
rows: number;
|
|
17
|
+
cols: number;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=StoreTerminalSessions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoreTerminalSessions.d.ts","sourceRoot":"","sources":["../../../../src/app/samples/StoreTerminalSessions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAU3B,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oEAAoE;AACpE,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,SAAS,EAKlE,CAAC;AAEJ,UAAU,0BAA0B;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAED,2DAA2D;AAC3D,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA2BhE,CAAC;AAIF,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,KAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAmBvE,CAAC"}
|
package/lib/styles/index.css
CHANGED
|
@@ -27868,6 +27868,15 @@ pre._value_8citi_25 {
|
|
|
27868
27868
|
._scores_148cv_9 {
|
|
27869
27869
|
padding-top: 1em;
|
|
27870
27870
|
}
|
|
27871
|
+
._sessions_ezmbx_1 {
|
|
27872
|
+
display: flex;
|
|
27873
|
+
flex-direction: column;
|
|
27874
|
+
gap: 1em;
|
|
27875
|
+
}
|
|
27876
|
+
|
|
27877
|
+
._sessionLabel_ezmbx_7 {
|
|
27878
|
+
margin-bottom: 0.3em;
|
|
27879
|
+
}
|
|
27871
27880
|
._layout_6xi98_1 {
|
|
27872
27881
|
display: flex;
|
|
27873
27882
|
gap: 1em;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meridianlabs/log-viewer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.284",
|
|
4
4
|
"description": "Log viewer for inspect_ai logs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"fzstd": "^0.1.1",
|
|
112
112
|
"immer": "^11.1.21",
|
|
113
113
|
"json5": "^2.2.3",
|
|
114
|
-
"markdown-it": "^15.0.
|
|
114
|
+
"markdown-it": "^15.0.3",
|
|
115
115
|
"postcss-url": "^10.1.4",
|
|
116
116
|
"prismjs": "^1.30.0",
|
|
117
117
|
"react": "^19.3.0",
|