titan-agent 5.5.27 → 5.5.28

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.
@@ -1018,7 +1018,8 @@ Continue executing this task NOW using the appropriate tools. Do NOT re-explain,
1018
1018
  { pattern: /\b(?:paperclip|sidecars?|helpers?)\b/i, widget: "system:paperclip", name: "Paperclip" },
1019
1019
  { pattern: /\b(?:tests?|flaky|failing|coverage|eval)\b/i, widget: "system:eval", name: "Test Lab" }
1020
1020
  ];
1021
- const matchedWidget = systemWidgetPatterns.find((p) => p.pattern.test(message));
1021
+ const hasWidgetIntent = /\b(?:widget|panel|dashboard|monitor|hub|tab|page|view|gallery|kitchen|scheduler|router|lab|tools)\b/i.test(message);
1022
+ const matchedWidget = hasWidgetIntent ? systemWidgetPatterns.find((p) => p.pattern.test(message)) : null;
1022
1023
  if (matchedWidget && !taskEnforcementActive) {
1023
1024
  systemPrompt += `
1024
1025