claude-notification-plugin 1.1.93 → 1.1.94

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.93",
3
+ "version": "1.1.94",
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
- 58be79dcf9e2efe54246c2bb73f8171796e40804
1
+ 08d5059788e36762d76e2b75c5a9f75bb42d9d81
@@ -125,9 +125,10 @@ export class TelegramPoller {
125
125
  async sendMessage (text, replyToMessageId, replyMarkup) {
126
126
  const chunks = splitMessage(text);
127
127
  let firstMessageId = null;
128
- for (const chunk of chunks) {
129
- const isLast = chunk === chunks[chunks.length - 1];
130
- const id = await this._sendChunk(chunk, replyToMessageId, replyMarkup && isLast);
128
+ for (let i = 0; i < chunks.length; i++) {
129
+ // Inline keyboard attaches only to the final chunk
130
+ const markup = (replyMarkup && i === chunks.length - 1) ? replyMarkup : null;
131
+ const id = await this._sendChunk(chunks[i], replyToMessageId, markup);
131
132
  if (id && !firstMessageId) {
132
133
  firstMessageId = id;
133
134
  }
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.93",
4
+ "version": "1.1.94",
5
5
  "description": "Claude Code task-completion notifications: Telegram, desktop notifications (Windows/macOS/Linux), sound, and voice",
6
6
  "type": "module",
7
7
  "engines": {