almost back to working state with rust transport

This commit is contained in:
2026-04-09 22:15:16 -03:00
parent ff96dcb4f7
commit 512d8ecef8
13 changed files with 1504 additions and 488 deletions

View File

@@ -282,7 +282,13 @@ class ChtWindow(Adw.ApplicationWindow):
self._connect_btn.remove_css_class("suggested-action")
self._connect_btn.add_css_class("destructive-action")
mgr = self._lifecycle.start(session_id=session_id)
mgr = self._lifecycle.start(session_id=session_id, rust_transport=True)
if mgr is None:
log.error("Failed to start stream — no cht-server session found")
self._connect_btn.set_label("Connect")
self._connect_btn.remove_css_class("destructive-action")
self._connect_btn.add_css_class("suggested-action")
return
self._telemetry = Telemetry(mgr.session_dir)
mgr.telemetry = self._telemetry