@waniwani/sdk 0.4.9-beta.4 → 0.4.9-beta.7

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.
@@ -141,6 +141,20 @@ type ChatWidgetProps = ChatBarProps;
141
141
 
142
142
  declare const ChatBar: react.ForwardRefExoticComponent<ChatBarProps & react.RefAttributes<ChatHandle>>;
143
143
 
144
+ type EvalPanelProps = {
145
+ api?: string;
146
+ };
147
+ /**
148
+ * Dev-only evaluation panel for replaying recorded sessions and asserting tool usage.
149
+ *
150
+ * This component is automatically tree-shaken from production builds —
151
+ * it returns `null` when `process.env.NODE_ENV === "production"`.
152
+ *
153
+ * To populate sessions, set `WANIWANI_EVAL=1` in your `.env` and add
154
+ * session files to `evals/sessions/`.
155
+ */
156
+ declare function EvalPanel(props: EvalPanelProps): react_jsx_runtime.JSX.Element | null;
157
+
144
158
  type ModelContextContentBlock = ContentBlock;
145
159
  type ModelContextUpdate = {
146
160
  content?: ModelContextContentBlock[];
@@ -202,4 +216,4 @@ declare const DARK_THEME: ChatTheme;
202
216
  declare function mergeTheme(userTheme?: ChatTheme): Required<ChatTheme>;
203
217
  declare function themeToCSSProperties(theme: Required<ChatTheme>): Record<string, string>;
204
218
 
205
- export { ChatBar, type ChatBarProps, type ChatBaseProps, ChatCard, type ChatCardProps, type ChatHandle, type ChatTheme, ChatBar as ChatWidget, type ChatWidgetProps, DARK_THEME, DEFAULT_THEME, type McpAppDisplayMode, McpAppFrame, type McpAppFrameProps, type SuggestionsConfig, mergeTheme, themeToCSSProperties };
219
+ export { ChatBar, type ChatBarProps, type ChatBaseProps, ChatCard, type ChatCardProps, type ChatHandle, type ChatTheme, ChatBar as ChatWidget, type ChatWidgetProps, DARK_THEME, DEFAULT_THEME, EvalPanel, type McpAppDisplayMode, McpAppFrame, type McpAppFrameProps, type SuggestionsConfig, mergeTheme, themeToCSSProperties };