@ai-ecoverse/slicc-spectrum 1.28.0 → 1.29.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.
- package/README.md +3 -3
- package/dist/slicc-dummy.js +4 -3
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-ui.js +78 -20
- 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/dist/types/model/types.d.ts +1 -1
- 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;
|
|
@@ -493,7 +493,7 @@ export interface TrayPort extends Subscribable<TrayEvents> {
|
|
|
493
493
|
disconnect(): void;
|
|
494
494
|
}
|
|
495
495
|
export type UpdateKind = 'bios' | 'kernel' | 'agent' | 'grammars' | 'global' | 'skills' | 'ui';
|
|
496
|
-
export type UpdateState = 'current' | 'checking' | 'downloading' | 'linking' | 'installed' | 'available' | 'ready' | 'failed';
|
|
496
|
+
export type UpdateState = 'current' | 'queued' | 'checking' | 'downloading' | 'linking' | 'installed' | 'available' | 'ready' | 'failed';
|
|
497
497
|
export type UpdateAction = 'retry' | 'restart-agent' | 'reload' | 'update-now';
|
|
498
498
|
export interface UpdateItem {
|
|
499
499
|
id: string;
|
package/package.json
CHANGED