telegram-claude-mcp 2.0.5 → 2.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telegram-claude-mcp",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "MCP server that lets Claude message you on Telegram with hooks support",
5
5
  "author": "Geravant",
6
6
  "license": "MIT",
@@ -305,9 +305,22 @@ export class MultiTelegramManager {
305
305
 
306
306
  const lower = response.toLowerCase().trim();
307
307
  if (['done', 'stop', 'finish', 'ok'].includes(lower)) {
308
+ await this.bot.sendMessage(
309
+ this.config.chatId,
310
+ `👍 [${displayName}] Got it, Claude session ended.`
311
+ );
308
312
  return {};
309
313
  }
310
314
 
315
+ // Confirm we received the instructions
316
+ const truncatedResponse = response.length > 100
317
+ ? response.substring(0, 100) + '...'
318
+ : response;
319
+ await this.bot.sendMessage(
320
+ this.config.chatId,
321
+ `▶️ [${displayName}] Continuing with: "${truncatedResponse}"`
322
+ );
323
+
311
324
  return { decision: 'block', reason: response };
312
325
  } catch {
313
326
  if (attempt < maxReminders) {
@@ -336,9 +349,22 @@ export class MultiTelegramManager {
336
349
 
337
350
  const lower = response.toLowerCase().trim();
338
351
  if (['done', 'stop', 'finish', 'ok'].includes(lower)) {
352
+ await this.bot.sendMessage(
353
+ this.config.chatId,
354
+ `👍 [${displayName}] Got it, Claude session ended.`
355
+ );
339
356
  return {};
340
357
  }
341
358
 
359
+ // Confirm we received the instructions
360
+ const truncatedResponse = response.length > 100
361
+ ? response.substring(0, 100) + '...'
362
+ : response;
363
+ await this.bot.sendMessage(
364
+ this.config.chatId,
365
+ `▶️ [${displayName}] Continuing with: "${truncatedResponse}"`
366
+ );
367
+
342
368
  return { decision: 'block', reason: response };
343
369
  } catch {
344
370
  await this.bot.sendMessage(