luxe 0.1.4: remembered models, wheel-driven lists, and a steadier phone app
- luxe starts on the model you last chose in this project, then the last one anywhere. Signing in opens the model picker instead of choosing for you. - Every list in a modal takes the mouse wheel and a draggable scrollbar. - The phone app shows reasoning in full, stays put while you read back through a long session, and shows a question's answer on its card. - On Windows, luxe update replaces the running luxe, and a signed-in install no longer sees setup again. - The file tree no longer shows "engine busy" in a large project, loop output is easier to follow, and the name is written lowercase. The CHANGELOG has the full list.
This commit is contained in:
@@ -86,7 +86,7 @@ fn git(root: &std::path::Path, arguments: &[&str]) {
|
||||
assert!(Command::new("git").args(arguments).current_dir(root).status().unwrap().success());
|
||||
}
|
||||
|
||||
/// Where the repository keeps its sessions: under `.luxe`, as Luxe does, where Guided Review never
|
||||
/// Where the repository keeps its sessions: under `.luxe`, as luxe does, where Guided Review never
|
||||
/// looks. Anywhere else they are untracked files a review reads, and on Windows an open session's
|
||||
/// claim locks its `.lock` file against that read, so the review never loads.
|
||||
fn sessions_root(root: &std::path::Path) -> std::path::PathBuf {
|
||||
@@ -99,7 +99,7 @@ fn changed_repository() -> tempfile::TempDir {
|
||||
let root = dir.path();
|
||||
git(root, &["init", "-q"]);
|
||||
git(root, &["config", "user.email", "tests@example.invalid"]);
|
||||
git(root, &["config", "user.name", "Luxe Tests"]);
|
||||
git(root, &["config", "user.name", "luxe Tests"]);
|
||||
std::fs::write(root.join("tracked.rs"), "fn original() {}\n").unwrap();
|
||||
git(root, &["add", "tracked.rs"]);
|
||||
git(root, &["commit", "-q", "-m", "initial fixture"]);
|
||||
|
||||
@@ -107,7 +107,7 @@ pub(crate) fn engine_config(
|
||||
external_work: None,
|
||||
review_context_files: Vec::new(),
|
||||
review_exclude: Vec::new(),
|
||||
remember_runtime_state: false,
|
||||
remember_choices_in: None,
|
||||
cache_warming: luxe_core::cache_warming::CacheWarming::Off,
|
||||
review_insight_provider: None,
|
||||
github: None,
|
||||
@@ -235,7 +235,7 @@ async fn a_session_held_by_another_process_is_not_switched_to() {
|
||||
_ => None,
|
||||
})
|
||||
.await;
|
||||
assert!(refusal.contains("open in another Luxe"), "{refusal}");
|
||||
assert!(refusal.contains("open in another luxe"), "{refusal}");
|
||||
let claimed = std::fs::File::open(&my_lock).unwrap().try_lock().is_err();
|
||||
assert!(claimed, "the engine doesn't hold the session it's on");
|
||||
turn(&actions, &mut events, "still in my session").await;
|
||||
|
||||
Reference in New Issue
Block a user