tui: carry permission profiles on user turns

This commit is contained in:
Michael Bolin
2026-04-22 22:36:00 -07:00
parent 1d0f013cdf
commit acdb526d4d
46 changed files with 246 additions and 10 deletions
+7
View File
@@ -537,6 +537,13 @@ pub enum Op {
/// Policy to use for tool calls such as `local_shell`.
sandbox_policy: SandboxPolicy,
/// Full permissions profile to use for tool calls such as `local_shell`.
///
/// When omitted, `sandbox_policy` is used as a legacy compatibility
/// projection.
#[serde(default, skip_serializing_if = "Option::is_none")]
permission_profile: Option<PermissionProfile>,
/// Must be a valid model slug for the configured client session
/// associated with this conversation.
model: String,