@burtson-labs/bandit-engine 2.0.99 → 2.0.101

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 (43) hide show
  1. package/dist/{aiProviderStore-337QNQB3.mjs → aiProviderStore-FTD277QP.mjs} +2 -2
  2. package/dist/chat-PMO3WTM4.mjs +16 -0
  3. package/dist/chat-provider.js +152 -111
  4. package/dist/chat-provider.js.map +1 -1
  5. package/dist/chat-provider.mjs +5 -5
  6. package/dist/{chunk-J2PMXOV2.mjs → chunk-37JLV5PU.mjs} +18 -143
  7. package/dist/chunk-37JLV5PU.mjs.map +1 -0
  8. package/dist/{chunk-H3BYFEIE.mjs → chunk-43MLINPL.mjs} +157 -7
  9. package/dist/chunk-43MLINPL.mjs.map +1 -0
  10. package/dist/{chunk-L2EKYO4F.mjs → chunk-BN3D45E2.mjs} +4 -4
  11. package/dist/{chunk-ZLXWNTFK.mjs → chunk-HAUDGBUS.mjs} +3 -5
  12. package/dist/{chunk-ZLXWNTFK.mjs.map → chunk-HAUDGBUS.mjs.map} +1 -1
  13. package/dist/{chunk-I7WBZVTR.mjs → chunk-JTDQTYJR.mjs} +13 -13
  14. package/dist/chunk-JTDQTYJR.mjs.map +1 -0
  15. package/dist/{chunk-RUMVTVNM.mjs → chunk-KYC7CC6C.mjs} +2 -2
  16. package/dist/{chunk-C2SY64XM.mjs → chunk-R3HBSHLE.mjs} +92 -46
  17. package/dist/chunk-R3HBSHLE.mjs.map +1 -0
  18. package/dist/{chunk-AGT77Z3A.mjs → chunk-RN3AKXKI.mjs} +4 -4
  19. package/dist/{chunk-IVLVUNIB.mjs → chunk-VIKZPBVO.mjs} +5 -5
  20. package/dist/{chunk-OSSZ7Z2O.mjs → chunk-VTKRZNLI.mjs} +8 -6
  21. package/dist/{chunk-OSSZ7Z2O.mjs.map → chunk-VTKRZNLI.mjs.map} +1 -1
  22. package/dist/index.js +106 -36
  23. package/dist/index.js.map +1 -1
  24. package/dist/index.mjs +13 -12
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/management/management.js +252 -182
  27. package/dist/management/management.js.map +1 -1
  28. package/dist/management/management.mjs +8 -8
  29. package/dist/modals/chat-modal/chat-modal.js +161 -121
  30. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  31. package/dist/modals/chat-modal/chat-modal.mjs +4 -4
  32. package/package.json +1 -1
  33. package/dist/chat-IOBCRT5Y.mjs +0 -16
  34. package/dist/chunk-C2SY64XM.mjs.map +0 -1
  35. package/dist/chunk-H3BYFEIE.mjs.map +0 -1
  36. package/dist/chunk-I7WBZVTR.mjs.map +0 -1
  37. package/dist/chunk-J2PMXOV2.mjs.map +0 -1
  38. /package/dist/{aiProviderStore-337QNQB3.mjs.map → aiProviderStore-FTD277QP.mjs.map} +0 -0
  39. /package/dist/{chat-IOBCRT5Y.mjs.map → chat-PMO3WTM4.mjs.map} +0 -0
  40. /package/dist/{chunk-L2EKYO4F.mjs.map → chunk-BN3D45E2.mjs.map} +0 -0
  41. /package/dist/{chunk-RUMVTVNM.mjs.map → chunk-KYC7CC6C.mjs.map} +0 -0
  42. /package/dist/{chunk-AGT77Z3A.mjs.map → chunk-RN3AKXKI.mjs.map} +0 -0
  43. /package/dist/{chunk-IVLVUNIB.mjs.map → chunk-VIKZPBVO.mjs.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  getHighlightTree,
5
5
  markdownSanitizeSchema,
6
6
  renderLowlightChildren
7
- } from "./chunk-IVLVUNIB.mjs";
7
+ } from "./chunk-VIKZPBVO.mjs";
8
8
 
9
9
  // src/components/StreamingMarkdown.tsx
10
10
  import React, { useEffect, useMemo, useRef, useState } from "react";
@@ -495,4 +495,4 @@ var StreamingMarkdown_default = React.memo(StreamingMarkdown, arePropsEqual);
495
495
  export {
496
496
  StreamingMarkdown_default
497
497
  };
