feat: use shell policy in shell snapshot (#11759)

Honor `shell_environment_policy.set` even after a shell snapshot
This commit is contained in:
jif-oai authored and GitHub committed 2026-02-16 09:11:00 +00:00
1 parent 1d95656149
commit 825a4af42f
7 files changed
+555 -19

No files matched your search

+1
View File
@@ -119,6 +119,7 @@ pub(crate) async fn execute_user_shell_command(
&display_command,
session_shell.as_ref(),
turn_context.cwd.as_path(),
&turn_context.shell_environment_policy.r#set,
);
let call_id = Uuid::new_v4().to_string();