@luckydraw/cumulus 0.27.25 → 0.27.26

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.
@@ -1235,10 +1235,10 @@
1235
1235
  });
1236
1236
 
1237
1237
  // Phase 2: Escape HTML in the non-code portions
1238
- // We need to escape line by line between tokens
1239
- var parts = processed.split(/(\x00CODEBLOCK_\d+\x00)/);
1238
+ // We need to escape line by line between tokens, preserving both codeblock and blex tokens
1239
+ var parts = processed.split(/(\x00CODEBLOCK_\d+\x00|\x00BLEX_\d+\x00)/);
1240
1240
  var escapedParts = parts.map(function (part) {
1241
- if (/^\x00CODEBLOCK_\d+\x00$/.test(part)) return part; // keep token as-is
1241
+ if (/^\x00(?:CODEBLOCK|BLEX)_\d+\x00$/.test(part)) return part; // keep token as-is
1242
1242
  return escapeHtml(part);
1243
1243
  });
1244
1244
  var html = escapedParts.join('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luckydraw/cumulus",
3
- "version": "0.27.25",
3
+ "version": "0.27.26",
4
4
  "description": "RLM-based CLI chat wrapper for Claude with external history context management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",