@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.
- package/dist/components.js +10 -4
- package/dist/components.js.map +1 -1
- package/dist/{detachedRunActivity-CCrlilHK.js → detachedRunActivity-Do_FRA34.js} +50 -30
- package/dist/detachedRunActivity-Do_FRA34.js.map +1 -0
- package/dist/hooks.js +1 -1
- package/dist/{httpSessionService-BLiZMoLb.js → httpSessionService-Cgf8uqMk.js} +2 -2
- package/dist/{httpSessionService-BLiZMoLb.js.map → httpSessionService-Cgf8uqMk.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/models.js +1 -1
- package/dist/{serializer-DvfyE4_t.js → serializer-CdIQS0hy.js} +70 -68
- package/dist/serializer-CdIQS0hy.js.map +1 -0
- package/dist/services.js +2 -2
- package/dist/src/components/AiChat/aiChatEngine.d.ts +6 -0
- package/dist/src/models/enums.d.ts +3 -1
- package/dist/src/services/WebSocketConnection/webSocketConnection.d.ts +3 -0
- package/dist/src/services/servers/AgentGatewayWSAsync.d.ts +20 -3
- package/dist/{useChatSessions-BI3bHoOh.js → useChatSessions-DbU4PVLf.js} +2 -2
- package/dist/{useChatSessions-BI3bHoOh.js.map → useChatSessions-DbU4PVLf.js.map} +1 -1
- package/package.json +1 -1
- package/dist/detachedRunActivity-CCrlilHK.js.map +0 -1
- package/dist/serializer-DvfyE4_t.js.map +0 -1
package/dist/components.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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
|