claude-notification-plugin 1.1.17 → 1.1.18

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-notification-plugin",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
5
5
  "author": {
6
6
  "name": "Viacheslav Makarov",
package/commit-sha CHANGED
@@ -1 +1 @@
1
- 89bf4ee30af742d498e77b99e9386292480406d5
1
+ dc3b7baa9288c9a4f880b681d2183fe9a80cd283
@@ -688,10 +688,12 @@ process.stdin.on('end', async () => {
688
688
  const desktopStatus = eventType === 'Notification' ? 'Waiting' : 'Finished';
689
689
 
690
690
  const branch = getBranch(cwd);
691
- const label = branch ? `/${project}/${branch}` : `/${project}`;
692
- const labelHtml = branch
693
- ? `/<b>${escapeHtml(project)}</b>/<b>${escapeHtml(branch)}</b>`
694
- : `/<b>${escapeHtml(project)}</b>`;
691
+ let label = `/${project}`;
692
+ let labelHtml = `<b>${escapeHtml(project)}</b>`;
693
+ if (branch) {
694
+ label += `/${branch}`;
695
+ labelHtml += `/<b>${escapeHtml(branch)}</b>`;
696
+ }
695
697
 
696
698
  const triggerLine = config.debug ? `\nTrigger: ${eventType}` : '';
697
699
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claude-notification-plugin",
3
3
  "productName": "claude-notification-plugin",
4
- "version": "1.1.17",
4
+ "version": "1.1.18",
5
5
  "description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
6
6
  "type": "module",
7
7
  "engines": {