protocol: drop legacy sandbox from user turns

This commit is contained in:
Michael Bolin
2026-04-30 08:35:50 -07:00
parent b42ea0a808
commit dd07fb5a2a
42 changed files with 137 additions and 265 deletions
-9
View File
@@ -541,15 +541,6 @@ pub enum Op {
/// When omitted, the session keeps the current setting
approvals_reviewer: Option<ApprovalsReviewer>,
/// Deprecated legacy sandbox policy field.
///
/// `permission_profile` is required and is the canonical source for
/// `UserTurn` operations. This field is ignored by core and remains
/// only as a temporary compatibility slot while callers finish
/// migrating.
#[serde(default, skip_serializing_if = "Option::is_none")]
sandbox_policy: Option<SandboxPolicy>,
/// Full permissions profile to use for tool calls such as `local_shell`.
permission_profile: PermissionProfile,