@burtson-labs/bandit-engine 2.0.104 → 2.0.106

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.
@@ -3781,7 +3781,7 @@ ${protocol}`;
3781
3781
  const inThinkBlock = /<think>/.test(fullMessage) && !/<think>[\s\S]*<\/think>/.test(fullMessage);
3782
3782
  setIsThinking?.(inThinkBlock);
3783
3783
  const visibleMessage = stripThinking(fullMessage);
3784
- if (/```(?:tool_code|TOOL_CODE)/.test(visibleMessage)) {
3784
+ if (/```(?:tool_code|TOOL_CODE)/.test(visibleMessage) || /\b(?:web_search|web_fetch|image_generation|create_file|ask_user)\s*\(/.test(visibleMessage)) {
3785
3785
  sawToolBlock = true;
3786
3786
  clearFlushTimer();
3787
3787
  startWorking();
@@ -10725,4 +10725,4 @@ var chat_default = Chat;
10725
10725
  export {
10726
10726
  chat_default
10727
10727
  };
10728
- //# sourceMappingURL=chunk-EGIUL7QB.mjs.map
10728
+ //# sourceMappingURL=chunk-4A2M7T6B.mjs.map