Fixes
trcc theme-loadcrashes on headless systems (issue #78): Renderer was not initialized beforelcd_from_service()on CLI —theme-load,theme-save, andscreencastwould throwRuntimeError: ImageService.set_renderer() must be called before use. Fixed by wiring the renderer at startup so it is always ready before any command runs
Internal
- Pure hexagonal composition root:
InitPlatformCommandnow does real work — logging, OS setup, settings, renderer injection.TrccApp.init()is a minimal container._ensure_renderer()and all 10 scattered call sites eliminated. Each composition root (CLI, API, GUI) passes arenderer_factorywhen dispatchingInitPlatformCommand— core never imports Qt