@xpert-ai/chatkit-types 0.5.1 → 0.5.2
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/index.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -351,6 +351,21 @@ export declare type ChatKitLayoutOptions = {
|
|
|
351
351
|
maxWidth?: number | string;
|
|
352
352
|
};
|
|
353
353
|
|
|
354
|
+
export declare type ChatKitMcpAppsOptions = {
|
|
355
|
+
/**
|
|
356
|
+
* URL of the host-owned MCP Apps sandbox proxy page. Web hosts must serve
|
|
357
|
+
* this page from an origin different from the ChatKit frame.
|
|
358
|
+
*/
|
|
359
|
+
sandboxProxyUrl?: string;
|
|
360
|
+
/**
|
|
361
|
+
* Host-approved dedicated domains. Exact hostnames and leading-wildcard
|
|
362
|
+
* entries such as `*.mcp-apps.example.com` are supported. A resource's
|
|
363
|
+
* `ui.domain` is never used unless it matches this list or the configured
|
|
364
|
+
* proxy URL hostname exactly.
|
|
365
|
+
*/
|
|
366
|
+
allowedDomains?: string[];
|
|
367
|
+
};
|
|
368
|
+
|
|
354
369
|
export declare interface ChatkitMessage {
|
|
355
370
|
status?: string;
|
|
356
371
|
content: TMessageItems | string;
|
|
@@ -430,6 +445,11 @@ export declare type ChatKitOptions = {
|
|
|
430
445
|
* @default disabled
|
|
431
446
|
*/
|
|
432
447
|
workbench?: ChatKitWorkbenchOptions;
|
|
448
|
+
/**
|
|
449
|
+
* MCP Apps web-host isolation. When omitted or invalid, ChatKit retains the
|
|
450
|
+
* credential-isolated opaque-origin iframe fallback.
|
|
451
|
+
*/
|
|
452
|
+
mcpApps?: ChatKitMcpAppsOptions;
|
|
433
453
|
/**
|
|
434
454
|
* Optional animated pet companion rendered by the ChatKit web component over
|
|
435
455
|
* the host page viewport.
|