Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: keep shapeHasOwnPty module-private (#9612)

Adam Eivy4a79159190ff
diff --git a/server/lib/tuiHandshake.js b/server/lib/tuiHandshake.js
index aaa1771834..2f7e04a623 100644
--- a/server/lib/tuiHandshake.js
+++ b/server/lib/tuiHandshake.js
@@ -471,7 +471,7 @@ const OBSERVE_TAIL_MAX_LEN = 4000;
* Test whether a launch shape owns its own PTY process.
* 'runner' and 'direct' shapes own their PTY; 'login-shell' is hosted in a shell.
*/
-export function shapeHasOwnPty(launchShape) {
+function shapeHasOwnPty(launchShape) {
return launchShape === 'runner' || launchShape === 'direct';
}