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:
@@ -24,6 +24,8 @@ python3Packages.buildPythonApplication rec {
|
||||
textual
|
||||
];
|
||||
|
||||
patches = [ ./fix-chat-log-race.patch ];
|
||||
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [
|
||||
"haivemind"
|
||||
|
||||
Reference in New Issue
Block a user