@iinm/plain-agent 1.7.10 → 1.7.11

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": "@iinm/plain-agent",
3
- "version": "1.7.10",
3
+ "version": "1.7.11",
4
4
  "description": "A lightweight CLI-based coding agent",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -333,7 +333,11 @@ export function printMessage(message) {
333
333
  }
334
334
  case "text": {
335
335
  console.log(styleText("bold", "\nUser:"));
336
- console.log(part.text);
336
+ const highlighted = part.text.replace(
337
+ /^(<context.+?>|<\/context>)/gm,
338
+ styleText("green", "$1"),
339
+ );
340
+ console.log(highlighted);
337
341
  break;
338
342
  }
339
343
  case "image": {