pass configs to file_tools for r+w over ssh.

pass TERM env.
default to ~ to in local and ssh backends.
ssh backend.
This commit is contained in:
alt-glitch
2026-03-15 02:26:39 +05:30
parent 9001b34146
commit 7be314c456
4 changed files with 23 additions and 1 deletions

View File

@@ -471,6 +471,8 @@ def _get_env_config() -> Dict[str, Any]:
# is running inside the container/remote).
if env_type == "local":
default_cwd = os.getcwd()
elif env_type == "ssh":
default_cwd = "~"
else:
default_cwd = "/root"