@ai-ecoverse/slicc-spectrum 1.28.0 → 1.28.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/README.md +1 -1
- package/dist/slicc-dummy.js +3 -3
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-ui.js +48 -19
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/app/chat.d.ts +2 -1
- package/dist/types/app/messages.d.ts +1 -0
- package/package.json +1 -1
package/dist/types/app/chat.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import '@adobe/spectrum-wc/components/badge/swc-badge.js';
|
|
|
2
2
|
import '@adobe/spectrum-wc/components/button/swc-button.js';
|
|
3
3
|
import '@adobe/spectrum-wc/patterns/ai-toolkit/conversation-thread/swc-conversation-thread.js';
|
|
4
4
|
import { type TemplateResult } from 'lit';
|
|
5
|
-
import type { SliccModel } from '../model/types.js';
|
|
5
|
+
import type { Message, SliccModel } from '../model/types.js';
|
|
6
6
|
import { ThemedElement } from './base.js';
|
|
7
|
+
export declare function failedTurns(messages: readonly Message[], messageId: string): string[];
|
|
7
8
|
export declare class SliccChat extends ThemedElement {
|
|
8
9
|
#private;
|
|
9
10
|
static properties: {
|
|
@@ -26,6 +26,7 @@ export interface Handlers {
|
|
|
26
26
|
answer(questionId: string, answer: string): void;
|
|
27
27
|
resolve(messageId: string, state: Exclude<LickState, 'pending'>): void;
|
|
28
28
|
action(action: ErrorAction, messageId?: string): void;
|
|
29
|
+
dropping(messageId: string): number;
|
|
29
30
|
open(path: string): void;
|
|
30
31
|
show(surfaceId: string): void;
|
|
31
32
|
suggest(text: string): void;
|
package/package.json
CHANGED