@gengage/assistant-fe 0.6.14 → 0.6.17
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/agentic/adaptor/fetch-bridge.d.ts +20 -1
- package/dist/agentic/index.js +517 -367
- package/dist/agentic/worker.js +18 -18
- package/dist/agentic.iife.js +5 -5
- package/dist/{api-paths-kwROurUu.js → api-paths-xsHH9jtm.js} +1 -1
- package/dist/chat/components/InlineLauncher.d.ts +152 -0
- package/dist/chat/index.d.ts +2 -0
- package/dist/chat/runtime.d.ts +3 -0
- package/dist/chat/types.d.ts +6 -0
- package/dist/chat-runtime.js +9 -9
- package/dist/chat.iife.js +160 -35
- package/dist/chat.js +13 -12
- package/dist/common/overlay.d.ts +2 -0
- package/dist/{common-DZuPNgWh.js → common-O0BUdXOn.js} +2 -2
- package/dist/common.js +7 -7
- package/dist/{connection-warning-Bg4gn-cq.js → connection-warning-DWMfjv0Y.js} +1 -1
- package/dist/{fastIntent-BSgLJDlW.js → fastIntent-RTSVRJhw.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -16
- package/dist/{native-webview-DbKq9lN8.js → native-webview-U9HtGabb.js} +1 -1
- package/dist/native.iife.js +140 -15
- package/dist/native.js +1 -1
- package/dist/{overlay-CyoB1K0w.js → overlay-ClYgI2Kl.js} +5 -5
- package/dist/overlay.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-text-su3Vlhrs.js → request-text-DThlE-Xd.js} +106 -106
- package/dist/{runtime-CAJp9Ehc.js → runtime-BKU-NQXf.js} +2101 -1745
- package/dist/{runtime-KV5wCTc-.js → runtime-COh3CwNU.js} +3 -3
- package/dist/{runtime-DwQSV54I.js → runtime-n7fEJGDt.js} +3 -3
- package/dist/{simbut-Bm96zEAo.js → simbut-DaFCfvp7.js} +1 -1
- package/dist/simbut.iife.js +1 -1
- package/dist/simbut.js +1 -1
- package/dist/{simrel-C9sM9CCV.js → simrel-CX1JBDa5.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-TZjXRr3u.js → widget-base-DoZrhVze.js} +1 -1
- package/package.json +1 -1
|
@@ -3,10 +3,29 @@ interface InstallFetchBridgeArgs {
|
|
|
3
3
|
accountId: string;
|
|
4
4
|
streamTransport: InjectorAdapter;
|
|
5
5
|
endpoints?: Partial<Record<InjectorBridgeEndpoint, InjectorEndpointHandler>>;
|
|
6
|
+
endpointCache?: EndpointCacheOptions;
|
|
6
7
|
}
|
|
7
8
|
interface InstallFetchBridgeResult {
|
|
8
9
|
middlewareUrl: string;
|
|
9
10
|
stop: () => void;
|
|
10
11
|
}
|
|
11
|
-
export
|
|
12
|
+
export interface EndpointCachePolicy {
|
|
13
|
+
partition: string;
|
|
14
|
+
key: string;
|
|
15
|
+
ttlMs?: number;
|
|
16
|
+
}
|
|
17
|
+
export type EndpointCachePolicyResolver = (request: unknown, context: {
|
|
18
|
+
accountId: string;
|
|
19
|
+
endpoint: InjectorBridgeEndpoint;
|
|
20
|
+
}) => EndpointCachePolicy | null | undefined;
|
|
21
|
+
export interface EndpointCacheOptions {
|
|
22
|
+
beUrl: string;
|
|
23
|
+
devJwtSecret?: string | undefined;
|
|
24
|
+
tokenBrokerUrl?: string | undefined;
|
|
25
|
+
tokenBrokerAudience?: string | undefined;
|
|
26
|
+
parentUrl?: string | undefined;
|
|
27
|
+
ttlMs?: number | undefined;
|
|
28
|
+
policies: Partial<Record<InjectorBridgeEndpoint, EndpointCachePolicyResolver>>;
|
|
29
|
+
}
|
|
30
|
+
export declare function installFetchTransportBridge({ accountId, streamTransport, endpoints, endpointCache, }: InstallFetchBridgeArgs): InstallFetchBridgeResult;
|
|
12
31
|
export {};
|