@xpert-ai/chatkit-types 0.5.0 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +24 -0
  2. 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.
@@ -1353,6 +1373,8 @@ declare type HostedApiConfig = {
1353
1373
  */
1354
1374
  apiUrl: string;
1355
1375
  xpertId?: string;
1376
+ /** Platform Chat Project used for conversations and workspace files. */
1377
+ projectId?: string;
1356
1378
  };
1357
1379
 
1358
1380
  export declare type I18nObject = {
@@ -2208,6 +2230,8 @@ export declare type TMessageComponentStep<T = unknown> = {
2208
2230
  toolset: string;
2209
2231
  toolset_id: string;
2210
2232
  tool?: string;
2233
+ /** Optional tool-specific display icon supplied by the trusted runtime. */
2234
+ icon?: IconDefinition;
2211
2235
  title: string;
2212
2236
  message: string;
2213
2237
  status: 'success' | 'fail' | 'running';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/chatkit-types",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Type definitions for the ChatKit.",
5
5
  "sideEffects": false,
6
6
  "type": "module",