@ducci/jarvis 1.0.91 → 1.0.92

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": "@ducci/jarvis",
3
- "version": "1.0.91",
3
+ "version": "1.0.92",
4
4
  "description": "A fully automated agent system that lives on a server.",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -709,8 +709,10 @@ export async function startTelegramChannel(config) {
709
709
  const plain = toPlainText(ttsSource);
710
710
  if (plain) {
711
711
  const ttsText = await generateTtsSummary(plain, config);
712
+ await api.sendMessage(chatId, `[TTS debug] plain: "${plain.slice(0, 300)}"\nsummary: "${ttsText}"`).catch(() => {});
712
713
  if (ttsText) {
713
714
  const audioBuffer = await textToSpeech(ttsText, config);
715
+ await api.sendMessage(chatId, `[TTS debug] audio bytes: ${audioBuffer.length}`).catch(() => {});
714
716
  await api.sendAudio(chatId, new InputFile(audioBuffer, 'response.mp3'));
715
717
  console.log(`[telegram] voice sent chat_id=${chatId} slot=${slot} tts_chars=${ttsText.length}`);
716
718
  }