@burdenoff/microfe-healthybowl 2026.904.14 → 2026.904.16

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.
@@ -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 { AssistantSpeechProvider as o } from "./AssistantSpeechProvider.js";
8
- import { ASSISTANT_MODES as s } from "../../types/assistant.js";
9
- import { AssistantChatArea as c } from "./AssistantChatArea.js";
10
- import { AssistantConversationList as l } from "./AssistantConversationList.js";
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: s, docked: _, onToggleDock: y }) => {
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, s ?? !0), h(s ?? !0);
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 (s === !1) return;
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
- }, [s]), t({
32
+ }, [o]), t({
33
33
  panelRef: x,
34
34
  onClose: n
35
- }), /* @__PURE__ */ p(o, {
36
- visible: s ?? !0,
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(l, {}),
55
- /* @__PURE__ */ p(c, { visible: s ?? !0 })
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: s,
61
+ modes: o,
62
62
  describeCurrentPage: i,
63
63
  children: /* @__PURE__ */ p(y, { ...e })
64
64
  });