@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.
- package/dist/bot.js +3 -1
- 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 ?? {})
|
|
538
|
+
this.writeChatMessage("tool", "cc-tg", `[tool] ${name}: ${JSON.stringify(input ?? {})}`, chatId);
|
|
537
539
|
}
|
|
538
540
|
}
|
|
539
541
|
}
|