Add ink integration UI and media playback

This commit is contained in:
2026-05-15 21:23:46 +02:00
parent 44dc64f830
commit f2e786d5bc
89 changed files with 6561 additions and 556 deletions
+2 -5
View File
@@ -182,12 +182,11 @@ class TTSFactoryModule extends BaseModule {
this.reportProgress(100, 'TTS Factory initialized');
console.log(`TTS Factory: Initialization complete, TTS available: ${this.ttsAvailable}`);
// To maintain backward compatibility, we always return true
// since TTS is now optional and the system should function without it
// TTS is optional; the client must continue to function without it.
return true;
} catch (error) {
console.error('TTS Factory: Initialization error:', error);
return true; // Still return true for backward compatibility
return true;
}
}
@@ -655,7 +654,6 @@ class TTSFactoryModule extends BaseModule {
detail: { handler: 'none', available: false }
}));
// Also dispatch tts:engine:change for compatibility with Options UI
document.dispatchEvent(new CustomEvent('tts:engine:change', {
detail: { engine: 'none', handler: 'none', available: false }
}));
@@ -719,7 +717,6 @@ class TTSFactoryModule extends BaseModule {
});
document.dispatchEvent(event);
// Also dispatch tts:engine:change for compatibility with Options UI
document.dispatchEvent(new CustomEvent('tts:engine:change', {
detail: { engine: id, handler: id, available: isReady }
}));