@burdenoff/microfe-healthybowl 2026.903.21 → 2026.904.1

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.
Files changed (66) hide show
  1. package/dist/components/assistant/AIAssistantPanel.js +25 -21
  2. package/dist/components/assistant/AIAssistantPanel.js.map +1 -1
  3. package/dist/components/assistant/AssistantApiCallsConsentDialog.js +8 -8
  4. package/dist/components/assistant/AssistantApiCallsConsentDialog.js.map +1 -1
  5. package/dist/components/assistant/AssistantAutoSpeakToggle.js +1 -1
  6. package/dist/components/assistant/AssistantChatArea.js +248 -249
  7. package/dist/components/assistant/AssistantChatArea.js.map +1 -1
  8. package/dist/components/assistant/AssistantConversationList.js +31 -31
  9. package/dist/components/assistant/AssistantConversationList.js.map +1 -1
  10. package/dist/components/assistant/AssistantEmptyState.js +9 -9
  11. package/dist/components/assistant/AssistantEmptyState.js.map +1 -1
  12. package/dist/components/assistant/AssistantHeader.js +17 -17
  13. package/dist/components/assistant/AssistantHeader.js.map +1 -1
  14. package/dist/components/assistant/AssistantMarkdownImage.js +14 -14
  15. package/dist/components/assistant/AssistantMarkdownImage.js.map +1 -1
  16. package/dist/components/assistant/AssistantMarkdownRenderer.js +25 -25
  17. package/dist/components/assistant/AssistantMarkdownRenderer.js.map +1 -1
  18. package/dist/components/assistant/AssistantMessageAttachments.js +29 -29
  19. package/dist/components/assistant/AssistantMessageAttachments.js.map +1 -1
  20. package/dist/components/assistant/AssistantMessageItem.js +28 -28
  21. package/dist/components/assistant/AssistantMessageItem.js.map +1 -1
  22. package/dist/components/assistant/AssistantMessageList.js +14 -14
  23. package/dist/components/assistant/AssistantMessageList.js.map +1 -1
  24. package/dist/components/assistant/AssistantMoreMenu.js +25 -25
  25. package/dist/components/assistant/AssistantMoreMenu.js.map +1 -1
  26. package/dist/components/assistant/AssistantPendingWriteCard.js +8 -8
  27. package/dist/components/assistant/AssistantPendingWriteCard.js.map +1 -1
  28. package/dist/components/assistant/AssistantReplyLanguageSelector.js +11 -11
  29. package/dist/components/assistant/AssistantReplyLanguageSelector.js.map +1 -1
  30. package/dist/components/assistant/AssistantSpeakButton.js +4 -4
  31. package/dist/components/assistant/AssistantSpeakButton.js.map +1 -1
  32. package/dist/components/assistant/AssistantSpeechProvider.js +188 -188
  33. package/dist/components/assistant/AssistantSpeechProvider.js.map +1 -1
  34. package/dist/components/assistant/AssistantSpokenTurnsNotice.js +5 -5
  35. package/dist/components/assistant/AssistantSpokenTurnsNotice.js.map +1 -1
  36. package/dist/components/assistant/AssistantToolActivity.js +16 -16
  37. package/dist/components/assistant/AssistantToolActivity.js.map +1 -1
  38. package/dist/components/assistant/composer/AssistantAttachmentButton.js +20 -20
  39. package/dist/components/assistant/composer/AssistantAttachmentButton.js.map +1 -1
  40. package/dist/components/assistant/composer/AssistantAttachmentChips.js +23 -23
  41. package/dist/components/assistant/composer/AssistantAttachmentChips.js.map +1 -1
  42. package/dist/components/assistant/composer/AssistantComposer.js +44 -44
  43. package/dist/components/assistant/composer/AssistantComposer.js.map +1 -1
  44. package/dist/components/assistant/composer/AssistantLanguageSelector.js +7 -7
  45. package/dist/components/assistant/composer/AssistantLanguageSelector.js.map +1 -1
  46. package/dist/components/assistant/composer/AssistantModeSelector.js +28 -28
  47. package/dist/components/assistant/composer/AssistantModeSelector.js.map +1 -1
  48. package/dist/components/assistant/composer/AssistantVoiceButton.js +6 -6
  49. package/dist/components/assistant/composer/AssistantVoiceButton.js.map +1 -1
  50. package/dist/components/assistant/composer/AssistantVoiceSelector.js +7 -7
  51. package/dist/components/assistant/composer/AssistantVoiceSelector.js.map +1 -1
  52. package/dist/components/assistant/voice/AssistantVoiceSession.js +77 -77
  53. package/dist/components/assistant/voice/AssistantVoiceSession.js.map +1 -1
  54. package/dist/components/assistant/voice/AssistantVoiceSessionButton.js +6 -6
  55. package/dist/components/assistant/voice/AssistantVoiceSessionButton.js.map +1 -1
  56. package/dist/components/assistant/voice/VoiceConversationView.js +11 -11
  57. package/dist/components/assistant/voice/VoiceConversationView.js.map +1 -1
  58. package/dist/components/assistant/voice/VoiceTranscriptDrawer.js +13 -13
  59. package/dist/components/assistant/voice/VoiceTranscriptDrawer.js.map +1 -1
  60. package/dist/hooks/useAssistantAttachments.js +94 -94
  61. package/dist/hooks/useAssistantAttachments.js.map +1 -1
  62. package/dist/services/assistantApi.js +1 -1
  63. package/dist/services/assistantApi.js.map +1 -1
  64. package/dist/utils/attachmentSources.js +4 -4
  65. package/dist/utils/attachmentSources.js.map +1 -1
  66. package/package.json +2 -2
@@ -1,89 +1,88 @@
1
1
  import { useAssistantStore as e } from "../../store/assistantStore.js";
