@meridianlabs/log-viewer 0.3.259 → 0.3.260
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/e2e/fixtures/serve-log.d.ts +8 -0
- package/lib/e2e/fixtures/serve-log.d.ts.map +1 -0
- package/lib/e2e/fixtures/test-data.d.ts +1 -0
- package/lib/e2e/fixtures/test-data.d.ts.map +1 -1
- package/lib/e2e/metadata-record-tree.spec.d.ts +10 -0
- package/lib/e2e/metadata-record-tree.spec.d.ts.map +1 -0
- package/lib/index.js +4447 -7160
- package/lib/index.js.map +1 -1
- package/lib/src/app/routing/loaders/SampleLoadController.d.ts.map +1 -1
- package/lib/src/app/samples/descriptor/testDescriptors.d.ts +7 -0
- package/lib/src/app/samples/descriptor/testDescriptors.d.ts.map +1 -0
- package/lib/src/client/api/testClientApi.d.ts +13 -0
- package/lib/src/client/api/testClientApi.d.ts.map +1 -0
- package/lib/src/log_data/testFixtures.d.ts +11 -2
- package/lib/src/log_data/testFixtures.d.ts.map +1 -1
- package/lib/src/state/testStore.d.ts +3 -0
- package/lib/src/state/testStore.d.ts.map +1 -0
- package/lib/styles/index.css +10 -10
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SampleLoadController.d.ts","sourceRoot":"","sources":["../../../../../src/app/routing/loaders/SampleLoadController.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SampleLoadController.d.ts","sourceRoot":"","sources":["../../../../../src/app/routing/loaders/SampleLoadController.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAkBtC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAsClC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SamplesDescriptor } from './samplesDescriptor';
|
|
2
|
+
import { EvalDescriptor, MessageShape, ScoreDescriptor } from './types';
|
|
3
|
+
export declare const testScoreDescriptor: (overrides?: Partial<ScoreDescriptor>) => ScoreDescriptor;
|
|
4
|
+
export declare const testEvalDescriptor: (overrides?: Partial<EvalDescriptor>) => EvalDescriptor;
|
|
5
|
+
export declare const testMessageShape: (overrides?: Partial<MessageShape>) => MessageShape;
|
|
6
|
+
export declare const testSamplesDescriptor: (overrides?: Partial<SamplesDescriptor>) => SamplesDescriptor;
|
|
7
|
+
//# sourceMappingURL=testDescriptors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testDescriptors.d.ts","sourceRoot":"","sources":["../../../../../src/app/samples/descriptor/testDescriptors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAM7E,eAAO,MAAM,mBAAmB,GAC9B,YAAW,OAAO,CAAC,eAAe,CAAM,KACvC,eAKD,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAC7B,YAAW,OAAO,CAAC,cAAc,CAAM,KACtC,cAOD,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAC3B,YAAW,OAAO,CAAC,YAAY,CAAM,KACpC,YAUD,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAChC,YAAW,OAAO,CAAC,iBAAiB,CAAM,KACzC,iBAMD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ClientAPI, LogDetails, LogHeader, SampleSummary } from './types';
|
|
2
|
+
export declare const notImplemented: (name: string) => () => never;
|
|
3
|
+
/**
|
|
4
|
+
* A complete ClientAPI whose required methods throw unless overridden.
|
|
5
|
+
* Optional methods stay undefined so presence-probing code paths behave as
|
|
6
|
+
* they would against a backend that lacks them.
|
|
7
|
+
*/
|
|
8
|
+
export declare const testClientAPI: (overrides?: Partial<ClientAPI>) => ClientAPI;
|
|
9
|
+
export declare const testSampleSummary: (overrides?: Partial<SampleSummary>) => SampleSummary;
|
|
10
|
+
export declare const testLogDetails: (overrides?: Partial<LogDetails>) => LogDetails;
|
|
11
|
+
/** The stored form of a details payload (LogHeader), with sample facts zeroed. */
|
|
12
|
+
export declare const testLogHeader: (overrides?: Partial<LogHeader>) => LogHeader;
|
|
13
|
+
//# sourceMappingURL=testClientApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testClientApi.d.ts","sourceRoot":"","sources":["../../../../src/client/api/testClientApi.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE/E,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,WAAS,KAEnD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,GACxB,YAAW,OAAO,CAAC,SAAS,CAAM,KACjC,SAcD,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAC5B,YAAW,OAAO,CAAC,aAAa,CAAM,KACrC,aAOD,CAAC;AAEH,eAAO,MAAM,cAAc,GACzB,YAAW,OAAO,CAAC,UAAU,CAAM,KAClC,UAMD,CAAC;AAEH,kFAAkF;AAClF,eAAO,MAAM,aAAa,GACxB,YAAW,OAAO,CAAC,SAAS,CAAM,KACjC,SAMD,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { QueryClient } from '@tanstack/react-query';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { ChatMessage, EvalSample, Event } from '@tsmono/inspect-common/types';
|
|
4
4
|
import { SampleHandle } from '../app/types';
|
|
5
|
+
import { DatabaseService } from '../client/database';
|
|
5
6
|
import { SequenceReader, ChunkedSample } from './chunked';
|
|
6
7
|
import { EvalSampleData } from './sampleData';
|
|
7
8
|
export declare const testHandle: SampleHandle;
|
|
@@ -12,8 +13,16 @@ export declare const makeWrapper: (client?: QueryClient) => ({ children }: {
|
|
|
12
13
|
children: ReactNode;
|
|
13
14
|
}) => import('react').FunctionComponentElement<import('@tanstack/react-query').QueryClientProviderProps>;
|
|
14
15
|
export declare const testMessages: (count: number) => ChatMessage[];
|
|
15
|
-
export declare const
|
|
16
|
-
export
|
|
16
|
+
export declare const testEvalSampleWithMessages: (messages: ChatMessage[]) => EvalSample;
|
|
17
|
+
export { testClientAPI, testLogDetails, testLogHeader, testSampleSummary, } from '../client/api/testClientApi';
|
|
18
|
+
/**
|
|
19
|
+
* A real, never-opened DatabaseService with the given methods overridden —
|
|
20
|
+
* un-overridden calls fail loudly ("No database initialized") and `opened()`
|
|
21
|
+
* reports false unless a fake supplies its own.
|
|
22
|
+
*/
|
|
23
|
+
export declare const testDatabaseService: (overrides?: Partial<DatabaseService>) => DatabaseService;
|
|
24
|
+
/** A model event whose input/output messages carry the given ids. */
|
|
25
|
+
export declare const testModelEventWithIds: (inputId: string, outputId: string) => Event;
|
|
17
26
|
/** A real single-chunk reader over an in-memory item array. */
|
|
18
27
|
export declare const sequenceReaderOver: <T>(items: T[]) => SequenceReader<T>;
|
|
19
28
|
/** A reader whose every read rejects — hydration/read failure paths. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testFixtures.d.ts","sourceRoot":"","sources":["../../../src/log_data/testFixtures.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAuB,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"testFixtures.d.ts","sourceRoot":"","sources":["../../../src/log_data/testFixtures.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAuB,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAUjD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,E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,MAAM,EAAE,MAAM,CAAC,EAAE,KAC/B,aAcD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testStore.d.ts","sourceRoot":"","sources":["../../../src/state/testStore.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,cAAc,QAAO,UAUpB,CAAC"}
|
package/lib/styles/index.css
CHANGED
|
@@ -18689,6 +18689,16 @@ button._segment_1d1i3_10._disabled_1d1i3_41:hover {
|
|
|
18689
18689
|
overflow-wrap: anywhere;
|
|
18690
18690
|
white-space: pre-wrap;
|
|
18691
18691
|
}
|
|
18692
|
+
._scroller_1rroa_1 {
|
|
18693
|
+
position: relative;
|
|
18694
|
+
/* One scroll owner: native anchoring must not fight the virtualizer's own resize compensation. */
|
|
18695
|
+
overflow-anchor: none;
|
|
18696
|
+
}
|
|
18697
|
+
|
|
18698
|
+
._spacer_1rroa_7 {
|
|
18699
|
+
position: relative;
|
|
18700
|
+
width: 100%;
|
|
18701
|
+
}
|
|
18692
18702
|
._keyPairContainer_1u1d5_1 {
|
|
18693
18703
|
display: grid;
|
|
18694
18704
|
grid-template-columns: max-content auto;
|
|
@@ -19651,16 +19661,6 @@ a._citationLink_1ggvf_9:hover {
|
|
|
19651
19661
|
._interactive_1c7cn_25:hover {
|
|
19652
19662
|
background: var(--inspect-msg-label-bg-hover);
|
|
19653
19663
|
}
|
|
19654
|
-
._scroller_1rroa_1 {
|
|
19655
|
-
position: relative;
|
|
19656
|
-
/* One scroll owner: native anchoring must not fight the virtualizer's own resize compensation. */
|
|
19657
|
-
overflow-anchor: none;
|
|
19658
|
-
}
|
|
19659
|
-
|
|
19660
|
-
._spacer_1rroa_7 {
|
|
19661
|
-
position: relative;
|
|
19662
|
-
width: 100%;
|
|
19663
|
-
}
|
|
19664
19664
|
._bar_pg4l8_1 {
|
|
19665
19665
|
--glint: rgba(64, 72, 104, 0.1);
|
|
19666
19666
|
--label: #5c5c63;
|