fix(terminal): improve shell resolution with better error handling and ws proxy support

The `len(shell) <= 1` guard was too aggressive and provided no diagnostic info.
Now trims whitespace, resolves path in all cases, falls back to /bin/sh, and
logs detailed context for debugging. Also enable WebSocket proxying in Vite dev.
This commit is contained in:
Augustin
2026-04-22 20:02:55 +02:00
parent 8fb93fa47e
commit 7dcf505360
2 changed files with 21 additions and 11 deletions

View File

@@ -13,6 +13,7 @@ export default defineConfig({
'/api': {
target: 'http://127.0.0.1:8095',
changeOrigin: true,
ws: true,
},
},
},