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.
- package/.claude-plugin/plugin.json +1 -1
- package/commit-sha +1 -1
- package/listener/telegram-poller.js +4 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-notification-plugin",
|
|
3
|
-
"version": "1.1.
|
|
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
|
-
|
|
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 (
|
|
129
|
-
|
|
130
|
-
const
|
|
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.
|
|
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": {
|