@inupedia/spotlight-vue 0.5.10 → 0.5.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,116 +1,115 @@
1
- import { defineComponent as Jt, ref as H, onMounted as Ut, nextTick as bt, onBeforeUnmount as Wt, computed as y, watch as ft, openBlock as r, createElementBlock as o, normalizeClass as A, createElementVNode as s, toDisplayString as a, createCommentVNode as c, createVNode as j, Fragment as h, renderList as f, unref as N, normalizeStyle as pt } from "vue";
1
+ import { defineComponent as qt, ref as O, onMounted as Ut, nextTick as bt, onBeforeUnmount as Jt, computed as y, watch as ft, openBlock as r, createElementBlock as o, normalizeClass as A, createElementVNode as s, toDisplayString as a, createCommentVNode as c, createVNode as L, Fragment as h, renderList as f, unref as j, normalizeStyle as pt } from "vue";
2
2
  import { MdPreview as yt } from "md-editor-v3";
3
3
  import "md-editor-v3/lib/preview.css";
4
4
  import vt from "./SpotlightMarkdownPreview.vue.js";
5
- import { isToolExecutionStep as _t, splitToolStepContent as wt, sanitizeToolStepAnswerText as Tt, humanizeSpotlightStepContent as Gt, getIntentStepDisplayContent as Qt } from "../store/pipeline/displayText.js";
6
- import { partitionToolCalls as St } from "../store/pipeline/toolDisplay.js";
5
+ import { isToolExecutionStep as _t, splitToolStepContent as wt, sanitizeToolStepAnswerText as Tt, humanizeSpotlightStepContent as Wt, getIntentStepDisplayContent as Gt } from "../store/pipeline/displayText.js";
6
+ import { partitionToolCalls as St, isUserFacingKnowledgeTool as Qt } from "../store/pipeline/toolDisplay.js";
7
7
  import { getSpotlightMemoryResultCopy as Xt } from "../store/memoryResultCopy.js";
