fix: state show always fails with "Missing 'path' parameter" (#994)

Agent-Logs-Url: https://github.com/wanghanzhen/agent-browser/sessions/a0ee212c-9d4f-4b9c-906e-7a2d8fa8df4a

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: wanghanzhen <25301012+wanghanzhen@users.noreply.github.com>
This commit is contained in:
volare
2026-03-24 10:19:46 -05:00
committed by GitHub
co-authored by copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> wanghanzhen
parent 859c8aaf94
commit b5b84051e4
+1 -1
View File
@@ -1223,7 +1223,7 @@ pub fn parse_command(args: &[String], flags: &Flags) -> Result<Value, ParseError
context: "state show".to_string(),
usage: "state show <filename>",
})?;
Ok(json!({ "id": id, "action": "state_show", "filename": filename }))
Ok(json!({ "id": id, "action": "state_show", "path": filename }))
}
Some("clean") => {
let mut days: Option<i64> = None;