@blueking/ai-blueking 0.3.10 → 0.3.12

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,6 +1,6 @@
1
1
  type HandleStart = (id: number | string) => unknown;
2
2
  type HandleReceiveMessage = (message: string, id: number | string) => void;
3
- type HandleEnd = (id: number | string) => void;
3
+ type HandleEnd = (id: number | string, message?: string) => void;
4
4
  type HandleError = (message: string, code: number | string, id: number | string) => unknown;
5
5
  export declare class ChatHelper {
6
6
  controllerMap: Record<number | string, AbortController>;
@@ -19797,8 +19797,8 @@ const OE = /* @__PURE__ */ Ft({
19797
19797
  class: "time-message ai"
19798
19798
  }, QE = {
19799
19799
  key: 2,
19800
- width: "18",
19801
- height: "18",
19800
+ width: "16",
19801
+ height: "16",
19802
19802
  class: "loading-message",
19803
19803
  "aria-hidden": "true"
19804
19804
  }, RE = /* @__PURE__ */ ke(
@@ -20932,7 +20932,7 @@ class E_ {
20932
20932
  this.handleReceiveMessage(d, n);
20933
20933
  break;
20934
20934
  case "done":
20935
- this.handleEnd(n);
20935
+ this.handleEnd(n, d);
20936
20936
  break;
20937
20937
  case "error":
20938
20938
  this.handleError(b, p, n);