@burtson-labs/bandit-engine 2.0.42 → 2.0.44
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/{chat-XDC4SNJF.mjs → chat-7U633EWN.mjs} +2 -2
- package/dist/{chunk-4RCAVVDN.mjs → chunk-JRGCRBWE.mjs} +2 -2
- package/dist/{chunk-EOEI74X4.mjs → chunk-QV4ELNLP.mjs} +45 -20
- package/dist/chunk-QV4ELNLP.mjs.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +40 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +40 -9
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-EOEI74X4.mjs.map +0 -1
- /package/dist/{chat-XDC4SNJF.mjs.map → chat-7U633EWN.mjs.map} +0 -0
- /package/dist/{chunk-4RCAVVDN.mjs.map → chunk-JRGCRBWE.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QV4ELNLP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
chat_provider_default
|
|
6
6
|
} from "./chunk-KBKWVG7X.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
useGatewayHealth,
|
|
11
11
|
useGatewayMemory,
|
|
12
12
|
useGatewayModels
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JRGCRBWE.mjs";
|
|
14
14
|
import "./chunk-H4PBQ5LJ.mjs";
|
|
15
15
|
import "./chunk-RTQDQ6TC.mjs";
|
|
16
16
|
import {
|
|
@@ -24529,6 +24529,24 @@ var init_project_header = __esm({
|
|
|
24529
24529
|
}
|
|
24530
24530
|
});
|
|
24531
24531
|
|
|
24532
|
+
// src/config/tooltips.ts
|
|
24533
|
+
var TOOLTIP_COPY, tooltip;
|
|
24534
|
+
var init_tooltips = __esm({
|
|
24535
|
+
"src/config/tooltips.ts"() {
|
|
24536
|
+
"use strict";
|
|
24537
|
+
TOOLTIP_COPY = {
|
|
24538
|
+
openNavigation: "Open navigation",
|
|
24539
|
+
closeNavigation: "Close navigation",
|
|
24540
|
+
manageProjects: "Manage projects",
|
|
24541
|
+
conversationOptions: "Open conversation options",
|
|
24542
|
+
closeConversationsPanel: "Close conversations panel",
|
|
24543
|
+
clearSearch: "Clear search",
|
|
24544
|
+
addProject: "Add new project"
|
|
24545
|
+
};
|
|
24546
|
+
tooltip = (key) => TOOLTIP_COPY[key];
|
|
24547
|
+
}
|
|
24548
|
+
});
|
|
24549
|
+
|
|
24532
24550
|
// src/chat/conversation-drawer.tsx
|
|
24533
24551
|
var import_react48, import_material37, import_icons_material9, import_icons_material10, import_styles27, import_jsx_runtime37, BANDIT_AVATAR, coerceOptionalString, deriveInitials, ConversationDrawer, conversation_drawer_default;
|
|
24534
24552
|
var init_conversation_drawer = __esm({
|
|
@@ -24548,6 +24566,7 @@ var init_conversation_drawer = __esm({
|
|
|
24548
24566
|
init_simple_conversation_item();
|
|
24549
24567
|
init_project_header();
|
|
24550
24568
|
init_debugLogger();
|
|
24569
|
+
init_tooltips();
|
|
24551
24570
|
import_jsx_runtime37 = require("react/jsx-runtime");
|
|
24552
24571
|
BANDIT_AVATAR = "https://cdn.burtson.ai/images/bandit-head.png";
|
|
24553
24572
|
coerceOptionalString = (value) => {
|
|
@@ -24824,11 +24843,12 @@ var init_conversation_drawer = __esm({
|
|
|
24824
24843
|
gap: 1
|
|
24825
24844
|
},
|
|
24826
24845
|
children: [
|
|
24827
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24846
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.Tooltip, { title: tooltip("manageProjects"), arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24828
24847
|
import_material37.IconButton,
|
|
24829
24848
|
{
|
|
24830
24849
|
onClick: () => setProjectManagementOpen(true),
|
|
24831
24850
|
size: "small",
|
|
24851
|
+
"aria-label": tooltip("manageProjects"),
|
|
24832
24852
|
sx: {
|
|
24833
24853
|
color: theme.palette.text.secondary,
|
|
24834
24854
|
"&:hover": {
|
|
@@ -24838,12 +24858,13 @@ var init_conversation_drawer = __esm({
|
|
|
24838
24858
|
},
|
|
24839
24859
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons_material9.Folder, {})
|
|
24840
24860
|
}
|
|
24841
|
-
),
|
|
24842
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24861
|
+
) }),
|
|
24862
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.Tooltip, { title: tooltip("conversationOptions"), arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24843
24863
|
import_material37.IconButton,
|
|
24844
24864
|
{
|
|
24845
24865
|
onClick: handleMenuOpen,
|
|
24846
24866
|
size: "small",
|
|
24867
|
+
"aria-label": tooltip("conversationOptions"),
|
|
24847
24868
|
sx: {
|
|
24848
24869
|
color: theme.palette.text.secondary,
|
|
24849
24870
|
"&:hover": {
|
|
@@ -24853,8 +24874,8 @@ var init_conversation_drawer = __esm({
|
|
|
24853
24874
|
},
|
|
24854
24875
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons_material9.MoreVert, {})
|
|
24855
24876
|
}
|
|
24856
|
-
),
|
|
24857
|
-
isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24877
|
+
) }),
|
|
24878
|
+
isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.Tooltip, { title: tooltip("closeConversationsPanel"), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24858
24879
|
import_material37.IconButton,
|
|
24859
24880
|
{
|
|
24860
24881
|
onClick: (e) => {
|
|
@@ -24863,6 +24884,7 @@ var init_conversation_drawer = __esm({
|
|
|
24863
24884
|
onClose();
|
|
24864
24885
|
},
|
|
24865
24886
|
size: "small",
|
|
24887
|
+
"aria-label": tooltip("closeConversationsPanel"),
|
|
24866
24888
|
sx: {
|
|
24867
24889
|
color: theme.palette.text.secondary,
|
|
24868
24890
|
"&:hover": {
|
|
@@ -24872,7 +24894,7 @@ var init_conversation_drawer = __esm({
|
|
|
24872
24894
|
},
|
|
24873
24895
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons_material9.Close, {})
|
|
24874
24896
|
}
|
|
24875
|
-
)
|
|
24897
|
+
) })
|
|
24876
24898
|
]
|
|
24877
24899
|
}
|
|
24878
24900
|
),
|
|
@@ -24887,16 +24909,17 @@ var init_conversation_drawer = __esm({
|
|
|
24887
24909
|
variant: "outlined",
|
|
24888
24910
|
InputProps: {
|
|
24889
24911
|
startAdornment: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.InputAdornment, { position: "start", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons_material9.Search, { fontSize: "small", sx: { color: theme.palette.text.secondary } }) }),
|
|
24890
|
-
endAdornment: searchQuery && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.InputAdornment, { position: "end", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24912
|
+
endAdornment: searchQuery && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.InputAdornment, { position: "end", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.Tooltip, { title: tooltip("clearSearch"), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24891
24913
|
import_material37.IconButton,
|
|
24892
24914
|
{
|
|
24893
24915
|
onClick: handleSearchClear,
|
|
24894
24916
|
size: "small",
|
|
24895
24917
|
edge: "end",
|
|
24918
|
+
"aria-label": tooltip("clearSearch"),
|
|
24896
24919
|
sx: { color: theme.palette.text.secondary },
|
|
24897
24920
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons_material9.Clear, { fontSize: "small" })
|
|
24898
24921
|
}
|
|
24899
|
-
) })
|
|
24922
|
+
) }) })
|
|
24900
24923
|
},
|
|
24901
24924
|
sx: {
|
|
24902
24925
|
"& .MuiOutlinedInput-root": {
|
|
@@ -24971,7 +24994,15 @@ var init_conversation_drawer = __esm({
|
|
|
24971
24994
|
children: "New Project"
|
|
24972
24995
|
}
|
|
24973
24996
|
),
|
|
24974
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.
|
|
24997
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material37.Tooltip, { title: tooltip("addProject"), arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
24998
|
+
import_material37.IconButton,
|
|
24999
|
+
{
|
|
25000
|
+
size: "small",
|
|
25001
|
+
"aria-label": tooltip("addProject"),
|
|
25002
|
+
sx: { color: theme.palette.success.main },
|
|
25003
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_icons_material10.Add, { fontSize: "small" })
|
|
25004
|
+
}
|
|
25005
|
+
) })
|
|
24975
25006
|
]
|
|
24976
25007
|
}
|
|
24977
25008
|
),
|