@blueking/ai-blueking 0.4.2 → 0.4.3

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.
@@ -50,5 +50,6 @@ export type IDocument = {
50
50
  metadata: {
51
51
  file_path: string;
52
52
  path: string;
53
+ preview_path?: string;
53
54
  };
54
55
  };
@@ -21251,6 +21251,9 @@ const Z8 = (e, t, n) => {
21251
21251
  }
21252
21252
  }
21253
21253
  return n && (r = r.replace("思考中...", `已完成思考 (耗时:${Ph(n)})`)), r;
21254
+ }, eE = (e) => {
21255
+ const t = e === "正在思考...", n = e.match(/<section class="think-body">([\s\S]*?)<\/section>/), r = n && n[1].trim() === "";
21256
+ return t || r;
21254
21257
  };
21255
21258
  class V8 {
21256
21259
  constructor() {
@@ -21312,7 +21315,7 @@ class V8 {
21312
21315
  this.styleEle && (this.styleEle.remove(), this.styleEle = null);
21313
21316
  }
21314
21317
  }
21315
- class eE {
21318
+ class tE {
21316
21319
  constructor(t, n, r, o, i, l) {
21317
21320
  Gt(this, "controllerMap");
21318
21321
  Gt(this, "handleEnd");
@@ -21402,7 +21405,7 @@ class eE {
21402
21405
  IT({
21403
21406
  prefix: "ai-blueking"
21404
21407
  });
21405
- const tE = {
21408
+ const nE = {
21406
21409
  name: "AiBlueking",
21407
21410
  render(e) {
21408
21411
  return e("div", {
@@ -21605,8 +21608,9 @@ const tE = {
21605
21608
  }
21606
21609
  };
21607
21610
  export {
21608
- eE as ChatHelper,
21611
+ tE as ChatHelper,
21609
21612
  fl as MessageStatus,
21610
21613
  xm as RoleType,
21611
- tE as default
21614
+ nE as default,
21615
+ eE as isThinking
21612
21616
  };