@xpert-ai/chatkit-types 0.12.1 → 0.13.0

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 +17 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -551,6 +551,10 @@ export declare type ChatKitMessagePresentationOptions = {
551
551
  };
552
552
 
553
553
  export declare type ChatKitOptions = {
554
+ /** Public multi-member conversation. Authenticate through a ChatKit session scoped to this conversation. */
555
+ group?: {
556
+ id: string;
557
+ };
554
558
  /**
555
559
  * ChatKit iframe URL for web component integrations.
556
560
  */
@@ -634,6 +638,12 @@ export declare type ChatKitOptions = {
634
638
  * @default null
635
639
  */
636
640
  initialThread?: null | string;
641
+ /**
642
+ * Host navigation identity. Change this to start an isolated UI/credential
643
+ * session in the existing iframe (including navigation within one Assistant).
644
+ * Keep it stable for theme, locale and other presentation updates.
645
+ */
646
+ sessionKey?: string;
637
647
  /** Generic approval placement and host decision callbacks. */
638
648
  approvals?: ChatKitApprovalsOptions;
639
649
  /**
@@ -1107,6 +1117,12 @@ export declare type ChatKitThreadReference = {
1107
1117
  };
1108
1118
 
1109
1119
  export declare type ChatKitWorkbenchClientCommandRequest = {
1120
+ /**
1121
+ * Browser activation snapshot taken by the ChatKit shell, never from plugin input.
1122
+ * Hosts still validate command permissions and payloads; this is not authorization.
1123
+ * Absent when an older shell does not provide activation context.
1124
+ */
1125
+ userActivated?: boolean;
1110
1126
  /** User-clicked persisted resource; hosts resolve its canonical target from message history. */
1111
1127
  resourceCard?: {
1112
1128
  messageId: string;
@@ -2590,6 +2606,7 @@ export declare const STATE_VARIABLE_HUMAN = "human";
2590
2606
  */
2591
2607
  export declare type SupportedLocale = TranslatedLocale | 'bg' | 'bn' | 'bs' | 'ca' | 'cs' | 'da' | 'de' | 'el' | 'es' | 'et' | 'fi' | 'fr' | 'gu' | 'hi' | 'hr' | 'hu' | 'hy' | 'id' | 'is' | 'it' | 'ja' | 'ka' | 'kn' | 'ko' | 'lv' | 'mk' | 'mr' | 'ms' | 'my' | 'nb' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sk' | 'sl' | 'so' | 'sq' | 'sr' | 'sv' | 'sw' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'vi' | 'zh' | 'zh-Hans' | 'zh-CN' | 'zh-Hant' | 'en';
2592
2608
 
2609
+ /** Resolved CSS colors, including OKLCH and color-mix(). Resolve host var() references before crossing an iframe. */
2593
2610
  export declare type SurfaceColors = {
2594
2611
  background: string;
2595
2612
  foreground: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/chatkit-types",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Type definitions for the ChatKit.",
5
5
  "sideEffects": false,
6
6
  "type": "module",