From 8e5c21b44332ca6eb6f3bf8fc5e3c308a1c8dba8 Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 30 Mar 2026 00:25:30 -0700 Subject: [PATCH] fix: restore integrated texthooker startup --- changes/259-texthooker-integrated-startup.md | 5 ++ plugin/subminer/process.lua | 50 ++++--------------- scripts/test-plugin-start-gate.lua | 8 +-- src/cli/args.test.ts | 9 ++++ src/cli/args.ts | 48 ++++++++++++++++++ src/core/services/app-ready.test.ts | 13 ++++- src/core/services/cli-command.test.ts | 18 +++++-- src/core/services/cli-command.ts | 13 +++-- src/core/services/startup.ts | 48 ++++++++++++++---- src/main.ts | 6 ++- src/main/cli-runtime.ts | 2 + src/main/dependencies.ts | 2 + .../runtime/cli-command-context-deps.test.ts | 2 + src/main/runtime/cli-command-context-deps.ts | 2 + .../cli-command-context-factory.test.ts | 8 ++- .../cli-command-context-main-deps.test.ts | 9 +++- .../runtime/cli-command-context-main-deps.ts | 19 ++++++- src/main/runtime/cli-command-context.test.ts | 1 + src/main/runtime/cli-command-context.ts | 2 + .../composers/cli-startup-composer.test.ts | 3 ++ 20 files changed, 197 insertions(+), 71 deletions(-) create mode 100644 changes/259-texthooker-integrated-startup.md diff --git a/changes/259-texthooker-integrated-startup.md b/changes/259-texthooker-integrated-startup.md new file mode 100644 index 0000000..4765235 --- /dev/null +++ b/changes/259-texthooker-integrated-startup.md @@ -0,0 +1,5 @@ +type: fixed +area: main + +- Keep integrated `--start --texthooker` launches on the full app-ready startup path so the texthooker page and websocket servers start together during normal playback startup. +- Stop the mpv/plugin auto-start flow from spawning a separate standalone texthooker helper during normal `subminer