mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-30 21:09:29 +00:00
fix: set TERM and use login shell for interactive SSH sessions (#1754)
SSH interactive sessions ran the agent command in a non-login, non-interactive shell — .bashrc/.profile weren't sourced and TERM wasn't always set, making the shell feel broken (no colors, bad line editing, missing env). Fix for all 6 SSH-based clouds (DO, Hetzner, AWS, GCP, Fly, Daytona): - Forward local TERM (default xterm-256color) to the remote - Use `exec bash -l -c` for a proper login shell Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a67b9c7a75
commit
7b021fb1f5
7 changed files with 13 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.6.14",
|
||||
"version": "0.6.15",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue