feat: terminal tabs with on-demand connections and Claude Dev host
Deploy Dashboard / deploy (push) Successful in 2m22s

This commit is contained in:
Gan, Jimmy
2026-02-26 02:59:25 +08:00
parent 69ed0f981c
commit 22e9066ffe
2 changed files with 101 additions and 81 deletions
+3 -1
View File
@@ -8,6 +8,8 @@ import config
HOSTS = {
"nas": {"host": config.SSH_HOST, "user": config.SSH_USER, "key": config.SSH_KEY_PATH},
"vps": {"host": config.VPS_SSH_HOST, "user": config.VPS_SSH_USER, "key": config.VPS_SSH_KEY_PATH},
"claude-dev": {"host": config.SSH_HOST, "user": config.SSH_USER, "key": config.SSH_KEY_PATH,
"command": "/volume1/@appstore/ContainerManager/usr/bin/docker exec -it claude-dev bash"},
}
@@ -35,7 +37,7 @@ async def ws_endpoint(websocket: WebSocket, token: str = Query(""), host: str =
try:
process = await conn.create_process(
term_type="xterm-256color", term_size=(80, 24),
h.get("command"), term_type="xterm-256color", term_size=(80, 24),
encoding=None,
)