@waniwani/sdk 0.8.1 → 0.8.2-alpha.10
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/dist/chat/index.d.ts +3 -1
- package/dist/chat/index.js +6 -6
- package/dist/chat/index.js.map +1 -1
- package/dist/mcp/index.d.ts +33 -8
- package/dist/mcp/index.js +5 -5
- package/dist/mcp/index.js.map +1 -1
- package/package.json +7 -9
package/dist/chat/index.d.ts
CHANGED
|
@@ -263,6 +263,8 @@ interface McpAppFrameProps {
|
|
|
263
263
|
_meta?: Record<string, unknown>;
|
|
264
264
|
};
|
|
265
265
|
resourceEndpoint?: string;
|
|
266
|
+
/** Direct HTTP URL for the widget HTML. When provided, bypasses the resource proxy. */
|
|
267
|
+
httpUrl?: string;
|
|
266
268
|
chatSessionId?: string;
|
|
267
269
|
isDark?: boolean;
|
|
268
270
|
className?: string;
|
|
@@ -296,7 +298,7 @@ interface McpAppFrameProps {
|
|
|
296
298
|
/** When true, the iframe fills its container (fullscreen mode). */
|
|
297
299
|
isFullscreen?: boolean;
|
|
298
300
|
}
|
|
299
|
-
declare function McpAppFrame({ resourceUri, toolInput, toolResult, resourceEndpoint, chatSessionId, isDark, className, autoHeight, onOpenLink, onFollowUp, onCallTool, onDisplayModeChange, isFullscreen, }: McpAppFrameProps): react_jsx_runtime.JSX.Element;
|
|
301
|
+
declare function McpAppFrame({ resourceUri, toolInput, toolResult, resourceEndpoint, httpUrl, chatSessionId, isDark, className, autoHeight, onOpenLink, onFollowUp, onCallTool, onDisplayModeChange, isFullscreen, }: McpAppFrameProps): react_jsx_runtime.JSX.Element;
|
|
300
302
|
|
|
301
303
|
declare const ChatCard: react.ForwardRefExoticComponent<ChatCardProps & react.RefAttributes<ChatHandle>>;
|
|
302
304
|
|