From 617bf910339cccc614c7aa25e9f15bf0ba89601e Mon Sep 17 00:00:00 2001 From: Pedram Amini Date: Sun, 28 Dec 2025 12:56:01 -0600 Subject: [PATCH] version bump --- package.json | 2 +- src/main/index.ts | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c273dfbb..3732785e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "maestro", - "version": "0.12.3", + "version": "0.13.0", "description": "Maestro hones fractured attention into focused intent.", "main": "dist/main/index.js", "author": { diff --git a/src/main/index.ts b/src/main/index.ts index 7740a932..070c6b13 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -1445,8 +1445,16 @@ function setupIpcHandlers() { }); } - child.on('close', (code) => { - console.log('[TTS Main] Process exited with code:', code); + child.on('close', (code, signal) => { + console.log('[TTS Main] Process exited with code:', code, 'signal:', signal); + // Always log close event for debugging production issues + logger.info('TTS process closed', 'TTS', { + ttsId, + exitCode: code, + signal, + stderr: stderrOutput || '(none)', + command: fullCommand, + }); if (code !== 0 && stderrOutput) { console.error('[TTS Main] stderr:', stderrOutput); logger.error('TTS process error output', 'TTS', {