@burtson-labs/bandit-engine 2.0.70 → 2.0.72
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-XW4JIAOE.mjs → chat-GLBQOPNT.mjs} +3 -3
- package/dist/chat-provider.js +28 -1
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +2 -2
- package/dist/{chunk-5SA7PQK4.mjs → chunk-7ZHLQXHL.mjs} +3 -3
- package/dist/{chunk-IDZEEONG.mjs → chunk-DHYP4K5O.mjs} +29 -2
- package/dist/chunk-DHYP4K5O.mjs.map +1 -0
- package/dist/{chunk-PUUL2R3T.mjs → chunk-LDL4X6CB.mjs} +140 -33
- package/dist/chunk-LDL4X6CB.mjs.map +1 -0
- package/dist/{chunk-HHMGNCBS.mjs → chunk-SXLI47FV.mjs} +2 -2
- package/dist/index.js +167 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/management/management.js +167 -33
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-IDZEEONG.mjs.map +0 -1
- package/dist/chunk-PUUL2R3T.mjs.map +0 -1
- /package/dist/{chat-XW4JIAOE.mjs.map → chat-GLBQOPNT.mjs.map} +0 -0
- /package/dist/{chunk-5SA7PQK4.mjs.map → chunk-7ZHLQXHL.mjs.map} +0 -0
- /package/dist/{chunk-HHMGNCBS.mjs.map → chunk-SXLI47FV.mjs.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LDL4X6CB.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-U633CJBV.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-DHYP4K5O.mjs";
|
|
7
7
|
import "./chunk-6DY7W4NK.mjs";
|
|
8
8
|
import "./chunk-4D7245ZO.mjs";
|
|
9
9
|
import "./chunk-LWHSOEPR.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-GLBQOPNT.mjs.map
|
package/dist/chat-provider.js
CHANGED
|
@@ -6640,7 +6640,34 @@ var imageGenerationTool = {
|
|
|
6640
6640
|
method: "POST",
|
|
6641
6641
|
isBuiltIn: true
|
|
6642
6642
|
};
|
|
6643
|
-
var
|
|
6643
|
+
var createFileTool = {
|
|
6644
|
+
id: "create-file",
|
|
6645
|
+
name: "create_file",
|
|
6646
|
+
description: "Create a downloadable file for the user (md, txt, csv, json, html, docx, pptx). Returns a temporary (~1 hour) download link.",
|
|
6647
|
+
enabled: true,
|
|
6648
|
+
type: "function",
|
|
6649
|
+
function: {
|
|
6650
|
+
name: "create_file",
|
|
6651
|
+
description: "Generate a file the user can download. For docx/pptx write well-structured Markdown (headings, lists, tables; use '## ' headings to start each slide). Returns a short-lived (~1 hour) download URL \u2014 tell the user it expires.",
|
|
6652
|
+
parameters: {
|
|
6653
|
+
type: "object",
|
|
6654
|
+
properties: {
|
|
6655
|
+
content: { type: "string", description: "The file content (Markdown for docx/pptx; raw text for others)." },
|
|
6656
|
+
filename: { type: "string", description: "Desired filename, e.g. 'report.docx' or 'notes.md'." },
|
|
6657
|
+
format: {
|
|
6658
|
+
type: "string",
|
|
6659
|
+
enum: ["md", "txt", "csv", "json", "html", "xml", "yaml", "docx", "pptx"],
|
|
6660
|
+
description: "File format. Defaults to md."
|
|
6661
|
+
}
|
|
6662
|
+
},
|
|
6663
|
+
required: ["content", "format"]
|
|
6664
|
+
}
|
|
6665
|
+
},
|
|
6666
|
+
endpoint: "/mcp/create-file",
|
|
6667
|
+
method: "POST",
|
|
6668
|
+
isBuiltIn: true
|
|
6669
|
+
};
|
|
6670
|
+
var defaultTools = [healthCheckTool, webSearchTool, webFetchTool, imageGenerationTool, createFileTool];
|
|
6644
6671
|
var useMCPToolsStore = (0, import_zustand11.create)((set, get) => ({
|
|
6645
6672
|
tools: defaultTools,
|
|
6646
6673
|
isLoaded: false,
|