@oxvo/ai-live-assist 7.4.36 → 7.4.37

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.
@@ -39,7 +39,7 @@ export declare const resolveAiGuideProtocolVersion: (bootstrap: Pick<BootstrapCo
39
39
  export default class AiLiveAssist {
40
40
  private readonly app;
41
41
  private readonly options;
42
- readonly version = "7.4.36";
42
+ readonly version = "7.4.37";
43
43
  private readonly siteKey;
44
44
  private tabId;
45
45
  private readonly windowId;
@@ -7358,6 +7358,7 @@ class AiLiveAssist {
7358
7358
  ? null
7359
7359
  : (result.assistant?.welcomeMessage ??
7360
7360
  this.bootstrap?.appearance?.welcomeMessage);
7361
+ let renderedPendingTextQuestion = false;
7361
7362
  if (mode === "text" &&
7362
7363
  this.pendingQuestion &&
7363
7364
  !this.pendingQuestion.shown) {
@@ -7365,8 +7366,11 @@ class AiLiveAssist {
7365
7366
  this.pendingQuestion.shown = true;
7366
7367
  this.rememberTranscript(this.pendingQuestion.submissionId, "user", this.pendingQuestion.text);
7367
7368
  (this.renderedTranscriptIds ?? (this.renderedTranscriptIds = new Set())).add(this.pendingQuestion.submissionId);
7369
+ renderedPendingTextQuestion = true;
7368
7370
  }
7369
- const visibleWelcome = this.transcriptRestoredFromCache ||
7371
+ const visibleWelcome = resume ||
7372
+ renderedPendingTextQuestion ||
7373
+ this.transcriptRestoredFromCache ||
7370
7374
  (this.view instanceof voicePresenceUi_js_1.VoicePresenceView && mode === "voice")
7371
7375
  ? null
7372
7376
  : welcomeMessage;
package/cjs/index.js CHANGED
@@ -18,8 +18,8 @@ function aiLiveAssist(options = {}) {
18
18
  if (document.querySelector('[data-oxvo-ai-live-assist-root]')) {
19
19
  return undefined;
20
20
  }
21
- if (!app.checkRequiredVersion?.('7.4.36')) {
22
- console.warn('OXVO AI Guide requires @oxvo/browser version 7.4.36 or newer.');
21
+ if (!app.checkRequiredVersion?.('7.4.37')) {
22
+ console.warn('OXVO AI Guide requires @oxvo/browser version 7.4.37 or newer.');
23
23
  return undefined;
24
24
  }
25
25
  const instance = new AiLiveAssist_js_1.default(app, options);
package/cjs/preview.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { AiGuidePreviewBridge, AiGuidePreviewController, AiGuidePreviewCont
2
2
  export declare const AI_GUIDE_PREVIEW_PARENT_SOURCE = "oxvo-ai-guide-settings-preview";
3
3
  export declare const AI_GUIDE_PREVIEW_WIDGET_SOURCE = "oxvo-ai-guide-widget-preview";
4
4
  export declare const AI_GUIDE_PREVIEW_PROTOCOL_VERSION = 1;
5
- export declare const AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.34";
5
+ export declare const AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.36";
6
6
  export declare const buildAiGuidePreviewBootstrap: (draft: unknown, assetOrigin?: string | null) => BootstrapConfig;
7
7
  export declare class AiGuidePreviewControllerImpl implements AiGuidePreviewController {
8
8
  private readonly port;
package/cjs/preview.js CHANGED
@@ -9,7 +9,7 @@ const voicePresenceUi_js_1 = require("./voicePresenceUi.js");
9
9
  exports.AI_GUIDE_PREVIEW_PARENT_SOURCE = "oxvo-ai-guide-settings-preview";
10
10
  exports.AI_GUIDE_PREVIEW_WIDGET_SOURCE = "oxvo-ai-guide-widget-preview";
11
11
  exports.AI_GUIDE_PREVIEW_PROTOCOL_VERSION = 1;
12
- exports.AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.34";
12
+ exports.AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.36";
13
13
  const DEFAULT_COMPANION = {
14
14
  enabled: true,
15
15
  title: "AI Guide",
package/cjs/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "7.4.36";
1
+ export declare const VERSION = "7.4.37";
package/cjs/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '7.4.36';
4
+ exports.VERSION = '7.4.37';
@@ -39,7 +39,7 @@ export declare const resolveAiGuideProtocolVersion: (bootstrap: Pick<BootstrapCo
39
39
  export default class AiLiveAssist {
40
40
  private readonly app;
41
41
  private readonly options;
42
- readonly version = "7.4.36";
42
+ readonly version = "7.4.37";
43
43
  private readonly siteKey;
44
44
  private tabId;
45
45
  private readonly windowId;
@@ -7350,6 +7350,7 @@ export default class AiLiveAssist {
7350
7350
  ? null
7351
7351
  : (result.assistant?.welcomeMessage ??
7352
7352
  this.bootstrap?.appearance?.welcomeMessage);
7353
+ let renderedPendingTextQuestion = false;
7353
7354
  if (mode === "text" &&
7354
7355
  this.pendingQuestion &&
7355
7356
  !this.pendingQuestion.shown) {
@@ -7357,8 +7358,11 @@ export default class AiLiveAssist {
7357
7358
  this.pendingQuestion.shown = true;
7358
7359
  this.rememberTranscript(this.pendingQuestion.submissionId, "user", this.pendingQuestion.text);
7359
7360
  (this.renderedTranscriptIds ?? (this.renderedTranscriptIds = new Set())).add(this.pendingQuestion.submissionId);
7361
+ renderedPendingTextQuestion = true;
7360
7362
  }
7361
- const visibleWelcome = this.transcriptRestoredFromCache ||
7363
+ const visibleWelcome = resume ||
7364
+ renderedPendingTextQuestion ||
7365
+ this.transcriptRestoredFromCache ||
7362
7366
  (this.view instanceof VoicePresenceView && mode === "voice")
7363
7367
  ? null
7364
7368
  : welcomeMessage;
package/lib/index.js CHANGED
@@ -12,8 +12,8 @@ export default function aiLiveAssist(options = {}) {
12
12
  if (document.querySelector('[data-oxvo-ai-live-assist-root]')) {
13
13
  return undefined;
14
14
  }
15
- if (!app.checkRequiredVersion?.('7.4.36')) {
16
- console.warn('OXVO AI Guide requires @oxvo/browser version 7.4.36 or newer.');
15
+ if (!app.checkRequiredVersion?.('7.4.37')) {
16
+ console.warn('OXVO AI Guide requires @oxvo/browser version 7.4.37 or newer.');
17
17
  return undefined;
18
18
  }
19
19
  const instance = new AiLiveAssist(app, options);
package/lib/preview.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { AiGuidePreviewBridge, AiGuidePreviewController, AiGuidePreviewCont
2
2
  export declare const AI_GUIDE_PREVIEW_PARENT_SOURCE = "oxvo-ai-guide-settings-preview";
3
3
  export declare const AI_GUIDE_PREVIEW_WIDGET_SOURCE = "oxvo-ai-guide-widget-preview";
4
4
  export declare const AI_GUIDE_PREVIEW_PROTOCOL_VERSION = 1;
5
- export declare const AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.34";
5
+ export declare const AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.36";
6
6
  export declare const buildAiGuidePreviewBootstrap: (draft: unknown, assetOrigin?: string | null) => BootstrapConfig;
7
7
  export declare class AiGuidePreviewControllerImpl implements AiGuidePreviewController {
8
8
  private readonly port;
package/lib/preview.js CHANGED
@@ -6,7 +6,7 @@ import { VoicePresenceView } from "./voicePresenceUi.js";
6
6
  export const AI_GUIDE_PREVIEW_PARENT_SOURCE = "oxvo-ai-guide-settings-preview";
7
7
  export const AI_GUIDE_PREVIEW_WIDGET_SOURCE = "oxvo-ai-guide-widget-preview";
8
8
  export const AI_GUIDE_PREVIEW_PROTOCOL_VERSION = 1;
9
- export const AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.34";
9
+ export const AI_GUIDE_PREVIEW_RENDERER_VERSION = "1.0.36";
10
10
  const DEFAULT_COMPANION = {
11
11
  enabled: true,
12
12
  title: "AI Guide",
package/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "7.4.36";
1
+ export declare const VERSION = "7.4.37";
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.4.36';
1
+ export const VERSION = '7.4.37';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oxvo/ai-live-assist",
3
3
  "description": "Secure AI Guide browser plugin for OXVO Sessions.",
4
- "version": "7.4.36",
4
+ "version": "7.4.37",
5
5
  "keywords": [
6
6
  "ai-live-assist",
7
7
  "webrtc",
@@ -42,7 +42,7 @@
42
42
  "prepublishOnly": "bun run test && bun run build"
43
43
  },
44
44
  "peerDependencies": {
45
- "@oxvo/browser": ">=7.4.36"
45
+ "@oxvo/browser": ">=7.4.37"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@oxvo/browser": "workspace:*",