From 3b478e69dcbe8e416ddd46f0e24156392d4e71da Mon Sep 17 00:00:00 2001 From: akbash Date: Mon, 14 Sep 2026 01:11:07 +0300 Subject: fix: scope agent views to the selected machine (#3784) * fix: scope agent views to the selected machine refs #3732 * fix: preserve stable agent view ordering refs #3732 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com> Co-authored-by: JJ Liebig --- src/server/clients.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/server/clients.rs') diff --git a/src/server/clients.rs b/src/server/clients.rs index 972342ac..c2b419f4 100644 --- a/src/server/clients.rs +++ b/src/server/clients.rs @@ -177,6 +177,8 @@ pub(crate) struct ClientConnection { pub(crate) shell_location: Option, /// Last coherent shell replacement sent to this client. pub(crate) shell_snapshot: Option, + /// View policy paired with the last coherent shell replacement. + pub(crate) shell_agent_view: Option, /// Monotonic shell replacement revision for this connection. pub(crate) shell_projection_revision: u64, /// Whether this shell is waiting for one ordered endpoint command response. @@ -244,6 +246,7 @@ impl ClientConnection { staged_clipboard_files: Vec::new(), shell_location: None, shell_snapshot: None, + shell_agent_view: None, shell_projection_revision: 0, shell_endpoint_command_in_flight: false, shell_endpoint_command_surface_revision: None, -- cgit v1.2.3