groove-dev 0.10.8 → 0.10.10

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.
@@ -352,6 +352,9 @@ function buildTimeline(chats, activity) {
352
352
  const parsed = parseActivityText(a.text);
353
353
  if (!parsed) continue;
354
354
 
355
+ // Skip raw JSON arrays (team configs, tool results)
356
+ if (parsed.trimStart().startsWith('[') || parsed.trimStart().startsWith('{')) continue;
357
+
355
358
  // Skip if we have a chat entry near this time from the agent
356
359
  const hasChatNear = items.some((it) =>
357
360
  Math.abs(it.timestamp - a.timestamp) < 2000 && it.from === 'agent'
@@ -360,7 +363,7 @@ function buildTimeline(chats, activity) {
360
363
  items.push({
361
364
  timestamp: a.timestamp,
362
365
  from: 'agent',
363
- text: parsed.slice(0, 500),
366
+ text: parsed.slice(0, 2000),
364
367
  });
365
368
  }
366
369
  }