@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.
- package/dist/components/chat-bot.vue.d.ts.map +1 -1
- package/dist/components/composables/use-chatbot-state.d.ts +0 -4
- package/dist/components/composables/use-chatbot-state.d.ts.map +1 -1
- package/dist/composables/use-ai-blueking-init.d.ts.map +1 -1
- package/dist/manager/business/chat-business-manager.d.ts +1 -1
- package/dist/manager/business/chat-business-manager.d.ts.map +1 -1
- package/dist/manager/business/model-selection-manager.d.ts +1 -1
- package/dist/manager/business/model-selection-manager.d.ts.map +1 -1
- package/dist/standalone/index.es.min.js +17 -18
- package/dist/standalone/index.iife.min.js +2 -2
- package/dist/standalone/index.umd.min.js +2 -2
- package/dist/vue2/index.es.min.js +17 -18
- package/dist/vue2/index.iife.min.js +2 -2
- package/dist/vue2/index.umd.min.js +2 -2
- package/dist/vue3/index.es.min.js +17 -18
- package/dist/vue3/index.iife.min.js +2 -2
- package/dist/vue3/index.umd.min.js +2 -2
- package/package.json +3 -3
|
@@ -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
|
|
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:
|
|
4166
|
-
messageToolsStatus:
|
|
4167
|
-
effectiveMessageTools:
|
|
4168
|
-
effectiveUpdateTools:
|
|
4169
|
-
effectiveUserMessageTools:
|
|
4170
|
-
messages:
|
|
4171
|
-
isMessagesLoading:
|
|
4172
|
-
isGenerating:
|
|
4173
|
-
currentSession:
|
|
4174
|
-
isWelcomeState:
|
|
4175
|
-
openingRemark:
|
|
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:
|
|
4178
|
-
resources:
|
|
4179
|
-
prompts:
|
|
4177
|
+
skills: C.value,
|
|
4178
|
+
resources: x.value,
|
|
4179
|
+
prompts: S.value
|
|
4180
4180
|
})),
|
|
4181
|
-
effectiveSupportUpload: r(() =>
|
|
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,
|