@burtson-labs/bandit-engine 2.0.105 → 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.
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();