@burtson-labs/bandit-engine 2.0.83 → 2.0.85
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-QWAR3TWJ.mjs → chat-ASHS5XCL.mjs} +6 -6
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +4 -4
- package/dist/{chunk-PGLLBIRL.mjs → chunk-B2HUBOJ6.mjs} +26 -11
- package/dist/chunk-B2HUBOJ6.mjs.map +1 -0
- package/dist/{chunk-57L7TXB6.mjs → chunk-GNTQR7L6.mjs} +2 -2
- package/dist/{chunk-6ITUH375.mjs → chunk-I4QUXTIM.mjs} +2 -2
- package/dist/{chunk-YYYEMVBV.mjs → chunk-OHDMP7FI.mjs} +2 -2
- package/dist/{chunk-6VYZAHRT.mjs → chunk-R64BOUIU.mjs} +8 -8
- package/dist/{chunk-OPN32F2X.mjs → chunk-TETTI3QV.mjs} +4 -4
- package/dist/{chunk-3LT77723.mjs → chunk-WQLKBI3Y.mjs} +2 -2
- package/dist/{chunk-5DSDARPR.mjs → chunk-XHPSNERM.mjs} +3 -3
- package/dist/{chunk-4D7245ZO.mjs → chunk-ZLBREJKH.mjs} +16 -1
- package/dist/chunk-ZLBREJKH.mjs.map +1 -0
- package/dist/index.js +35 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/management/management.js +35 -7
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +7 -7
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-4D7245ZO.mjs.map +0 -1
- package/dist/chunk-PGLLBIRL.mjs.map +0 -1
- /package/dist/{chat-QWAR3TWJ.mjs.map → chat-ASHS5XCL.mjs.map} +0 -0
- /package/dist/{chunk-57L7TXB6.mjs.map → chunk-GNTQR7L6.mjs.map} +0 -0
- /package/dist/{chunk-6ITUH375.mjs.map → chunk-I4QUXTIM.mjs.map} +0 -0
- /package/dist/{chunk-YYYEMVBV.mjs.map → chunk-OHDMP7FI.mjs.map} +0 -0
- /package/dist/{chunk-6VYZAHRT.mjs.map → chunk-R64BOUIU.mjs.map} +0 -0
- /package/dist/{chunk-OPN32F2X.mjs.map → chunk-TETTI3QV.mjs.map} +0 -0
- /package/dist/{chunk-3LT77723.mjs.map → chunk-WQLKBI3Y.mjs.map} +0 -0
- /package/dist/{chunk-5DSDARPR.mjs.map → chunk-XHPSNERM.mjs.map} +0 -0
package/dist/chat-provider.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChatProvider,
|
|
3
3
|
chat_provider_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TETTI3QV.mjs";
|
|
5
5
|
import "./chunk-ONQMRE2G.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-I4QUXTIM.mjs";
|
|
7
|
+
import "./chunk-WQLKBI3Y.mjs";
|
|
8
|
+
import "./chunk-ZLBREJKH.mjs";
|
|
9
9
|
import "./chunk-LWHSOEPR.mjs";
|
|
10
10
|
import "./chunk-H3BYFEIE.mjs";
|
|
11
11
|
import "./chunk-KCI46M23.mjs";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-ONQMRE2G.mjs";
|
|
4
4
|
import {
|
|
5
5
|
StreamingMarkdown_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OHDMP7FI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useMCPToolsStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WQLKBI3Y.mjs";
|
|
10
10
|
import {
|
|
11
11
|
AddIcon,
|
|
12
12
|
ArrowDownwardIcon,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
useNotificationService,
|
|
44
44
|
useTTS,
|
|
45
45
|
useVoiceStore
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-GNTQR7L6.mjs";
|
|
47
47
|
import {
|
|
48
48
|
authenticationService,
|
|
49
49
|
brandingService_default,
|
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
getCurrentDateTimeContext,
|
|
57
57
|
getRandomTopicOfInterest,
|
|
58
58
|
pickDistinctRandomTopics,
|
|
59
|
+
readPersistedToken,
|
|
59
60
|
sanitizeConversationName,
|
|
60
61
|
toTitleCase,
|
|
61
62
|
useAIQueryStore,
|
|
@@ -69,7 +70,7 @@ import {
|
|
|
69
70
|
useMemoryStore,
|
|
70
71
|
useProjectStore,
|
|
71
72
|
useVectorStore
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ZLBREJKH.mjs";
|
|
73
74
|
import {
|
|
74
75
|
indexedDBService_default,
|
|
75
76
|
useModelStore,
|
|
@@ -5985,6 +5986,11 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5985
5986
|
return void 0;
|
|
5986
5987
|
}, [user, userDisplayName]);
|
|
5987
5988
|
const [avatarImage, setAvatarImage] = useState12(BANDIT_AVATAR);
|
|
5989
|
+
useEffect10(() => {
|
|
5990
|
+
const fresh = readPersistedToken();
|
|
5991
|
+
const store = useAuthenticationStore.getState();
|
|
5992
|
+
if (fresh && fresh !== store.token) store.setToken(fresh);
|
|
5993
|
+
}, []);
|
|
5988
5994
|
useEffect10(() => {
|
|
5989
5995
|
let active2 = true;
|
|
5990
5996
|
let objectUrl = null;
|
|
@@ -6587,8 +6593,8 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
6587
6593
|
flex: 1,
|
|
6588
6594
|
display: "flex",
|
|
6589
6595
|
flexDirection: "column",
|
|
6590
|
-
alignItems:
|
|
6591
|
-
textAlign:
|
|
6596
|
+
alignItems: "flex-start",
|
|
6597
|
+
textAlign: "left",
|
|
6592
6598
|
gap: 0.25
|
|
6593
6599
|
},
|
|
6594
6600
|
children: [
|
|
@@ -6614,11 +6620,20 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
6614
6620
|
}
|
|
6615
6621
|
),
|
|
6616
6622
|
user && /* @__PURE__ */ jsx13(
|
|
6617
|
-
|
|
6623
|
+
Box10,
|
|
6618
6624
|
{
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6625
|
+
sx: {
|
|
6626
|
+
flexShrink: 0,
|
|
6627
|
+
display: "flex",
|
|
6628
|
+
alignItems: "center",
|
|
6629
|
+
justifyContent: "center",
|
|
6630
|
+
width: 30,
|
|
6631
|
+
height: 30,
|
|
6632
|
+
borderRadius: "50%",
|
|
6633
|
+
border: `1px solid ${alpha6(theme.palette.divider, 0.8)}`,
|
|
6634
|
+
color: theme.palette.text.secondary
|
|
6635
|
+
},
|
|
6636
|
+
children: /* @__PURE__ */ jsx13(SettingsIcon2, { size: 16 })
|
|
6622
6637
|
}
|
|
6623
6638
|
)
|
|
6624
6639
|
]
|
|
@@ -10306,4 +10321,4 @@ var chat_default = Chat;
|
|
|
10306
10321
|
export {
|
|
10307
10322
|
chat_default
|
|
10308
10323
|
};
|
|
10309
|
-
//# sourceMappingURL=chunk-
|
|
10324
|
+
//# sourceMappingURL=chunk-B2HUBOJ6.mjs.map
|