github open-webui/open-terminal v0.7.2

latest releases: v0.11.34, v0.11.33, v0.11.32...
one month ago

Fixed

  • 🐳 PTY device exhaustion — fixed OSError: out of pty devices by closing leaked file descriptors when subprocess creation fails after pty.openpty(). Both PtyRunner (command execution) and create_terminal (interactive sessions) now properly clean up on error paths.
  • 🛡️ Graceful PTY error handlingcreate_terminal now returns a clear 503 with a descriptive message when the system runs out of PTY devices, instead of an unhandled server error.

Added

  • 🔒 Terminal session limit — new OPEN_TERMINAL_MAX_SESSIONS environment variable (default 16) caps the number of concurrent interactive terminal sessions. Dead sessions are automatically pruned before the limit is checked. Returns 429 when the limit is reached.

Don't miss a new open-terminal release

NewReleases is sending notifications on new releases.