2
- import { useTr as t } from "../../shared/hooks/useTr.js";
3
- import { checkAssistantAiCredits as n, createAssistantSandbox as r, createAssistantSession as i, extendAssistantSandboxTTL as a, findExistingSandbox as o, getAssistantArtifacts as s, getAssistantMessages as c, getAssistantSession as l, reportAssistantAiTokenUsage as u, sendAssistantPromptAsync as d, waitForAssistantServiceReady as f, waitForSandboxReady as p } from "../../services/assistantApi.js";
4
- import { gatherPageContext as m } from "../../utils/pageContext.js";
5
- import { isVoiceTurn as h, voiceMarker as g, voiceSessionIdOf as _ } from "../../utils/voiceTurnVisibility.js";
6
- import { downloadFile as v } from "../../services/assistantExportService.js";
7
- import { resolveAssistantLanguage as y } from "../../config/assistantLanguages.js";
8
- import { resolveLanguagePair as ee } from "../../config/assistantLanguagePair.js";
9
- import { isTurnInFlight as b } from "../../utils/assistantTurnState.js";
10
- import { parseToolActivity as x } from "./AssistantToolActivity.js";
11
- import { getActorId as S, getOrganizationId as C, getWorkspaceId as te } from "../../utils/assistantContext.js";
12
- import { buildPromptParts as ne, buildPromptWithAttachments as re, countInlineImageCandidates as ie, countInlinedImageParts as ae, getSendableAttachments as w, toMessageAttachment as oe } from "../../utils/assistantAttachments.js";
13
- import { AssistantMessageList as T } from "./AssistantMessageList.js";
14
- import { AssistantApiCallsConsentDialog as se } from "./AssistantApiCallsConsentDialog.js";
15
- import { ASSISTANT_MODES as ce } from "../../types/assistant.js";
16
- import { AssistantEmptyState as le } from "./AssistantEmptyState.js";
17
- import { AssistantSpokenTurnsNotice as ue } from "./AssistantSpokenTurnsNotice.js";
18
- import { VoiceTranscriptDrawer as de } from "./voice/VoiceTranscriptDrawer.js";
19
- import { useAssistantAttachments as fe } from "../../hooks/useAssistantAttachments.js";
20
- import { AssistantComposer as pe } from "./composer/AssistantComposer.js";
21
- import { AssistantVoiceSession as me } from "./voice/AssistantVoiceSession.js";
22
- import { useVoiceSession as he } from "../../hooks/useVoiceSession.js";
23
- import { useAssistantApiAccess as ge } from "../../hooks/useAssistantApiAccess.js";
24
- import { useWorkspaceWriteAccess as _e } from "../../hooks/useWorkspaceWriteAccess.js";
25
- import { useConversationTurns as ve } from "../../hooks/useConversationTurns.js";
26
- import { isQuotaExhaustedError as ye } from "../../utils/quotaUtils.js";
27
- import { dispatchAssistantQuotaExhausted as be, notifyAiCreditsUpdated as xe } from "../../utils/aiCredits.js";
28
- import { buildPromptForMode as Se } from "../../utils/assistantPrompt.js";
29
- import { isMultimodalBodyRejection as Ce, isRecoverableAssistantError as we } from "../../utils/assistantTransportErrors.js";
30
- import { pollDelayMs as Te } from "../../utils/assistantPollSchedule.js";
31
- import { findPendingWrite as Ee } from "../../utils/pendingWrite.js";
32
- import { toCaptionText as De } from "../../utils/captionText.js";
33
- import { buildContinuedFromVoiceNote as Oe, buildVoiceTranscriptMarkdown as ke, voiceTranscriptFilename as Ae } from "../../utils/voiceTranscript.js";
34
- import { createReadinessTracker as je } from "../../utils/sandboxReadiness.js";
35
- import { useCallback as E, useEffect as D, useMemo as O, useRef as k, useState as Me } from "react";
36
- import { useI18n as Ne } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
37
- import { getAssistantMedia as A } from "@burdenoff/fe-libs/shared/assistant";
38
- import { jsx as j, jsxs as Pe } from "react/jsx-runtime";
39
- import { useGatewayClient as Fe } from "@burdenoff/fe-libs/shared/graphql";
40
- import { useAuthToken as Ie } from "@burdenoff/fe-libs/shared/providers/shell";
2
+ import { checkAssistantAiCredits as t, createAssistantSandbox as n, createAssistantSession as r, extendAssistantSandboxTTL as i, findExistingSandbox as a, getAssistantArtifacts as o, getAssistantMessages as s, getAssistantSession as ee, reportAssistantAiTokenUsage as c, sendAssistantPromptAsync as l, waitForAssistantServiceReady as u, waitForSandboxReady as d } from "../../services/assistantApi.js";
3
+ import { gatherPageContext as te } from "../../utils/pageContext.js";
4
+ import { isVoiceTurn as f, voiceMarker as p, voiceSessionIdOf as m } from "../../utils/voiceTurnVisibility.js";
5
+ import { downloadFile as h } from "../../services/assistantExportService.js";
6
+ import { resolveAssistantLanguage as g } from "../../config/assistantLanguages.js";
7
+ import { resolveLanguagePair as _ } from "../../config/assistantLanguagePair.js";
8
+ import { isTurnInFlight as ne } from "../../utils/assistantTurnState.js";
9
+ import { parseToolActivity as v } from "./AssistantToolActivity.js";
10
+ import { getActorId as y, getOrganizationId as b, getWorkspaceId as re } from "../../utils/assistantContext.js";
11
+ import { buildPromptParts as ie, buildPromptWithAttachments as ae, countInlineImageCandidates as oe, countInlinedImageParts as se, getSendableAttachments as x, toMessageAttachment as ce } from "../../utils/assistantAttachments.js";
12
+ import { AssistantMessageList as S } from "./AssistantMessageList.js";
13
+ import { AssistantApiCallsConsentDialog as C } from "./AssistantApiCallsConsentDialog.js";
14
+ import { ASSISTANT_MODES as le } from "../../types/assistant.js";
15
+ import { AssistantEmptyState as ue } from "./AssistantEmptyState.js";
16
+ import { AssistantSpokenTurnsNotice as de } from "./AssistantSpokenTurnsNotice.js";
17
+ import { VoiceTranscriptDrawer as fe } from "./voice/VoiceTranscriptDrawer.js";
18
+ import { useAssistantAttachments as pe } from "../../hooks/useAssistantAttachments.js";
19
+ import { AssistantComposer as me } from "./composer/AssistantComposer.js";
20
+ import { AssistantVoiceSession as he } from "./voice/AssistantVoiceSession.js";
21
+ import { useVoiceSession as ge } from "../../hooks/useVoiceSession.js";
22
+ import { useAssistantApiAccess as _e } from "../../hooks/useAssistantApiAccess.js";
23
+ import { useWorkspaceWriteAccess as ve } from "../../hooks/useWorkspaceWriteAccess.js";
24
+ import { useConversationTurns as ye } from "../../hooks/useConversationTurns.js";
25
+ import { isQuotaExhaustedError as be } from "../../utils/quotaUtils.js";
26
+ import { dispatchAssistantQuotaExhausted as xe, notifyAiCreditsUpdated as Se } from "../../utils/aiCredits.js";
27
+ import { buildPromptForMode as Ce } from "../../utils/assistantPrompt.js";
28
+ import { isMultimodalBodyRejection as we, isRecoverableAssistantError as Te } from "../../utils/assistantTransportErrors.js";
29
+ import { pollDelayMs as Ee } from "../../utils/assistantPollSchedule.js";
30
+ import { findPendingWrite as De } from "../../utils/pendingWrite.js";
31
+ import { toCaptionText as Oe } from "../../utils/captionText.js";
32
+ import { buildContinuedFromVoiceNote as ke, buildVoiceTranscriptMarkdown as Ae, voiceTranscriptFilename as je } from "../../utils/voiceTranscript.js";
33
+ import { createReadinessTracker as Me } from "../../utils/sandboxReadiness.js";
34
+ import { useCallback as w, useEffect as T, useMemo as E, useRef as D, useState as Ne } from "react";
35
+ import { useI18n as Pe } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
36
+ import { getAssistantMedia as O, useAssistantTr as Fe } from "@burdenoff/fe-libs/shared/assistant";
37
+ import { jsx as k, jsxs as Ie } from "react/jsx-runtime";
38
+ import { useGatewayClient as Le } from "@burdenoff/fe-libs/shared/graphql";
39
+ import { useAuthToken as Re } from "@burdenoff/fe-libs/shared/providers/shell";
41
40
  //#region src/components/assistant/AssistantChatArea.tsx
