@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.
@@ -4155,30 +4155,30 @@ function ar(e, t, n) {
4155
4155
  return e ? [...n, ...t ?? []] : t;
4156
4156
  }
4157
4157
  function or(e) {
4158
- let { props: t, chatHelper: n, chatBusinessManager: i, sessionBusinessManager: a, shortcutManager: o, isStandaloneMode: s, isInitialized: c, selectedShortcut: l } = e, u = r(() => i.value?.isStopLoading.value ? ae.StopLoading : ((t.chatHelper || n.value)?.agent)?.isChatting?.value ? ae.Streaming : ae.Complete), d = r(() => u.value === ae.Streaming ? oe.Disabled : void 0), f = r(() => ((t.chatHelper || n.value)?.agent)?.info.value?.agentType === "claw"), p = r(() => ar(f.value, t.messageTools, nr)), m = r(() => ar(f.value, t.updateTools, rr)), h = r(() => ar(f.value, void 0, ir)), g = r(() => i.value?.messages.value ?? []), _ = r(() => i.value?.isMessagesLoading.value ?? !1), v = r(() => i.value?.isGenerating.value ?? !1), y = r(() => a.value?.currentSession.value ?? null), b = r(() => s.value && !c.value ? !1 : !_.value && g.value.length === 0), x = r(() => n.value?.agent.info.value?.conversationSettings?.openingRemark || ""), S = r(() => t.resources?.length ? t.resources : n.value?.agent.info.value?.resources ?? []), C = r(() => t.prompts?.length ? t.prompts : n.value?.agent.info.value?.conversationSettings?.predefinedQuestions ?? []), w = r(() => t.skills?.length ? t.skills : (n.value?.agent.info.value?.relatedSkills ?? []).map((e) => ({
4158
+ let { props: t, chatHelper: n, chatBusinessManager: i, sessionBusinessManager: a, shortcutManager: o, isStandaloneMode: s, isInitialized: c } = e, l = r(() => i.value?.isStopLoading.value ? ae.StopLoading : ((t.chatHelper || n.value)?.agent)?.isChatting?.value ? ae.Streaming : ae.Complete), u = r(() => l.value === ae.Streaming ? oe.Disabled : void 0), d = r(() => ((t.chatHelper || n.value)?.agent)?.info.value?.agentType === "claw"), f = r(() => ar(d.value, t.messageTools, nr)), p = r(() => ar(d.value, t.updateTools, rr)), m = r(() => ar(d.value, void 0, ir)), h = r(() => i.value?.messages.value ?? []), g = r(() => i.value?.isMessagesLoading.value ?? !1), _ = r(() => i.value?.isGenerating.value ?? !1), v = r(() => a.value?.currentSession.value ?? null), y = r(() => s.value && !c.value ? !1 : !g.value && h.value.length === 0), b = r(() => n.value?.agent.info.value?.conversationSettings?.openingRemark || ""), x = r(() => t.resources?.length ? t.resources : n.value?.agent.info.value?.resources ?? []), S = r(() => t.prompts?.length ? t.prompts : n.value?.agent.info.value?.conversationSettings?.predefinedQuestions ?? []), C = r(() => t.skills?.length ? t.skills : (n.value?.agent.info.value?.relatedSkills ?? []).map((e) => ({
4159
4159
  skill_name: e.skill_name,
4160
4160
  skill_code: e.skill_code,
4161
4161
  description: e.description,
4162
4162
  icon: e.icon
4163
4163
  })));
4164
4164
  return {
4165
- messageStatus: u,
4166
- messageToolsStatus: d,
4167
- effectiveMessageTools: p,
4168
- effectiveUpdateTools: m,
4169
- effectiveUserMessageTools: h,
4170
- messages: g,
4171
- isMessagesLoading: _,
4172
- isGenerating: v,
4173
- currentSession: y,
4174
- isWelcomeState: b,
4175
- openingRemark: x,
4165
+ messageStatus: l,
4166
+ messageToolsStatus: u,
4167
+ effectiveMessageTools: f,
4168
+ effectiveUpdateTools: p,
4169
+ effectiveUserMessageTools: m,
4170
+ messages: h,
4171
+ isMessagesLoading: g,
4172
+ isGenerating: _,
4173
+ currentSession: v,
4174
+ isWelcomeState: y,
4175
+ openingRemark: b,
4176
4176
  effectiveMenuSources: r(() => Oe({
4177
- skills: w.value,
4178
- resources: S.value,
4179
- prompts: C.value
4177
+ skills: C.value,
4178
+ resources: x.value,
4179
+ prompts: S.value
4180
4180
  })),
4181
- effectiveSupportUpload: r(() => l.value?.supportUpload ? l.value.supportUpload.vision === !0 : i.value?.selectedModelSupportsVision.value ?? !1),
4181
+ effectiveSupportUpload: r(() => !0),
4182
4182
  chatbotStyle: r(() => ({
4183
4183
  height: typeof t.height == "number" ? `${t.height}px` : t.height,
4184
4184
  maxWidth: typeof t.maxWidth == "number" ? `${t.maxWidth}px` : t.maxWidth
@@ -4825,8 +4825,7 @@ var xr = /* @__PURE__ */ d({
4825
4825
  sessionBusinessManager: U,
4826
4826
  shortcutManager: W,
4827
4827
  isStandaloneMode: I,
4828
- isInitialized: z,
4829
- selectedShortcut: D
4828
+ isInitialized: z
4830
4829
  }), { handleAgentAction: Pe, handleAgentFeedback: X, handleUserAction: Z, handleUserInputConfirm: Fe, handleUserShortcutConfirm: Ie, handleStopStreaming: Le } = br({
4831
4830
  emit: p,
4832
4831
  chatHelper: F,