@gengage/assistant-fe 0.4.3 → 0.4.4
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 -0
- package/dist/chat/catalog.d.ts +29 -0
- package/dist/chat/components/ChatDrawer.d.ts +9 -13
- package/dist/chat/components/PanelRestoreCard.d.ts +4 -0
- package/dist/chat/history-storage.d.ts +85 -0
- package/dist/chat/index.d.ts +31 -3
- package/dist/chat/panel-manager.d.ts +1 -1
- package/dist/chat/session-persistence.d.ts +2 -2
- package/dist/chat/types.d.ts +9 -1
- package/dist/chat-DI7Vm0gh.js +7996 -0
- package/dist/chat.iife.js +61 -36
- package/dist/chat.js +1 -1
- package/dist/common/indexed-db.d.ts +5 -1
- package/dist/{common-DDQyFEcK.js → common-BxSi3UWt.js} +2 -2
- package/dist/common.js +4 -4
- package/dist/index.js +6 -6
- package/dist/{native-webview-CwQr4fXv.js → native-webview-DFqnyus6.js} +4 -4
- package/dist/native.iife.js +57 -32
- package/dist/native.js +1 -1
- package/dist/{qna-CQugVOHy.js → qna-C5Ok3wd0.js} +1 -1
- package/dist/qna.iife.js +50 -25
- package/dist/qna.js +1 -1
- package/dist/{schemas-JFGRVTVz.js → schemas-JpRGzRQT.js} +1717 -1361
- package/dist/{simrel-DjzpRZmZ.js → simrel-K2TGFi1r.js} +1 -1
- package/dist/simrel.iife.js +54 -29
- package/dist/simrel.js +1 -1
- package/package.json +2 -1
- package/dist/chat/components/ThumbnailsColumn.d.ts +0 -24
- package/dist/chat-sb3DK_dL.js +0 -7524
package/dist/chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, f as t, i as r, l as s, m as n, n as i, o as l, p as C, r as c, s as h, t as o } from "./chat-
|
|
1
|
+
import { c as e, f as t, i as r, l as s, m as n, n as i, o as l, p as C, r as c, s as h, t as o } from "./chat-DI7Vm0gh.js";
|
|
2
2
|
export {
|
|
3
3
|
t as CHAT_SCROLL_ELEMENT_ID,
|
|
4
4
|
l as ChatPresentationState,
|
|
@@ -10,7 +10,7 @@ export interface SessionData {
|
|
|
10
10
|
createdAt: string;
|
|
11
11
|
/** Thread IDs that produced panel content, in creation order. */
|
|
12
12
|
panelThreads?: string[] | undefined;
|
|
13
|
-
/**
|
|
13
|
+
/** Legacy thumbnail-strip data kept optional for backward compatibility with older sessions. */
|
|
14
14
|
thumbnailEntries?: Array<{
|
|
15
15
|
sku: string;
|
|
16
16
|
imageUrl: string;
|
|
@@ -18,6 +18,10 @@ export interface SessionData {
|
|
|
18
18
|
}> | undefined;
|
|
19
19
|
/** Serialized panel HTML keyed by bot message ID (for panel snapshot restore). */
|
|
20
20
|
panelSnapshotHtml?: Record<string, string> | undefined;
|
|
21
|
+
/** Panel component type keyed by snapshot message ID. */
|
|
22
|
+
panelSnapshotTypes?: Record<string, string> | undefined;
|
|
23
|
+
/** Latest panel AI-zone UISpec keyed by thread ID. */
|
|
24
|
+
panelAiSpecByThread?: Record<string, UISpec> | undefined;
|
|
21
25
|
/** SKU active when session was saved — prevents cross-SKU restore. */
|
|
22
26
|
sku?: string | undefined;
|
|
23
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as u } from "./schemas-
|
|
2
|
-
import { h, l as f } from "./native-webview-
|
|
1
|
+
import { f as u } from "./schemas-JpRGzRQT.js";
|
|
2
|
+
import { h, l as f } from "./native-webview-DFqnyus6.js";
|
|
3
3
|
var m = {
|
|
4
4
|
enabled: !0,
|
|
5
5
|
endpoint: "/analytics",
|
package/dist/common.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as a, S as t, b as s, d as r, f as n, g as i, h as o, m as c, p as m, v as l, w as g, x as d, y as u } from "./schemas-
|
|
1
|
+
import { C as a, S as t, b as s, d as r, f as n, g as i, h as o, m as c, p as m, v as l, w as g, x as d, y as u } from "./schemas-JpRGzRQT.js";
|
|
2
2
|
import { $ as E, G as S, J as h, K as v, Q as y, V as f, X as C, Y as A, Z as T, _ as w, a as U, b as W, c as I, d as P, et as b, f as D, g as R, h as k, i as G, it as O, l as N, m as _, n as x, nt as L, p as M, q as z, rt as B, s as H, tt as K, u as F, v as V, y as Q } from "./locale-MM0U5eeR.js";
|
|
3
|
-
import { a as Z, d as J, h as X, u as Y } from "./chat-
|
|
3
|
+
import { a as Z, d as J, h as X, u as Y } from "./chat-DI7Vm0gh.js";
|
|
4
4
|
import { n as j, t as ee } from "./connection-warning-n88bjkqL.js";
|
|
5
|
-
import { a as te, c as se, d as re, f as ne, h as ie, i as oe, l as ce, m as me, n as le, o as ge, p as de, r as ue, s as pe, u as Ee } from "./native-webview-
|
|
6
|
-
import { a as he, c as ve, d as ye, f as fe, i as Ce, l as Ae, n as Te, o as we, p as Ue, r as We, s as Ie, t as Pe, u as be } from "./common-
|
|
5
|
+
import { a as te, c as se, d as re, f as ne, h as ie, i as oe, l as ce, m as me, n as le, o as ge, p as de, r as ue, s as pe, u as Ee } from "./native-webview-DFqnyus6.js";
|
|
6
|
+
import { a as he, c as ve, d as ye, f as fe, i as Ce, l as Ae, n as Te, o as we, p as Ue, r as We, s as Ie, t as Pe, u as be } from "./common-BxSi3UWt.js";
|
|
7
7
|
export {
|
|
8
8
|
Ee as AccountRuntimeConfigSchema,
|
|
9
9
|
re as AnalyticsAuthModeSchema,
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as a, b as t, d as s, f as i, w as n, x as r } from "./schemas-
|
|
1
|
+
import { C as a, b as t, d as s, f as i, w as n, x as r } from "./schemas-JpRGzRQT.js";
|
|
2
2
|
import { V as c, _ as m, b as l, d, f as g, g as p, l as u, p as f, u as S, v as C, y as h } from "./locale-MM0U5eeR.js";
|
|
3
|
-
import { a as y, c as A, d as I, h as R, l as T, n as W, s as w, t as D, u as E } from "./chat-
|
|
3
|
+
import { a as y, c as A, d as I, h as R, l as T, n as W, s as w, t as D, u as E } from "./chat-DI7Vm0gh.js";
|
|
4
4
|
import { t as N } from "./connection-warning-n88bjkqL.js";
|
|
5
|
-
import { a as P, i as G, n as _, o as k, t as Q } from "./qna-
|
|
6
|
-
import { a as L, i as x, n as B, o as M, t as F } from "./simrel-
|
|
5
|
+
import { a as P, i as G, n as _, o as k, t as Q } from "./qna-C5Ok3wd0.js";
|
|
6
|
+
import { a as L, i as x, n as B, o as M, t as F } from "./simrel-K2TGFi1r.js";
|
|
7
7
|
import { n as H, t as K } from "./simbut-Cb5RfaAp.js";
|
|
8
|
-
import { a as Z, c as j, d as q, f as J, h as X, i as Y, l as $, m as ee, n as ae, o as te, p as se, r as ie, s as ne, u as re } from "./native-webview-
|
|
9
|
-
import { a as ce, c as me, d as le, i as de, l as ge, n as pe, o as ue, p as fe, r as Se, s as Ce, t as he, u as Ue } from "./common-
|
|
8
|
+
import { a as Z, c as j, d as q, f as J, h as X, i as Y, l as $, m as ee, n as ae, o as te, p as se, r as ie, s as ne, u as re } from "./native-webview-DFqnyus6.js";
|
|
9
|
+
import { a as ce, c as me, d as le, i as de, l as ge, n as pe, o as ue, p as fe, r as Se, s as Ce, t as he, u as Ue } from "./common-BxSi3UWt.js";
|
|
10
10
|
export {
|
|
11
11
|
re as AccountRuntimeConfigSchema,
|
|
12
12
|
q as AnalyticsAuthModeSchema,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as N, c as h, i as W, o as f, r as m, t as A } from "./schemas-
|
|
1
|
+
import { a as N, c as h, i as W, o as f, r as m, t as A } from "./schemas-JpRGzRQT.js";
|
|
2
2
|
import { U as H, h as Q, j, r as M, y as K } from "./locale-MM0U5eeR.js";
|
|
3
|
-
import { t as V } from "./chat-
|
|
4
|
-
import { t as $ } from "./qna-
|
|
5
|
-
import { t as G } from "./simrel-
|
|
3
|
+
import { t as V } from "./chat-DI7Vm0gh.js";
|
|
4
|
+
import { t as $ } from "./qna-C5Ok3wd0.js";
|
|
5
|
+
import { t as G } from "./simrel-K2TGFi1r.js";
|
|
6
6
|
import { t as Y } from "./simbut-Cb5RfaAp.js";
|
|
7
7
|
var w = f({ enabled: m().default(!0) }), J = f({
|
|
8
8
|
chat: h().optional(),
|