bridgeapp-ai-chat-widget 0.2.15 → 0.2.16
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 +1 -2
- package/dist/App.d.ts +1 -0
- package/dist/Avatar-XISRbl7X.js +29627 -0
- package/dist/OrbitControls-XelJ40xM.js +458 -0
- package/dist/api/messages.api.types.d.ts +10 -1
- package/dist/api/voice.api.d.ts +2 -1
- package/dist/api/voice.api.types.d.ts +21 -0
- package/dist/avatar/Avatar.d.ts +1 -0
- package/dist/bridge-ai-chat-widget.es.js +8729 -81770
- package/dist/dev/constants.d.ts +17 -0
- package/dist/domain/voice/voice.store.d.ts +2 -0
- package/dist/hooks/useDeviceManager.d.ts +1 -2
- package/dist/index.types.d.ts +1 -0
- package/dist/lib//321/201ontentRenderer.d.ts +3 -3
- package/dist/lil-gui.esm-BicvE3D7.js +1263 -0
- package/package.json +11 -15
- package/dist/bridge-ai-chat-widget.umd.js +0 -4847
- package/dist/index.d.ts +0 -34
- package/dist/react/mount.d.ts +0 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const CUSTOMER_ID_DEV = "4280c609-687e-49fe-836f-52d574b4a1fe";
|
|
2
|
+
export declare const CUSTOMER_ID_PROD = "f194fc77-4ec5-4c9b-89b7-7bfcabbbe540";
|
|
3
|
+
export declare const ANOTHER_CUSTOMER_ID_DEV = "6849918f-6dd3-4ad9-b594-a9625503083b";
|
|
4
|
+
export declare const CUSTOMER_ID_MandM = "6fc62f36-5cfb-4b84-93f7-6046978fec1d";
|
|
5
|
+
export declare const SERVICE_ACCOUNT_API_KEY_DEV = "SguM3WDPoxJDTxZNoJgvFJq7tgqeLkk8";
|
|
6
|
+
export declare const SERVICE_ACCOUNT_API_KEY_PROD_AI_ASSISTANT = "Oi4DmBXrpSCHJ7xNK7U2EoIcTIQnQAj3";
|
|
7
|
+
export declare const SERVICE_ACCOUNT_API_KEY_PROD_MandM = "oFdFVSD9S9WP36XsU7fVMrUWVFBVDH3H";
|
|
8
|
+
export declare const MODEL_ID_OPENAI = "1574f7bf-6f81-45ed-9994-adfba5e90158";
|
|
9
|
+
export declare const VOICE_CONFIG_OPENAI: {
|
|
10
|
+
voice: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const MODEL_ID_GROK_DEV = "b48c3d08-0eb9-42a5-8076-51b6559f410a";
|
|
13
|
+
export declare const MODEL_ID_GROK_PROD = "6bd37ad5-19e3-449a-9bbf-7ef51e4b4db8";
|
|
14
|
+
export declare const VOICE_CONFIG_GROK: {
|
|
15
|
+
voice: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const ASSETS_URL = "https://img.gamespot.bet/3d-assistant/docs";
|
|
@@ -37,6 +37,7 @@ type VoiceStoreActions = {
|
|
|
37
37
|
onVoiceEventsEvent: (event: MessageEvent<string>) => void;
|
|
38
38
|
onVoiceInputEvent: (event: MessageEvent<string>) => void;
|
|
39
39
|
initVoiceStore: (config: WidgetConfig, api: AppApi) => Promise<void>;
|
|
40
|
+
initVoice: (config: WidgetConfig, api: AppApi) => Promise<void>;
|
|
40
41
|
createConnection: () => RTCPeerConnection;
|
|
41
42
|
sendCandidates: () => Promise<void>;
|
|
42
43
|
playRemoteAudio: (stream: MediaStream) => void;
|
|
@@ -56,6 +57,7 @@ type VoiceStoreActions = {
|
|
|
56
57
|
switchAudio: () => Promise<void>;
|
|
57
58
|
refreshAudioProcessing: () => Promise<void>;
|
|
58
59
|
switchInputAudioDevice: (newDevice: MediaDeviceInfo) => Promise<void>;
|
|
60
|
+
sendServiceMessageVoice: (message: string, config: WidgetConfig, api: AppApi) => Promise<void>;
|
|
59
61
|
};
|
|
60
62
|
export declare const useVoiceStore: import("zustand").UseBoundStore<import("zustand").StoreApi<VoiceStore>>;
|
|
61
63
|
export declare const useVoiceStoreActions: () => VoiceStoreActions;
|
package/dist/index.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { JSONContent } from "
|
|
1
|
+
import type { JSONContent } from "@/api/messages.api.types";
|
|
2
2
|
/**
|
|
3
|
-
* Renders agent message content (
|
|
4
|
-
* Uses
|
|
3
|
+
* Renders agent message content (TipTap JSON) to an HTML string.
|
|
4
|
+
* Uses the ProseMirror-free static JSON renderer.
|
|
5
5
|
*/
|
|
6
6
|
export declare function сontentToHtml(content: JSONContent | null | undefined): string;
|