@xpert-ai/chatkit-types 0.20.0 → 0.20.1

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 +15 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -418,8 +418,18 @@ export declare type ChatKitEvents = {
418
418
  threadId: string;
419
419
  }>;
420
420
  /** Emitted when ChatKit finished loading a thread. */
421
+ /** Metadata for the loaded branch; excludes messages, resources and execution internals. */
421
422
  'chatkit.thread.load.end': CustomEvent<{
422
423
  threadId: string;
424
+ conversation?: {
425
+ id: string;
426
+ threadId: string;
427
+ title?: string;
428
+ projectId?: string;
429
+ xpertId?: string;
430
+ from?: string;
431
+ status?: 'idle' | 'busy' | 'pausing' | 'paused' | 'interrupted' | 'error';
432
+ };
423
433
  }>;
424
434
  /** Diagnostic events that can be used for logging/analytics. */
425
435
  'chatkit.log': CustomEvent<{
@@ -696,6 +706,11 @@ export declare type ChatKitOptions = {
696
706
  */
697
707
  header?: {
698
708
  enabled?: boolean;
709
+ /** Inline avatar, title, and status block. Hidden by default; separate from the centered character. */
710
+ identity?: {
711
+ /** Show the identity block when the centered character is not displayed. Defaults to false. */
712
+ enabled?: boolean;
713
+ };
699
714
  /** Center the published Assistant character in bubble mode. Defaults to true. */
700
715
  character?: {
701
716
  enabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/chatkit-types",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "Type definitions for the ChatKit.",
5
5
  "sideEffects": false,
6
6
  "type": "module",