Skip to content

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.

build: ship the plugin server in the server packages

RoversX669a9d046fc5
diff --git a/ci/deploy.sh b/ci/deploy.sh
index c1fb8475..e5c625be 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -435,6 +435,7 @@ install -Dm644 LICENSE-MIT %{buildroot}/usr/share/licenses/thinkterm-server/LICE
%files -n thinkterm-server
/usr/bin/thinkterm
/usr/bin/wezterm
+/usr/bin/thinkterm-plugin-server
/usr/bin/thinkterm-mux-server
/usr/bin/strip-ansi-escapes
/usr/share/licenses/thinkterm-server/*
@@ -551,12 +552,12 @@ EOF
fi
install -Dsm755 -t $root/usr/bin $TARGET_DIR/$PROFILE/thinkterm-mux-server
+ install -Dsm755 -t $root/usr/bin $TARGET_DIR/$PROFILE/thinkterm-plugin-server
install -Dsm755 -t $root/usr/bin $TARGET_DIR/$PROFILE/thinkterm
install -Dsm755 -t $root/usr/bin $TARGET_DIR/$PROFILE/wezterm
install -Dsm755 -t $root/usr/bin $TARGET_DIR/$PROFILE/strip-ansi-escapes
if [[ "$variant" == desktop ]] ; then
install -Dsm755 -t $root/usr/bin $TARGET_DIR/$PROFILE/thinkterm-gui
- install -Dsm755 -t $root/usr/bin $TARGET_DIR/$PROFILE/thinkterm-plugin-server
install -Dm755 -t $root/usr/bin assets/open-thinkterm-here assets/open-wezterm-here
install -Dm644 assets/icon/terminal.png $root/usr/share/icons/hicolor/128x128/apps/com.roversx.thinkterm.png
install -Dm644 assets/wezterm.desktop $root/usr/share/applications/com.roversx.thinkterm.desktop
@@ -616,9 +617,11 @@ EOF
# it needs no graphics library
#
# Both carry the wezterm shim that third-party tools expect on PATH
- # whenever TERM_PROGRAM says WezTerm. The arch is uname -m as-is
- # (x86_64, aarch64): install.sh runs the same command on the target
- # host and wants a name it can build without a mapping table.
+ # whenever TERM_PROGRAM says WezTerm, and the plugin server: a
+ # browser that opens a host's page uses that host's plugins. The
+ # arch is uname -m as-is (x86_64, aarch64): install.sh runs the same
+ # command on the target host and wants a name it can build without a
+ # mapping table.
linux_tarball() {
local variant=$1 tardir
shift
@@ -666,6 +669,7 @@ EOF
$TARGET_DIR/$PROFILE/thinkterm \
$TARGET_DIR/$PROFILE/wezterm \
$TARGET_DIR/$PROFILE/thinkterm-mux-server \
+ $TARGET_DIR/$PROFILE/thinkterm-plugin-server \
$TARGET_DIR/$PROFILE/strip-ansi-escapes
;;
esac
diff --git a/thinkterm-update/src/lib.rs b/thinkterm-update/src/lib.rs
index 52fe80f5..7645b2ca 100644
--- a/thinkterm-update/src/lib.rs
+++ b/thinkterm-update/src/lib.rs
@@ -59,8 +59,8 @@ pub fn build_from_source_instructions(version: &str) -> String {
format!(
"Build ThinkTerm {version} from source on that host instead:\n \
{checkout}\n \
- cd thinkterm && ./get-deps && cargo build --release -p wezterm -p wezterm-mux-server\n \
- install -Dm755 target/release/thinkterm target/release/wezterm target/release/thinkterm-mux-server -t ~/.local/bin\n\
+ cd thinkterm && ./get-deps && cargo build --release -p wezterm -p wezterm-mux-server -p thinkterm-plugin-server\n \
+ install -Dm755 target/release/thinkterm target/release/wezterm target/release/thinkterm-mux-server target/release/thinkterm-plugin-server -t ~/.local/bin\n\
then stop the old thinkterm-mux-server there and reconnect."
)
}
@@ -463,6 +463,10 @@ mod tests {
let text = build_from_source_instructions("0.2.0");
assert!(text.contains("--branch 0.2.0"), "{text}");
assert!(text.contains("thinkterm-mux-server"), "{text}");
+ assert!(
+ text.contains("target/release/thinkterm-plugin-server"),
+ "{text}"
+ );
}
#[test]