@blueking/ai-blueking 2.2.5-beta.5 → 2.2.5-beta.6

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.
@@ -57292,30 +57292,30 @@ function d1(e, t, n) {
57292
57292
  return e ? [...n, ...t ?? []] : t;
57293
57293
  }
57294
57294
  function f1(e) {
57295
- let { props: t, chatHelper: n, chatBusinessManager: r, sessionBusinessManager: i, shortcutManager: a, isStandaloneMode: o, isInitialized: s, selectedShortcut: c } = e, l = d(() => r.value?.isStopLoading.value ? jD.StopLoading : ((t.chatHelper || n.value)?.agent)?.isChatting?.value ? jD.Streaming : jD.Complete), u = d(() => l.value === jD.Streaming ? AK.Disabled : void 0), f = d(() => ((t.chatHelper || n.value)?.agent)?.info.value?.agentType === "claw"), p = d(() => d1(f.value, t.messageTools, c1)), m = d(() => d1(f.value, t.updateTools, l1)), h = d(() => d1(f.value, void 0, u1)), g = d(() => r.value?.messages.value ?? []), _ = d(() => r.value?.isMessagesLoading.value ?? !1), v = d(() => r.value?.isGenerating.value ?? !1), y = d(() => i.value?.currentSession.value ?? null), b = d(() => o.value && !s.value ? !1 : !_.value && g.value.length === 0), x = d(() => n.value?.agent.info.value?.conversationSettings?.openingRemark || ""), S = d(() => t.resources?.length ? t.resources : n.value?.agent.info.value?.resources ?? []), C = d(() => t.prompts?.length ? t.prompts : n.value?.agent.info.value?.conversationSettings?.predefinedQuestions ?? []), w = d(() => t.skills?.length ? t.skills : (n.value?.agent.info.value?.relatedSkills ?? []).map((e) => ({
57295
+ let { props: t, chatHelper: n, chatBusinessManager: r, sessionBusinessManager: i, shortcutManager: a, isStandaloneMode: o, isInitialized: s } = e, c = d(() => r.value?.isStopLoading.value ? jD.StopLoading : ((t.chatHelper || n.value)?.agent)?.isChatting?.value ? jD.Streaming : jD.Complete), l = d(() => c.value === jD.Streaming ? AK.Disabled : void 0), u = d(() => ((t.chatHelper || n.value)?.agent)?.info.value?.agentType === "claw"), f = d(() => d1(u.value, t.messageTools, c1)), p = d(() => d1(u.value, t.updateTools, l1)), m = d(() => d1(u.value, void 0, u1)), h = d(() => r.value?.messages.value ?? []), g = d(() => r.value?.isMessagesLoading.value ?? !1), _ = d(() => r.value?.isGenerating.value ?? !1), v = d(() => i.value?.currentSession.value ?? null), y = d(() => o.value && !s.value ? !1 : !g.value && h.value.length === 0), b = d(() => n.value?.agent.info.value?.conversationSettings?.openingRemark || ""), x = d(() => t.resources?.length ? t.resources : n.value?.agent.info.value?.resources ?? []), S = d(() => t.prompts?.length ? t.prompts : n.value?.agent.info.value?.conversationSettings?.predefinedQuestions ?? []), C = d(() => t.skills?.length ? t.skills : (n.value?.agent.info.value?.relatedSkills ?? []).map((e) => ({
57296
57296
  skill_name: e.skill_name,
57297
57297
  skill_code: e.skill_code,
57298
57298
  description: e.description,
57299
57299
  icon: e.icon
57300
57300
  })));
57301
57301
  return {
57302
- messageStatus: l,
57303
- messageToolsStatus: u,
57304
- effectiveMessageTools: p,
57305
- effectiveUpdateTools: m,
57306
- effectiveUserMessageTools: h,
57307
- messages: g,
57308
- isMessagesLoading: _,
57309
- isGenerating: v,
57310
- currentSession: y,
57311
- isWelcomeState: b,
57312
- openingRemark: x,
57302
+ messageStatus: c,
57303
+ messageToolsStatus: l,
57304
+ effectiveMessageTools: f,
57305
+ effectiveUpdateTools: p,
57306
+ effectiveUserMessageTools: m,
57307
+ messages: h,
57308
+ isMessagesLoading: g,
57309
+ isGenerating: _,
57310
+ currentSession: v,
57311
+ isWelcomeState: y,
57312
+ openingRemark: b,
57313
57313
  effectiveMenuSources: d(() => bT({
57314
- skills: w.value,
57315
- resources: S.value,
57316
- prompts: C.value
57314
+ skills: C.value,
57315
+ resources: x.value,
57316
+ prompts: S.value
57317
57317
  })),
57318
- effectiveSupportUpload: d(() => c.value?.supportUpload ? c.value.supportUpload.vision === !0 : r.value?.selectedModelSupportsVision.value ?? !1),
57318
+ effectiveSupportUpload: d(() => !0),
57319
57319
  chatbotStyle: d(() => ({
57320
57320
  height: typeof t.height == "number" ? `${t.height}px` : t.height,
57321
57321
  maxWidth: typeof t.maxWidth == "number" ? `${t.maxWidth}px` : t.maxWidth
@@ -57962,8 +57962,7 @@ var D1 = /* @__PURE__ */ x({
57962
57962
  sessionBusinessManager: R,
57963
57963
  shortcutManager: z,
57964
57964
  isStandaloneMode: k,
57965
- isInitialized: A,
57966
- selectedShortcut: b
57965
+ isInitialized: A
57967
57966
  }), { handleAgentAction: je, handleAgentFeedback: Me, handleUserAction: Ne, handleUserInputConfirm: Pe, handleUserShortcutConfirm: Fe, handleStopStreaming: Ie } = E1({
57968
57967
  emit: s,
57969
57968
  chatHelper: D,