@burdenoff/microfe-healthybowl 2026.904.13 → 2026.904.15
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/assistant/AIAssistantPanel.js +13 -13
- package/dist/components/assistant/AssistantChatArea.js +214 -214
- package/dist/components/assistant/AssistantChatArea.js.map +1 -1
- package/dist/components/assistant/AssistantMarkdownRenderer.js +1 -2
- package/dist/components/assistant/AssistantMessageAttachments.js +1 -2
- package/dist/components/assistant/AssistantMessageItem.js +1 -186
- package/dist/components/assistant/AssistantMessageList.js +2 -39
- package/dist/components/assistant/AssistantSpeakButton.js +1 -2
- package/dist/components/assistant/AssistantSpeechProvider.js +2 -2
- package/dist/components/assistant/AssistantToolActivity.js +2 -2
- package/dist/components/assistant/index.js +6 -6
- package/dist/services/assistantApi.js +32 -35
- package/dist/services/assistantApi.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/assistant/AssistantMessageItem.js.map +0 -1
- package/dist/components/assistant/AssistantMessageList.js.map +0 -1
- package/dist/components/assistant/AssistantPendingWriteCard.js +0 -2
- package/dist/utils/clipboard.js +0 -12
- package/dist/utils/clipboard.js.map +0 -1
|
@@ -4,22 +4,22 @@ import { PRODUCT as n } from "../../services/assistantApi.js";
|
|
|
4
4
|
import { useAssistantHeartbeat as r } from "../../hooks/useAssistantHeartbeat.js";
|
|
5
5
|
import { describeCurrentPage as i } from "../../utils/pageContext.js";
|
|
6
6
|
import { AssistantHeader as a } from "./AssistantHeader.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { ASSISTANT_MODES as o } from "../../types/assistant.js";
|
|
8
|
+
import { AssistantChatArea as s } from "./AssistantChatArea.js";
|
|
9
|
+
import { AssistantConversationList as c } from "./AssistantConversationList.js";
|
|
10
|
+
import { AssistantSpeechProvider as l } from "./AssistantSpeechProvider.js";
|
|
11
11
|
import { useEffect as u, useRef as d, useState as f } from "react";
|
|
12
12
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
13
13
|
import { useFilesServiceWarmup as h } from "@burdenoff/fe-libs/storage";
|
|
14
14
|
import { useAssistantTr as g } from "@burdenoff/fe-libs/shared/assistant/i18n";
|
|
15
15
|
import { AssistantProductProvider as _ } from "@burdenoff/fe-libs/shared/assistant/product";
|
|
16
16
|
//#region src/components/assistant/AIAssistantPanel.tsx
|
|
17
|
-
var v = 1e3, y = ({ onClose: n, visible:
|
|
17
|
+
var v = 1e3, y = ({ onClose: n, visible: o, docked: _, onToggleDock: y }) => {
|
|
18
18
|
let b = g(), x = d(null), { conversations: S, activeConversationId: C, conversationListOpen: w, toggleConversationList: T, createConversation: E } = e(), D = S.find((e) => e.id === C);
|
|
19
|
-
r(D?.backendSessionId ?? null, D?.mode ?? null,
|
|
19
|
+
r(D?.backendSessionId ?? null, D?.mode ?? null, o ?? !0), h(o ?? !0);
|
|
20
20
|
let [O, k] = f(i);
|
|
21
21
|
return u(() => {
|
|
22
|
-
if (
|
|
22
|
+
if (o === !1) return;
|
|
23
23
|
let e = () => k((e) => {
|
|
24
24
|
let t = i();
|
|
25
25
|
return t === e ? e : t;
|
|
@@ -29,11 +29,11 @@ var v = 1e3, y = ({ onClose: n, visible: s, docked: _, onToggleDock: y }) => {
|
|
|
29
29
|
return () => {
|
|
30
30
|
window.removeEventListener("popstate", e), window.clearInterval(t);
|
|
31
31
|
};
|
|
32
|
-
}, [
|
|
32
|
+
}, [o]), t({
|
|
33
33
|
panelRef: x,
|
|
34
34
|
onClose: n
|
|
35
|
-
}), /* @__PURE__ */ p(
|
|
36
|
-
visible:
|
|
35
|
+
}), /* @__PURE__ */ p(l, {
|
|
36
|
+
visible: o ?? !0,
|
|
37
37
|
children: /* @__PURE__ */ m("div", {
|
|
38
38
|
ref: x,
|
|
39
39
|
className: "relative flex h-full w-full flex-col bg-bg-surface",
|
|
@@ -51,14 +51,14 @@ var v = 1e3, y = ({ onClose: n, visible: s, docked: _, onToggleDock: y }) => {
|
|
|
51
51
|
docked: _,
|
|
52
52
|
onToggleDock: y
|
|
53
53
|
}),
|
|
54
|
-
w && /* @__PURE__ */ p(
|
|
55
|
-
/* @__PURE__ */ p(
|
|
54
|
+
w && /* @__PURE__ */ p(c, {}),
|
|
55
|
+
/* @__PURE__ */ p(s, { visible: o ?? !0 })
|
|
56
56
|
]
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
}, b = (e) => /* @__PURE__ */ p(_, {
|
|
60
60
|
product: n,
|
|
61
|
-
modes:
|
|
61
|
+
modes: o,
|
|
62
62
|
describeCurrentPage: i,
|
|
63
63
|
children: /* @__PURE__ */ p(y, { ...e })
|
|
64
64
|
});
|