@hienlh/ppm 0.9.16 → 0.9.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hienlh/ppm",
3
- "version": "0.9.16",
3
+ "version": "0.9.17",
4
4
  "description": "Personal Project Manager — mobile-first web IDE with AI assistance",
5
5
  "author": "hienlh",
6
6
  "license": "MIT",
@@ -1383,10 +1383,10 @@ function parseSessionMessage(msg: { uuid: string; type: string; message: unknown
1383
1383
  textContent = extractText(message);
1384
1384
  }
1385
1385
 
1386
- // SDK-generated user messages (containing tool_result) carry system text
1387
- // like <task-notification> XML — not actual user input. Clear it so it
1388
- // doesn't render as a user bubble. Real user messages never have tool_result blocks.
1389
- if (role === "user" && events.some((e) => e.type === "tool_result")) {
1386
+ // SDK-generated user messages carry system text (tool_result blocks,
1387
+ // <teammate-message> XML, <task-notification> XML) — not actual user input.
1388
+ // Clear so they don't render as user bubbles.
1389
+ if (role === "user" && (events.some((e) => e.type === "tool_result") || textContent.includes("<teammate-message"))) {
1390
1390
  textContent = "";
1391
1391
  }
1392
1392