@pennyfarthing/cyclist 9.2.0 → 9.3.0

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.
@@ -91,8 +91,8 @@ export function groupToolsIntoStacks(messages: Message[]): ToolStackData[] {
91
91
  }
92
92
 
93
93
  // Handle remaining tools at end of messages
94
- // At end of array: create stack even for single tool (supports streaming/active state)
95
- if (currentTools.length >= 1) {
94
+ // Same threshold as mid-stream: only stack 2+ tools (single tools render normally)
95
+ if (currentTools.length >= 2) {
96
96
  const lastTool = currentTools[currentTools.length - 1];
97
97
  stacks.push({
98
98
  stackId: generateStableStackId(currentTools),