@burtson-labs/bandit-engine 2.0.105 → 2.0.107

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/index.js CHANGED
@@ -21661,7 +21661,7 @@ ${protocol}`;
21661
21661
  const inThinkBlock = /<think>/.test(fullMessage) && !/<think>[\s\S]*<\/think>/.test(fullMessage);
21662
21662
  setIsThinking?.(inThinkBlock);
21663
21663
  const visibleMessage = stripThinking(fullMessage);
21664
- if (/```(?:tool_code|TOOL_CODE)/.test(visibleMessage)) {
21664
+ if (/```(?:tool_code|TOOL_CODE)/.test(visibleMessage) || /\b(?:web_search|web_fetch|image_generation|create_file|ask_user)\s*\(/.test(visibleMessage)) {
21665
21665
  sawToolBlock = true;
21666
21666
  clearFlushTimer();
21667
21667
  startWorking();
@@ -35341,7 +35341,7 @@ var PersonalitiesTab = ({
35341
35341
  import_material40.Card,
35342
35342
  {
35343
35343
  sx: {
35344
- mb: { xs: 1.5, md: 2 },
35344
+ mb: { xs: 1, md: 1.25 },
35345
35345
  background: "linear-gradient(135deg, #1976d2 0%, #42a5f5 100%)",
35346
35346
  border: "2px solid transparent",
35347
35347
  borderRadius: { xs: 2.25, sm: 3 },
@@ -35378,7 +35378,7 @@ var PersonalitiesTab = ({
35378
35378
  setPersonalityTabIndex(1);
35379
35379
  },
35380
35380
  children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.CardContent, { sx: {
35381
- p: { xs: 1.5, sm: 1.75 },
35381
+ p: { xs: 1, sm: 1.25 },
35382
35382
  color: "white",
35383
35383
  textAlign: "left",
35384
35384
  position: "relative",
@@ -35456,7 +35456,7 @@ var PersonalitiesTab = ({
35456
35456
  lg: "repeat(4, 1fr)",
35457
35457
  xl: "repeat(4, 1fr)"
35458
35458
  },
35459
- gap: { xs: 1.25, sm: 2.5, md: 3 },
35459
+ gap: { xs: 1, sm: 1.5, md: 1.75 },
35460
35460
  alignItems: "stretch"
35461
35461
  }, children: promptTemplates.map((template, index) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
35462
35462
  import_material40.Card,
@@ -35510,7 +35510,7 @@ var PersonalitiesTab = ({
35510
35510
  },
35511
35511
  onClick: () => handleTemplateSelect(template),
35512
35512
  children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.CardContent, { sx: {
35513
- p: { xs: 1.5, sm: 2 },
35513
+ p: { xs: 1.25, sm: 1.5 },
35514
35514
  display: "flex",
35515
35515
  flexDirection: "column",
35516
35516
  height: "100%",
@@ -35529,8 +35529,8 @@ var PersonalitiesTab = ({
35529
35529
  src: template.avatar,
35530
35530
  alt: template.name,
35531
35531
  sx: {
35532
- width: { xs: 40, sm: 48, md: 52 },
35533
- height: { xs: 40, sm: 48, md: 52 },
35532
+ width: { xs: 38, sm: 44, md: 46 },
35533
+ height: { xs: 38, sm: 44, md: 46 },
35534
35534
  mr: { xs: 1.2, md: 2 },
35535
35535
  transition: "transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
35536
35536
  boxShadow: "0 4px 12px rgba(0,0,0,0.15)",