@burtson-labs/bandit-engine 2.0.152 → 2.0.153
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 +16 -0
- package/dist/chat-provider.js +6 -30
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +5 -5
- package/dist/{chunk-6STVJJSG.mjs → chunk-2HGBMNX4.mjs} +17 -3
- package/dist/chunk-2HGBMNX4.mjs.map +1 -0
- package/dist/{chunk-CVFFNX7H.mjs → chunk-6KOEXQJN.mjs} +8 -32
- package/dist/chunk-6KOEXQJN.mjs.map +1 -0
- package/dist/{chunk-7ESJJN6D.mjs → chunk-6NYYYKYZ.mjs} +262 -75
- package/dist/chunk-6NYYYKYZ.mjs.map +1 -0
- package/dist/{chunk-QLATFSSO.mjs → chunk-AJL3JOD6.mjs} +5 -5
- package/dist/{chunk-RRCCSN3N.mjs → chunk-B2TJZM4Z.mjs} +2 -2
- package/dist/{chunk-LPSM62OE.mjs → chunk-DADHPWB7.mjs} +19 -14
- package/dist/chunk-DADHPWB7.mjs.map +1 -0
- package/dist/{chunk-U33KBX3Y.mjs → chunk-GQ3X6VPR.mjs} +4 -4
- package/dist/{chunk-TYRYAAP2.mjs → chunk-RN7FRSMX.mjs} +3 -3
- package/dist/{chunk-EORIRPPX.mjs → chunk-ZOCXFQID.mjs} +2 -2
- package/dist/{chunk-EORIRPPX.mjs.map → chunk-ZOCXFQID.mjs.map} +1 -1
- package/dist/{chunk-VLUXQE24.mjs → chunk-ZW3YNAD7.mjs} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +788 -591
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/management/management.js +487 -290
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +8 -8
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +4 -4
- package/dist/{modelStore-U57LUIIB.mjs → modelStore-KBUW3XAV.mjs} +2 -2
- package/dist/{public-20My32EB.d.mts → public-0EYmtpGD.d.mts} +8 -0
- package/dist/{public-20My32EB.d.ts → public-0EYmtpGD.d.ts} +8 -0
- package/dist/public-types.d.mts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chat-Y3WOTIKI.mjs +0 -16
- package/dist/chunk-6STVJJSG.mjs.map +0 -1
- package/dist/chunk-7ESJJN6D.mjs.map +0 -1
- package/dist/chunk-CVFFNX7H.mjs.map +0 -1
- package/dist/chunk-LPSM62OE.mjs.map +0 -1
- /package/dist/{chat-Y3WOTIKI.mjs.map → chat-4UZ5QT7B.mjs.map} +0 -0
- /package/dist/{chunk-QLATFSSO.mjs.map → chunk-AJL3JOD6.mjs.map} +0 -0
- /package/dist/{chunk-RRCCSN3N.mjs.map → chunk-B2TJZM4Z.mjs.map} +0 -0
- /package/dist/{chunk-U33KBX3Y.mjs.map → chunk-GQ3X6VPR.mjs.map} +0 -0
- /package/dist/{chunk-TYRYAAP2.mjs.map → chunk-RN7FRSMX.mjs.map} +0 -0
- /package/dist/{chunk-VLUXQE24.mjs.map → chunk-ZW3YNAD7.mjs.map} +0 -0
- /package/dist/{modelStore-U57LUIIB.mjs.map → modelStore-KBUW3XAV.mjs.map} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chat_default
|
|
3
|
+
} from "./chunk-6NYYYKYZ.mjs";
|
|
4
|
+
import "./chunk-ONQMRE2G.mjs";
|
|
5
|
+
import "./chunk-2HGBMNX4.mjs";
|
|
6
|
+
import "./chunk-6KOEXQJN.mjs";
|
|
7
|
+
import "./chunk-RN7FRSMX.mjs";
|
|
8
|
+
import "./chunk-ZW3YNAD7.mjs";
|
|
9
|
+
import "./chunk-ZOCXFQID.mjs";
|
|
10
|
+
import "./chunk-GWQRTUKF.mjs";
|
|
11
|
+
import "./chunk-KCI46M23.mjs";
|
|
12
|
+
import "./chunk-BJTO5JO5.mjs";
|
|
13
|
+
export {
|
|
14
|
+
chat_default as default
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=chat-4UZ5QT7B.mjs.map
|
package/dist/chat-provider.js
CHANGED
|
@@ -6737,47 +6737,23 @@ 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 high-quality images using DALL-E 3 from text prompts",
|
|
6744
|
-
enabled: true,
|
|
6745
|
-
type: "function",
|
|
6746
|
-
function: {
|
|
6747
|
-
name: "image_generation",
|
|
6748
|
-
description: "Generate high-quality images using DALL-E 3 from text prompts",
|
|
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", "1024x1792", "1792x1024"], description: "Image dimensions" },
|
|
6754
|
-
quality: { type: "string", enum: ["standard", "hd"], description: "Image quality" },
|
|
6755
|
-
style: { type: "string", enum: ["vivid", "natural"], description: "Style preference" }
|
|
6756
|
-
},
|
|
6757
|
-
required: ["prompt"]
|
|
6758
|
-
}
|
|
6759
|
-
},
|
|
6760
|
-
endpoint: "/mcp/generate-image",
|
|
6761
|
-
method: "POST",
|
|
6762
|
-
isBuiltIn: true
|
|
6763
|
-
};
|
|
6764
6740
|
var createFileTool = {
|
|
6765
6741
|
id: "create-file",
|
|
6766
6742
|
name: "create_file",
|
|
6767
|
-
description: "Create a downloadable file for the user (md, txt, csv, json, html, docx, pptx). Returns a temporary (~1 hour) download link.",
|
|
6743
|
+
description: "Create a downloadable file for the user (md, txt, csv, json, html, docx, pptx, pdf). Returns a temporary (~1 hour) download link.",
|
|
6768
6744
|
enabled: true,
|
|
6769
6745
|
type: "function",
|
|
6770
6746
|
function: {
|
|
6771
6747
|
name: "create_file",
|
|
6772
|
-
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.",
|
|
6748
|
+
description: "Generate a file the user can download. For docx/pptx write well-structured Markdown (headings, lists, tables; use '## ' headings to start each slide). For pdf, prefer complete HTML with inline CSS (branded proposals, print layouts) \u2014 Chromium renders it without browser headers/footers; Markdown also works. Returns a short-lived (~1 hour) download URL \u2014 tell the user it expires.",
|
|
6773
6749
|
parameters: {
|
|
6774
6750
|
type: "object",
|
|
6775
6751
|
properties: {
|
|
6776
|
-
content: { type: "string", description: "The file content (Markdown for docx/pptx; raw text for others)." },
|
|
6777
|
-
filename: { type: "string", description: "Desired filename, e.g. 'report.
|
|
6752
|
+
content: { type: "string", description: "The file content (HTML preferred for pdf; Markdown for docx/pptx/pdf; raw text for others)." },
|
|
6753
|
+
filename: { type: "string", description: "Desired filename, e.g. 'report.pdf' or 'notes.md'." },
|
|
6778
6754
|
format: {
|
|
6779
6755
|
type: "string",
|
|
6780
|
-
enum: ["md", "txt", "csv", "json", "html", "xml", "yaml", "docx", "pptx"],
|
|
6756
|
+
enum: ["md", "txt", "csv", "json", "html", "xml", "yaml", "docx", "pptx", "pdf"],
|
|
6781
6757
|
description: "File format. Defaults to md."
|
|
6782
6758
|
}
|
|
6783
6759
|
},
|
|
@@ -6788,7 +6764,7 @@ var createFileTool = {
|
|
|
6788
6764
|
method: "POST",
|
|
6789
6765
|
isBuiltIn: true
|
|
6790
6766
|
};
|
|
6791
|
-
var defaultTools = [healthCheckTool, webSearchTool, webFetchTool,
|
|
6767
|
+
var defaultTools = [healthCheckTool, webSearchTool, webFetchTool, createFileTool];
|
|
6792
6768
|
var useMCPToolsStore = (0, import_zustand11.create)((set, get) => ({
|
|
6793
6769
|
tools: defaultTools,
|
|
6794
6770
|
isLoaded: false,
|