498
- //# sourceMappingURL=chunk-RUMVTVNM.mjs.map
498
+ //# sourceMappingURL=chunk-KYC7CC6C.mjs.map
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-ONQMRE2G.mjs";
4
4
  import {
5
5
  StreamingMarkdown_default
6
- } from "./chunk-RUMVTVNM.mjs";
6
+ } from "./chunk-KYC7CC6C.mjs";
7
7
  import {
8
8
  useMCPToolsStore
9
- } from "./chunk-L2EKYO4F.mjs";
9
+ } from "./chunk-BN3D45E2.mjs";
10
10
  import {
11
11
  AddIcon,
12
12
  ArrowDownwardIcon,
@@ -44,9 +44,8 @@ import {
44
44
  useNotificationService,
45
45
  useTTS,
46
46
  useVoiceStore
47
- } from "./chunk-IVLVUNIB.mjs";
47
+ } from "./chunk-VIKZPBVO.mjs";
48
48
  import {
49
- authenticationService,
50
49
  brandingService_default,
51
50
  detectMessageMood,
52
51
  detectTransparency,
@@ -57,11 +56,9 @@ import {
57
56
  getCurrentDateTimeContext,
58
57
  getRandomTopicOfInterest,
59
58
  pickDistinctRandomTopics,
60
- readPersistedToken,
61
59
  sanitizeConversationName,
62
60
  toTitleCase,
63
61
  useAIQueryStore,
64
- useAuthenticationStore,
65
62
  useConversationStore,
66
63
  useConversationSyncStore,
67
64
  useFeatureFlag,
@@ -71,7 +68,7 @@ import {
71
68
  useMemoryStore,
72
69
  useProjectStore,
73
70
  useVectorStore
74
- } from "./chunk-J2PMXOV2.mjs";
71
+ } from "./chunk-37JLV5PU.mjs";
75
72
  import {
76
73
  indexedDBService_default,
77
74
  useModelStore,
@@ -79,8 +76,11 @@ import {
79
76
  usePreferencesStore
80
77
  } from "./chunk-LWHSOEPR.mjs";
81
78
  import {
82
- useAIProviderStore
83
- } from "./chunk-H3BYFEIE.mjs";
79
+ authenticationService,
80
+ readPersistedToken,
81
+ useAIProviderStore,
82
+ useAuthenticationStore
83
+ } from "./chunk-43MLINPL.mjs";
84
84
  import {
85
85
  debugLogger
86
86
  } from "./chunk-KCI46M23.mjs";
@@ -4585,7 +4585,7 @@ import {
4585
4585
  Avatar as Avatar6,
4586
4586
  alpha as alpha6
4587
4587
  } from "@mui/material";
4588
- import { X as CloseIcon5, X as ClearIcon, Search as SearchIcon, Folder as FolderIcon4, MoreVertical as MoreVertIcon3, Trash2 as DeleteSweepIcon, Inbox as InboxIcon3, Plus as AddIcon4, Settings as SettingsIcon2, Brain as MemoryIcon } from "lucide-react";
4588
+ import { X as CloseIcon5, X as ClearIcon, Search as SearchIcon, Folder as FolderIcon4, MoreVertical as MoreVertIcon3, Trash2 as DeleteSweepIcon, Inbox as InboxIcon3, Plus as AddIcon4, Settings as SettingsIcon2, Brain as MemoryIcon, LogOut as LogOutIcon } from "lucide-react";
4589
4589
  import { useTheme as useTheme10 } from "@mui/material/styles";
4590
4590
 
4591
4591
  // src/chat/project-management-modal.tsx
@@ -6844,23 +6844,46 @@ var ConversationDrawer = ({ open, onClose }) => {
6844
6844
  ]
6845
6845
  }
6846
6846
  ),
6847
- user && /* @__PURE__ */ jsx14(
6848
- Box11,
6849
- {
6850
- sx: {
6851
- flexShrink: 0,
6852
- display: "flex",
6853
- alignItems: "center",
6854
- justifyContent: "center",
6855
- width: 30,
6856
- height: 30,
6857
- borderRadius: "50%",
6858
- border: `1px solid ${alpha6(theme.palette.divider, 0.8)}`,
6859
- color: theme.palette.text.secondary
6860
- },
6861
- children: /* @__PURE__ */ jsx14(SettingsIcon2, { size: 16 })
6862
- }
6863
- )
6847
+ user && /* @__PURE__ */ jsxs11(Fragment7, { children: [
6848
+ /* @__PURE__ */ jsx14(
6849
+ Box11,
6850
+ {
6851
+ sx: {
6852
+ flexShrink: 0,
6853
+ display: "flex",
6854
+ alignItems: "center",
6855
+ justifyContent: "center",
6856
+ width: 30,
6857
+ height: 30,
6858
+ borderRadius: "50%",
6859
+ border: `1px solid ${alpha6(theme.palette.divider, 0.8)}`,
6860
+ color: theme.palette.text.secondary
6861
+ },
6862
+ children: /* @__PURE__ */ jsx14(SettingsIcon2, { size: 16 })
6863
+ }
6864
+ ),
6865
+ /* @__PURE__ */ jsx14(
6866
+ IconButton8,
6867
+ {
6868
+ "aria-label": "Sign out",
6869
+ title: "Sign out",
6870
+ onClick: (event) => {
6871
+ event.stopPropagation();
6872
+ authenticationService.clearToken();
6873
+ window.location.href = "/login";
6874
+ },
6875
+ sx: {
6876
+ flexShrink: 0,
6877
+ width: 30,
6878
+ height: 30,
6879
+ border: `1px solid ${alpha6(theme.palette.error.main, 0.4)}`,
6880
+ color: theme.palette.error.main,
6881
+ "&:hover": { bgcolor: alpha6(theme.palette.error.main, 0.1) }
6882
+ },
6883
+ children: /* @__PURE__ */ jsx14(LogOutIcon, { size: 16 })
6884
+ }
6885
+ )
6886
+ ] })
6864
6887
  ]
