Skip to content

Commit b5b8405

Browse files
wanghanzhenCopilot
andauthored
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>
1 parent 859c8aa commit b5b8405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ pub fn parse_command(args: &[String], flags: &Flags) -> Result<Value, ParseError
12231223
context: "state show".to_string(),
12241224
usage: "state show <filename>",
12251225
})?;
1226-
Ok(json!({ "id": id, "action": "state_show", "filename": filename }))
1226+
Ok(json!({ "id": id, "action": "state_show", "path": filename }))
12271227
}
12281228
Some("clean") => {
12291229
let mut days: Option<i64> = None;

0 commit comments

Comments
 (0)