@xpert-ai/chatkit-types 0.4.3 → 0.4.5
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 +17 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -330,6 +330,15 @@ export declare interface ChatkitMessage {
|
|
|
330
330
|
visibleAt?: string | Date | null;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
+
export declare type ChatKitMessageNavigationOptions = {
|
|
334
|
+
/**
|
|
335
|
+
* Whether to show the message quick navigation rail.
|
|
336
|
+
*
|
|
337
|
+
* @default true
|
|
338
|
+
*/
|
|
339
|
+
enabled?: boolean;
|
|
340
|
+
};
|
|
341
|
+
|
|
333
342
|
export declare type ChatKitOptions = {
|
|
334
343
|
/**
|
|
335
344
|
* ChatKit iframe URL for web component integrations.
|
|
@@ -371,6 +380,10 @@ export declare type ChatKitOptions = {
|
|
|
371
380
|
* Layout configuration for the ChatKit UI.
|
|
372
381
|
*/
|
|
373
382
|
layout?: ChatKitLayoutOptions;
|
|
383
|
+
/**
|
|
384
|
+
* Message list quick navigation controls.
|
|
385
|
+
*/
|
|
386
|
+
messageNavigation?: ChatKitMessageNavigationOptions;
|
|
374
387
|
/**
|
|
375
388
|
* Optional animated pet companion rendered by the ChatKit web component over
|
|
376
389
|
* the host page viewport.
|
|
@@ -2351,7 +2364,11 @@ export declare interface XpertAIChatKit extends HTMLElement {
|
|
|
2351
2364
|
appendReferences?: boolean;
|
|
2352
2365
|
selectedToolId?: string | null;
|
|
2353
2366
|
selectedModelId?: string | null;
|
|
2367
|
+
runtimeCapabilities?: RuntimeCapabilitiesSelection | null;
|
|
2368
|
+
insertRuntimeCapabilities?: boolean;
|
|
2354
2369
|
}): Promise<void>;
|
|
2370
|
+
/** Sets the selected runtime capabilities for the next user message without sending it. */
|
|
2371
|
+
setRuntimeCapabilities(selection: RuntimeCapabilitiesSelection | null): Promise<void>;
|
|
2355
2372
|
/**
|
|
2356
2373
|
* Manually fetches updates from the server.
|
|
2357
2374
|
*
|