fix: use canonical standalone session path

This commit is contained in:
2026-08-30 19:53:31 +09:00
parent 31e18205f0
commit 6945986dd1
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -116,7 +116,8 @@ fn standalone_target() -> Result<Box<dyn Target>, ParseError> {
)
})?
.join("client")
.join("standalone-sessions");
.join("standalone")
.join("sessions");
Ok(Box::new(StandaloneTarget::new(state_dir)))
}
+1 -1
View File
@@ -2132,7 +2132,7 @@ backend = "shared"
LaunchMode::StandaloneResume { include_all: false }
));
let intent = target.standalone_session_list(false).unwrap();
assert!(intent.state_dir.ends_with("client/standalone-sessions"));
assert!(intent.state_dir.ends_with("client/standalone/sessions"));
assert!(!intent.include_all);
let mode = parse_args_from(["--local", "--resume", "--all"]).unwrap();