42
- var Le = {
41
+ var ze = {
43
42
  general: 18e4,
44
43
  assistant: 18e4,
45
44
  "api-calls": 18e4,
46
45
  "vibe-plugins": 6e5
47
- }, Re = 18e4, ze = 2e4;
48
- function Be() {
46
+ }, Be = 18e4, Ve = 2e4;
47
+ function He() {
49
48
  return `${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
50
49
  }
51
- function Ve(e) {
50
+ function Ue(e) {
52
51
  return e.replace(/(Authorization\s*:\s*Bearer\s+)[^\s\n]+/gi, "$1[REDACTED]").replace(/(X-Workspace-Authorization\s*:\s*Bearer\s+)[^\s\n]+/gi, "$1[REDACTED]").replace(/\beyJ[A-Za-z0-9_-]+\.[A-Za-z0-9._-]+\.[A-Za-z0-9._-]+\b/g, "[REDACTED_JWT]").replace(/\bsk-ant-[A-Za-z0-9-]+\b/g, "[REDACTED_API_KEY]");
53
52
  }
54
- function M(e) {
53
+ function A(e) {
55
54
  return e.info?.time?.created ?? 0;
56
55
  }
57
- function N(e) {
56
+ function j(e) {
58
57
  return (e ?? []).filter((e) => e.type === "text" && typeof e.text == "string").map((e) => e.text?.trim() ?? "").filter(Boolean).join("\n");
59
58
  }
60
- function P(e) {
59
+ function M(e) {
61
60
  return (e ?? []).filter((e) => e.type === "tool" && e.tool).map((e) => {
62
61
  let t = e.state?.status ?? "running", n = e.tool ?? "tool";
63
62
  return t === "completed" ? `Completed: ${n}` : t === "failed" ? `Failed: ${n}` : `Running: ${n}`;
64
63
  });
65
64
  }
66
- function He(e, t) {
67
- let n = e.filter((e) => e.info?.role === "assistant" && M(e) > t).sort((e, t) => M(e) - M(t));
65
+ function We(e, t) {
66
+ let n = e.filter((e) => e.info?.role === "assistant" && A(e) > t).sort((e, t) => A(e) - A(t));
68
67
  if (n.length === 0) return {
69
68
  content: "Thinking...",
70
69
  done: !1
71
70
  };
72
- let r = n[n.length - 1], i = N(r.parts), a = A(r.parts), o = P(r.parts), s = Ee(r.parts), c = [
71
+ let r = n[n.length - 1], i = j(r.parts), a = O(r.parts), o = M(r.parts), s = De(r.parts), ee = [
73
72
  i,
74
73
  ...a,
75
74
  ...o
76
- ].filter(Boolean).join("\n\n") || "Thinking...", l = r.info?.providerID, u = r.info?.modelID;
75
+ ].filter(Boolean).join("\n\n") || "Thinking...", c = r.info?.providerID, l = r.info?.modelID;
77
76
  return {
78
- content: c,
77
+ content: ee,
79
78
  done: !!r.info?.time?.completed && (!!i || a.length > 0 || o.length > 0),
80
79
  tokens: r.info?.tokens,
81
80
  messageId: r.info?.id,
82
- ...l && u ? { model: `${l}/${u}` } : {},
81
+ ...c && l ? { model: `${c}/${l}` } : {},
83
82
  ...s ? { pendingWrite: s } : {}
84
83
  };
85
84
  }
86
- function Ue(e) {
85
+ function Ge(e) {
87
86
  switch (e) {
88
87
  case "provisioning": return "Starting assistant environment...";
89
88
  case "connecting": return "Connecting to assistant...";
@@ -91,346 +90,346 @@ function Ue(e) {
91
90
  default: return "";
92
91
  }
93
92
  }
94
- var We = ({ visible: Ee = !0 }) => {
95
- let A = t(), N = Fe("workspace"), { getAccessToken: P, getWorkspaceToken: We, userId: Ge } = Ie(), { locale: Ke } = Ne(), qe = e((e) => e.assistantLanguage), Je = e((e) => e.replyLanguage), Ye = O(() => ee(qe, Je, Ke), [
96
- qe,
97
- Je,
98
- Ke
99
- ]), Xe = Ye.reply.english, Ze = Ye.replyIsExplicit, Qe = Ye.reply.code, { conversations: $e, activeConversationId: F, mode: I, processingByConversationId: et, setMode: L, setConversationMode: R, setActiveConversation: tt, createConversation: z, addMessage: B, updateMessage: nt, patchMessage: V, mergeMessageMetadata: rt, setConversationProcessing: H, clearConversationProcessing: it, setBackendSessionId: at, clearBackendSessionId: U, setSandbox: W, clearSandbox: ot, acknowledgeApiCalls: st } = e(), G = ve($e.find((e) => e.id === F)), ct = G.all, lt = F ? et[F] : void 0, ut = b(lt?.status), dt = ut ? lt?.messageId ?? null : null, ft = lt?.status === "error" ? lt.messageId : null, { canUseApiCalls: pt, loading: mt } = ge(C()), ht = _e(S(), te() || null), gt = O(() => ce.filter((e) => !e.requiresAdmin || pt), [pt]), [_t, vt] = Me(null), [yt, bt] = Me(!1), xt = k({}), St = k(je()), Ct = k(/* @__PURE__ */ new Set()), wt = O(() => ce.find((e) => e.id === I), [I]);
100
- D(() => {
101
- mt || (!wt || wt.requiresAdmin && !pt) && I !== "assistant" && L("assistant");
93
+ var Ke = ({ visible: De = !0 }) => {
94
+ let O = Fe(), j = Le("workspace"), { getAccessToken: M, getWorkspaceToken: Ke, userId: qe } = Re(), { locale: Je } = Pe(), Ye = e((e) => e.assistantLanguage), Xe = e((e) => e.replyLanguage), Ze = E(() => _(Ye, Xe, Je), [
95
+ Ye,
96
+ Xe,
97
+ Je
98
+ ]), Qe = Ze.reply.english, $e = Ze.replyIsExplicit, et = Ze.reply.code, { conversations: tt, activeConversationId: N, mode: P, processingByConversationId: nt, setMode: F, setConversationMode: I, setActiveConversation: rt, createConversation: L, addMessage: R, updateMessage: it, patchMessage: z, mergeMessageMetadata: at, setConversationProcessing: B, clearConversationProcessing: ot, setBackendSessionId: st, clearBackendSessionId: V, setSandbox: H, clearSandbox: ct, acknowledgeApiCalls: lt } = e(), U = ye(tt.find((e) => e.id === N)), W = U.all, G = N ? nt[N] : void 0, ut = ne(G?.status), dt = ut ? G?.messageId ?? null : null, ft = G?.status === "error" ? G.messageId : null, { canUseApiCalls: pt, loading: mt } = _e(b()), ht = ve(y(), re() || null), gt = E(() => le.filter((e) => !e.requiresAdmin || pt), [pt]), [_t, vt] = Ne(null), [yt, bt] = Ne(!1), xt = D({}), St = D(Me()), Ct = D(/* @__PURE__ */ new Set()), wt = E(() => le.find((e) => e.id === P), [P]);
99
+ T(() => {
100
+ mt || (!wt || wt.requiresAdmin && !pt) && P !== "assistant" && F("assistant");
102
101
  }, [
103
- I,
102
+ P,
104
103
  wt,
105
104
  pt,
106
105
  mt,
107
- L
106
+ F
108
107
  ]);
109
- let K = E((e, t, n, r) => {
110
- H(e, n, t, null), r ? nt(e, t, r) : nt(e, t, Ue(n));
111
- }, [H, nt]), Tt = E(async (t, n, a, s, c) => {
112
- let u = e.getState().sandboxesByMode[a]?.sandboxId ?? null, d = async (e) => {
108
+ let K = w((e, t, n, r) => {
109
+ B(e, n, t, null), r ? it(e, t, r) : it(e, t, Ge(n));
110
+ }, [B, it]), Tt = w(async (t, i, o, s, c) => {
111
+ let l = e.getState().sandboxesByMode[o]?.sandboxId ?? null, te = async (e) => {
113
112
  if (St.current.isFresh(e)) return !0;
114
113
  try {
115
- return await p(N, e, s, c, 3e5, (e) => K(t, n, "provisioning", e)), await f(N, e, s, c, 9e4, (e) => K(t, n, "connecting", e)), St.current.markVerified(e), !0;
114
+ return await d(j, e, s, c, 3e5, (e) => K(t, i, "provisioning", e)), await u(j, e, s, c, 9e4, (e) => K(t, i, "connecting", e)), St.current.markVerified(e), !0;
116
115
  } catch {
117
116
  return St.current.invalidate(e), !1;
118
117
  }
119
118
  };
120
- if (u && (W(a, u, "provisioning"), K(t, n, "provisioning", "Reusing assistant environment..."), await d(u) || (W(a, null, "provisioning"), u = null)), !u) {
121
- K(t, n, "provisioning", "Looking for existing environment...");
122
- let e = await o(N, s, a, c);
123
- e && (W(a, e, "provisioning"), K(t, n, "provisioning", "Reusing assistant environment..."), await d(e) ? u = e : W(a, null, "provisioning"));
119
+ if (l && (H(o, l, "provisioning"), K(t, i, "provisioning", "Reusing assistant environment..."), await te(l) || (H(o, null, "provisioning"), l = null)), !l) {
120
+ K(t, i, "provisioning", "Looking for existing environment...");
121
+ let e = await a(j, s, o, c);
122
+ e && (H(o, e, "provisioning"), K(t, i, "provisioning", "Reusing assistant environment..."), await te(e) ? l = e : H(o, null, "provisioning"));
124
123
  }
125
- if (!u) {
126
- if (a === "api-calls" && !P()) throw Error("API Calls mode requires an authenticated session. Please sign in again.");
127
- K(t, n, "provisioning", "Starting assistant environment..."), W(a, null, "provisioning"), u = await r(N, a, s, c), W(a, u, "provisioning"), await p(N, u, s, c, 3e5, (e) => K(t, n, "provisioning", e)), await f(N, u, s, c, 9e4, (e) => K(t, n, "connecting", e));
124
+ if (!l) {
125
+ if (o === "api-calls" && !M()) throw Error("API Calls mode requires an authenticated session. Please sign in again.");
126
+ K(t, i, "provisioning", "Starting assistant environment..."), H(o, null, "provisioning"), l = await n(j, o, s, c), H(o, l, "provisioning"), await d(j, l, s, c, 3e5, (e) => K(t, i, "provisioning", e)), await u(j, l, s, c, 9e4, (e) => K(t, i, "connecting", e));
128
127
  }
129
- W(a, u, "running");
130
- let m = e.getState().conversations.find((e) => e.id === t)?.backendSessionId ?? null;
131
- if (m) try {
132
- let e = await l(N, u, s, m, c);
133
- if (e.mode !== a) throw Error(`Session mode mismatch: expected ${a}, received ${e.mode}`);
128
+ H(o, l, "running");
129
+ let f = e.getState().conversations.find((e) => e.id === t)?.backendSessionId ?? null;
130
+ if (f) try {
131
+ let e = await ee(j, l, s, f, c);
132
+ if (e.mode !== o) throw Error(`Session mode mismatch: expected ${o}, received ${e.mode}`);
134
133
  } catch {
135
- U(t), m = null;
134
+ V(t), f = null;
136
135
  }
137
- return m || (K(t, n, "connecting", "Preparing session..."), m = (await i(N, u, s, a, c)).sessionId, at(t, m)), {
138
- sandboxId: u,
139
- sessionId: m
136
+ return f || (K(t, i, "connecting", "Preparing session..."), f = (await r(j, l, s, o, c)).sessionId, st(t, f)), {
137
+ sandboxId: l,
138
+ sessionId: f
140
139
  };
141
140
  }, [
142
- N,
143
- U,
144
- P,
145
- at,
146
- W,
141
+ j,
142
+ V,
143
+ M,
144
+ st,
145
+ H,
147
146
  K
148
- ]), q = E(async (t, r = [], i = {}) => {
149
- let o = i.voiceSessionId !== void 0, l = e.getState(), f = l.activeConversationId ?? F;
150
- if (f && (b(l.processingByConversationId[f]?.status) || Ct.current.has(f))) return;
151
- let p = l.mode, h = F, _ = h ? e.getState().conversations.find((e) => e.id === h) : void 0;
152
- if (h ? _ && _.mode !== p && (_.messages.length > 0 || _.backendSessionId) ? h = z(void 0, p) : _ && _.mode !== p && R(h, p) : h = z(void 0, p), !h) return;
153
- xt.current[h] = r;
154
- let v = te(), y = {
155
- accessToken: P(),
156
- workspaceToken: We(),
157
- userId: Ge,
158
- organizationId: C()
159
- }, ee = {
160
- id: Be(),
147
+ ]), q = w(async (n, r = [], a = {}) => {
148
+ let ee = a.voiceSessionId !== void 0, u = e.getState(), d = u.activeConversationId ?? N;
149
+ if (d && (ne(u.processingByConversationId[d]?.status) || Ct.current.has(d))) return;
150
+ let f = u.mode, m = N, h = m ? e.getState().conversations.find((e) => e.id === m) : void 0;
151
+ if (m ? h && h.mode !== f && (h.messages.length > 0 || h.backendSessionId) ? m = L(void 0, f) : h && h.mode !== f && I(m, f) : m = L(void 0, f), !m) return;
152
+ xt.current[m] = r;
153
+ let g = re(), _ = {
154
+ accessToken: M(),
155
+ workspaceToken: Ke(),
156
+ userId: qe,
157
+ organizationId: b()
158
+ }, v = {
159
+ id: He(),
161
160
  role: "user",
162
- content: t,
161
+ content: n,
163
162
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
164
163
  metadata: {
165
- ...r.length ? { attachments: r.map(oe) } : {},
166
- ...g(i.voiceSessionId)
164
+ ...r.length ? { attachments: r.map(ce) } : {},
165
+ ...p(a.voiceSessionId)
167
166
  }
168
167
  };
169
- B(h, ee);
170
- let x = Be();
171
- B(h, {
172
- id: x,
168
+ R(m, v);
169
+ let y = He();
170
+ R(m, {
171
+ id: y,
173
172
  role: "assistant",
174
173
  content: "",
175
174
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
176
175
  metadata: {
177
- lang: Qe,
178
- ...g(i.voiceSessionId)
176
+ lang: et,
177
+ ...p(a.voiceSessionId)
179
178
  }
180
- }), H(h, "provisioning", x, null);
181
- let S = (e, t, n, r, a = Qe) => {
182
- V(h, x, { content: Ve(e) }), rt(h, x, {
183
- lang: a,
179
+ }), B(m, "provisioning", y, null);
180
+ let x = (e, t, n, r, i = et) => {
181
+ z(m, y, { content: Ue(e) }), at(m, y, {
182
+ lang: i,
184
183
  ...t?.length ? { artifacts: t } : {},
185
- ...t?.length || n || r ? { mode: p } : {},
184
+ ...t?.length || n || r ? { mode: f } : {},
186
185
  ...n ? { sessionId: n } : {},
187
186
  ...r ? { sandboxId: r } : {},
188
- ...g(i.voiceSessionId)
187
+ ...p(a.voiceSessionId)
189
188
  });
190
- }, w = async (e = 1) => {
191
- let i = !1;
189
+ }, S = async (e = 1) => {
190
+ let a = !1;
192
191
  try {
193
- await n(N, v, y);
192
+ await t(j, g, _);
194
193
  } catch (e) {
195
- if (ye(e)) {
196
- be("ai-credits"), S("You've run out of AI credits for this billing cycle. Upgrade your plan to keep chatting.", void 0, void 0, void 0, "en"), H(h, "error", x, null);
194
+ if (be(e)) {
195
+ xe("ai-credits"), x("You've run out of AI credits for this billing cycle. Upgrade your plan to keep chatting.", void 0, void 0, void 0, "en"), B(m, "error", y, null);
197
196
  return;
198
197
  }
199
198
  console.warn("[assistant] AI-credit pre-flight check failed with a non-quota error; proceeding — gateway @usage(checkQuota) still enforces the real budget downstream", e);
200
199
  }
201
200
  try {
202
- let { sandboxId: e, sessionId: n } = await Tt(h, x, p, v, y), l = (await c(N, e, v, n, y, 50).catch(() => [])).reduce((e, t) => Math.max(e, M(t)), 0);
203
- K(h, x, "streaming", "Thinking...");
204
- let f = Se(p, re(t, r), Xe, Ze, o), g = ne(f, r), _ = ae(g), ee = _ > 0, b = m();
205
- i = ie(r) > _;
201
+ let { sandboxId: e, sessionId: t } = await Tt(m, y, f, g, _), u = (await s(j, e, g, t, _, 50).catch(() => [])).reduce((e, t) => Math.max(e, A(t)), 0);
202
+ K(m, y, "streaming", "Thinking...");
203
+ let d = Ce(f, ae(n, r), Qe, $e, ee), p = ie(d, r), h = se(p), ne = h > 0, v = te();
204
+ a = oe(r) > h;
206
205
  try {
207
- await d(N, e, v, n, f, p, b, y, g);
208
- } catch (t) {
209
- if (!g || !Ce(t)) throw t;
210
- await d(N, e, v, n, f, p, b, y, void 0), i ||= ee;
206
+ await l(j, e, g, t, d, f, v, _, p);
207
+ } catch (n) {
208
+ if (!p || !we(n)) throw n;
209
+ await l(j, e, g, t, d, f, v, _, void 0), a ||= ne;
211
210
  }
212
- let C = He([], l), te = Date.now() + (Le[p] ?? Re), w = Date.now(), oe = Date.now();
213
- for (; Date.now() < te && (C = He(await c(N, e, v, n, y, 50, l), l), V(h, x, { content: Ve(C.content) }), C.pendingWrite && rt(h, x, { pendingWrite: C.pendingWrite }), !C.done);) Date.now() - w > 3e4 && (await a(N, e, v, 600, y).catch(() => void 0), w = Date.now()), await new Promise((e) => setTimeout(e, Te(Date.now() - oe)));
214
- if (!C.done && p !== "vibe-plugins") throw Error("Assistant response timed out while streaming progress");
215
- let T = p === "vibe-plugins" ? await s(N, e, v, n, y).catch(() => []) : void 0;
216
- if (C.done || (C = {
217
- ...C,
218
- content: `${C.content}\n\n_Still building in the background — any artifacts below will finish shortly. Re-open this conversation to pick up the completed plugin._`
219
- }), i && (C = {
220
- ...C,
221
- content: `${C.content}\n\n${A("healthybowl.assistant.attachments.imagesNotSent", "_Your photo was too large to include with this message, so the answer above is from the text and the file link only. Try a smaller or more tightly cropped photo._")}`
222
- }), S(C.content, T, n, e), C.tokens) {
223
- V(h, x, { tokens: C.tokens });
211
+ let b = We([], u), re = Date.now() + (ze[f] ?? Be), ce = Date.now(), S = Date.now();
212
+ for (; Date.now() < re && (b = We(await s(j, e, g, t, _, 50, u), u), z(m, y, { content: Ue(b.content) }), b.pendingWrite && at(m, y, { pendingWrite: b.pendingWrite }), !b.done);) Date.now() - ce > 3e4 && (await i(j, e, g, 600, _).catch(() => void 0), ce = Date.now()), await new Promise((e) => setTimeout(e, Ee(Date.now() - S)));
213
+ if (!b.done && f !== "vibe-plugins") throw Error("Assistant response timed out while streaming progress");
214
+ let C = f === "vibe-plugins" ? await o(j, e, g, t, _).catch(() => []) : void 0;
215
+ if (b.done || (b = {
216
+ ...b,
217
+ content: `${b.content}\n\n_Still building in the background — any artifacts below will finish shortly. Re-open this conversation to pick up the completed plugin._`
218
+ }), a && (b = {
219
+ ...b,
220
+ content: `${b.content}\n\n${O("attachments.imagesNotSent", "_Your photo was too large to include with this message, so the answer above is from the text and the file link only. Try a smaller or more tightly cropped photo._")}`
221
+ }), x(b.content, C, t, e), b.tokens) {
222
+ z(m, y, { tokens: b.tokens });
224
223
  try {
225
- await u(N, v, n, C.messageId, C.model, C.tokens, y), xe();
224
+ await c(j, g, t, b.messageId, b.model, b.tokens, _), Se();
226
225
  } catch {}
227
226
  }
228
- H(h, "complete", x, null);
227
+ B(m, "complete", y, null);
229
228
  } catch (t) {
230
- if (e === 1 && we(t)) return U(h), ot(p), w(2);
229
+ if (e === 1 && Te(t)) return V(m), ct(f), S(2);
231
230
  throw t;
232
231
  }
233
- }, T = h;
234
- Ct.current.add(T);
232
+ }, C = m;
233
+ Ct.current.add(C);
235
234
  try {
236
- if (!v) throw Error("Assistant backend is unavailable without an active workspace context.");
237
- await w();
235
+ if (!g) throw Error("Assistant backend is unavailable without an active workspace context.");
236
+ await S();
238
237
  } catch (t) {
239
- if (St.current.invalidate(e.getState().sandboxesByMode[p]?.sandboxId ?? null), ye(t)) {
240
- be("sandbox"), S("You've reached your sandbox limit on the current plan. Upgrade to start the AI assistant.", void 0, void 0, void 0, "en"), H(h, "error", x, null);
238
+ if (St.current.invalidate(e.getState().sandboxesByMode[f]?.sandboxId ?? null), be(t)) {
239
+ xe("sandbox"), x("You've reached your sandbox limit on the current plan. Upgrade to start the AI assistant.", void 0, void 0, void 0, "en"), B(m, "error", y, null);
241
240
  return;
242
241
  }
243
242
  let n = t instanceof Error ? t.message : "Something went wrong";
244
- H(h, "error", x, n), V(h, x, { content: `Sorry, an error occurred: ${n}. Please try again.` }), rt(h, x, {
243
+ B(m, "error", y, n), z(m, y, { content: `Sorry, an error occurred: ${n}. Please try again.` }), at(m, y, {
245
244
  lang: "en",
246
- ...g(i.voiceSessionId)
245
+ ...p(a.voiceSessionId)
247
246
  });
248
247
  } finally {
249
- Ct.current.delete(T);
248
+ Ct.current.delete(C);
250
249
  }
251
250
  }, [
252
- F,
253
- B,
254
251
  N,
255
- U,
256
- ot,
257
- $e,
258
- z,
259
- Tt,
260
- P,
261
- We,
252
+ R,
253
+ j,
262
254
  V,
263
- Ze,
255
+ ct,
256
+ tt,
257
+ L,
258
+ Tt,
259
+ M,
260
+ Ke,
261
+ z,
262
+ $e,
263
+ et,
264
264
  Qe,
265
- Xe,
266
- at,
267
- R,
268
- H,
269
- A,
265
+ st,
266
+ I,
267
+ B,
268
+ O,
270
269
  K,
271
- Ge
272
- ]), Et = E((e) => {
270
+ qe
271
+ ]), Et = w((e) => {
273
272
  q(e);
274
- }, [q]), Dt = E(() => {
275
- let e = [...G.chat].reverse().find((e) => e.role === "user"), t = F ? xt.current[F] ?? [] : [];
273
+ }, [q]), Dt = w(() => {
274
+ let e = [...U.chat].reverse().find((e) => e.role === "user"), t = N ? xt.current[N] ?? [] : [];
276
275
  e && q(e.content, t);
277
276
  }, [
278
- ct,
277
+ W,
279
278
  q,
280
- F
281
- ]), Ot = k(q);
282
- D(() => {
283
- Ot.current = q;
279
+ N
280
+ ]), J = D(q);
281
+ T(() => {
282
+ J.current = q;
284
283
  }, [q]);
285
- let J = O(() => {
284
+ let Ot = E(() => {
286
285
  if (ut) return null;
287
- for (let e = ct.length - 1; e >= 0; --e) {
288
- let t = ct[e];
289
- if (t?.role !== "assistant" || !h(t)) continue;
290
- let n = x(t.content).text.trim();
286
+ for (let e = W.length - 1; e >= 0; --e) {
287
+ let t = W[e];
288
+ if (t?.role !== "assistant" || !f(t)) continue;
289
+ let n = v(t.content).text.trim();
291
290
  return n ? {
292
291
  id: t.id,
293
292
  text: n
294
293
  } : null;
295
294
  }
296
295
  return null;
297
- }, [ct, ut]), kt = O(() => J ? De(J.text) : null, [J]), At = G.chat, Y = O(() => G.voice.filter((e) => e.role === "user" || e.role === "assistant").map((e) => ({
296
+ }, [W, ut]), kt = E(() => Ot ? Oe(Ot.text) : null, [Ot]), At = U.chat, Y = E(() => U.voice.filter((e) => e.role === "user" || e.role === "assistant").map((e) => ({
298
297
  id: e.id,
299
298
  role: e.role,
300
- text: x(e.content).text.trim(),
301
- sessionId: _(e),
299
+ text: v(e.content).text.trim(),
300
+ sessionId: m(e),
302
301
  timestamp: e.timestamp
303
- })).filter((e) => e.text.length > 0), [G.voice]), jt = E(() => {
302
+ })).filter((e) => e.text.length > 0), [U.voice]), jt = w(() => {
304
303
  if (Y.length === 0) return;
305
304
  let e = /* @__PURE__ */ new Date();
306
- v(ke(Y, {
307
- title: A("healthybowl.assistant.voiceSession.transcript", "Voice conversation"),
308
- savedAt: A("healthybowl.assistant.voiceSession.savedAt", "Saved"),
309
- session: A("healthybowl.assistant.voiceSession.sessionLabel", "Session"),
310
- earlier: A("healthybowl.assistant.voiceSession.earlierLabel", "Earlier"),
311
- you: A("healthybowl.assistant.voiceSession.speakerYou", "You"),
312
- assistant: A("healthybowl.assistant.voiceSession.speakerAssistant", "Assistant")
313
- }, e), Ae(e), "text/markdown");
314
- }, [Y, A]), X = fe(), Z = k(X);
305
+ h(Ae(Y, {
306
+ title: O("voiceSession.transcript", "Voice conversation"),
307
+ savedAt: O("voiceSession.savedAt", "Saved"),
308
+ session: O("voiceSession.sessionLabel", "Session"),
309
+ earlier: O("voiceSession.earlierLabel", "Earlier"),
310
+ you: O("voiceSession.speakerYou", "You"),
311
+ assistant: O("voiceSession.speakerAssistant", "Assistant")
312
+ }, e), je(e), "text/markdown");
313
+ }, [Y, O]), X = pe(), Z = D(X);
315
314
  Z.current = X;
316
- let Q = he({
317
- onSubmit: E((e, t) => {
315
+ let Q = ge({
316
+ onSubmit: w((e, t) => {
318
317
  let n = () => {
319
- let n = Z.current, r = w(n.attachments);
320
- Ot.current(e, r, { voiceSessionId: t }), n.clear();
318
+ let n = Z.current, r = x(n.attachments);
319
+ J.current(e, r, { voiceSessionId: t }), n.clear();
321
320
  };
322
321
  if (!Z.current.isBusy) {
323
322
  n();
324
323
  return;
325
324
  }
326
325
  let r = Date.now(), i = window.setInterval(() => {
327
- Z.current.isBusy && Date.now() - r < ze || (window.clearInterval(i), n());
326
+ Z.current.isBusy && Date.now() - r < Ve || (window.clearInterval(i), n());
328
327
  }, 200);
329
328
  }, []),
330
- latestReply: J,
331
- language: y(qe, Ke).tag
332
- }), Mt = E(() => {
329
+ latestReply: Ot,
330
+ language: g(Ye, Je).tag
331
+ }), Mt = w(() => {
333
332
  let t = e.getState().activeConversationId;
334
- !t || Y.length === 0 || (B(t, {
335
- id: Be(),
333
+ !t || Y.length === 0 || (R(t, {
334
+ id: He(),
336
335
  role: "system",
337
- content: Oe(Y, {
338
- intro: A("healthybowl.assistant.voiceSession.continuedIntro", "Continued from a voice conversation. You asked about:"),
339
- nothing: A("healthybowl.assistant.voiceSession.continuedNothing", "Continued from a voice conversation."),
340
- more: (e) => A("healthybowl.assistant.voiceSession.continuedMore", "…and {{count}} more", { count: e })
336
+ content: ke(Y, {
337
+ intro: O("voiceSession.continuedIntro", "Continued from a voice conversation. You asked about:"),
338
+ nothing: O("voiceSession.continuedNothing", "Continued from a voice conversation."),
339
+ more: (e) => O("voiceSession.continuedMore", "…and {{count}} more", { count: e })
341
340
  }),
342
341
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
343
342
  }), bt(!1), Q.end());
344
343
  }, [
345
344
  Y,
346
- B,
347
- A
345
+ R,
346
+ O
348
347
  ]);
349
- D(() => {
350
- !Ee && Q.active && Q.end();
351
- }, [Ee, Q]), D(() => {
348
+ T(() => {
349
+ !De && Q.active && Q.end();
350
+ }, [De, Q]), T(() => {
352
351
  Q.active || Z.current.clear();
353
- }, [Q.active]), D(() => {
352
+ }, [Q.active]), T(() => {
354
353
  let t = e.getState().consumePendingPrompt();
355
- return t && Ot.current(t), e.subscribe((t, n) => {
354
+ return t && J.current(t), e.subscribe((t, n) => {
356
355
  if (t.pendingPrompt && t.pendingPrompt !== n.pendingPrompt) {
357
356
  let t = e.getState().consumePendingPrompt();
358
- t && Ot.current(t);
357
+ t && J.current(t);
359
358
  }
360
359
  });
361
360
  }, []);
362
- let $ = E((t) => {
363
- let n = F ? e.getState().conversations.find((e) => e.id === F) : void 0;
361
+ let $ = w((t) => {
362
+ let n = N ? e.getState().conversations.find((e) => e.id === N) : void 0;
364
363
  if (n && (n.messages.length > 0 || n.backendSessionId)) {
365
364
  if (n.mode !== t) {
366
365
  let n = e.getState().conversations.find((n) => n.mode === t && n.messages.length === 0 && !n.backendSessionId && !e.getState().processingByConversationId[n.id]);
367
- n ? tt(n.id) : z(void 0, t);
366
+ n ? rt(n.id) : L(void 0, t);
368
367
  }
369
- } else F && R(F, t);
370
- L(t);
368
+ } else N && I(N, t);
369
+ F(t);
371
370
  }, [
372
- F,
373
- z,
374
- tt,
375
- R,
376
- L
377
- ]), Nt = E((t) => {
378
- if (ce.find((e) => e.id === t)?.writeCapable && !e.getState().apiCallsAcknowledged) {
371
+ N,
372
+ L,
373
+ rt,
374
+ I,
375
+ F
376
+ ]), Nt = w((t) => {
377
+ if (le.find((e) => e.id === t)?.writeCapable && !e.getState().apiCallsAcknowledged) {
379
378
  vt(t);
380
379
  return;
381
380
  }
382
381
  $(t);
383
- }, [$]), Pt = E(() => {
382
+ }, [$]), Pt = w(() => {
384
383
  let e = _t;
385
- vt(null), st(), e && $(e);
384
+ vt(null), lt(), e && $(e);
386
385
  }, [
387
386
  _t,
388
- st,
387
+ lt,
389
388
  $
390
- ]), Ft = E(() => {
389
+ ]), Ft = w(() => {
391
390
  vt(null);
392
391
  }, []);
393
- return /* @__PURE__ */ Pe("div", {
392
+ return /* @__PURE__ */ Ie("div", {
394
393
  className: "relative flex flex-1 flex-col overflow-hidden",
395
394
  children: [
396
- /* @__PURE__ */ Pe("div", {
395
+ /* @__PURE__ */ Ie("div", {
397
396
  className: "contents",
398
397
  inert: Q.active || void 0,
399
398
  children: [
400
- Y.length > 0 && !Q.active ? /* @__PURE__ */ j(ue, {
399
+ Y.length > 0 && !Q.active ? /* @__PURE__ */ k(de, {
401
400
  count: Y.length,
402
401
  onOpenTranscript: () => bt(!0)
403
402
  }) : null,
404
- At.length === 0 ? /* @__PURE__ */ j(le, {
405
- mode: I,
403
+ At.length === 0 ? /* @__PURE__ */ k(ue, {
404
+ mode: P,
406
405
  onSuggestionClick: Et
407
- }) : /* @__PURE__ */ j("div", {
406
+ }) : /* @__PURE__ */ k("div", {
408
407
  className: "flex min-h-0 flex-1 flex-col",
409
- children: /* @__PURE__ */ j(T, {
408
+ children: /* @__PURE__ */ k(S, {
410
409
  messages: At,
411
410
  streamingMessageId: dt,
412
411
  failedMessageId: ft,
413
412
  onRetry: Dt
414
413
  })
415
414
  }),
416
- /* @__PURE__ */ j(pe, {
417
- onStartVoiceSession: Q.available && I !== "api-calls" ? Q.start : void 0,
415
+ /* @__PURE__ */ k(me, {
416
+ onStartVoiceSession: Q.available && P !== "api-calls" ? Q.start : void 0,
418
417
  onSend: (e, t) => void q(e, t),
419
418
  disabled: ut,
420
- placeholder: I === "api-calls" ? A("healthybowl.assistant.chatArea.placeholderActions", "What would you like me to do?") : A("healthybowl.assistant.chatArea.placeholderGeneral", "Ask HealthyBowl anything…"),
421
- mode: I,
419
+ placeholder: P === "api-calls" ? O("chatArea.placeholderActions", "What would you like me to do?") : O("chatArea.placeholderGeneral", "Ask HealthyBowl anything…"),
420
+ mode: P,
422
421
  writeAccessDenied: ht === "denied" && !!wt?.writeCapable,
423
422
  availableModes: gt,
424
423
  onModeChange: Nt
425
424
  })
426
425
  ]
427
426
  }),
428
- yt && !Q.active ? /* @__PURE__ */ j(de, {
427
+ yt && !Q.active ? /* @__PURE__ */ k(fe, {
429
428
  turns: Y,
430
429
  onClose: () => bt(!1),
431
430
  onSave: jt
432
431
  }) : null,
433
- Q.active && /* @__PURE__ */ j(me, {
432
+ Q.active && /* @__PURE__ */ k(he, {
434
433
  session: Q.session,
435
434
  notice: Q.notice,
436
435
  capturing: Q.capturing,
@@ -451,7 +450,7 @@ var We = ({ visible: Ee = !0 }) => {
451
450
  onToggleMute: Q.toggleMute,
452
451
  onEnd: Q.end
453
452
  }),
454
- /* @__PURE__ */ j(se, {
453
+ /* @__PURE__ */ k(C, {
455
454
  open: _t !== null,
456
455
  onConfirm: Pt,
457
456
  onCancel: Ft
@@ -460,6 +459,6 @@ var We = ({ visible: Ee = !0 }) => {
460
459
  });
461
460
  };
462
461
  //#endregion
463
- export { We as AssistantChatArea };
462
+ export { Ke as AssistantChatArea };
464
463
 
465
464
  //# sourceMappingURL=AssistantChatArea.js.map