@gengage/assistant-fe 0.6.34 → 0.6.35
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-runtime.js +1 -1
- package/dist/chat.iife.js +1 -1
- package/dist/chat.js +1 -1
- package/dist/common/index.d.ts +2 -1
- package/dist/{common-CB1Vjd-T.js → common-C-lXfS-s.js} +1 -1
- package/dist/common.js +68 -67
- package/dist/{connection-warning-DBE8pkFv.js → connection-warning-DrXU9qN9.js} +1 -1
- package/dist/{fastIntent-D9jYpC8V.js → fastIntent-Diz6Vo0W.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/native.iife.js +1 -1
- package/dist/qna-runtime.js +1 -1
- package/dist/qna.iife.js +1 -1
- package/dist/qna.js +1 -1
- package/dist/request-response-cache-DmnzO4Hu.js +1426 -0
- package/dist/{runtime-By-msZ8j.js → runtime-CiO-HX8B.js} +198 -199
- package/dist/{runtime-DyG44pqo.js → runtime-D0v-KyzN.js} +36 -37
- package/dist/{runtime-CABcQc-L.js → runtime-hci1VRsa.js} +8 -9
- package/dist/{simbut-CsQSH5vN.js → simbut-D-IPkTT8.js} +1 -1
- package/dist/simbut.iife.js +1 -1
- package/dist/simbut.js +1 -1
- package/dist/{simrel-bxdmsMmZ.js → simrel-BjMCvCdo.js} +1 -1
- package/dist/simrel-runtime.js +1 -1
- package/dist/simrel.iife.js +1 -1
- package/dist/simrel.js +2 -2
- package/dist/{widget-base-C_RZ-VIr.js → widget-base-_HBDf5VH.js} +1 -1
- package/package.json +3 -19
- package/dist/agent-ui-steps-DIWmTMuV.js +0 -3199
- package/dist/agentic/adaptor/create-adaptor.d.ts +0 -22
- package/dist/agentic/adaptor/fetch-bridge.d.ts +0 -31
- package/dist/agentic/adaptor/mount.d.ts +0 -45
- package/dist/agentic/algos/similarity.d.ts +0 -86
- package/dist/agentic/algos/similarity.js +0 -261
- package/dist/agentic/context/chat-context.d.ts +0 -17
- package/dist/agentic/context/context-store.d.ts +0 -57
- package/dist/agentic/context/persistence.d.ts +0 -14
- package/dist/agentic/contracts/agentic-contracts.d.ts +0 -133
- package/dist/agentic/debug/activity-collector.d.ts +0 -15
- package/dist/agentic/debug/activity-instrumentation.d.ts +0 -22
- package/dist/agentic/debug/activity-overlay.d.ts +0 -3
- package/dist/agentic/debug/activity-state.d.ts +0 -37
- package/dist/agentic/debug/local-dev.d.ts +0 -18
- package/dist/agentic/events/builders.d.ts +0 -10
- package/dist/agentic/events/comparison.d.ts +0 -6
- package/dist/agentic/events/context-products.d.ts +0 -6
- package/dist/agentic/events/error-taxonomy.d.ts +0 -27
- package/dist/agentic/events/product-normalize.d.ts +0 -50
- package/dist/agentic/events/ui-specs.d.ts +0 -41
- package/dist/agentic/flow/create-flow.d.ts +0 -2
- package/dist/agentic/flow/dispatch.d.ts +0 -3
- package/dist/agentic/index.d.ts +0 -65
- package/dist/agentic/index.js +0 -3493
- package/dist/agentic/types.d.ts +0 -360
- package/dist/agentic/util/account-config.d.ts +0 -8
- package/dist/agentic/util/assistant-host.d.ts +0 -11
- package/dist/agentic/util/be-url.d.ts +0 -4
- package/dist/agentic/util/browser-memory.d.ts +0 -13
- package/dist/agentic/util/browser-tools.d.ts +0 -31
- package/dist/agentic/util/cache-key.d.ts +0 -15
- package/dist/agentic/util/common/declarative-cache.d.ts +0 -21
- package/dist/agentic/util/common/fallback-status.d.ts +0 -10
- package/dist/agentic/util/common/flow-steps.d.ts +0 -8
- package/dist/agentic/util/common/gss-tool-aliases.d.ts +0 -66
- package/dist/agentic/util/common/iframe-scraper.d.ts +0 -22
- package/dist/agentic/util/common/llm-routing.d.ts +0 -50
- package/dist/agentic/util/common/object.d.ts +0 -1
- package/dist/agentic/util/common/open-product-page.d.ts +0 -30
- package/dist/agentic/util/common/panel-context.d.ts +0 -3
- package/dist/agentic/util/common/privacy.d.ts +0 -14
- package/dist/agentic/util/common/product-resolver.d.ts +0 -20
- package/dist/agentic/util/common/product-surface.d.ts +0 -24
- package/dist/agentic/util/common/ref-store.d.ts +0 -15
- package/dist/agentic/util/common/retail-privacy.d.ts +0 -4
- package/dist/agentic/util/common/route-params.d.ts +0 -3
- package/dist/agentic/util/common/similarity-ranking.d.ts +0 -2
- package/dist/agentic/util/common/site-awareness.d.ts +0 -130
- package/dist/agentic/util/lazy-runtime-loader.d.ts +0 -10
- package/dist/agentic/util/privacy.d.ts +0 -12
- package/dist/agentic/util/request-text.d.ts +0 -3
- package/dist/agentic/util/time.d.ts +0 -2
- package/dist/agentic/widgets/endpoints.d.ts +0 -12
- package/dist/agentic/worker/agent-ui-steps.d.ts +0 -43
- package/dist/agentic/worker/agent-ui.d.ts +0 -44
- package/dist/agentic/worker/be-client.d.ts +0 -32
- package/dist/agentic/worker/coalesce.d.ts +0 -25
- package/dist/agentic/worker/compaction.d.ts +0 -12
- package/dist/agentic/worker/entry.d.ts +0 -2
- package/dist/agentic/worker/flow-runner.d.ts +0 -24
- package/dist/agentic/worker/jwt-mint.d.ts +0 -21
- package/dist/agentic/worker/pdp-hydrate.d.ts +0 -30
- package/dist/agentic/worker/rpc.d.ts +0 -47
- package/dist/agentic/worker/tool-bridge.d.ts +0 -2
- package/dist/agentic/worker/tool-schema.d.ts +0 -19
- package/dist/agentic/worker.d.ts +0 -52
- package/dist/agentic/worker.js +0 -432
- package/dist/agentic.iife.js +0 -445
- package/dist/api-paths-DZQ4Xx7u.js +0 -1274
- package/dist/request-response-cache-BxRsKGJ0.js +0 -154
package/dist/chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as r, f as s, i as n, l as c, n as i, o as l, r as o, s as h, t as C, u as d } from "./runtime-
|
|
1
|
+
import { a as e, c as t, d as r, f as s, i as n, l as c, n as i, o as l, r as o, s as h, t as C, u as d } from "./runtime-D0v-KyzN.js";
|
|
2
2
|
import { t as S } from "./chat-CIfQyuBl.js";
|
|
3
3
|
export {
|
|
4
4
|
d as CHAT_SCROLL_ELEMENT_ID,
|
package/dist/common/index.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ export { detectNativeEnvironment, applyNativeSession, createNativeWebViewBridge,
|
|
|
13
13
|
export type { NativeBridgeEnvironment, NativeSessionPayload, NativeBridgeMessage, NativeWebViewBridgeOptions, NativeWebViewBridge, NativeOverlayInitOptions, NativeOverlayInitResult, } from './native-webview.js';
|
|
14
14
|
export { buildChatEndpointUrl, normalizeMiddlewareUrl } from './api-paths.js';
|
|
15
15
|
export type { ChatTransportConfig, ChatEndpointName } from './api-paths.js';
|
|
16
|
-
export type { ActionEnrichmentContext, BackendRequestMeta, InjectorAdapter, ProcessActionRequest, StreamCallbacks, } from './transport.js';
|
|
16
|
+
export type { ActionEnrichmentContext, BackendRequestMeta, InjectorAdapter, InjectorBridgeEndpoint, InjectorEndpointHandler, ProcessActionRequest, StreamCallbacks, } from './transport.js';
|
|
17
|
+
export { cachedFetch } from './request-response-cache.js';
|
|
17
18
|
export { AccountRuntimeConfigSchema, UnknownActionPolicySchema, parseAccountRuntimeConfig, safeParseAccountRuntimeConfig, createDefaultAccountRuntimeConfig, } from './config-schema.js';
|
|
18
19
|
export type { AccountRuntimeConfig, UnknownActionPolicy } from './config-schema.js';
|
|
19
20
|
export { routeStreamAction } from './action-router.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as g } from "./widget-base-
|
|
1
|
+
import { i as g } from "./widget-base-_HBDf5VH.js";
|
|
2
2
|
import { c as l, i as p, o as u, r as c, t as y } from "./schemas-BnYUhYSy.js";
|
|
3
3
|
import { a as w, i as v } from "./overlay-cF2SjxYU.js";
|
|
4
4
|
var d = u({ enabled: c().default(!0) }), h = u({
|
package/dist/common.js
CHANGED
|
@@ -1,74 +1,75 @@
|
|
|
1
|
-
import { a, d as t, f as s,
|
|
2
|
-
import { N as
|
|
3
|
-
import { a as
|
|
4
|
-
import { a as x, c as B, f as
|
|
5
|
-
import { n as
|
|
6
|
-
import { i as
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
1
|
+
import { a, d as t, f as s, g as r, h as i, i as o, m as n, n as c, o as m, p as g, r as l, s as d, t as p, u } from "./request-response-cache-DmnzO4Hu.js";
|
|
2
|
+
import { N as E, a as S, c as h, i as C, k as T, n as y, o as A, r as G, s as I, t as w } from "./context-UTzCGyR9.js";
|
|
3
|
+
import { a as W, c as v, d as N, f as P, l as U, n as O, o as D, p as _, r as L, t as b, u as k } from "./widget-base-_HBDf5VH.js";
|
|
4
|
+
import { a as x, c as B, f as z, i as M, l as V, n as K, o as H, r as Q, s as q, t as Z } from "./fastIntent-Diz6Vo0W.js";
|
|
5
|
+
import { n as J, t as X } from "./connection-warning-DrXU9qN9.js";
|
|
6
|
+
import { i as $, n as ee, r as ae, t as te } from "./overlay-cF2SjxYU.js";
|
|
7
|
+
import { a as re, i as ie, n as oe, r as ne } from "./native-webview-BcwGKkDe.js";
|
|
8
|
+
import { a as me, c as ge, i as le, l as de, n as pe, o as ue, r as fe, s as Ee, t as Se, u as he } from "./common-C-lXfS-s.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
ue as AccountRuntimeConfigSchema,
|
|
11
|
+
k as BASE_WIDGET_THEME,
|
|
12
|
+
b as BaseWidget,
|
|
13
13
|
x as DEFAULT_CUSTOMIZATION_LOCALE,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
14
|
+
P as DEFAULT_WIDGET_THEME_TOKENS,
|
|
15
|
+
O as GENGAGE_BUILD_FLAVOR,
|
|
16
|
+
L as GENGAGE_VERSION,
|
|
17
|
+
Ee as UnknownActionPolicySchema,
|
|
18
|
+
Q as VoiceInput,
|
|
19
|
+
o as adaptBackendEvent,
|
|
20
|
+
oe as applyNativeSession,
|
|
21
|
+
Se as autoDetectPageContext,
|
|
22
|
+
w as bootstrapSession,
|
|
23
|
+
c as buildChatEndpointUrl,
|
|
24
|
+
te as buildOverlayIdempotencyKey,
|
|
25
|
+
p as cachedFetch,
|
|
26
|
+
X as configureConnectionWarning,
|
|
27
|
+
s as consumeStream,
|
|
28
|
+
H as createAccountIdentity,
|
|
29
|
+
ge as createDefaultAccountRuntimeConfig,
|
|
30
|
+
q as createFloatingChatConfig,
|
|
31
|
+
ne as createNativeWebViewBridge,
|
|
31
32
|
B as createPdpQnaConfig,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
33
|
+
V as createPdpSimRelConfig,
|
|
34
|
+
i as defaultUnknownUISpecRenderer,
|
|
35
|
+
ee as destroyOverlayWidgets,
|
|
36
|
+
Z as detectFastIntent,
|
|
37
|
+
ie as detectNativeEnvironment,
|
|
38
|
+
pe as detectPageType,
|
|
39
|
+
W as dismissGlobalErrorToast,
|
|
40
|
+
S as dispatch,
|
|
41
|
+
fe as extractSkuFromUrl,
|
|
42
|
+
D as getGlobalErrorMessage,
|
|
43
|
+
ae as getOverlayWidgets,
|
|
44
|
+
u as getSuggestedSearchKeywords,
|
|
45
|
+
t as getSuggestedSearchKeywordsText,
|
|
46
|
+
y as getWindowPageContext,
|
|
47
|
+
le as initGengageClient,
|
|
48
|
+
re as initNativeOverlayWidgets,
|
|
49
|
+
$ as initOverlayWidgets,
|
|
50
|
+
M as isVoiceInputSupported,
|
|
51
|
+
A as listen,
|
|
52
|
+
K as makePillLauncher,
|
|
53
|
+
n as mergeUISpecRegistry,
|
|
54
|
+
l as normalizeMiddlewareUrl,
|
|
55
|
+
a as normalizeProductGroupingsResponse,
|
|
56
|
+
m as normalizeSimilarProductsResponse,
|
|
57
|
+
de as parseAccountRuntimeConfig,
|
|
58
|
+
me as preflightDiagnostics,
|
|
59
|
+
d as productToNormalized,
|
|
60
|
+
v as registerGlobalErrorToastListener,
|
|
60
61
|
r as renderUISpecWithRegistry,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
G as resolveSession,
|
|
63
|
+
z as routeStreamAction,
|
|
64
|
+
he as safeParseAccountRuntimeConfig,
|
|
65
|
+
E as sanitizeHtml,
|
|
66
|
+
U as showGlobalErrorToast,
|
|
67
|
+
g as streamPost,
|
|
68
|
+
J as trackConnectionWarningRequest,
|
|
68
69
|
C as updatePageContext,
|
|
69
70
|
T as wireGADataLayer,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
I as wireQNAToChat,
|
|
72
|
+
h as wireSimilarToChat,
|
|
73
|
+
N as withBaseTheme,
|
|
74
|
+
_ as withDefaultWidgetTheme
|
|
74
75
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as S } from "./context-UTzCGyR9.js";
|
|
2
|
-
import { i as E } from "./widget-base-
|
|
2
|
+
import { i as E } from "./widget-base-_HBDf5VH.js";
|
|
3
3
|
function $(t, r) {
|
|
4
4
|
if (typeof window > "u" || !S(t)) return !1;
|
|
5
5
|
const e = new CustomEvent("gengage:navigate", {
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as c, c as m, i as p, k as
|
|
3
|
-
import { d as S, f as U, n as C, p as I, r as R, u as h } from "./widget-base-
|
|
4
|
-
import { c as E, l as y, n as G, s as T, t as W } from "./runtime-
|
|
5
|
-
import { a as w, c as N, f as O, i as v, l as _, n as P, o as k, r as L, s as Q } from "./fastIntent-
|
|
6
|
-
import { t as F } from "./connection-warning-
|
|
7
|
-
import { a as b, i as x, n as M, r as H, t as K } from "./runtime-
|
|
8
|
-
import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-
|
|
9
|
-
import { n as $ } from "./simrel-
|
|
10
|
-
import { n as ae, t as te } from "./simbut-
|
|
1
|
+
import { f as a, g as t, h as r, n as i, p as s, r as n } from "./request-response-cache-DmnzO4Hu.js";
|
|
2
|
+
import { a as c, c as m, i as p, k as g, o as d, s as l, t as f } from "./context-UTzCGyR9.js";
|
|
3
|
+
import { d as S, f as U, n as C, p as I, r as R, u as h } from "./widget-base-_HBDf5VH.js";
|
|
4
|
+
import { c as E, l as y, n as G, s as T, t as W } from "./runtime-D0v-KyzN.js";
|
|
5
|
+
import { a as w, c as N, f as O, i as v, l as _, n as P, o as k, r as L, s as Q } from "./fastIntent-Diz6Vo0W.js";
|
|
6
|
+
import { t as F } from "./connection-warning-DrXU9qN9.js";
|
|
7
|
+
import { a as b, i as x, n as M, r as H, t as K } from "./runtime-CiO-HX8B.js";
|
|
8
|
+
import { a as Z, i as j, n as q, r as J, t as X } from "./runtime-hci1VRsa.js";
|
|
9
|
+
import { n as $ } from "./simrel-BjMCvCdo.js";
|
|
10
|
+
import { n as ae, t as te } from "./simbut-D-IPkTT8.js";
|
|
11
11
|
import { i as ie, n as se, r as ne, t as oe } from "./overlay-cF2SjxYU.js";
|
|
12
|
-
import { a as me, i as pe, n as
|
|
13
|
-
import { a as fe, c as ue, i as Se, l as Ue, n as Ce, o as Ie, r as Re, s as he, t as Ae, u as Ee } from "./common-
|
|
12
|
+
import { a as me, i as pe, n as ge, r as de } from "./native-webview-BcwGKkDe.js";
|
|
13
|
+
import { a as fe, c as ue, i as Se, l as Ue, n as Ce, o as Ie, r as Re, s as he, t as Ae, u as Ee } from "./common-C-lXfS-s.js";
|
|
14
14
|
export {
|
|
15
15
|
Ie as AccountRuntimeConfigSchema,
|
|
16
16
|
h as BASE_WIDGET_THEME,
|
|
@@ -24,10 +24,10 @@ export {
|
|
|
24
24
|
X as GengageSimRel,
|
|
25
25
|
he as UnknownActionPolicySchema,
|
|
26
26
|
L as VoiceInput,
|
|
27
|
-
|
|
27
|
+
ge as applyNativeSession,
|
|
28
28
|
Ae as autoDetectPageContext,
|
|
29
29
|
f as bootstrapSession,
|
|
30
|
-
|
|
30
|
+
i as buildChatEndpointUrl,
|
|
31
31
|
oe as buildOverlayIdempotencyKey,
|
|
32
32
|
F as configureConnectionWarning,
|
|
33
33
|
a as consumeStream,
|
|
@@ -38,7 +38,7 @@ export {
|
|
|
38
38
|
H as createDefaultQnaUISpecRegistry,
|
|
39
39
|
J as createDefaultSimRelUISpecRegistry,
|
|
40
40
|
Q as createFloatingChatConfig,
|
|
41
|
-
|
|
41
|
+
de as createNativeWebViewBridge,
|
|
42
42
|
N as createPdpQnaConfig,
|
|
43
43
|
_ as createPdpSimRelConfig,
|
|
44
44
|
M as createQNAWidget,
|
|
@@ -48,7 +48,7 @@ export {
|
|
|
48
48
|
E as defaultChatUnknownUISpecRenderer,
|
|
49
49
|
x as defaultQnaUnknownUISpecRenderer,
|
|
50
50
|
j as defaultSimRelUnknownUISpecRenderer,
|
|
51
|
-
|
|
51
|
+
r as defaultUnknownUISpecRenderer,
|
|
52
52
|
se as destroyOverlayWidgets,
|
|
53
53
|
pe as detectNativeEnvironment,
|
|
54
54
|
Ce as detectPageType,
|
|
@@ -59,20 +59,20 @@ export {
|
|
|
59
59
|
me as initNativeOverlayWidgets,
|
|
60
60
|
ie as initOverlayWidgets,
|
|
61
61
|
v as isVoiceInputSupported,
|
|
62
|
-
|
|
62
|
+
d as listen,
|
|
63
63
|
P as makePillLauncher,
|
|
64
|
-
|
|
64
|
+
n as normalizeMiddlewareUrl,
|
|
65
65
|
Ue as parseAccountRuntimeConfig,
|
|
66
66
|
fe as preflightDiagnostics,
|
|
67
67
|
y as renderChatUISpec,
|
|
68
68
|
b as renderQnaUISpec,
|
|
69
69
|
Z as renderSimRelUISpec,
|
|
70
|
-
|
|
70
|
+
t as renderUISpecWithRegistry,
|
|
71
71
|
O as routeStreamAction,
|
|
72
72
|
Ee as safeParseAccountRuntimeConfig,
|
|
73
|
-
|
|
73
|
+
s as streamPost,
|
|
74
74
|
p as updatePageContext,
|
|
75
|
-
|
|
75
|
+
g as wireGADataLayer,
|
|
76
76
|
l as wireQNAToChat,
|
|
77
77
|
m as wireSimilarToChat,
|
|
78
78
|
S as withBaseTheme,
|