@burtson-labs/bandit-engine 2.0.87 → 2.0.89
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-JUXRBSGJ.mjs → chat-NRUN7HOH.mjs} +6 -6
- package/dist/chat-provider.js +18 -0
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +4 -4
- package/dist/{chunk-C2L6ZSWR.mjs → chunk-4VTF3MY4.mjs} +2 -2
- package/dist/{chunk-AJSGL2XJ.mjs → chunk-BDD6YEWH.mjs} +3 -3
- package/dist/{chunk-GCWZY7P2.mjs → chunk-GAOJ4PB2.mjs} +8 -8
- package/dist/{chunk-ZLBREJKH.mjs → chunk-J2PMXOV2.mjs} +19 -1
- package/dist/chunk-J2PMXOV2.mjs.map +1 -0
- package/dist/{chunk-WQLKBI3Y.mjs → chunk-L2EKYO4F.mjs} +2 -2
- package/dist/{chunk-7SQLHCBV.mjs → chunk-OB2W4OR4.mjs} +2 -2
- package/dist/{chunk-TETTI3QV.mjs → chunk-OSSZ7Z2O.mjs} +4 -4
- package/dist/{chunk-GEO43KBE.mjs → chunk-PROLD2QV.mjs} +58 -7
- package/dist/chunk-PROLD2QV.mjs.map +1 -0
- package/dist/{chunk-I4QUXTIM.mjs → chunk-ZLXWNTFK.mjs} +2 -2
- package/dist/index.js +72 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/management/management.js +72 -2
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +7 -7
- package/dist/modals/chat-modal/chat-modal.js +18 -0
- 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-GEO43KBE.mjs.map +0 -1
- package/dist/chunk-ZLBREJKH.mjs.map +0 -1
- /package/dist/{chat-JUXRBSGJ.mjs.map → chat-NRUN7HOH.mjs.map} +0 -0
- /package/dist/{chunk-C2L6ZSWR.mjs.map → chunk-4VTF3MY4.mjs.map} +0 -0
- /package/dist/{chunk-AJSGL2XJ.mjs.map → chunk-BDD6YEWH.mjs.map} +0 -0
- /package/dist/{chunk-GCWZY7P2.mjs.map → chunk-GAOJ4PB2.mjs.map} +0 -0
- /package/dist/{chunk-WQLKBI3Y.mjs.map → chunk-L2EKYO4F.mjs.map} +0 -0
- /package/dist/{chunk-7SQLHCBV.mjs.map → chunk-OB2W4OR4.mjs.map} +0 -0
- /package/dist/{chunk-TETTI3QV.mjs.map → chunk-OSSZ7Z2O.mjs.map} +0 -0
- /package/dist/{chunk-I4QUXTIM.mjs.map → chunk-ZLXWNTFK.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-OSSZ7Z2O.mjs";
|
|
5
5
|
import "./chunk-ONQMRE2G.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZLXWNTFK.mjs";
|
|
7
|
+
import "./chunk-L2EKYO4F.mjs";
|
|
8
|
+
import "./chunk-J2PMXOV2.mjs";
|
|
9
9
|
import "./chunk-LWHSOEPR.mjs";
|
|
10
10
|
import "./chunk-H3BYFEIE.mjs";
|
|
11
11
|
import "./chunk-KCI46M23.mjs";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
useMemoryStore,
|
|
8
8
|
useNotification,
|
|
9
9
|
useVectorStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J2PMXOV2.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useModelStore,
|
|
13
13
|
usePackageSettingsStore,
|
|
@@ -9006,4 +9006,4 @@ export {
|
|
|
9006
9006
|
FeedbackButton,
|
|
9007
9007
|
useNotificationService
|
|
9008
9008
|
};
|
|
9009
|
-
//# sourceMappingURL=chunk-
|
|
9009
|
+
//# sourceMappingURL=chunk-4VTF3MY4.mjs.map
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
useNotificationService,
|
|
25
25
|
useTTS,
|
|
26
26
|
useVoiceStore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4VTF3MY4.mjs";
|
|
28
28
|
import {
|
|
29
29
|
brandingService_default,
|
|
30
30
|
toTitleCase,
|
|
31
31
|
useAIQueryStore,
|
|
32
32
|
useConversationStore,
|
|
33
33
|
useMemoryStore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-J2PMXOV2.mjs";
|
|
35
35
|
import {
|
|
36
36
|
indexedDBService_default,
|
|
37
37
|
useModelStore,
|
|
@@ -2803,4 +2803,4 @@ export {
|
|
|
2803
2803
|
MAX_WINDOWED_HEIGHT,
|
|
2804
2804
|
chat_modal_default
|
|
2805
2805
|
};
|
|
2806
|
-
//# sourceMappingURL=chunk-
|
|
2806
|
+
//# sourceMappingURL=chunk-BDD6YEWH.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StreamingMarkdown_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OB2W4OR4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
aiProviderInitService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZLXWNTFK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
addMcpServer,
|
|
9
9
|
deleteMcpServer,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
listMcpServers,
|
|
12
12
|
updateMcpServer,
|
|
13
13
|
useMCPToolsStore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L2EKYO4F.mjs";
|
|
15
15
|
import {
|
|
16
16
|
chat_modal_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BDD6YEWH.mjs";
|
|
18
18
|
import {
|
|
19
19
|
AddIcon,
|
|
20
20
|
ArchiveIcon,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
predefinedThemes,
|
|
87
87
|
useNotificationService,
|
|
88
88
|
useVoiceStore
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-4VTF3MY4.mjs";
|
|
90
90
|
import {
|
|
91
91
|
TOPICS,
|
|
92
92
|
authenticationService,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
useFeatures,
|
|
101
101
|
useKnowledgeStore2 as useKnowledgeStore,
|
|
102
102
|
useVectorStore
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-J2PMXOV2.mjs";
|
|
104
104
|
import {
|
|
105
105
|
indexedDBService_default,
|
|
106
106
|
models,
|
|
@@ -9741,7 +9741,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
|
|
|
9741
9741
|
|
|
9742
9742
|
// src/management/management.tsx
|
|
9743
9743
|
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9744
|
-
var preloadChatPage = () => import("./chat-
|
|
9744
|
+
var preloadChatPage = () => import("./chat-NRUN7HOH.mjs");
|
|
9745
9745
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9746
9746
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9747
9747
|
if (trimmed.endsWith("/api")) {
|
|
@@ -11107,4 +11107,4 @@ export {
|
|
|
11107
11107
|
useGatewayMemory,
|
|
11108
11108
|
management_default
|
|
11109
11109
|
};
|
|
11110
|
-
//# sourceMappingURL=chunk-
|
|
11110
|
+
//# sourceMappingURL=chunk-GAOJ4PB2.mjs.map
|
|
@@ -936,6 +936,24 @@ var useProjectStore = create5((set, get) => ({
|
|
|
936
936
|
debugLogger.info("Project color updated", { projectId: id, color });
|
|
937
937
|
emitProjectUpsert(id);
|
|
938
938
|
},
|
|
939
|
+
updateProjectInstructions: async (id, instructions) => {
|
|
940
|
+
const { projects } = get();
|
|
941
|
+
const project = projects.find((p) => p.id === id);
|
|
942
|
+
if (!project) {
|
|
943
|
+
throw new Error(`Project with id ${id} not found`);
|
|
944
|
+
}
|
|
945
|
+
const updatedProject = normalizeProject({
|
|
946
|
+
...project,
|
|
947
|
+
instructions: instructions.trim() || void 0,
|
|
948
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
949
|
+
});
|
|
950
|
+
await saveProject(updatedProject);
|
|
951
|
+
set((state) => ({
|
|
952
|
+
projects: state.projects.map((p) => p.id === id ? updatedProject : p)
|
|
953
|
+
}));
|
|
954
|
+
debugLogger.info("Project instructions updated", { projectId: id });
|
|
955
|
+
emitProjectUpsert(id);
|
|
956
|
+
},
|
|
939
957
|
reorderProjects: async (projectIds) => {
|
|
940
958
|
const { projects } = get();
|
|
941
959
|
const reorderedProjects = projectIds.map((id, index) => {
|
|
@@ -5964,4 +5982,4 @@ export {
|
|
|
5964
5982
|
useNotification,
|
|
5965
5983
|
NotificationProvider
|
|
5966
5984
|
};
|
|
5967
|
-
//# sourceMappingURL=chunk-
|
|
5985
|
+
//# sourceMappingURL=chunk-J2PMXOV2.mjs.map
|