@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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-EOEI74X4.mjs";
3
+ } from "./chunk-QV4ELNLP.mjs";
4
4
  import "./chunk-ONQMRE2G.mjs";
5
5
  import "./chunk-RTQDQ6TC.mjs";
6
6
  import "./chunk-SBNENBUQ.mjs";
@@ -12,4 +12,4 @@ import "./chunk-BJTO5JO5.mjs";
12
12
  export {
13
13
  chat_default as default
14
14
  };
15
- //# sourceMappingURL=chat-XDC4SNJF.mjs.map
15
+ //# sourceMappingURL=chat-7U633EWN.mjs.map
@@ -7797,7 +7797,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
7797
7797
 
7798
7798
  // src/management/management.tsx
7799
7799
  import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
7800
- var preloadChatPage = () => import("./chat-XDC4SNJF.mjs");
7800
+ var preloadChatPage = () => import("./chat-7U633EWN.mjs");
7801
7801
  var Management = () => {
7802
7802
  const navigate = useNavigate();
7803
7803
  const notificationService = useNotificationService();
@@ -8975,4 +8975,4 @@ export {
8975
8975
  useGatewayMemory,
8976
8976
  management_default
8977
8977
  };
8978
- //# sourceMappingURL=chunk-4RCAVVDN.mjs.map
8978
+ //# sourceMappingURL=chunk-JRGCRBWE.mjs.map
@@ -3823,7 +3823,7 @@ import {
3823
3823
  IconButton as IconButton10,
3824
3824
  Menu as Menu5,
3825
3825
  MenuItem as MenuItem5,
3826
- Tooltip as Tooltip4,
3826
+ Tooltip as Tooltip5,
3827
3827
  useMediaQuery as useMediaQuery5,
3828
3828
  useTheme as useTheme12,
3829
3829
  Dialog as Dialog5,
@@ -3852,6 +3852,7 @@ import {
3852
3852
  Box as Box9,
3853
3853
  Typography as Typography6,
3854
3854
  IconButton as IconButton8,
3855
+ Tooltip as Tooltip4,
3855
3856
  TextField as TextField5,
3856
3857
  InputAdornment,
3857
3858
  useMediaQuery as useMediaQuery4,
@@ -5408,6 +5409,18 @@ var ProjectHeader = ({
5408
5409
  };
5409
5410
  var project_header_default = ProjectHeader;
5410
5411
 
5412
+ // src/config/tooltips.ts
5413
+ var TOOLTIP_COPY = {
5414
+ openNavigation: "Open navigation",
5415
+ closeNavigation: "Close navigation",
5416
+ manageProjects: "Manage projects",
5417
+ conversationOptions: "Open conversation options",
5418
+ closeConversationsPanel: "Close conversations panel",
5419
+ clearSearch: "Clear search",
5420
+ addProject: "Add new project"
5421
+ };
5422
+ var tooltip = (key) => TOOLTIP_COPY[key];
5423
+
5411
5424
  // src/chat/conversation-drawer.tsx
5412
5425
  import { Fragment as Fragment6, jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
5413
5426
  var BANDIT_AVATAR = "https://cdn.burtson.ai/images/bandit-head.png";
@@ -5685,11 +5698,12 @@ var ConversationDrawer = ({ open, onClose }) => {
5685
5698
  gap: 1
5686
5699
  },
5687
5700
  children: [
5688
- /* @__PURE__ */ jsx12(
5701
+ /* @__PURE__ */ jsx12(Tooltip4, { title: tooltip("manageProjects"), arrow: true, children: /* @__PURE__ */ jsx12(
5689
5702
  IconButton8,
5690
5703
  {
5691
5704
  onClick: () => setProjectManagementOpen(true),
5692
5705
  size: "small",
5706
+ "aria-label": tooltip("manageProjects"),
5693
5707
  sx: {
5694
5708
  color: theme.palette.text.secondary,
5695
5709
  "&:hover": {
@@ -5699,12 +5713,13 @@ var ConversationDrawer = ({ open, onClose }) => {
5699
5713
  },
5700
5714
  children: /* @__PURE__ */ jsx12(FolderIcon4, {})
5701
5715
  }
5702
- ),
5703
- /* @__PURE__ */ jsx12(
5716
+ ) }),
5717
+ /* @__PURE__ */ jsx12(Tooltip4, { title: tooltip("conversationOptions"), arrow: true, children: /* @__PURE__ */ jsx12(
5704
5718
  IconButton8,
5705
5719
  {
5706
5720
  onClick: handleMenuOpen,
5707
5721
  size: "small",
5722
+ "aria-label": tooltip("conversationOptions"),
5708
5723
  sx: {
5709
5724
  color: theme.palette.text.secondary,
5710
5725
  "&:hover": {
@@ -5714,8 +5729,8 @@ var ConversationDrawer = ({ open, onClose }) => {
5714
5729
  },
5715
5730
  children: /* @__PURE__ */ jsx12(MoreVertIcon3, {})
5716
5731
  }
5717
- ),
5718
- isMobile && /* @__PURE__ */ jsx12(
5732
+ ) }),
5733
+ isMobile && /* @__PURE__ */ jsx12(Tooltip4, { title: tooltip("closeConversationsPanel"), children: /* @__PURE__ */ jsx12(
5719
5734
  IconButton8,
5720
5735
  {
5721
5736
  onClick: (e) => {
@@ -5724,6 +5739,7 @@ var ConversationDrawer = ({ open, onClose }) => {
5724
5739
  onClose();
5725
5740
  },
5726
5741
  size: "small",
5742
+ "aria-label": tooltip("closeConversationsPanel"),
5727
5743
  sx: {
5728
5744
  color: theme.palette.text.secondary,
5729
5745
  "&:hover": {
@@ -5733,7 +5749,7 @@ var ConversationDrawer = ({ open, onClose }) => {
5733
5749
  },
5734
5750
  children: /* @__PURE__ */ jsx12(CloseIcon5, {})
5735
5751
  }
5736
- )
5752
+ ) })
5737
5753
  ]
5738
5754
  }
5739
5755
  ),
@@ -5748,16 +5764,17 @@ var ConversationDrawer = ({ open, onClose }) => {
5748
5764
  variant: "outlined",
5749
5765
  InputProps: {
5750
5766
  startAdornment: /* @__PURE__ */ jsx12(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx12(SearchIcon, { fontSize: "small", sx: { color: theme.palette.text.secondary } }) }),
5751
- endAdornment: searchQuery && /* @__PURE__ */ jsx12(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx12(
5767
+ endAdornment: searchQuery && /* @__PURE__ */ jsx12(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx12(Tooltip4, { title: tooltip("clearSearch"), children: /* @__PURE__ */ jsx12(
5752
5768
  IconButton8,
5753
5769
  {
5754
5770
  onClick: handleSearchClear,
5755
5771
  size: "small",
5756
5772
  edge: "end",
5773
+ "aria-label": tooltip("clearSearch"),
5757
5774
  sx: { color: theme.palette.text.secondary },
5758
5775
  children: /* @__PURE__ */ jsx12(ClearIcon, { fontSize: "small" })
5759
5776
  }
5760
- ) })
5777
+ ) }) })
5761
5778
  },
5762
5779
  sx: {
5763
5780
  "& .MuiOutlinedInput-root": {
@@ -5832,7 +5849,15 @@ var ConversationDrawer = ({ open, onClose }) => {
5832
5849
  children: "New Project"
5833
5850
  }
5834
5851
  ),
5835
- /* @__PURE__ */ jsx12(IconButton8, { size: "small", sx: { color: theme.palette.success.main }, children: /* @__PURE__ */ jsx12(AddIcon3, { fontSize: "small" }) })
5852
+ /* @__PURE__ */ jsx12(Tooltip4, { title: tooltip("addProject"), arrow: true, children: /* @__PURE__ */ jsx12(
5853
+ IconButton8,
5854
+ {
5855
+ size: "small",
5856
+ "aria-label": tooltip("addProject"),
5857
+ sx: { color: theme.palette.success.main },
5858
+ children: /* @__PURE__ */ jsx12(AddIcon3, { fontSize: "small" })
5859
+ }
5860
+ ) })
5836
5861
  ]
5837
5862
  }
5838
5863
  ),
@@ -7321,7 +7346,7 @@ var ChatAppBar = ({
7321
7346
  }
7322
7347
  },
7323
7348
  children: [
7324
- /* @__PURE__ */ jsx14(Tooltip4, { title: preferences.homeUrl && preferences.homeUrl.trim() ? `Home (${new URL(preferences.homeUrl).hostname})` : "Home", arrow: true, children: /* @__PURE__ */ jsx14(
7349
+ /* @__PURE__ */ jsx14(Tooltip5, { title: preferences.homeUrl && preferences.homeUrl.trim() ? `Home (${new URL(preferences.homeUrl).hostname})` : "Home", arrow: true, children: /* @__PURE__ */ jsx14(
7325
7350
  IconButton10,
7326
7351
  {
7327
7352
  onClick: goToHome,
@@ -7330,7 +7355,7 @@ var ChatAppBar = ({
7330
7355
  children: /* @__PURE__ */ jsx14(HomeIcon, {})
7331
7356
  }
7332
7357
  ) }),
7333
- showLimitedAdminPanel() && /* @__PURE__ */ jsx14(Tooltip4, { title: "Management & Settings", arrow: true, children: /* @__PURE__ */ jsx14(
7358
+ showLimitedAdminPanel() && /* @__PURE__ */ jsx14(Tooltip5, { title: "Management & Settings", arrow: true, children: /* @__PURE__ */ jsx14(
7334
7359
  IconButton10,
7335
7360
  {
7336
7361
  onClick: () => safeNavigate(managementPath),
@@ -7345,7 +7370,7 @@ var ChatAppBar = ({
7345
7370
  children: /* @__PURE__ */ jsx14(SettingsIcon, {})
7346
7371
  }
7347
7372
  ) }),
7348
- /* @__PURE__ */ jsx14(Tooltip4, { title: syncTooltip, arrow: true, children: /* @__PURE__ */ jsxs11(
7373
+ /* @__PURE__ */ jsx14(Tooltip5, { title: syncTooltip, arrow: true, children: /* @__PURE__ */ jsxs11(
7349
7374
  IconButton10,
7350
7375
  {
7351
7376
  onClick: handleSyncBadgeClick,
@@ -7387,7 +7412,7 @@ var ChatAppBar = ({
7387
7412
  ]
7388
7413
  }
7389
7414
  ) }),
7390
- !isMobile && /* @__PURE__ */ jsx14(Tooltip4, { title: `${drawerOpen ? "Close" : "Open"} Conversations`, arrow: true, children: /* @__PURE__ */ jsxs11(
7415
+ !isMobile && /* @__PURE__ */ jsx14(Tooltip5, { title: `${drawerOpen ? "Close" : "Open"} Conversations`, arrow: true, children: /* @__PURE__ */ jsxs11(
7391
7416
  IconButton10,
7392
7417
  {
7393
7418
  onClick: () => setDrawerOpen(!drawerOpen),
@@ -7428,7 +7453,7 @@ var ChatAppBar = ({
7428
7453
  ]
7429
7454
  }
7430
7455
  ) }),
7431
- !isMobile && canShowNewConversationButton && /* @__PURE__ */ jsx14(Tooltip4, { title: "Start New Conversation", arrow: true, children: /* @__PURE__ */ jsx14(
7456
+ !isMobile && canShowNewConversationButton && /* @__PURE__ */ jsx14(Tooltip5, { title: "Start New Conversation", arrow: true, children: /* @__PURE__ */ jsx14(
7432
7457
  IconButton10,
7433
7458
  {
7434
7459
  onClick: () => createNewConversation(),
@@ -7469,7 +7494,7 @@ var ChatAppBar = ({
7469
7494
  }
7470
7495
  },
7471
7496
  children: [
7472
- isMobile && /* @__PURE__ */ jsx14(Tooltip4, { title: `Conversations (${conversations.length})`, arrow: true, children: /* @__PURE__ */ jsxs11(
7497
+ isMobile && /* @__PURE__ */ jsx14(Tooltip5, { title: `Conversations (${conversations.length})`, arrow: true, children: /* @__PURE__ */ jsxs11(
7473
7498
  IconButton10,
7474
7499
  {
7475
7500
  onClick: () => setModalOpen(true),
@@ -7506,7 +7531,7 @@ var ChatAppBar = ({
7506
7531
  ]
7507
7532
  }
7508
7533
  ) }),
7509
- isMobile && canShowNewConversationButton && /* @__PURE__ */ jsx14(Tooltip4, { title: "Start New Conversation", arrow: true, children: /* @__PURE__ */ jsx14(
7534
+ isMobile && canShowNewConversationButton && /* @__PURE__ */ jsx14(Tooltip5, { title: "Start New Conversation", arrow: true, children: /* @__PURE__ */ jsx14(
7510
7535
  IconButton10,
7511
7536
  {
7512
7537
  onClick: () => {
@@ -7526,7 +7551,7 @@ var ChatAppBar = ({
7526
7551
  children: /* @__PURE__ */ jsx14(AddIcon5, { fontSize: "small" })
7527
7552
  }
7528
7553
  ) }),
7529
- /* @__PURE__ */ jsx14(Tooltip4, { title: `Current AI: ${selectedModel.replace("Bandit-", "")}`, arrow: true, children: /* @__PURE__ */ jsx14(
7554
+ /* @__PURE__ */ jsx14(Tooltip5, { title: `Current AI: ${selectedModel.replace("Bandit-", "")}`, arrow: true, children: /* @__PURE__ */ jsx14(
7530
7555
  IconButton10,
7531
7556
  {
7532
7557
  onClick: (e) => setModelAnchorEl(e.currentTarget),
@@ -7670,7 +7695,7 @@ var ChatAppBar = ({
7670
7695
  }
7671
7696
  ),
7672
7697
  isTTSAvailable && /* @__PURE__ */ jsxs11(Fragment8, { children: [
7673
- /* @__PURE__ */ jsx14(Tooltip4, { title: `Voice: ${selectedVoice ? toTitleCase(selectedVoice.split("-")[1]) : "Default"}`, arrow: true, children: /* @__PURE__ */ jsx14(
7698
+ /* @__PURE__ */ jsx14(Tooltip5, { title: `Voice: ${selectedVoice ? toTitleCase(selectedVoice.split("-")[1]) : "Default"}`, arrow: true, children: /* @__PURE__ */ jsx14(
7674
7699
  IconButton10,
7675
7700
  {
7676
7701
  onClick: (e) => setVoiceAnchorEl(e.currentTarget),
@@ -9545,4 +9570,4 @@ var chat_default = Chat;
9545
9570
  export {
9546
9571
  chat_default
9547
9572
  };
9548
- //# sourceMappingURL=chunk-EOEI74X4.mjs.map
9573
+ //# sourceMappingURL=chunk-QV4ELNLP.mjs.map