8
- import { TOOL_NAMES as Yt } from "../constants/toolNames.js";
9
- const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-stack" }, ee = { class: "thinking-bar-title" }, ne = {
8
+ const Yt = { class: "thinking-bar-header" }, Zt = { class: "thinking-bar-title-stack" }, te = { class: "thinking-bar-title" }, ee = {
10
9
  key: 0,
11
10
  class: "thinking-bar-memory-badge"
12
- }, ie = {
11
+ }, ne = {
13
12
  key: 0,
14
13
  class: "thinking-bar-metrics",
15
14
  "aria-label": "执行状态概览"
16
- }, se = { class: "thinking-bar-metric" }, re = { class: "thinking-bar-metric" }, oe = { class: "thinking-bar-metric" }, le = {
15
+ }, ie = { class: "thinking-bar-metric" }, se = { class: "thinking-bar-metric" }, re = { class: "thinking-bar-metric" }, oe = {
17
16
  key: 0,
18
17
  class: "thinking-bar-memory-result",
19
18
  "aria-label": "项目记忆回答"
20
- }, ae = { class: "thinking-bar-memory-result-intro" }, ce = { class: "thinking-bar-memory-result-copy" }, ue = { class: "thinking-bar-memory-result-answer" }, de = { class: "thinking-bar-step-text thinking-bar-step-markdown thinking-bar-step-answer" }, he = { class: "thinking-bar-memory-result-footer" }, ge = { class: "thinking-bar-step-inner" }, ke = { class: "thinking-bar-step-column" }, me = { class: "thinking-bar-step-label" }, be = ["onScrollPassive"], fe = {
19
+ }, le = { class: "thinking-bar-memory-result-intro" }, ae = { class: "thinking-bar-memory-result-copy" }, ce = { class: "thinking-bar-memory-result-answer" }, ue = { class: "thinking-bar-step-text thinking-bar-step-markdown thinking-bar-step-answer" }, de = { class: "thinking-bar-memory-result-footer" }, he = { class: "thinking-bar-step-inner" }, ge = { class: "thinking-bar-step-column" }, ke = { class: "thinking-bar-step-label" }, me = ["onScrollPassive"], be = {
21
20
  key: 0,
22
21
  class: "thinking-bar-tool-step-flow"
23
- }, pe = {
22
+ }, fe = {
24
23
  key: 0,
25
24
  class: "thinking-bar-execution-details"
26
- }, ye = { class: "thinking-bar-execution-details-summary" }, ve = { class: "thinking-bar-execution-details-meta" }, _e = { class: "thinking-bar-execution-details-body" }, we = {
25
+ }, pe = { class: "thinking-bar-execution-details-summary" }, ye = { class: "thinking-bar-execution-details-meta" }, ve = { class: "thinking-bar-execution-details-body" }, _e = {
27
26
  key: 0,
28
27
  class: "thinking-bar-execution-planning"
29
- }, Te = ["open"], Se = { class: "thinking-bar-tool-call-head" }, $e = { class: "thinking-bar-tool-call-head-main" }, xe = { class: "thinking-bar-tool-call-name" }, Re = {
28
+ }, we = ["open"], Te = { class: "thinking-bar-tool-call-head" }, Se = { class: "thinking-bar-tool-call-head-main" }, $e = { class: "thinking-bar-tool-call-name" }, xe = {
30
29
  key: 0,
31
30
  class: "thinking-bar-tool-call-id"
32
- }, Ae = { class: "thinking-bar-tool-call-head-side" }, Ce = { class: "thinking-bar-tool-call-body" }, Be = {
31
+ }, Re = { class: "thinking-bar-tool-call-head-side" }, Ae = { class: "thinking-bar-tool-call-body" }, Ce = {
33
32
  key: 0,
34
33
  class: "thinking-bar-tool-call-block"
35
- }, De = { class: "thinking-bar-tool-call-pre" }, Fe = {
34
+ }, Be = { class: "thinking-bar-tool-call-pre" }, Fe = {
36
35
  key: 1,
37
36
  class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--result"
38
- }, Ee = { class: "thinking-bar-tool-call-pre" }, Me = {
37
+ }, De = { class: "thinking-bar-tool-call-pre" }, Ee = {
39
38
  key: 2,
40
39
  class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--result"
41
- }, ze = {
40
+ }, Me = {
42
41
  key: 0,
43
42
  class: "thinking-bar-tool-result-image-shell"
44
- }, Oe = ["src", "alt"], He = ["srcdoc", "title"], Ne = {
43
+ }, ze = ["src", "alt"], He = ["srcdoc", "title"], Oe = {
45
44
  key: 2,
46
45
  class: "thinking-bar-tool-result-table-wrap"
47
- }, Le = { class: "thinking-bar-tool-result-table" }, je = {
46
+ }, je = { class: "thinking-bar-tool-result-table" }, Ne = {
48
47
  key: 3,
49
48
  class: "thinking-bar-tool-call-pre"
50
- }, Pe = {
49
+ }, Le = {
51
50
  key: 3,
52
51
  class: "thinking-bar-tool-call-block"
53
- }, Ie = { class: "thinking-bar-tool-call-pre" }, Ve = {
52
+ }, Pe = { class: "thinking-bar-tool-call-pre" }, Ie = {
54
53
  key: 4,
55
54
  class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--error"
56
- }, qe = { class: "thinking-bar-tool-call-pre" }, Ke = {
55
+ }, Ke = { class: "thinking-bar-tool-call-pre" }, Ve = {
57
56
  key: 5,
58
57
  class: "thinking-bar-nested-tools"
59
- }, Je = { class: "thinking-bar-tool-call-head" }, Ue = { class: "thinking-bar-tool-call-head-main" }, We = { class: "thinking-bar-tool-call-name" }, Ge = { class: "thinking-bar-tool-call-head-side" }, Qe = { class: "thinking-bar-tool-call-body" }, Xe = {
58
+ }, qe = { class: "thinking-bar-tool-call-head" }, Ue = { class: "thinking-bar-tool-call-head-main" }, Je = { class: "thinking-bar-tool-call-name" }, We = { class: "thinking-bar-tool-call-head-side" }, Ge = { class: "thinking-bar-tool-call-body" }, Qe = {
60
59
  key: 0,
61
60
  class: "thinking-bar-tool-call-block"
62
- }, Ye = { class: "thinking-bar-tool-call-pre" }, Ze = {
61
+ }, Xe = { class: "thinking-bar-tool-call-pre" }, Ye = {
63
62
  key: 1,
64
63
  class: "thinking-bar-tool-call-block"
65
- }, tn = { class: "thinking-bar-tool-call-pre" }, en = {
64
+ }, Ze = { class: "thinking-bar-tool-call-pre" }, tn = {
66
65
  key: 1,
67
66
  class: "thinking-bar-step-answer-section"
68
- }, nn = { class: "thinking-bar-step-text thinking-bar-step-markdown thinking-bar-step-answer" }, sn = {
67
+ }, en = { class: "thinking-bar-step-text thinking-bar-step-markdown thinking-bar-step-answer" }, nn = {
69
68
  key: 0,
70
69
  class: "thinking-bar-chat-items"
71
- }, rn = {
70
+ }, sn = {
72
71
  key: 0,
73
72
  class: "thinking-bar-step-text thinking-bar-step-markdown"
74
- }, on = ["open"], ln = { class: "thinking-bar-tool-call-head" }, an = { class: "thinking-bar-tool-call-head-main" }, cn = { class: "thinking-bar-tool-call-name" }, un = { class: "thinking-bar-tool-call-head-side" }, dn = { class: "thinking-bar-tool-call-body" }, hn = {
73
+ }, rn = ["open"], on = { class: "thinking-bar-tool-call-head" }, ln = { class: "thinking-bar-tool-call-head-main" }, an = { class: "thinking-bar-tool-call-name" }, cn = { class: "thinking-bar-tool-call-head-side" }, un = { class: "thinking-bar-tool-call-body" }, dn = {
75
74
  key: 0,
76
75
  class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--result"
77
- }, gn = {
76
+ }, hn = {
78
77
  key: 0,
79
78
  class: "thinking-bar-tool-result-image-shell"
80
- }, kn = ["src", "alt"], mn = ["srcdoc", "title"], bn = {
79
+ }, gn = ["src", "alt"], kn = ["srcdoc", "title"], mn = {
81
80
  key: 2,
82
81
  class: "thinking-bar-tool-result-table-wrap"
83
- }, fn = { class: "thinking-bar-tool-result-table" }, pn = {
82
+ }, bn = { class: "thinking-bar-tool-result-table" }, fn = {
84
83
  key: 3,
85
84
  class: "thinking-bar-tool-call-pre"
86
- }, yn = {
85
+ }, pn = {
87
86
  key: 1,
88
87
  class: "thinking-bar-step-text thinking-bar-step-markdown"
89
- }, vn = {
88
+ }, yn = {
90
89
  key: 2,
91
90
  class: "thinking-bar-attachments"
92
- }, _n = ["href"], wn = ["src", "alt"], Tn = { class: "thinking-bar-attachment-meta" }, Sn = { class: "thinking-bar-attachment-name" }, $n = { class: "thinking-bar-attachment-type" }, xn = {
91
+ }, vn = ["href"], _n = ["src", "alt"], wn = { class: "thinking-bar-attachment-meta" }, Tn = { class: "thinking-bar-attachment-name" }, Sn = { class: "thinking-bar-attachment-type" }, $n = {
93
92
  key: 3,
94
93
  class: "thinking-bar-workspace"
95
- }, Rn = { class: "thinking-bar-workspace-shell" }, An = { class: "thinking-bar-file-tree-pane" }, Cn = { class: "thinking-bar-file-tree-body" }, Bn = {
94
+ }, xn = { class: "thinking-bar-workspace-shell" }, Rn = { class: "thinking-bar-file-tree-pane" }, An = { class: "thinking-bar-file-tree-body" }, Cn = {
96
95
  key: 0,
97
96
  class: "thinking-bar-tree-node"
98
- }, Dn = ["onClick"], Fn = { class: "thinking-bar-tree-caret" }, En = { class: "thinking-bar-tree-label" }, Mn = ["onClick"], zn = { class: "thinking-bar-tree-icon" }, On = { class: "thinking-bar-tree-label" }, Hn = { class: "thinking-bar-file-preview" }, Nn = { class: "thinking-bar-file-preview-head" }, Ln = { class: "thinking-bar-file-preview-title" }, jn = { class: "thinking-bar-tree-icon" }, Pn = {
97
+ }, Bn = ["onClick"], Fn = { class: "thinking-bar-tree-caret" }, Dn = { class: "thinking-bar-tree-label" }, En = ["onClick"], Mn = { class: "thinking-bar-tree-icon" }, zn = { class: "thinking-bar-tree-label" }, Hn = { class: "thinking-bar-file-preview" }, On = { class: "thinking-bar-file-preview-head" }, jn = { class: "thinking-bar-file-preview-title" }, Nn = { class: "thinking-bar-tree-icon" }, Ln = {
99
98
  key: 0,
100
99
  class: "thinking-bar-preview-chip"
101
- }, In = {
100
+ }, Pn = {
102
101
  key: 0,
103
102
  class: "thinking-bar-image-shell"
104
- }, Vn = ["src", "alt"], qn = {
103
+ }, In = ["src", "alt"], Kn = {
105
104
  key: 1,
106
105
  class: "thinking-bar-empty-preview"
107
- }, Kn = ["srcdoc", "title"], Jn = {
106
+ }, Vn = ["srcdoc", "title"], qn = {
108
107
  key: 2,
109
108
  class: "thinking-bar-file-preview-body"
110
109
  }, Un = {
111
110
  key: 1,
112
111
  class: "thinking-bar-empty-preview"
113
- }, ni = /* @__PURE__ */ Jt({
112
+ }, ti = /* @__PURE__ */ qt({
114
113
  __name: "SpotlightThinking",
115
114
  props: {
116
115
  steps: {},
@@ -121,8 +120,8 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
121
120
  },
122
121
  emits: ["close", "force-refresh"],
123
122
  setup(v) {
124
- const X = H(!1), P = H(null), w = H({}), S = /* @__PURE__ */ new Map();
125
- let D = null, $ = null;
123
+ const X = O(!1), P = O(null), w = O({}), S = /* @__PURE__ */ new Map();
124
+ let F = null, $ = null;
126
125
  function I(e) {
127
126
  W(e), requestAnimationFrame(() => {
128
127
  W(e);
@@ -139,10 +138,10 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
139
138
  }
140
139
  function xt(e, t) {
141
140
  const i = t.target;
142
- D != null && window.clearTimeout(D), w.value = {
141
+ F != null && window.clearTimeout(F), w.value = {
143
142
  ...w.value,
144
143
  [e]: Y(i)
145
- }, D = window.setTimeout(() => {
144
+ }, F = window.setTimeout(() => {
146
145
  w.value = {
147
146
  ...w.value,
148
147
  [e]: Y(i)
@@ -170,8 +169,8 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
170
169
  }), requestAnimationFrame(() => {
171
170
  I(!0);
172
171
  });
173
- }), Wt(() => {
174
- D != null && window.clearTimeout(D), $?.disconnect(), $ = null, S.clear();
172
+ }), Jt(() => {
173
+ F != null && window.clearTimeout(F), $?.disconnect(), $ = null, S.clear();
175
174
  });
176
175
  const d = v, At = y(() => C.value ? "项目记忆已回答" : d.steps.length > 0 && d.steps.every((t) => t.status === "done" || t.status === "error") ? "执行完成" : "思考中"), tt = y(() => d.memoryDecision ? {
177
176
  reuse: "已复用项目记忆",
@@ -190,10 +189,10 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
190
189
  )
191
190
  ), Bt = y(() => {
192
191
  const e = d.steps.find((t) => _t(t.id));
193
- return e && (q(e).trim() || e.content?.trim()) || "项目记忆中没有可展示的回答。";
192
+ return e && (V(e).trim() || e.content?.trim()) || "项目记忆中没有可展示的回答。";
194
193
  }), et = y(
195
194
  () => Xt(d.memoryReplay?.source)
196
- ), Dt = y(() => et.value.heading), Ft = y(
195
+ ), Ft = y(() => et.value.heading), Dt = y(
197
196
  () => et.value.description
198
197
  ), Et = y(
199
198
  () => d.steps.filter((e) => e.status === "active").length
@@ -203,13 +202,13 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
203
202
  function zt(e) {
204
203
  return e.name.trim().toLowerCase();
205
204
  }
206
- function L(e) {
205
+ function N(e) {
207
206
  return e.displayName?.trim() || e.name;
208
207
  }
209
- function V(e) {
208
+ function K(e) {
210
209
  return wt(e.content ?? "").planning;
211
210
  }
212
- function q(e) {
211
+ function V(e) {
213
212
  const { planning: t } = wt(e.content ?? ""), i = nt(
214
213
  Tt(e.content ?? "")
215
214
  );
@@ -226,23 +225,20 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
226
225
  (t) => t.type === "tool"
227
226
  ).map((t) => t.toolCall);
228
227
  }
229
- function K(e) {
228
+ function q(e) {
230
229
  return St(it(e)).visible;
231
230
  }
232
231
  function st(e) {
233
232
  return St(it(e)).nestedKnowledge;
234
233
  }
235
- function Ot(e) {
236
- return Ht(e.name) === Yt.knowledge.answer;
237
- }
238
234
  function Ht(e) {
239
- return e.trim().toLowerCase();
235
+ return Qt(e.name);
240
236
  }
241
- function Nt(e) {
242
- return !!(V(e).trim() || K(e).length > 0);
237
+ function Ot(e) {
238
+ return !!(K(e).trim() || q(e).length > 0);
243
239
  }
244
- function Lt(e) {
245
- const t = K(e).length;
240
+ function jt(e) {
241
+ const t = q(e).length;
246
242
  return t > 0 ? `${t} 个工具调用` : "规划记录";
247
243
  }
248
244
  function rt(e) {
@@ -266,7 +262,7 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
266
262
  function lt(e) {
267
263
  return e.status === "running" || e.status === "pending";
268
264
  }
269
- function J(e) {
265
+ function U(e) {
270
266
  if (!e) return null;
271
267
  try {
272
268
  return JSON.parse(e);
@@ -278,32 +274,32 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
278
274
  const t = zt(e), i = e.resultText?.trim() || "";
279
275
  if (!i) return "";
280
276
  if (t === "list_kbs") {
281
- const n = J(i);
277
+ const n = U(i);
282
278
  return Array.isArray(n) && n.length === 0 ? "当前没有可访问的知识库" : i;
283
279
  }
284
280
  if (t === "list_directory" || t === "ls") {
285
- const n = J(i);
281
+ const n = U(i);
286
282
  return Array.isArray(n) && n.length === 0 ? "" : i;
287
283
  }
288
284
  return i;
289
285
  }
290
- function U(e) {
286
+ function J(e) {
291
287
  const t = e.resultText?.trim() || "";
292
- return t ? J(t) ?? t : null;
288
+ return t ? U(t) ?? t : null;
293
289
  }
294
- function F(e) {
290
+ function D(e) {
295
291
  return typeof e == "object" && e !== null && !Array.isArray(e);
296
292
  }
297
293
  function at(e) {
298
294
  return /<(table|html|body|svg|div|span|img|p|iframe)[\s>]/i.test(e);
299
295
  }
300
296
  function E(e) {
301
- const t = U(e);
297
+ const t = J(e);
302
298
  if (typeof t == "string") {
303
299
  const i = t.trim();
304
300
  return /^data:image\//i.test(i) || /\.(png|jpe?g|gif|webp|svg)(\?.*)?$/i.test(i) ? i : null;
305
301
  }
306
- if (F(t)) {
302
+ if (D(t)) {
307
303
  const i = [t.url, t.uri, t.path].find(
308
304
  (n) => typeof n == "string" && /^data:image\//i.test(n)
309
305
  );
@@ -312,10 +308,10 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
312
308
  return null;
313
309
  }
314
310
  function M(e) {
315
- const t = U(e);
311
+ const t = J(e);
316
312
  if (typeof t == "string" && at(t.trim()))
317
313
  return t;
318
- if (F(t)) {
314
+ if (D(t)) {
319
315
  const i = [t.html, t.content, t.markup].find(
320
316
  (n) => typeof n == "string" && at(n)
321
317
  );
@@ -324,10 +320,10 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
324
320
  return null;
325
321
  }
326
322
  function ct(e) {
327
- return !Array.isArray(e) || e.length === 0 || !e.every((t) => F(t)) ? null : e;
323
+ return !Array.isArray(e) || e.length === 0 || !e.every((t) => D(t)) ? null : e;
328
324
  }
329
325
  function _(e) {
330
- const t = U(e);
326
+ const t = J(e);
331
327
  if (Array.isArray(t) && t.length > 0 && t.every((n) => typeof n == "string"))
332
328
  return {
333
329
  columns: ["value"],
@@ -338,10 +334,10 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
338
334
  const n = [...new Set(i.flatMap((l) => Object.keys(l)))];
339
335
  return n.length > 0 ? { columns: n, rows: i } : null;
340
336
  }
341
- if (!F(t)) return null;
337
+ if (!D(t)) return null;
342
338
  if (Array.isArray(t.columns) && Array.isArray(t.rows) && t.columns.every((n) => typeof n == "string")) {
343
339
  const n = t.columns, l = t.rows.map(
344
- (u) => F(u) ? u : Array.isArray(u) ? Object.fromEntries(
340
+ (u) => D(u) ? u : Array.isArray(u) ? Object.fromEntries(
345
341
  n.map((b, p) => [b, u[p]])
346
342
  ) : { value: u }
347
343
  );
@@ -418,7 +414,7 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
418
414
  },
419
415
  { deep: !0 }
420
416
  );
421
- const z = H({}), B = H({});
417
+ const z = O({}), B = O({});
422
418
  ft(
423
419
  () => d.steps,
424
420
  (e) => {
@@ -427,7 +423,7 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
427
423
  if (n.files?.length && !t[n.id] && (t[n.id] = n.files[0].id), !n.files?.length && t[n.id] && delete t[n.id], n.files?.length) {
428
424
  const l = new Set(i[n.id] || []);
429
425
  for (const u of n.files)
430
- It(u.path).forEach(
426
+ Pt(u.path).forEach(
431
427
  (b) => l.add(b)
432
428
  );
433
429
  i[n.id] = [...l];
@@ -438,20 +434,20 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
438
434
  },
439
435
  { deep: !0, immediate: !0 }
440
436
  );
441
- function jt(e, t) {
437
+ function Nt(e, t) {
442
438
  z.value = {
443
439
  ...z.value,
444
440
  [e]: t
445
441
  };
446
442
  }
447
- function Pt(e, t) {
448
- t && jt(e, t.id);
443
+ function Lt(e, t) {
444
+ t && Nt(e, t.id);
449
445
  }
450
446
  function k(e) {
451
447
  const t = z.value[e.id];
452
448
  return e.files?.find((i) => i.id === t) ?? e.files?.[0] ?? null;
453
449
  }
454
- function It(e) {
450
+ function Pt(e) {
455
451
  const t = e.split("/").filter(Boolean), i = [];
456
452
  let n = "";
457
453
  return t.slice(0, -1).forEach((l) => {
@@ -461,14 +457,14 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
461
457
  function ht(e, t) {
462
458
  return (B.value[e] || []).includes(t);
463
459
  }
464
- function Vt(e, t) {
460
+ function It(e, t) {
465
461
  const i = new Set(B.value[e] || []);
466
462
  i.has(t) ? i.delete(t) : i.add(t), B.value = {
467
463
  ...B.value,
468
464
  [e]: [...i]
469
465
  };
470
466
  }
471
- function qt(e, t) {
467
+ function Kt(e, t) {
472
468
  const i = /* @__PURE__ */ new Map(), n = (p, R, T) => (i.has(p) || i.set(p, {
473
469
  path: p,
474
470
  name: R,
@@ -478,12 +474,12 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
478
474
  }), i.get(p)), l = n("", "root", -1);
479
475
  for (const p of t) {
480
476
  const R = p.path.split("/").filter(Boolean);
481
- let T = "", O = l;
477
+ let T = "", H = l;
482
478
  R.slice(0, -1).forEach((m, g) => {
483
479
  T += `/${m}`;
484
- const Kt = n(T, m, g);
485
- O.directoryChildren.includes(T) || O.directoryChildren.push(T), O = Kt;
486
- }), O.files.push(p);
480
+ const Vt = n(T, m, g);
481
+ H.directoryChildren.includes(T) || H.directoryChildren.push(T), H = Vt;
482
+ }), H.files.push(p);
487
483
  }
488
484
  const u = [], b = (p) => {
489
485
  const R = i.get(p);
@@ -549,11 +545,11 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
549
545
  class: "thinking-bar-grid",
550
546
  "aria-hidden": "true"
551
547
  }, null, -1)),
552
- s("div", Zt, [
553
- s("div", te, [
548
+ s("div", Yt, [
549
+ s("div", Zt, [
554
550
  t[3] || (t[3] = s("span", { class: "thinking-bar-kicker" }, "Spotlight", -1)),
555
- s("span", ee, a(At.value), 1),
556
- tt.value && !C.value ? (r(), o("span", ne, a(tt.value), 1)) : c("", !0),
551
+ s("span", te, a(At.value), 1),
552
+ tt.value && !C.value ? (r(), o("span", ee, a(tt.value), 1)) : c("", !0),
557
553
  v.memoryDecision?.canForceRefresh && !C.value ? (r(), o("button", {
558
554
  key: 1,
559
555
  type: "button",
@@ -561,16 +557,16 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
561
557
  onClick: t[0] || (t[0] = (i) => e.$emit("force-refresh"))
562
558
  }, " 重新查询 ")) : c("", !0)
563
559
  ]),
564
- C.value ? c("", !0) : (r(), o("div", ie, [
565
- s("span", se, [
560
+ C.value ? c("", !0) : (r(), o("div", ne, [
561
+ s("span", ie, [
566
562
  s("strong", null, a(v.steps.length), 1),
567
563
  t[4] || (t[4] = s("em", null, "阶段", -1))
568
564
  ]),
569
- s("span", re, [
565
+ s("span", se, [
570
566
  s("strong", null, a(Et.value), 1),
571
567
  t[5] || (t[5] = s("em", null, "运行", -1))
572
568
  ]),
573
- s("span", oe, [
569
+ s("span", re, [
574
570
  s("strong", null, a(Mt.value), 1),
575
571
  t[6] || (t[6] = s("em", null, "完成", -1))
576
572
  ])
@@ -582,28 +578,28 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
582
578
  onClick: t[1] || (t[1] = (i) => e.$emit("close"))
583
579
  }, " × ")
584
580
  ]),
585
- C.value ? (r(), o("main", le, [
586
- s("div", ae, [
581
+ C.value ? (r(), o("main", oe, [
582
+ s("div", le, [
587
583
  t[8] || (t[8] = s("span", {
588
584
  class: "thinking-bar-memory-result-icon",
589
585
  "aria-hidden": "true"
590
586
  }, "✓", -1)),
591
- s("div", ce, [
587
+ s("div", ae, [
592
588
  t[7] || (t[7] = s("span", { class: "thinking-bar-memory-result-eyebrow" }, "来自项目记忆", -1)),
593
- s("strong", null, a(Dt.value), 1),
594
- s("p", null, a(Ft.value), 1)
589
+ s("strong", null, a(Ft.value), 1),
590
+ s("p", null, a(Dt.value), 1)
595
591
  ])
596
592
  ]),
597
- s("section", ue, [
593
+ s("section", ce, [
598
594
  t[9] || (t[9] = s("div", { class: "thinking-bar-memory-result-answer-label" }, "回答", -1)),
599
- s("div", de, [
600
- j(vt, {
595
+ s("div", ue, [
596
+ L(vt, {
601
597
  "model-value": Bt.value,
602
598
  "format-knowledge": ""
603
599
  }, null, 8, ["model-value"])
604
600
  ])
605
601
  ]),
606
- s("footer", he, [
602
+ s("footer", de, [
607
603
  t[10] || (t[10] = s("span", null, "本次直接复用已验证答案,未重新查询数据源。", -1)),
608
604
  v.memoryDecision?.canForceRefresh ? (r(), o("button", {
609
605
  key: 0,
@@ -622,70 +618,70 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
622
618
  key: i.id,
623
619
  class: A(["thinking-bar-step", [i.status]])
624
620
  }, [
625
- s("div", ge, [
621
+ s("div", he, [
626
622
  s("span", {
627
623
  class: A(["thinking-bar-step-status", `is-${i.status}`]),
628
624
  "aria-hidden": "true"
629
625
  }, null, 2),
630
- s("div", ke, [
631
- s("span", me, a(i.label), 1),
626
+ s("div", ge, [
627
+ s("span", ke, a(i.label), 1),
632
628
  s("div", {
633
629
  ref_for: !0,
634
630
  ref: (n) => $t(i.id, n),
635
631
  class: "thinking-bar-step-body",
636
632
  onScrollPassive: (n) => xt(i.id, n)
637
633
  }, [
638
- N(_t)(i.id) ? (r(), o("div", fe, [
639
- Nt(i) ? (r(), o("details", pe, [
640
- s("summary", ye, [
634
+ j(_t)(i.id) ? (r(), o("div", be, [
635
+ Ot(i) ? (r(), o("details", fe, [
636
+ s("summary", pe, [
641
637
  t[11] || (t[11] = s("span", { class: "thinking-bar-execution-details-title" }, "调用工具", -1)),
642
- s("span", ve, a(Lt(i)), 1),
638
+ s("span", ye, a(jt(i)), 1),
643
639
  t[12] || (t[12] = s("span", { class: "thinking-bar-execution-details-caret" }, "▾", -1))
644
640
  ]),
645
- s("div", _e, [
646
- V(i) ? (r(), o("pre", we, a(V(i)), 1)) : c("", !0),
647
- (r(!0), o(h, null, f(K(i), (n) => (r(), o("details", {
641
+ s("div", ve, [
642
+ K(i) ? (r(), o("pre", _e, a(K(i)), 1)) : c("", !0),
643
+ (r(!0), o(h, null, f(q(i), (n) => (r(), o("details", {
648
644
  key: n.id,
649
645
  class: "thinking-bar-tool-call",
650
646
  open: lt(n)
651
647
  }, [
652
- s("summary", Se, [
653
- s("div", $e, [
654
- s("span", xe, a(L(n)), 1),
655
- n.name !== L(n) ? (r(), o("span", Re, a(n.name), 1)) : c("", !0)
648
+ s("summary", Te, [
649
+ s("div", Se, [
650
+ s("span", $e, a(N(n)), 1),
651
+ n.name !== N(n) ? (r(), o("span", xe, a(n.name), 1)) : c("", !0)
656
652
  ]),
657
- s("div", Ae, [
653
+ s("div", Re, [
658
654
  s("span", {
659
655
  class: A(["thinking-bar-tool-call-status", `is-${n.status}`])
660
656
  }, a(rt(n.status)), 3),
661
657
  t[13] || (t[13] = s("span", { class: "thinking-bar-tool-call-caret" }, "▾", -1))
662
658
  ])
663
659
  ]),
664
- s("div", Ce, [
665
- n.argsText?.trim() ? (r(), o("div", Be, [
660
+ s("div", Ae, [
661
+ n.argsText?.trim() ? (r(), o("div", Ce, [
666
662
  t[14] || (t[14] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 请求参数 ", -1)),
667
- s("pre", De, a(n.argsText), 1)
663
+ s("pre", Be, a(n.argsText), 1)
668
664
  ])) : c("", !0),
669
665
  n.summary?.trim() ? (r(), o("div", Fe, [
670
666
  t[15] || (t[15] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 执行摘要 ", -1)),
671
- s("pre", Ee, a(n.summary), 1)
667
+ s("pre", De, a(n.summary), 1)
672
668
  ])) : c("", !0),
673
- ut(n) ? (r(), o("div", Me, [
669
+ ut(n) ? (r(), o("div", Ee, [
674
670
  t[16] || (t[16] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 接口结果 ", -1)),
675
- E(n) ? (r(), o("div", ze, [
671
+ E(n) ? (r(), o("div", Me, [
676
672
  s("img", {
677
673
  class: "thinking-bar-tool-result-image",
678
674
  src: E(n) || "",
679
675
  alt: n.name
680
- }, null, 8, Oe)
676
+ }, null, 8, ze)
681
677
  ])) : M(n) ? (r(), o("iframe", {
682
678
  key: 1,
683
679
  class: "thinking-bar-tool-result-html",
684
680
  srcdoc: M(n) || "",
685
681
  title: n.name,
686
682
  sandbox: ""
687
- }, null, 8, He)) : _(n) ? (r(), o("div", Ne, [
688
- s("table", Le, [
683
+ }, null, 8, He)) : _(n) ? (r(), o("div", Oe, [
684
+ s("table", je, [
689
685
  s("thead", null, [
690
686
  s("tr", null, [
691
687
  (r(!0), o(h, null, f(_(
@@ -705,17 +701,17 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
705
701
  ]))), 128))
706
702
  ])
707
703
  ])
708
- ])) : x(n) ? (r(), o("pre", je, a(x(n)), 1)) : c("", !0)
704
+ ])) : x(n) ? (r(), o("pre", Ne, a(x(n)), 1)) : c("", !0)
709
705
  ])) : c("", !0),
710
- ot(n.trace) ? (r(), o("div", Pe, [
706
+ ot(n.trace) ? (r(), o("div", Le, [
711
707
  t[17] || (t[17] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 执行轨迹 ", -1)),
712
- s("pre", Ie, a(ot(n.trace)), 1)
708
+ s("pre", Pe, a(ot(n.trace)), 1)
713
709
  ])) : c("", !0),
714
- n.errorCode ? (r(), o("div", Ve, [
710
+ n.errorCode ? (r(), o("div", Ie, [
715
711
  t[18] || (t[18] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 错误码 ", -1)),
716
- s("pre", qe, a(n.errorCode), 1)
712
+ s("pre", Ke, a(n.errorCode), 1)
717
713
  ])) : c("", !0),
718
- Ot(n) && st(i).length > 0 ? (r(), o("div", Ke, [
714
+ Ht(n) && st(i).length > 0 ? (r(), o("div", Ve, [
719
715
  t[22] || (t[22] = s("div", { class: "thinking-bar-nested-tools-label" }, " 知识库内部步骤 ", -1)),
720
716
  (r(!0), o(h, null, f(st(
721
717
  i
@@ -723,51 +719,51 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
723
719
  key: l.id,
724
720
  class: "thinking-bar-tool-call thinking-bar-tool-call--nested"
725
721
  }, [
726
- s("summary", Je, [
722
+ s("summary", qe, [
727
723
  s("div", Ue, [
728
- s("span", We, a(L(l)), 1)
724
+ s("span", Je, a(N(l)), 1)
729
725
  ]),
730
- s("div", Ge, [
726
+ s("div", We, [
731
727
  s("span", {
732
728
  class: A(["thinking-bar-tool-call-status", `is-${l.status}`])
733
729
  }, a(rt(l.status)), 3),
734
730
  t[19] || (t[19] = s("span", { class: "thinking-bar-tool-call-caret" }, "▾", -1))
735
731
  ])
736
732
  ]),
737
- s("div", Qe, [
738
- l.argsText?.trim() ? (r(), o("div", Xe, [
733
+ s("div", Ge, [
734
+ l.argsText?.trim() ? (r(), o("div", Qe, [
739
735
  t[20] || (t[20] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 请求参数 ", -1)),
740
- s("pre", Ye, a(l.argsText), 1)
736
+ s("pre", Xe, a(l.argsText), 1)
741
737
  ])) : c("", !0),
742
- x(l) ? (r(), o("div", Ze, [
738
+ x(l) ? (r(), o("div", Ye, [
743
739
  t[21] || (t[21] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 接口结果 ", -1)),
744
- s("pre", tn, a(x(l)), 1)
740
+ s("pre", Ze, a(x(l)), 1)
745
741
  ])) : c("", !0)
746
742
  ])
747
743
  ]))), 128))
748
744
  ])) : c("", !0)
749
745
  ])
750
- ], 8, Te))), 128))
746
+ ], 8, we))), 128))
751
747
  ])
752
748
  ])) : c("", !0),
753
- q(i) ? (r(), o("section", en, [
749
+ V(i) ? (r(), o("section", tn, [
754
750
  t[23] || (t[23] = s("div", { class: "thinking-bar-step-section-label" }, "回答", -1)),
755
- s("div", nn, [
756
- j(vt, {
757
- "model-value": q(i),
751
+ s("div", en, [
752
+ L(vt, {
753
+ "model-value": V(i),
758
754
  "format-knowledge": ""
759
755
  }, null, 8, ["model-value"])
760
756
  ])
761
757
  ])) : c("", !0)
762
758
  ])) : (r(), o(h, { key: 1 }, [
763
- i.chatItems && i.chatItems.length > 0 ? (r(), o("div", sn, [
759
+ i.chatItems && i.chatItems.length > 0 ? (r(), o("div", nn, [
764
760
  (r(!0), o(h, null, f(i.chatItems, (n) => (r(), o("div", {
765
761
  key: n.id,
766
762
  class: "thinking-bar-chat-item"
767
763
  }, [
768
- n.type === "text" && n.text.trim() ? (r(), o("div", rn, [
769
- j(N(yt), {
770
- "model-value": N(Gt)(n.text),
764
+ n.type === "text" && n.text.trim() ? (r(), o("div", sn, [
765
+ L(j(yt), {
766
+ "model-value": j(Wt)(n.text),
771
767
  theme: "dark",
772
768
  "preview-theme": "github",
773
769
  "code-theme": "github",
@@ -778,34 +774,34 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
778
774
  class: "thinking-bar-tool-call",
779
775
  open: lt(n.toolCall)
780
776
  }, [
781
- s("summary", ln, [
782
- s("div", an, [
783
- s("span", cn, a(L(n.toolCall)), 1)
777
+ s("summary", on, [
778
+ s("div", ln, [
779
+ s("span", an, a(N(n.toolCall)), 1)
784
780
  ]),
785
- s("div", un, [
781
+ s("div", cn, [
786
782
  s("span", {
787
783
  class: A(["thinking-bar-tool-call-status", `is-${n.toolCall.status}`])
788
784
  }, a(n.toolCall.status === "done" ? "已完成" : n.toolCall.status === "error" ? "失败" : n.toolCall.status === "running" ? "执行中" : "待执行"), 3),
789
785
  t[24] || (t[24] = s("span", { class: "thinking-bar-tool-call-caret" }, "▾", -1))
790
786
  ])
791
787
  ]),
792
- s("div", dn, [
793
- ut(n.toolCall) ? (r(), o("div", hn, [
788
+ s("div", un, [
789
+ ut(n.toolCall) ? (r(), o("div", dn, [
794
790
  t[25] || (t[25] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 结果 ", -1)),
795
- E(n.toolCall) ? (r(), o("div", gn, [
791
+ E(n.toolCall) ? (r(), o("div", hn, [
796
792
  s("img", {
797
793
  class: "thinking-bar-tool-result-image",
798
794
  src: E(n.toolCall) || "",
799
795
  alt: n.toolCall.name
800
- }, null, 8, kn)
796
+ }, null, 8, gn)
801
797
  ])) : M(n.toolCall) ? (r(), o("iframe", {
802
798
  key: 1,
803
799
  class: "thinking-bar-tool-result-html",
804
800
  srcdoc: M(n.toolCall) || "",
805
801
  title: n.toolCall.name,
806
802
  sandbox: ""
807
- }, null, 8, mn)) : _(n.toolCall) ? (r(), o("div", bn, [
808
- s("table", fn, [
803
+ }, null, 8, kn)) : _(n.toolCall) ? (r(), o("div", mn, [
804
+ s("table", bn, [
809
805
  s("thead", null, [
810
806
  s("tr", null, [
811
807
  (r(!0), o(h, null, f(_(
@@ -827,14 +823,14 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
827
823
  ]))), 128))
828
824
  ])
829
825
  ])
830
- ])) : x(n.toolCall) ? (r(), o("pre", pn, a(x(n.toolCall)), 1)) : c("", !0)
826
+ ])) : x(n.toolCall) ? (r(), o("pre", fn, a(x(n.toolCall)), 1)) : c("", !0)
831
827
  ])) : c("", !0)
832
828
  ])
833
- ], 8, on)) : c("", !0)
829
+ ], 8, rn)) : c("", !0)
834
830
  ]))), 128))
835
- ])) : i.content ? (r(), o("div", yn, [
836
- j(N(yt), {
837
- "model-value": N(Qt)(i.content ?? ""),
831
+ ])) : i.content ? (r(), o("div", pn, [
832
+ L(j(yt), {
833
+ "model-value": j(Gt)(i.content ?? ""),
838
834
  theme: "dark",
839
835
  "preview-theme": "github",
840
836
  "code-theme": "github",
@@ -842,7 +838,7 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
842
838
  }, null, 8, ["model-value"])
843
839
  ])) : c("", !0)
844
840
  ], 64)),
845
- i.attachments && i.attachments.length > 0 ? (r(), o("div", vn, [
841
+ i.attachments && i.attachments.length > 0 ? (r(), o("div", yn, [
846
842
  (r(!0), o(h, null, f(i.attachments, (n) => (r(), o("a", {
847
843
  key: n.id,
848
844
  class: "thinking-bar-attachment",
@@ -855,35 +851,35 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
855
851
  class: "thinking-bar-attachment-image",
856
852
  src: n.url,
857
853
  alt: n.name || "图表预览"
858
- }, null, 8, wn)) : c("", !0),
859
- s("div", Tn, [
860
- s("span", Sn, a(n.name || n.url), 1),
861
- s("span", $n, a(n.type === "image" ? "图片预览" : n.type === "html" ? "打开图表" : "打开文件"), 1)
854
+ }, null, 8, _n)) : c("", !0),
855
+ s("div", wn, [
856
+ s("span", Tn, a(n.name || n.url), 1),
857
+ s("span", Sn, a(n.type === "image" ? "图片预览" : n.type === "html" ? "打开图表" : "打开文件"), 1)
862
858
  ])
863
- ], 8, _n))), 128))
859
+ ], 8, vn))), 128))
864
860
  ])) : c("", !0),
865
- i.files && i.files.length > 0 ? (r(), o("div", xn, [
861
+ i.files && i.files.length > 0 ? (r(), o("div", $n, [
866
862
  t[28] || (t[28] = s("div", { class: "thinking-bar-workspace-title" }, "状态工作台", -1)),
867
- s("div", Rn, [
868
- s("div", An, [
863
+ s("div", xn, [
864
+ s("div", Rn, [
869
865
  t[27] || (t[27] = s("div", { class: "thinking-bar-file-tree-head" }, "文件系统", -1)),
870
- s("div", Cn, [
871
- (r(!0), o(h, null, f(qt(i.id, i.files), (n) => (r(), o(h, {
866
+ s("div", An, [
867
+ (r(!0), o(h, null, f(Kt(i.id, i.files), (n) => (r(), o(h, {
872
868
  key: `${i.id}:${n.path}`
873
869
  }, [
874
- n.type === "directory" ? (r(), o("div", Bn, [
870
+ n.type === "directory" ? (r(), o("div", Cn, [
875
871
  s("button", {
876
872
  type: "button",
877
873
  class: "thinking-bar-tree-row thinking-bar-tree-row--directory",
878
874
  style: pt({
879
875
  paddingLeft: `${n.depth * 14 + 10}px`
880
876
  }),
881
- onClick: (l) => Vt(i.id, n.path)
877
+ onClick: (l) => It(i.id, n.path)
882
878
  }, [
883
879
  s("span", Fn, a(ht(i.id, n.path) ? "▾" : "▸"), 1),
884
880
  t[26] || (t[26] = s("span", { class: "thinking-bar-tree-icon" }, "📁", -1)),
885
- s("span", En, a(n.name), 1)
886
- ], 12, Dn)
881
+ s("span", Dn, a(n.name), 1)
882
+ ], 12, Bn)
887
883
  ])) : (r(), o("button", {
888
884
  key: 1,
889
885
  type: "button",
@@ -891,42 +887,42 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
891
887
  active: k(i)?.id === n.file?.id
892
888
  }]),
893
889
  style: pt({ paddingLeft: `${n.depth * 14 + 26}px` }),
894
- onClick: (l) => Pt(i.id, n.file)
890
+ onClick: (l) => Lt(i.id, n.file)
895
891
  }, [
896
- s("span", zn, a(mt(n.file?.path || "")), 1),
897
- s("span", On, a(n.name), 1)
898
- ], 14, Mn))
892
+ s("span", Mn, a(mt(n.file?.path || "")), 1),
893
+ s("span", zn, a(n.name), 1)
894
+ ], 14, En))
899
895
  ], 64))), 128))
900
896
  ])
901
897
  ]),
902
898
  s("div", Hn, [
903
899
  k(i) ? (r(), o(h, { key: 0 }, [
904
- s("div", Nn, [
905
- s("div", Ln, [
906
- s("span", jn, a(mt(k(i)?.path || "")), 1),
900
+ s("div", On, [
901
+ s("div", jn, [
902
+ s("span", Nn, a(mt(k(i)?.path || "")), 1),
907
903
  s("span", null, a(k(i)?.path), 1)
908
904
  ]),
909
- Q(k(i)?.path || "") ? (r(), o("span", Pn, " HTML 预览 ")) : c("", !0)
905
+ Q(k(i)?.path || "") ? (r(), o("span", Ln, " HTML 预览 ")) : c("", !0)
910
906
  ]),
911
- gt(k(i)?.path || "") ? (r(), o("div", In, [
907
+ gt(k(i)?.path || "") ? (r(), o("div", Pn, [
912
908
  kt(k(i)) ? (r(), o("img", {
913
909
  key: 0,
914
910
  class: "thinking-bar-image-preview",
915
911
  src: kt(k(i)) || "",
916
912
  alt: k(i)?.name || "图片预览"
917
- }, null, 8, Vn)) : (r(), o("div", qn, " 当前图片文件没有可直接渲染的内容。 "))
913
+ }, null, 8, In)) : (r(), o("div", Kn, " 当前图片文件没有可直接渲染的内容。 "))
918
914
  ])) : Q(k(i)?.path || "") ? (r(), o("iframe", {
919
915
  key: 1,
920
916
  class: "thinking-bar-html-preview",
921
917
  srcdoc: G(k(i)),
922
918
  title: k(i)?.path,
923
919
  sandbox: ""
924
- }, null, 8, Kn)) : (r(), o("pre", Jn, a(G(k(i))), 1))
920
+ }, null, 8, Vn)) : (r(), o("pre", qn, a(G(k(i))), 1))
925
921
  ], 64)) : (r(), o("div", Un, " 还没选中文件,左边点一个看看。 "))
926
922
  ])
927
923
  ])
928
924
  ])) : c("", !0)
929
- ], 40, be)
925
+ ], 40, me)
930
926
  ])
931
927
  ])
932
928
  ], 2))), 128))
@@ -935,5 +931,5 @@ const Zt = { class: "thinking-bar-header" }, te = { class: "thinking-bar-title-s
935
931
  }
936
932
  });
937
933
  export {
938
- ni as default
934
+ ti as default
939
935
  };