@delt/claude-alarm 0.6.15 → 0.6.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.
@@ -445,7 +445,10 @@
445
445
  transition: opacity 0.15s;
446
446
  }
447
447
  .notif-dismiss:hover { color: var(--red); }
448
- .notif-item .notif-message { color: var(--text-dim); }
448
+ .notif-item .notif-message { color: var(--text-dim); overflow: hidden; word-break: break-word; }
449
+ .notif-item .notif-message h2, .notif-item .notif-message h3, .notif-item .notif-message h4 { font-size: 12px; margin: 2px 0; }
450
+ .notif-item .notif-message pre { font-size: 10px; padding: 4px 6px; max-height: 60px; overflow: hidden; }
451
+ .notif-item .notif-message code { font-size: 10px; }
449
452
  .notif-item .notif-time { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
450
453
  .notif-header {
451
454
  display: flex;
@@ -1198,7 +1201,7 @@
1198
1201
  }
1199
1202
  return `<div class="notif-item" data-session="${n.sessionId}" data-index="${i}">
1200
1203
  <div class="notif-title"><span class="notif-level ${n.level}"></span><span class="notif-title-text">${esc(n.title)}</span><button class="notif-dismiss" data-index="${i}">&times;</button></div>
1201
- <div class="notif-message">${esc(n.message)}</div>${permButtons}
1204
+ <div class="notif-message">${renderMarkdown(n.message)}</div>${permButtons}
1202
1205
  <div class="notif-time">${sName} &middot; ${timeStr}</div>
1203
1206
  </div>`;
1204
1207
  }).join('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delt/claude-alarm",
3
- "version": "0.6.15",
3
+ "version": "0.6.17",
4
4
  "description": "Monitor and get notifications from multiple Claude Code sessions via MCP Channels",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -445,7 +445,10 @@
445
445
  transition: opacity 0.15s;
446
446
  }
447
447
  .notif-dismiss:hover { color: var(--red); }
448
- .notif-item .notif-message { color: var(--text-dim); }
448
+ .notif-item .notif-message { color: var(--text-dim); overflow: hidden; word-break: break-word; }
449
+ .notif-item .notif-message h2, .notif-item .notif-message h3, .notif-item .notif-message h4 { font-size: 12px; margin: 2px 0; }
450
+ .notif-item .notif-message pre { font-size: 10px; padding: 4px 6px; max-height: 60px; overflow: hidden; }
451
+ .notif-item .notif-message code { font-size: 10px; }
449
452
  .notif-item .notif-time { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
450
453
  .notif-header {
451
454
  display: flex;
@@ -1198,7 +1201,7 @@
1198
1201
  }
1199
1202
  return `<div class="notif-item" data-session="${n.sessionId}" data-index="${i}">
1200
1203
  <div class="notif-title"><span class="notif-level ${n.level}"></span><span class="notif-title-text">${esc(n.title)}</span><button class="notif-dismiss" data-index="${i}">&times;</button></div>
1201
- <div class="notif-message">${esc(n.message)}</div>${permButtons}
1204
+ <div class="notif-message">${renderMarkdown(n.message)}</div>${permButtons}
1202
1205
  <div class="notif-time">${sName} &middot; ${timeStr}</div>
1203
1206
  </div>`;
1204
1207
  }).join('');