From b5b84051e43beb75fa1405301dcd2307b1c3cafc Mon Sep 17 00:00:00 2001 From: volare <867484528@qq.com> Date: Tue, 24 Mar 2026 23:19:46 +0800 Subject: [PATCH] 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> --- cli/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands.rs b/cli/src/commands.rs index f72fe64..d63bdac 100644 --- a/cli/src/commands.rs +++ b/cli/src/commands.rs @@ -1223,7 +1223,7 @@ pub fn parse_command(args: &[String], flags: &Flags) -> Result", })?; - Ok(json!({ "id": id, "action": "state_show", "filename": filename })) + Ok(json!({ "id": id, "action": "state_show", "path": filename })) } Some("clean") => { let mut days: Option = None;