tui: carry permission profiles on user turns

This commit is contained in:
Michael Bolin
2026-04-17 10:07:49 -07:00
parent ffac8a64f6
commit 9e5832b1e6
46 changed files with 240 additions and 8 deletions
+7
View File
@@ -437,6 +437,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,