remove major func signature changes

This commit is contained in:
viyatb-oai
2025-12-19 08:56:32 -08:00
parent 78a5014430
commit f7648cf2b5
23 changed files with 677 additions and 149 deletions
@@ -659,6 +659,7 @@ mod tests {
parsed_cmd: vec![ParsedCommand::Unknown {
cmd: "echo hello".to_string(),
}],
network_preflight_only: false,
};
let request = ServerRequest::ExecCommandApproval {
request_id: RequestId::Integer(7),
@@ -680,7 +681,8 @@ mod tests {
"type": "unknown",
"cmd": "echo hello"
}
]
],
"networkPreflightOnly": false
}
}),
serde_json::to_value(&request)?,
@@ -227,6 +227,8 @@ pub struct ExecCommandApprovalParams {
pub cwd: PathBuf,
pub reason: Option<String>,
pub parsed_cmd: Vec<ParsedCommand>,
#[serde(default)]
pub network_preflight_only: bool,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]