claude-scope 0.4.1 → 0.4.2

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.
@@ -1287,11 +1287,8 @@ var PokerWidget = class extends StdinDataWidget {
1287
1287
  if (isParticipating) {
1288
1288
  return cardData.formatted;
1289
1289
  } else {
1290
- const inner = cardData.formatted.match(/\[(.+)\]/)?.[1] || cardData.formatted;
1291
- const colorMatch = cardData.formatted.match(/^(\x1b\[\d+m)/);
1292
- const color = colorMatch ? colorMatch[1] : "";
1293
- const reset = cardData.formatted.match(/\x1b\[0m$/) ? "\x1B[0m" : "";
1294
- return ` ${color}${inner}${reset} `;
1290
+ const plainText = formatCard(cardData.card);
1291
+ return ` ${plainText} `;
1295
1292
  }
1296
1293
  }
1297
1294
  renderWithData(_data, _context) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-scope",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Claude Code plugin for session status and analytics",
5
5
  "license": "MIT",
6
6
  "type": "module",