@xpert-ai/chatkit-types 0.6.0 → 0.6.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.
- package/dist/index.d.ts +14 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -388,6 +388,13 @@ export declare type ChatKitMcpAppsOptions = {
|
|
|
388
388
|
};
|
|
389
389
|
|
|
390
390
|
export declare interface ChatkitMessage {
|
|
391
|
+
createdAt?: string | Date | null;
|
|
392
|
+
updatedAt?: string | Date | null;
|
|
393
|
+
historical?: boolean;
|
|
394
|
+
branching?: {
|
|
395
|
+
available: boolean;
|
|
396
|
+
reason?: 'message_not_complete' | 'checkpoint_unavailable' | 'graph_changed' | 'state_not_supported';
|
|
397
|
+
};
|
|
391
398
|
status?: string;
|
|
392
399
|
content: TMessageItems | string;
|
|
393
400
|
reasoning?: TMessageContentReasoning[];
|
|
@@ -460,6 +467,11 @@ export declare type ChatKitOptions = {
|
|
|
460
467
|
* Message list quick navigation controls.
|
|
461
468
|
*/
|
|
462
469
|
messageNavigation?: ChatKitMessageNavigationOptions;
|
|
470
|
+
/** Message presentation only; never changes stored messages or model context. */
|
|
471
|
+
messagePresentation?: {
|
|
472
|
+
/** Collapse the process preceding each final assistant answer. Default: false. */
|
|
473
|
+
collapseProcess?: boolean;
|
|
474
|
+
};
|
|
463
475
|
/**
|
|
464
476
|
* Optional Xpert Remote Views workbench.
|
|
465
477
|
*
|
|
@@ -568,6 +580,8 @@ export declare type ChatKitOptions = {
|
|
|
568
580
|
promptsLayout?: 'cards' | 'list';
|
|
569
581
|
};
|
|
570
582
|
threadItemActions?: {
|
|
583
|
+
/** Show Branch in new chat when the server advertises a saved assistant boundary. Defaults to true. */
|
|
584
|
+
branch?: boolean;
|
|
571
585
|
/**
|
|
572
586
|
* Whether or not to show the response feedback buttons (thumbs up / thumbs
|
|
573
587
|
* down) in the response view. When the user clicks on one of the buttons, the
|