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): import Write trait and clean up unix permission import
Steven Enamakel6b0f2d7e1db8
diff --git a/app/src-tauri/src/gateway/store.rs b/app/src-tauri/src/gateway/store.rsindex b333d8af00..df5a79e717 100644--- a/app/src-tauri/src/gateway/store.rs+++ b/app/src-tauri/src/gateway/store.rs@@ -11,6 +11,7 @@//! The frontend therefore holds a gateway *id* and asks the shell for the rest.use std::io;+use std::io::Write;#[cfg(unix)]use std::os::unix::fs::PermissionsExt;use std::path::PathBuf;@@ -159,7 +160,6 @@ fn write(stored: &StoredGateways) -> Result<(), String> {#[cfg(unix)]{- use std::os::unix::fs::PermissionsExt as _;if let Ok(metadata) = std::fs::metadata(&path) {if metadata.permissions().mode() & 0o077 != 0 {let _ = std::fs::set_permissions(&path, std::fs::Permissions::from_mode(0o600));