A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.
Rust agentagent-orchestrationaiai-agentsclaude-codecodexcoding-agentlinuxmacosmultiplayermultiplexerrustterminalterminal-emulatorterminal-multiplexertmuxtuiweztermwindows
feat(mux): keep the plugin host up while a plugin runs always
RoversXb2e35976d1fc
diff --git a/wezterm-mux-server-impl/src/lib.rs b/wezterm-mux-server-impl/src/lib.rsindex ca2a8ce6..9534f224 100644--- a/wezterm-mux-server-impl/src/lib.rs+++ b/wezterm-mux-server-impl/src/lib.rs@@ -43,6 +43,13 @@ fn client_domains(config: &config::ConfigHandle) -> Vec<ClientDomainConfig> {domains}+/// Keeps the plugin host up for as long as this server runs while a plugin+/// runs always, as the desktop does: those run while ThinkTerm runs on the+/// machine, and on a host with no desktop this server is ThinkTerm.+pub fn keep_plugin_host_up() {+ thinkterm_plugin_channel::client::keep_host_up();+}+pub fn update_mux_domains(config: &ConfigHandle) -> anyhow::Result<()> {update_mux_domains_impl(config, false)}diff --git a/wezterm-mux-server/src/main.rs b/wezterm-mux-server/src/main.rsindex 264cb59c..aac54bb2 100644--- a/wezterm-mux-server/src/main.rs+++ b/wezterm-mux-server/src/main.rs@@ -390,6 +390,8 @@ fn run() -> anyhow::Result<()> {if let Some(fd) = opts.pid_file_fd {wezterm_mux_server_impl::handoff::remember_pid_file_fd(fd);}+ // Past daemonizing: its thread is the one this process keeps.+ wezterm_mux_server_impl::keep_plugin_host_up();let activity = Activity::new();