@metrevals/inspect-scout-viewer 0.2.3-beta.1763763280 → 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 +916 -7019
- 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 +4 -4
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
interface ToolButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
label: string | ReactNode;
|
|
4
|
+
icon?: string;
|
|
5
|
+
latched?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const ToolButton: import('react').ForwardRefExoticComponent<ToolButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export {};
|
|
@@ -2,8 +2,11 @@ import { FC } from 'react';
|
|
|
2
2
|
import { ResolvedMessage } from './messages';
|
|
3
3
|
import { ChatViewToolCallStyle } from './types';
|
|
4
4
|
interface ChatMessageRowProps {
|
|
5
|
+
index: number;
|
|
5
6
|
parentName: string;
|
|
6
|
-
|
|
7
|
+
labeled?: boolean;
|
|
8
|
+
labels?: Record<string, string>;
|
|
9
|
+
highlightLabeled?: boolean;
|
|
7
10
|
resolvedMessage: ResolvedMessage;
|
|
8
11
|
toolCallStyle: ChatViewToolCallStyle;
|
|
9
12
|
indented?: boolean;
|
package/lib/chat/ChatView.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ interface ChatViewVirtualListProps {
|
|
|
16
16
|
getMessageUrl?: (id: string) => string | undefined;
|
|
17
17
|
allowLinking?: boolean;
|
|
18
18
|
labeled?: boolean;
|
|
19
|
+
highlightLabeled?: boolean;
|
|
19
20
|
messageLabels?: Record<string, string>;
|
|
20
21
|
}
|
|
21
22
|
interface ChatViewVirtualListComponentProps extends ChatViewVirtualListProps {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ChatMessageAssistant, ChatMessageSystem, ChatMessageTool, ChatMessageUser } from '../types/log';
|
|
3
|
-
import {
|
|
3
|
+
import { Citation } from './types';
|
|
4
4
|
interface MessageContentsProps {
|
|
5
|
-
id: string;
|
|
6
5
|
message: ChatMessageAssistant | ChatMessageSystem | ChatMessageUser | ChatMessageTool;
|
|
7
|
-
toolMessages: ChatMessageTool[];
|
|
8
|
-
toolCallStyle: ChatViewToolCallStyle;
|
|
9
6
|
}
|
|
10
7
|
export interface MessagesContext {
|
|
11
8
|
citations: Citation[];
|