6865
6888
  }
6866
6889
  )
@@ -6969,7 +6992,7 @@ import {
6969
6992
  Avatar as Avatar7,
6970
6993
  Chip as Chip4
6971
6994
  } from "@mui/material";
6972
- import { X as CloseIcon6, X as ClearIcon2, Search as SearchIcon2, Folder as FolderIcon5, MoreVertical as MoreVertIcon4, Trash2 as DeleteSweepIcon2, Inbox as InboxIcon4, Plus as AddIcon5, Settings as SettingsIcon3, Brain as MemoryIcon2 } from "lucide-react";
6995
+ import { X as CloseIcon6, X as ClearIcon2, Search as SearchIcon2, Folder as FolderIcon5, MoreVertical as MoreVertIcon4, Trash2 as DeleteSweepIcon2, Inbox as InboxIcon4, Plus as AddIcon5, Settings as SettingsIcon3, Brain as MemoryIcon2, LogOut as LogOutIcon2 } from "lucide-react";
6973
6996
  import { useTheme as useTheme11, alpha as alpha7 } from "@mui/material/styles";
6974
6997
  import { Fragment as Fragment8, jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
6975
6998
  var BANDIT_AVATAR2 = "https://cdn.burtson.ai/images/bandit-head.png";
@@ -7822,23 +7845,46 @@ var EnhancedMobileConversationsModal = ({
7822
7845
  }
7823
7846
  )
7824
7847
  ] }),
7825
- user && /* @__PURE__ */ jsx15(
7826
- Box12,
7827
- {
7828
- sx: {
7829
- flexShrink: 0,
7830
- display: "flex",
7831
- alignItems: "center",
7832
- justifyContent: "center",
7833
- width: 30,
7834
- height: 30,
7835
- borderRadius: "50%",
7836
- border: `1px solid ${alpha7(theme.palette.divider, 0.8)}`,
7837
- color: theme.palette.text.secondary
7838
- },
7839
- children: /* @__PURE__ */ jsx15(SettingsIcon3, { size: 16 })
7840
- }
7841
- )
7848
+ user && /* @__PURE__ */ jsxs12(Fragment8, { children: [
7849
+ /* @__PURE__ */ jsx15(
7850
+ Box12,
7851
+ {
7852
+ sx: {
7853
+ flexShrink: 0,
7854
+ display: "flex",
7855
+ alignItems: "center",
7856
+ justifyContent: "center",
7857
+ width: 30,
7858
+ height: 30,
7859
+ borderRadius: "50%",
7860
+ border: `1px solid ${alpha7(theme.palette.divider, 0.8)}`,
7861
+ color: theme.palette.text.secondary
7862
+ },
7863
+ children: /* @__PURE__ */ jsx15(SettingsIcon3, { size: 16 })
7864
+ }
7865
+ ),
7866
+ /* @__PURE__ */ jsx15(
7867
+ IconButton9,
7868
+ {
7869
+ "aria-label": "Sign out",
7870
+ title: "Sign out",
7871
+ onClick: (event) => {
7872
+ event.stopPropagation();
7873
+ authenticationService.clearToken();
7874
+ window.location.href = "/login";
7875
+ },
7876
+ sx: {
7877
+ flexShrink: 0,
7878
+ width: 30,
7879
+ height: 30,
7880
+ border: `1px solid ${alpha7(theme.palette.error.main, 0.4)}`,
7881
+ color: theme.palette.error.main,
7882
+ "&:hover": { bgcolor: alpha7(theme.palette.error.main, 0.1) }
7883
+ },
7884
+ children: /* @__PURE__ */ jsx15(LogOutIcon2, { size: 16 })
7885
+ }
7886
+ )
7887
+ ] })
7842
7888
  ]
7843
7889
  }
7844
7890
  )
@@ -10617,4 +10663,4 @@ var chat_default = Chat;
10617
10663
  export {
10618
10664
  chat_default
10619
10665
  };
10620
- //# sourceMappingURL=chunk-C2SY64XM.mjs.map
10666
+ //# sourceMappingURL=chunk-R3HBSHLE.mjs.map