fix(haivemind): start engine after MainScreen mounts to avoid NoMatches on #chat-log

Upstream haivemind_tui.py started the engine synchronously in HaivemindApp.on_mount while MainScreen mounts asynchronously, causing ProbeStart handler to query #chat-log on the default screen (NoMatches). Move the start_run trigger into MainScreen.on_mount so it runs only once the screen is active.
This commit is contained in:
2026-08-20 10:33:57 +03:00
parent 7e7b884cc6
commit 2c5e64039a
2 changed files with 30 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ python3Packages.buildPythonApplication rec {
textual
];
patches = [ ./fix-chat-log-race.patch ];
doCheck = false;
pythonImportsCheck = [
"haivemind"