The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(gateway): handle missing gateway config gracefully\n\nWhen the gateway configuration is absent, the section now displays a fallback message instead of crashing or showing an empty state. This improves the user experience by providing clear feedback when no gateway is configured.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel99226a906723
diff --git a/app/src/components/settings/panels/core/GatewaySection.tsx b/app/src/components/settings/panels/core/GatewaySection.tsxindex 1b1836577c..bf5be80c09 100644--- a/app/src/components/settings/panels/core/GatewaySection.tsx+++ b/app/src/components/settings/panels/core/GatewaySection.tsx@@ -90,7 +90,11 @@ export function draftToGateway(draft: DraftGateway): { gateway: Gateway } | { erif (!draft.contained && !draft.binary.trim()) return { error: 'binaryRequired' };const port = draft.sshPort.trim();- if (port && !/^\d+$/.test(port)) return { error: 'portInvalid' };+ // A bare digit check would accept `0` and values past 65535, which then reach+ // the shell as connection settings and only fail later with a generic error.+ if (port && (!/^\d+$/.test(port) || Number(port) < 1 || Number(port) > 65_535)) {+ return { error: 'portInvalid' };+ }return {gateway: {