@syntrologie/adapt-chatbot 2.8.0-canary.304 → 2.8.0-canary.306

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AdaptiveChatBar
3
3
  } from "./chunk-SCVTTLFJ.js";
4
- import "./chunk-TIHH27JQ.js";
5
- import "./chunk-ZZUKH2D6.js";
4
+ import "./chunk-BNN5YLN3.js";
5
+ import "./chunk-ONGGPQER.js";
6
6
  import "./chunk-UVKRO5ER.js";
7
7
  export {
8
8
  AdaptiveChatBar
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AdaptiveChatTrail
3
- } from "./chunk-TIHH27JQ.js";
4
- import "./chunk-ZZUKH2D6.js";
3
+ } from "./chunk-BNN5YLN3.js";
4
+ import "./chunk-ONGGPQER.js";
5
5
  import "./chunk-UVKRO5ER.js";
6
6
  export {
7
7
  AdaptiveChatTrail
@@ -2,7 +2,7 @@ import {
2
2
  ChatAssistantLitMountable,
3
3
  renderFallbackHtml
4
4
  } from "./chunk-2ZUJ7DZI.js";
5
- import "./chunk-ZZUKH2D6.js";
5
+ import "./chunk-ONGGPQER.js";
6
6
  import "./chunk-VLJ3WOEX.js";
7
7
  import "./chunk-UVKRO5ER.js";
8
8
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderMarkdown
3
- } from "./chunk-ZZUKH2D6.js";
3
+ } from "./chunk-ONGGPQER.js";
4
4
 
5
5
  // src/AdaptiveChatTrail.ts
6
6
  import { html, LitElement, nothing } from "lit";
@@ -414,4 +414,4 @@ if (!customElements.get("adaptive-chat-trail")) {
414
414
  export {
415
415
  AdaptiveChatTrail
416
416
  };
417
- //# sourceMappingURL=chunk-TIHH27JQ.js.map
417
+ //# sourceMappingURL=chunk-BNN5YLN3.js.map
@@ -3364,6 +3364,16 @@ var SyntroChat = class extends LitElement {
3364
3364
  this._userScrolledUp = false;
3365
3365
  this._errorMessage = null;
3366
3366
  }
3367
+ /**
3368
+ * Externally drive the typing indicator. Used by the surface's
3369
+ * run-state restore (BUG-1781288061): a remounted thread whose durable
3370
+ * producer run is still in flight shows the indicator and polls — the
3371
+ * transport's own 'typing' events only exist while the SSE stream lives.
3372
+ */
3373
+ setTyping(isTyping) {
3374
+ this._isTyping = isTyping;
3375
+ if (isTyping) this._scrollToBottom();
3376
+ }
3367
3377
  createRenderRoot() {
3368
3378
  return this;
3369
3379
  }
@@ -3709,4 +3719,4 @@ export {
3709
3719
  dompurify/dist/purify.es.mjs:
3710
3720
  (*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE *)
3711
3721
  */
3712
- //# sourceMappingURL=chunk-ZZUKH2D6.js.map
3722
+ //# sourceMappingURL=chunk-ONGGPQER.js.map