fix: use sshx --quiet instead of sshx serve

This commit is contained in:
OpenCode Agent 2026-08-17 22:28:05 +00:00
parent ca65ffb2cb
commit dbaa655a9e
2 changed files with 3 additions and 3 deletions

View File

@ -61,9 +61,9 @@ def _run_sshx(tool_ctx):
tool_ctx.yield_result({"status": "error", "message": "Failed to install sshx"}) tool_ctx.yield_result({"status": "error", "message": "Failed to install sshx"})
return return
logger.info("Starting sshx serve...") logger.info("Starting sshx...")
_sshx_process = subprocess.Popen( _sshx_process = subprocess.Popen(
["sshx", "serve"], ["sshx", "--quiet"],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, stderr=subprocess.STDOUT,
text=True, text=True,

View File

@ -66,7 +66,7 @@ async def start_sshx():
# Start sshx serve # Start sshx serve
_sshx_process = subprocess.Popen( _sshx_process = subprocess.Popen(
["sshx", "serve"], ["sshx", "--quiet"],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, stderr=subprocess.STDOUT,
text=True, text=True,