@aintela/chat 0.12.1 → 0.13.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.
@@ -8,12 +8,12 @@ import xt, { createContext as Cr, useContext as Dt, useRef as Q, useMemo as Se,
8
8
  import { useTheme as Ft, Stack as De, Typography as je, Divider as zs, Box as Ae, Chip as qn, alpha as Gn, Tooltip as Tr, IconButton as an, Popover as Ml, Dialog as yi, DialogTitle as xi, DialogContent as vi, DialogActions as wi, Button as Yr, Tabs as du, Tab as Ds, Slider as uu, Collapse as zl, Paper as Dl, DialogContentText as pu, Alert as hu, AlertTitle as fu, useMediaQuery as Ol, Link as gu, Drawer as mu, LinearProgress as _l, Fade as bu, CircularProgress as yu, ButtonBase as xu, Skeleton as wn, CssBaseline as vu } from "@mui/material";
9
9
  import { useStore as wu, createStore as ku } from "zustand";
10
10
  import { C as tt } from "./Prompt-DZb7OaPp.js";
11
- import { m as Su, w as ki, M as Ji, E as ue, i as yt, s as Cu } from "./serializer-DvfyE4_t.js";
11
+ import { m as Su, w as ki, M as Ji, E as ue, i as yt, s as Cu } from "./serializer-CdIQS0hy.js";
12
12
  import { enqueueSnackbar as Qi } from "notistack";
13
- import { r as Tu, H as Eu } from "./httpSessionService-BLiZMoLb.js";
13
+ import { r as Tu, H as Eu } from "./httpSessionService-Cgf8uqMk.js";
14
14
  import { useTheme as mt, alpha as xe, createTheme as Iu } from "@mui/material/styles";
15
15
  import { C as ra, d as Pl, c as Au, b as Ru, i as Mu } from "./detachedRunModel-X59Pb5V-.js";
16
- import { E as zu, L as Du, H as Ou, c as _u, A as Dn, u as Pu, I as Xo, W as Si, s as Lu, r as Fu, a as Ll, C as ju } from "./detachedRunActivity-CCrlilHK.js";
16
+ import { E as zu, L as Du, H as Ou, c as _u, A as Dn, u as Pu, I as Xo, W as Si, s as Lu, r as Fu, a as Ll, C as ju } from "./detachedRunActivity-Do_FRA34.js";
17
17
  import { devtools as $u } from "zustand/middleware";
18
18
  import M from "@mui/material/Box";
19
19
  import ee from "@mui/material/Typography";
@@ -1136,6 +1136,7 @@ function io(e) {
1136
1136
  setModel: /* @__PURE__ */ t((d) => m.setModel(d), "setModel"),
1137
1137
  getModel: /* @__PURE__ */ t(() => m.getModel(), "getModel"),
1138
1138
  announceDetachedRun: /* @__PURE__ */ t((d, I) => m.announceDetachedRun(d, I), "announceDetachedRun"),
1139
+ announceHostEvent: /* @__PURE__ */ t((d, I, g) => m.announceHostEvent(d, I, g), "announceHostEvent"),
1139
1140
  dispose: /* @__PURE__ */ t(() => h.stop().catch(() => {
1140
1141
  }), "dispose")
1141
1142
  };
@@ -6826,7 +6827,7 @@ ${$}` : S);
6826
6827
  ) }),
6827
6828
  a && /* @__PURE__ */ n(ca, { onPromptSelected: Na }),
6828
6829
  i,
6829
- /* @__PURE__ */ A(M, { sx: { flex: 1, minWidth: 0, display: "flex", position: "relative" }, children: [
6830
+ /* @__PURE__ */ A(M, { sx: { flex: 1, minWidth: 0, display: "flex", position: "relative", "& textarea::-webkit-scrollbar": { display: "none" } }, children: [
6830
6831
  rn && /* @__PURE__ */ n(
6831
6832
  M,
6832
6833
  {
@@ -6989,6 +6990,11 @@ ${$}` : S);
6989
6990
  lineHeight: 1.5,
6990
6991
  padding: "4px 4px",
6991
6992
  overflow: "auto",
6993
+ // Scrolls, but draws no bar: in a narrow host (a chat column beside a grid) a long
6994
+ // placeholder wraps past the box's height and the bar sat inside the pill, beside the
6995
+ // text, reading as a broken input. Wheel, touch and the caret still scroll it.
6996
+ scrollbarWidth: "none",
6997
+ // Firefox; WebKit/Blink: the parent Box's sx below
6992
6998
  // iOS Safari's text autosizing inflates text inside a BLOCK but leaves form
6993
6999
  // controls alone, so this textarea and the mirror above it laid out at different
6994
7000
  // glyph widths and wrapped at different points. The painted text stayed right (it