@metrevals/inspect-scout-viewer 0.2.3-beta.1763762930 → 0.2.4-beta.1763857400
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/app/appearance/icons.d.ts +1 -0
- package/lib/app/components/ToolButton.d.ts +8 -0
- package/lib/chat/ChatMessageRow.d.ts +4 -1
- package/lib/chat/ChatView.d.ts +1 -0
- package/lib/chat/ChatViewVirtualList.d.ts +1 -0
- package/lib/chat/MessageContents.d.ts +1 -4
- package/lib/index.js +599 -527
- package/lib/index.js.map +1 -1
- package/lib/state/store.d.ts +2 -0
- package/lib/styles/index.css +75 -32
- package/package.json +2 -2
package/lib/state/store.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ interface StoreState {
|
|
|
35
35
|
showingRefPopover?: string;
|
|
36
36
|
groupResultsBy?: "source" | "label" | "none";
|
|
37
37
|
scansSearchText?: string;
|
|
38
|
+
highlightLabeled?: boolean;
|
|
38
39
|
transcriptCollapsedEvents: Record<string, Record<string, boolean>>;
|
|
39
40
|
transcriptOutlineId?: string;
|
|
40
41
|
setSingleFileMode: (enabled: boolean) => void;
|
|
@@ -92,6 +93,7 @@ interface StoreState {
|
|
|
92
93
|
clearShowingRefPopover: () => void;
|
|
93
94
|
setGroupResultsBy: (groupBy: "source" | "label" | "none") => void;
|
|
94
95
|
setScansSearchText: (text: string) => void;
|
|
96
|
+
setHighlightLabeled: (highlight: boolean) => void;
|
|
95
97
|
}
|
|
96
98
|
export declare const createStore: (api: ScanApi) => import('zustand').UseBoundStore<Omit<Omit<Omit<import('zustand').StoreApi<StoreState>, "setState" | "devtools"> & {
|
|
97
99
|
setState(partial: StoreState | Partial<StoreState> | ((state: StoreState) => StoreState | Partial<StoreState>), replace?: false | undefined, action?: (string | {
|
package/lib/styles/index.css
CHANGED
|
@@ -102,6 +102,28 @@
|
|
|
102
102
|
padding-left: 0.7em;
|
|
103
103
|
padding-right: 0.7em;
|
|
104
104
|
}
|
|
105
|
+
.btn._toolButton_1y0d0_1 {
|
|
106
|
+
background-color: var(--bs-light-border-subtle);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
._toolButton_1y0d0_1 i {
|
|
110
|
+
margin-right: 0.5em;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
._toolButton_1y0d0_1:focus {
|
|
114
|
+
outline: none;
|
|
115
|
+
box-shadow:
|
|
116
|
+
0 0 0 2px rgba(var(--bs-primary-rgb), 0.5),
|
|
117
|
+
inset 0 2px 4px rgba(0, 0, 0, 0.15),
|
|
118
|
+
inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
._latched_1y0d0_17,
|
|
122
|
+
._latched_1y0d0_17:hover {
|
|
123
|
+
box-shadow:
|
|
124
|
+
inset 0 2px 4px rgba(0, 0, 0, 0.15),
|
|
125
|
+
inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
126
|
+
}
|
|
105
127
|
._header_oy6cz_1 {
|
|
106
128
|
background: var(--bs-light);
|
|
107
129
|
display: grid;
|
|
@@ -639,20 +661,55 @@ a._citationLink_1ggvf_9:hover {
|
|
|
639
661
|
._textCode_1wvgr_18 {
|
|
640
662
|
word-wrap: anywhere;
|
|
641
663
|
}
|
|
642
|
-
.
|
|
643
|
-
|
|
664
|
+
._grid_ws7d1_1 {
|
|
665
|
+
display: grid;
|
|
666
|
+
grid-template-columns: max-content auto;
|
|
667
|
+
column-gap: 0.4rem;
|
|
668
|
+
row-gap: 0;
|
|
644
669
|
}
|
|
645
670
|
|
|
646
|
-
.
|
|
647
|
-
|
|
671
|
+
._number_ws7d1_8 {
|
|
672
|
+
margin-top: 0.1em;
|
|
648
673
|
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
674
|
+
|
|
675
|
+
._user_ws7d1_12 {
|
|
676
|
+
background-color: var(--bs-secondary-bg);
|
|
677
|
+
border-radius: var(--bs-border-radius);
|
|
678
|
+
border: solid 1px var(--bs-light-border-subtle);
|
|
652
679
|
}
|
|
653
680
|
|
|
654
|
-
.
|
|
655
|
-
|
|
681
|
+
._container_ws7d1_18 {
|
|
682
|
+
padding-left: 0.7rem;
|
|
683
|
+
padding-right: 0.7rem;
|
|
684
|
+
padding-top: 0.5rem;
|
|
685
|
+
border-left: solid 1px var(--bs-light-border-subtle);
|
|
686
|
+
border-right: solid 1px var(--bs-light-border-subtle);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
._first_ws7d1_26 {
|
|
690
|
+
border-top-left-radius: var(--bs-border-radius);
|
|
691
|
+
border-top-right-radius: var(--bs-border-radius);
|
|
692
|
+
border-top: solid 1px var(--bs-light-border-subtle);
|
|
693
|
+
padding-top: 0.7rem;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
._last_ws7d1_33 {
|
|
697
|
+
border-bottom-left-radius: var(--bs-border-radius);
|
|
698
|
+
border-bottom-right-radius: var(--bs-border-radius);
|
|
699
|
+
border-bottom: solid 1px var(--bs-light-border-subtle);
|
|
700
|
+
padding-bottom: 0.7rem;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
._label_ws7d1_40 {
|
|
704
|
+
padding-top: 0.7rem;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
._highlight_ws7d1_44 {
|
|
708
|
+
background-color: rgba(var(--bs-info-rgb), 0.12);
|
|
709
|
+
}
|
|
710
|
+
._toolCallView_x6cus_1 {
|
|
711
|
+
display: grid;
|
|
712
|
+
row-gap: 0.5em;
|
|
656
713
|
}
|
|
657
714
|
._todoList_1t8rx_1 {
|
|
658
715
|
margin-top: 0.5em;
|
|
@@ -697,24 +754,6 @@ a._citationLink_1ggvf_9:hover {
|
|
|
697
754
|
margin-left: 0.3em;
|
|
698
755
|
color: var(--bs-secondary-color);
|
|
699
756
|
}
|
|
700
|
-
._grid_rmdrx_1 {
|
|
701
|
-
display: grid;
|
|
702
|
-
grid-template-columns: max-content auto;
|
|
703
|
-
column-gap: 0.4em;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
._number_rmdrx_7 {
|
|
707
|
-
margin-top: 0.1em;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
._user_rmdrx_11 {
|
|
711
|
-
background-color: var(--bs-secondary-bg);
|
|
712
|
-
border-radius: var(--bs-border-radius);
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
._container_rmdrx_16 {
|
|
716
|
-
padding: 0.4em 0.4em 0.4em 0.4em;
|
|
717
|
-
}
|
|
718
757
|
._grid_14885_1 {
|
|
719
758
|
display: grid;
|
|
720
759
|
grid-template-columns: max-content auto;
|
|
@@ -4001,26 +4040,30 @@ pre._value_xgip4_24 {
|
|
|
4001
4040
|
opacity: 0.5;
|
|
4002
4041
|
pointer-events: none;
|
|
4003
4042
|
}
|
|
4004
|
-
.
|
|
4043
|
+
._root_12il0_1 {
|
|
4005
4044
|
height: 100vh;
|
|
4006
4045
|
display: grid;
|
|
4007
4046
|
grid-template-rows: max-content max-content max-content max-content 1fr;
|
|
4008
4047
|
}
|
|
4009
4048
|
|
|
4010
|
-
.
|
|
4049
|
+
._scroller_12il0_7 {
|
|
4011
4050
|
height: 100%;
|
|
4012
4051
|
width: 100%;
|
|
4013
4052
|
overflow-y: auto;
|
|
4014
4053
|
}
|
|
4015
4054
|
|
|
4016
|
-
.
|
|
4055
|
+
._tabSet_12il0_13 {
|
|
4017
4056
|
max-height: 100%;
|
|
4018
4057
|
border-top: solid 1px var(--bs-border-color);
|
|
4019
4058
|
overflow-y: auto;
|
|
4020
4059
|
}
|
|
4021
4060
|
|
|
4022
|
-
.
|
|
4023
|
-
margin: 0.
|
|
4061
|
+
._tabControl_12il0_19 {
|
|
4062
|
+
margin: 0.2rem;
|
|
4063
|
+
}
|
|
4064
|
+
|
|
4065
|
+
._tabs_12il0_23 {
|
|
4066
|
+
margin-right: 1rem;
|
|
4024
4067
|
}
|
|
4025
4068
|
._container_g5onx_1 {
|
|
4026
4069
|
overflow-y: auto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metrevals/inspect-scout-viewer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4-beta.1763857400",
|
|
4
4
|
"description": "Inspect Scout viewer for evaluation logs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"watch": "vite build --watch",
|
|
26
26
|
"watch:dev": "NODE_ENV=development vite build --watch --mode development",
|
|
27
27
|
"dev": "vite",
|
|
28
|
-
"prepublishOnly": "pnpm build:lib",
|
|
28
|
+
"prepublishOnly": "npm version from-git --no-git-tag-version --allow-same-version && pnpm build:lib",
|
|
29
29
|
"preview": "vite preview",
|
|
30
30
|
"lint": "eslint . --max-warnings 0",
|
|
31
31
|
"lint:fix": "eslint . --fix --max-warnings 0",
|