@gengage/assistant-fe 0.3.23 → 0.3.25
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/chat/catalog.d.ts +2 -4
- package/dist/chat/components/ChatDrawer.d.ts +1 -2
- package/dist/chat/components/PhotoAnalysisCard.d.ts +1 -2
- package/dist/chat/types.d.ts +1 -2
- package/dist/{chat-DBJ8ZWch.js → chat-B1bVP6dh.js} +295 -297
- package/dist/chat.iife.js +4 -4
- package/dist/chat.js +1 -1
- package/dist/{common-BJZB1LIH.js → common-B-CaKFN9.js} +1 -1
- package/dist/common.js +3 -3
- package/dist/index.js +3 -3
- package/dist/{native-webview-111Or6o1.js → native-webview-Dx5logj9.js} +1 -1
- package/dist/native.iife.js +2 -2
- package/dist/native.js +1 -1
- package/package.json +8 -16
- package/dist/chat-BOkLnT1i.cjs +0 -93
- package/dist/chat.cjs +0 -1
- package/dist/common-0GWnpStO.cjs +0 -1
- package/dist/common.cjs +0 -1
- package/dist/connection-warning-YQiIRXrz.cjs +0 -1
- package/dist/ga-datalayer-BVppFxqk.cjs +0 -47
- package/dist/index.cjs +0 -1
- package/dist/native-webview-BePZBK3U.cjs +0 -1
- package/dist/native.cjs +0 -1
- package/dist/product-utils-DLXQQJbh.cjs +0 -1
- package/dist/qna-DwG8AJJf.cjs +0 -1
- package/dist/qna.cjs +0 -1
- package/dist/schemas-B7jnyzQI.cjs +0 -40
- package/dist/simbut-D_ycY_MQ.cjs +0 -1
- package/dist/simbut.cjs +0 -1
- package/dist/simrel-DdP4lur9.cjs +0 -1
- package/dist/simrel.cjs +0 -1
package/dist/chat/catalog.d.ts
CHANGED
|
@@ -361,12 +361,11 @@ export declare const HandoffNoticeSchema: z.ZodObject<{
|
|
|
361
361
|
}, z.core.$strip>;
|
|
362
362
|
export declare const PhotoAnalysisCardSchema: z.ZodObject<{
|
|
363
363
|
summary: z.ZodString;
|
|
364
|
-
clues: z.ZodArray<z.ZodString>;
|
|
365
364
|
strengths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
366
365
|
focus_points: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
366
|
celeb_style: z.ZodOptional<z.ZodString>;
|
|
368
367
|
celeb_style_reason: z.ZodOptional<z.ZodString>;
|
|
369
|
-
details: z.
|
|
368
|
+
details: z.ZodArray<z.ZodString>;
|
|
370
369
|
next_question: z.ZodOptional<z.ZodString>;
|
|
371
370
|
style_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
372
371
|
}, z.core.$strip>;
|
|
@@ -762,12 +761,11 @@ export declare const chatCatalog: {
|
|
|
762
761
|
readonly PhotoAnalysisCard: {
|
|
763
762
|
readonly schema: z.ZodObject<{
|
|
764
763
|
summary: z.ZodString;
|
|
765
|
-
clues: z.ZodArray<z.ZodString>;
|
|
766
764
|
strengths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
767
765
|
focus_points: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
768
766
|
celeb_style: z.ZodOptional<z.ZodString>;
|
|
769
767
|
celeb_style_reason: z.ZodOptional<z.ZodString>;
|
|
770
|
-
details: z.
|
|
768
|
+
details: z.ZodArray<z.ZodString>;
|
|
771
769
|
next_question: z.ZodOptional<z.ZodString>;
|
|
772
770
|
style_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
773
771
|
}, z.core.$strip>;
|
|
@@ -302,12 +302,11 @@ export declare class ChatDrawer {
|
|
|
302
302
|
/** Update a bot message's text content in the DOM (e.g. for fallback messages). */
|
|
303
303
|
updateBotMessage(messageId: string, html: string, renderHint?: string, photoAnalysis?: {
|
|
304
304
|
summary: string;
|
|
305
|
-
clues: string[];
|
|
306
305
|
strengths?: string[];
|
|
307
306
|
focusPoints?: string[];
|
|
308
307
|
celebStyle?: string;
|
|
309
308
|
celebStyleReason?: string;
|
|
310
|
-
details
|
|
309
|
+
details: string[];
|
|
311
310
|
nextQuestion?: string;
|
|
312
311
|
}): void;
|
|
313
312
|
/** Mark a message as the first bot message in its thread (for special styling). */
|
|
@@ -2,12 +2,11 @@ import { UIElement } from '../../common/types.js';
|
|
|
2
2
|
import { ChatUISpecRenderContext } from '../types.js';
|
|
3
3
|
export interface PhotoAnalysisData {
|
|
4
4
|
summary: string;
|
|
5
|
-
clues: string[];
|
|
6
5
|
strengths?: string[];
|
|
7
6
|
focusPoints?: string[];
|
|
8
7
|
celebStyle?: string;
|
|
9
8
|
celebStyleReason?: string;
|
|
10
|
-
details
|
|
9
|
+
details: string[];
|
|
11
10
|
nextQuestion?: string;
|
|
12
11
|
}
|
|
13
12
|
/** Extract structured photo-analysis data from a UISpec element's props. */
|
package/dist/chat/types.d.ts
CHANGED
|
@@ -374,12 +374,11 @@ export interface ChatMessage {
|
|
|
374
374
|
/** Structured photo analysis data from PhotoAnalysisCard UISpec (preferred over sentence-splitting). */
|
|
375
375
|
photoAnalysis?: {
|
|
376
376
|
summary: string;
|
|
377
|
-
clues: string[];
|
|
378
377
|
strengths?: string[];
|
|
379
378
|
focusPoints?: string[];
|
|
380
379
|
celebStyle?: string;
|
|
381
380
|
celebStyleReason?: string;
|
|
382
|
-
details
|
|
381
|
+
details: string[];
|
|
383
382
|
nextQuestion?: string;
|
|
384
383
|
};
|
|
385
384
|
timestamp: number;
|