feat: terminal tabs with on-demand connections and Claude Dev host
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user