@volter-ai-dev/supercode-ui 0.1.21 → 0.1.23
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 +8 -2
- package/components.d.ts +2 -0
- package/components.mjs +261 -125
- package/composer.mjs +49 -26
- package/conversation.d.ts +2 -0
- package/conversation.mjs +136 -44
- package/embed.mjs +259 -125
- package/index.d.ts +2 -0
- package/messenger.mjs +259 -125
- package/package.json +1 -1
- package/sessions.mjs +14 -13
- package/styles.css +3 -1
package/index.d.ts
CHANGED
|
@@ -357,6 +357,8 @@ export function HarnessLogo(props: { id: HarnessId; activity?: SessionActivity;
|
|
|
357
357
|
export type UiIconName = 'attach' | 'back' | 'check' | 'chevron' | 'close' | 'copy' | 'down' | 'menu' | 'plus' | 'search' | 'send' | 'stop';
|
|
358
358
|
export function UiIcon(props: { name: UiIconName; size?: number; class?: string }): VNode | null;
|
|
359
359
|
export function hasHarnessLogo(id: string): boolean;
|
|
360
|
+
export function ImageViewer(props: { items: Array<TranscriptImage & { url: string }>; index: number; adapter?: Pick<UiAdapter, 'copyText'>; onChange(index: number): void; onClose(): void }): VNode | null;
|
|
361
|
+
export function MessageImages(props: { items?: TranscriptImage[]; adapter?: Pick<UiAdapter, 'copyText'> }): VNode | null;
|
|
360
362
|
export function LoadingStatus(props: { state: SupercodeUiState; compact?: boolean }): VNode;
|
|
361
363
|
export function RequestCard(props: { entry: TranscriptEntryModel; adapter: UiAdapter; canRespond: boolean }): VNode | null;
|
|
362
364
|
export function TranscriptEntry(props: { entry: TranscriptEntryModel; state: SupercodeUiState; adapter: UiAdapter }): VNode;
|