add turn_id to exec approval request event

This commit is contained in:
Owen Lin
2025-11-13 16:00:43 -08:00
parent 7795203bdd
commit b417dccb23
5 changed files with 14 additions and 2 deletions
+4
View File
@@ -36,6 +36,10 @@ impl SandboxRiskLevel {
pub struct ExecApprovalRequestEvent {
/// Identifier for the associated exec call, if available.
pub call_id: String,
/// Turn ID that this command belongs to.
/// Uses `#[serde(default)]` for backwards compatibility.
#[serde(default)]
pub turn_id: String,
/// The command to be executed.
pub command: Vec<String>,
/// The command's working directory.