@burtson-labs/bandit-engine 2.0.153 → 2.0.154
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-4UZ5QT7B.mjs → chat-E3VSYTAB.mjs} +3 -3
- package/dist/chat-provider.js +23 -1
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +2 -2
- package/dist/{chunk-DADHPWB7.mjs → chunk-2X46TMFE.mjs} +3 -3
- package/dist/{chunk-6NYYYKYZ.mjs → chunk-7AMLR6P4.mjs} +3 -2
- package/dist/chunk-7AMLR6P4.mjs.map +1 -0
- package/dist/{chunk-6KOEXQJN.mjs → chunk-IS2LWSBZ.mjs} +24 -2
- package/dist/chunk-IS2LWSBZ.mjs.map +1 -0
- package/dist/{chunk-AJL3JOD6.mjs → chunk-TVPYBRWF.mjs} +2 -2
- package/dist/index.js +25 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/management/management.js +25 -2
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-6KOEXQJN.mjs.map +0 -1
- package/dist/chunk-6NYYYKYZ.mjs.map +0 -1
- /package/dist/{chat-4UZ5QT7B.mjs.map → chat-E3VSYTAB.mjs.map} +0 -0
- /package/dist/{chunk-DADHPWB7.mjs.map → chunk-2X46TMFE.mjs.map} +0 -0
- /package/dist/{chunk-AJL3JOD6.mjs.map → chunk-TVPYBRWF.mjs.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7AMLR6P4.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-2HGBMNX4.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-IS2LWSBZ.mjs";
|
|
7
7
|
import "./chunk-RN7FRSMX.mjs";
|
|
8
8
|
import "./chunk-ZW3YNAD7.mjs";
|
|
9
9
|
import "./chunk-ZOCXFQID.mjs";
|
|
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
|
|
|
13
13
|
export {
|
|
14
14
|
chat_default as default
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chat-
|
|
16
|
+
//# sourceMappingURL=chat-E3VSYTAB.mjs.map
|
package/dist/chat-provider.js
CHANGED
|
@@ -6737,6 +6737,28 @@ var webFetchTool = {
|
|
|
6737
6737
|
method: "GET",
|
|
6738
6738
|
isBuiltIn: true
|
|
6739
6739
|
};
|
|
6740
|
+
var imageGenerationTool = {
|
|
6741
|
+
id: "image-generation",
|
|
6742
|
+
name: "image_generation",
|
|
6743
|
+
description: "Generate an image from a text prompt on the Burtson Labs GPU",
|
|
6744
|
+
enabled: true,
|
|
6745
|
+
type: "function",
|
|
6746
|
+
function: {
|
|
6747
|
+
name: "image_generation",
|
|
6748
|
+
description: "Generate an image from a text prompt on the Burtson Labs GPU",
|
|
6749
|
+
parameters: {
|
|
6750
|
+
type: "object",
|
|
6751
|
+
properties: {
|
|
6752
|
+
prompt: { type: "string", description: "Text description of the image to generate" },
|
|
6753
|
+
size: { type: "string", enum: ["1024x1024", "1344x768", "768x1344"], description: "Canvas: square, landscape, or portrait" }
|
|
6754
|
+
},
|
|
6755
|
+
required: ["prompt"]
|
|
6756
|
+
}
|
|
6757
|
+
},
|
|
6758
|
+
endpoint: "/mcp/generate-image",
|
|
6759
|
+
method: "POST",
|
|
6760
|
+
isBuiltIn: true
|
|
6761
|
+
};
|
|
6740
6762
|
var createFileTool = {
|
|
6741
6763
|
id: "create-file",
|
|
6742
6764
|
name: "create_file",
|
|
@@ -6764,7 +6786,7 @@ var createFileTool = {
|
|
|
6764
6786
|
method: "POST",
|
|
6765
6787
|
isBuiltIn: true
|
|
6766
6788
|
};
|
|
6767
|
-
var defaultTools = [healthCheckTool, webSearchTool, webFetchTool, createFileTool];
|
|
6789
|
+
var defaultTools = [healthCheckTool, webSearchTool, webFetchTool, imageGenerationTool, createFileTool];
|
|
6768
6790
|
var useMCPToolsStore = (0, import_zustand11.create)((set, get) => ({
|
|
6769
6791
|
tools: defaultTools,
|
|
6770
6792
|
isLoaded: false,
|