@gonzih/cc-tg 0.9.3 → 0.9.5

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.
Files changed (2) hide show
  1. package/dist/bot.js +3 -1
  2. package/package.json +1 -1
package/dist/bot.js CHANGED
@@ -415,6 +415,8 @@ export class CcTgBot {
415
415
  await this.replyToChat(chatId, "Could not transcribe voice message.", threadId);
416
416
  return;
417
417
  }
418
+ // Log transcript to chat bridge so it appears in cc-agent-ui
419
+ this.writeChatMessage("user", "telegram", `🎤 ${transcript}`, chatId);
418
420
  // Feed transcript into Claude as if user typed it
419
421
  const session = this.getOrCreateSession(chatId, threadId, threadName);
420
422
  try {
@@ -533,7 +535,7 @@ export class CcTgBot {
533
535
  continue;
534
536
  const name = block.name;
535
537
  const input = block.input;
536
- this.writeChatMessage("tool", "cc-tg", `[tool] ${name}: ${JSON.stringify(input ?? {}).slice(0, 120)}`, chatId);
538
+ this.writeChatMessage("tool", "cc-tg", `[tool] ${name}: ${JSON.stringify(input ?? {})}`, chatId);
537
539
  }
538
540
  }
539
541
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonzih/cc-tg",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "Claude Code Telegram bot \u2014 chat with Claude Code via Telegram",
5
5
  "type": "module",
6
6
  "bin": {