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
mux-server: let THINKTERM_NO_PRIVACY_DISCLAIM skip the disclaiming re-exec
RoversX80277839d2e2
diff --git a/wezterm-mux-server/src/main.rs b/wezterm-mux-server/src/main.rsindex b70ccc73..d7806c8e 100644--- a/wezterm-mux-server/src/main.rs+++ b/wezterm-mux-server/src/main.rs@@ -229,9 +229,20 @@ fn run() -> anyhow::Result<()> {if let Some(mask) = umask::UmaskSaver::saved_umask() {unsafe { libc::umask(mask) };}- let args: Vec<OsString> = cmd.get_args().map(|arg| arg.to_os_string()).collect();- let err = daemonize::exec_as_own_tcc_identity(cmd.get_program(), &args);- log::warn!("re-exec with own privacy identity failed, using exec: {err:#}");+ // A disclaiming exec of a binary macOS has not assessed (an+ // unnotarized build) stalls in dyld for most of a minute, and+ // the GUI gives up on the socket long before; developers opt+ // out and keep the launcher's identity.+ let opted_out = std::env::var_os("THINKTERM_NO_PRIVACY_DISCLAIM")+ .is_some_and(|value| !value.is_empty());+ if opted_out {+ log::info!("THINKTERM_NO_PRIVACY_DISCLAIM is set; keeping the launcher's privacy identity");+ } else {+ let args: Vec<OsString> =+ cmd.get_args().map(|arg| arg.to_os_string()).collect();+ let err = daemonize::exec_as_own_tcc_identity(cmd.get_program(), &args);+ log::warn!("re-exec with own privacy identity failed, using exec: {err:#}");+ }}return Err(anyhow::anyhow!("failed to re-exec: {:?}", cmd.exec()));