@burtson-labs/bandit-engine 2.0.70 → 2.0.71

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.
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-PUUL2R3T.mjs";
3
+ } from "./chunk-CMBYMC3G.mjs";
4
4
  import "./chunk-ONQMRE2G.mjs";
5
5
  import "./chunk-U633CJBV.mjs";
6
- import "./chunk-IDZEEONG.mjs";
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-XW4JIAOE.mjs.map
16
+ //# sourceMappingURL=chat-2QWK6OUO.mjs.map
@@ -6640,7 +6640,34 @@ var imageGenerationTool = {
6640
6640
  method: "POST",
6641
6641
  isBuiltIn: true
6642
6642
  };
6643
- var defaultTools = [healthCheckTool, webSearchTool, webFetchTool, imageGenerationTool];
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,