waveterm/cmd
Mike Sawka 4fd6d36d8e
conn updates 2 (#1660)
* use pwsh over powershell if installed (on windows) for default shell
* refactor blockcontroller.DoRunShellCommand into a "setup" and "manage" phase
* fix wshcmd-conn to also disconnect wsl connections
* new genconn interfaces to make a standardized environment to run SSH/WSL commands via `sh -c`.  also create better quoting functions that are composable
* replace html/template with text/template for shell command templating (avoids special chars getting turned into HTML entities, breaking the commands)
* do not reinstall wsh if the installed version has a higher version (prevents flip-flopping on shared systems)
* simplify clientOs/clientArch detection.  use `uname -sm`.  also validate the os/arch combo as compatible with our builds.
* replace CpHostToRemote with CpWshToRemote. hard codes wsh paths inside of the function instead of having them passed in (quoting restrictions)
* new SyncBuffer class to use with commands that properly synchronizes Writes/String output
* fix setTermSize to actually update DB with terminal size
2025-01-02 14:15:32 -08:00
..
generatego SSH without using WSH (#1355) 2024-11-27 16:52:00 -08:00
generatets conditionally write generated files (#890) 2024-09-27 13:46:10 -07:00
packfiles minor docs fixups (consistency) (#1480) 2024-12-10 18:03:48 -08:00
server fix all panichandlers for the new format (inline recover()) (#1659) 2024-12-31 09:31:55 -08:00
test vdom 3 (#1033) 2024-10-17 14:50:36 -07:00
wsh conn updates 2 (#1660) 2025-01-02 14:15:32 -08:00