holostaff-widget 3.0.9 → 3.0.10

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.
Files changed (24) hide show
  1. package/dist/{CanvasRenderer-BbLcmUrB.js → CanvasRenderer-r6DnTuXG.js} +5 -5
  2. package/dist/{CanvasRenderer-BbLcmUrB.js.map → CanvasRenderer-r6DnTuXG.js.map} +1 -1
  3. package/dist/{Filter-c3b_NGGq.js → Filter-JZtNvb9I.js} +2 -2
  4. package/dist/{Filter-c3b_NGGq.js.map → Filter-JZtNvb9I.js.map} +1 -1
  5. package/dist/{GpuStencilModesToPixi-m2FwdmOS.js → GpuStencilModesToPixi-DjmNYbcE.js} +3 -3
  6. package/dist/{GpuStencilModesToPixi-m2FwdmOS.js.map → GpuStencilModesToPixi-DjmNYbcE.js.map} +1 -1
  7. package/dist/{RenderTargetSystem-Djlsv2av.js → RenderTargetSystem-CdivfMWb.js} +3 -3
  8. package/dist/{RenderTargetSystem-Djlsv2av.js.map → RenderTargetSystem-CdivfMWb.js.map} +1 -1
  9. package/dist/{WebGLRenderer-0ORJ9PSM.js → WebGLRenderer--DDVKk8M.js} +5 -5
  10. package/dist/{WebGLRenderer-0ORJ9PSM.js.map → WebGLRenderer--DDVKk8M.js.map} +1 -1
  11. package/dist/{WebGPURenderer-IkacCxg7.js → WebGPURenderer-CxJ8_1oU.js} +6 -6
  12. package/dist/{WebGPURenderer-IkacCxg7.js.map → WebGPURenderer-CxJ8_1oU.js.map} +1 -1
  13. package/dist/{browserAll-zkM6prpX.js → browserAll-BvJ4_DAh.js} +3 -3
  14. package/dist/{browserAll-zkM6prpX.js.map → browserAll-BvJ4_DAh.js.map} +1 -1
  15. package/dist/{getTextureBatchBindGroup-DVwotFiU.js → getTextureBatchBindGroup-Bri_aoL9.js} +3 -3
  16. package/dist/{getTextureBatchBindGroup-DVwotFiU.js.map → getTextureBatchBindGroup-Bri_aoL9.js.map} +1 -1
  17. package/dist/hs-widget.es.js +1 -1
  18. package/dist/hs-widget.umd.js +2 -2
  19. package/dist/hs-widget.umd.js.map +1 -1
  20. package/dist/{index-Glf3TIbT.js → index-BAY6lVL0.js} +14 -7
  21. package/dist/{index-Glf3TIbT.js.map → index-BAY6lVL0.js.map} +1 -1
  22. package/dist/{webworkerAll-C7jo9o_4.js → webworkerAll-CAsDses9.js} +3 -3
  23. package/dist/{webworkerAll-C7jo9o_4.js.map → webworkerAll-CAsDses9.js.map} +1 -1
  24. package/package.json +1 -1
@@ -8151,7 +8151,7 @@ const pc = {
8151
8151
  },
8152
8152
  test: () => !0,
8153
8153
  load: async () => {
8154
- await import("./browserAll-zkM6prpX.js");
8154
+ await import("./browserAll-BvJ4_DAh.js");
8155
8155
  }
8156
8156
  }, mc = {
8157
8157
  extension: {
@@ -8161,7 +8161,7 @@ const pc = {
8161
8161
  },
8162
8162
  test: () => typeof self < "u" && self.WorkerGlobalScope !== void 0,
8163
8163
  load: async () => {
8164
- await import("./webworkerAll-C7jo9o_4.js");
8164
+ await import("./webworkerAll-CAsDses9.js");
8165
8165
  }
8166
8166
  };
8167
8167
  function gc(i, e, t) {
@@ -10602,17 +10602,17 @@ async function Dc(i) {
10602
10602
  for (let r = 0; r < e.length; r++) {
10603
10603
  const o = e[r];
10604
10604
  if (o === "webgpu" && await Nc()) {
10605
- const { WebGPURenderer: a } = await import("./WebGPURenderer-IkacCxg7.js");
10605
+ const { WebGPURenderer: a } = await import("./WebGPURenderer-CxJ8_1oU.js");
10606
10606
  t = a, s = { ...i, ...i.webgpu };
10607
10607
  break;
10608
10608
  } else if (o === "webgl" && Mc(
10609
10609
  i.failIfMajorPerformanceCaveat ?? Ys.defaultOptions.failIfMajorPerformanceCaveat
10610
10610
  )) {
10611
- const { WebGLRenderer: a } = await import("./WebGLRenderer-0ORJ9PSM.js");
10611
+ const { WebGLRenderer: a } = await import("./WebGLRenderer--DDVKk8M.js");
10612
10612
  t = a, s = { ...i, ...i.webgl };
10613
10613
  break;
10614
10614
  } else if (o === "canvas") {
10615
- const { CanvasRenderer: a } = await import("./CanvasRenderer-BbLcmUrB.js");
10615
+ const { CanvasRenderer: a } = await import("./CanvasRenderer-r6DnTuXG.js");
10616
10616
  t = a, s = { ...i, ...i.canvasOptions };
10617
10617
  break;
10618
10618
  }
@@ -18334,6 +18334,10 @@ class ef {
18334
18334
  // -----------------------------------------------------------------------
18335
18335
  // Response handlers
18336
18336
  // -----------------------------------------------------------------------
18337
+ /** Public method for programmatic acceptance (used in eval mode). */
18338
+ accept() {
18339
+ this.handleAccept();
18340
+ }
18337
18341
  handleAccept() {
18338
18342
  var n;
18339
18343
  if (!this._active || !this.currentIntervention) return;
@@ -19901,7 +19905,10 @@ All actions except form filling require the visitor to confirm before executing.
19901
19905
  inlineTarget: ((e = this.stage) == null ? void 0 : e.inlineTarget) ?? null,
19902
19906
  pill: this.chatPill
19903
19907
  }), this.actionExecutor.onInterventionShown = (t, s) => {
19904
- this.updateEvalState({ interventionFired: !0, skillId: t, openingMessage: s });
19908
+ this.updateEvalState({ interventionFired: !0, skillId: t, openingMessage: s }), this.evalMode && (window.__HS_EVAL_ACCEPT__ = () => {
19909
+ var n;
19910
+ (n = this.actionExecutor) == null || n.accept();
19911
+ });
19905
19912
  }, this.actionExecutor.onAccept = (t) => {
19906
19913
  console.log("[HolostaffWidget] Suggestion accepted — starting conversation with vision context"), this.visionContext = t, this.onAvatarClick();
19907
19914
  });
@@ -20140,4 +20147,4 @@ export {
20140
20147
  st as y,
20141
20148
  Gr as z
20142
20149
  };
20143
- //# sourceMappingURL=index-Glf3TIbT.js.map
20150
+ //# sourceMappingURL=index-BAY6lVL0.js.map