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
packaging: ship the browser bundle
RoversX1d2650ffb505
diff --git a/ci/deploy.sh b/ci/deploy.shindex 3f70871d..cdfe76b4 100755--- a/ci/deploy.sh+++ b/ci/deploy.sh@@ -47,6 +47,13 @@ case $OSTYPE in# code) and the third-party attributions; all of them have to ship with the# binaries that embed the material they cover.cp LICENSE.md LICENSE-MIT NOTICE $zipdir/ThinkTerm.app/Contents/Resources/+ # The browser client, when ci/build-web.sh ran before this: the server+ # inside the bundle finds it at <exe>/../Resources/web.+ if [[ -f thinkterm-web/www/pkg/thinkterm_web.js ]] ; then+ mkdir -p $zipdir/ThinkTerm.app/Contents/Resources/web+ cp thinkterm-web/www/index.html thinkterm-web/www/app.js $zipdir/ThinkTerm.app/Contents/Resources/web/+ cp -r thinkterm-web/www/pkg thinkterm-web/www/fonts $zipdir/ThinkTerm.app/Contents/Resources/web/+ fitic -xe wezterm -o $zipdir/ThinkTerm.app/Contents/Resources/terminfo termwiz/data/wezterm.terminfo# Naming an architecture names its target directory too. Without that the@@ -558,6 +565,13 @@ EOFinstall -Dm644 -t "$tardir/share/shell-completion" assets/shell-completion/*install -Dm644 -t "$tardir/share/shell-integration" assets/shell-integration/*install -Dm644 -t "$tardir" NOTICE LICENSE.md LICENSE-MIT+ # The browser client, when ci/build-web.sh ran before this: the+ # server finds it at <exe>/../share/thinkterm/web.+ if [[ -f thinkterm-web/www/pkg/thinkterm_web.js ]] ; then+ install -Dm644 -t "$tardir/share/thinkterm/web" thinkterm-web/www/index.html thinkterm-web/www/app.js+ install -Dm644 -t "$tardir/share/thinkterm/web/pkg" thinkterm-web/www/pkg/*+ install -Dm644 -t "$tardir/share/thinkterm/web/fonts" thinkterm-web/www/fonts/*+ fiif [[ "$variant" == thinkterm ]] ; theninstall -Dm755 -t "$tardir/bin" assets/open-thinkterm-here assets/open-wezterm-hereinstall -Dm644 assets/wezterm.desktop "$tardir/share/applications/com.roversx.thinkterm.desktop"diff --git a/install.sh b/install.shindex f8bf23fb..16769fb9 100755--- a/install.sh+++ b/install.sh@@ -555,6 +555,13 @@ fifor doc in NOTICE LICENSE.md LICENSE-MIT; do[ -f "$src_doc/$doc" ] && cp "$src_doc/$doc" "$sharedir/thinkterm/$doc"done+# The browser client, if the tarball carries one; the mux server serves it+# from here when a web_servers entry is configured.+# A tarball without one leaves an installed bundle alone.+if [ -d "$root/share/thinkterm/web" ]; then+ rm -rf "$sharedir/thinkterm/web"+ cp -R "$root/share/thinkterm/web" "$sharedir/thinkterm/web"+fi# Written last, so it only ever describes a completed install.{@@ -570,7 +577,7 @@ done# ---- report -----------------------------------------------------------------say " $sharedir/thinkterm/ (licenses, shell integration, install-manifest)"+say " $sharedir/thinkterm/ (licenses, shell integration, install-manifest, web client)"say " $sharedir/{bash-completion,zsh,fish}/... (completions)"# The binaries were swapped under it, so a mux server that is still running