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): return GatewaySummary instead of full Gateway from list command\n\nThe `gateway_list` command now returns a credential-free `GatewaySummary` for each gateway instead of the full `Gateway` struct, preventing sensitive fields like bearer tokens and SSH paths from being exposed to the renderer.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel040e1f4299ea
diff --git a/app/src-tauri/src/gateway/commands.rs b/app/src-tauri/src/gateway/commands.rsindex efb1ff7214..2250113ce9 100644--- a/app/src-tauri/src/gateway/commands.rs+++ b/app/src-tauri/src/gateway/commands.rs@@ -5,14 +5,18 @@use super::registry;use super::store;-use super::types::{Gateway, GatewayStatus};+use super::types::{Gateway, GatewayStatus, GatewaySummary};/// Every configured gateway, the built-in desktop one first.+///+/// Returns a credential-free [`GatewaySummary`], not the full [`Gateway`]: a+/// `Remote` bearer and a `Box`/SSH destination or identity path belong to the+/// shell store, and the renderer only needs the id, label and kind badge.#[tauri::command]-pub(crate) fn gateway_list() -> Vec<Gateway> {+pub(crate) fn gateway_list() -> Vec<GatewaySummary> {let gateways = store::list();log::debug!("[gateway][cmd] list -> {} gateway(s)", gateways.len());- gateways+ gateways.iter().map(GatewaySummary::from).collect()}/// Add or replace a gateway.