@lokutor/sdk 1.1.29 → 1.1.30
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/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
- package/src/conversational-panel.ts +4 -3
package/dist/index.js
CHANGED
|
@@ -1616,8 +1616,9 @@ var ConversationalPanel = class {
|
|
|
1616
1616
|
this.startBtn.disabled = true;
|
|
1617
1617
|
this.errorEl.classList.remove("is-visible");
|
|
1618
1618
|
this.playConnectingSound();
|
|
1619
|
-
const rect = this.
|
|
1620
|
-
this.
|
|
1619
|
+
const rect = this.container.getBoundingClientRect();
|
|
1620
|
+
this.container.style.width = rect.width + "px";
|
|
1621
|
+
this.container.style.height = rect.height + "px";
|
|
1621
1622
|
try {
|
|
1622
1623
|
const ConvoAgent = this.cfg.ConvoAgent;
|
|
1623
1624
|
const SphereVisualizer = this.cfg.SphereVisualizer;
|
package/dist/index.mjs
CHANGED
|
@@ -1569,8 +1569,9 @@ var ConversationalPanel = class {
|
|
|
1569
1569
|
this.startBtn.disabled = true;
|
|
1570
1570
|
this.errorEl.classList.remove("is-visible");
|
|
1571
1571
|
this.playConnectingSound();
|
|
1572
|
-
const rect = this.
|
|
1573
|
-
this.
|
|
1572
|
+
const rect = this.container.getBoundingClientRect();
|
|
1573
|
+
this.container.style.width = rect.width + "px";
|
|
1574
|
+
this.container.style.height = rect.height + "px";
|
|
1574
1575
|
try {
|
|
1575
1576
|
const ConvoAgent = this.cfg.ConvoAgent;
|
|
1576
1577
|
const SphereVisualizer = this.cfg.SphereVisualizer;
|
package/package.json
CHANGED
|
@@ -401,9 +401,10 @@ export class ConversationalPanel {
|
|
|
401
401
|
this.errorEl.classList.remove('is-visible');
|
|
402
402
|
this.playConnectingSound();
|
|
403
403
|
|
|
404
|
-
//
|
|
405
|
-
const rect = this.
|
|
406
|
-
this.
|
|
404
|
+
// Freeze panel dimensions so content changes can't shift layout
|
|
405
|
+
const rect = this.container.getBoundingClientRect();
|
|
406
|
+
this.container.style.width = rect.width + 'px';
|
|
407
|
+
this.container.style.height = rect.height + 'px';
|
|
407
408
|
|
|
408
409
|
try {
|
|
409
410
|
const ConvoAgent = this.cfg.ConvoAgent;
|