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:
@@ -1,7 +1,7 @@
|
||||
//! Nested instructions — the `AGENTS.md` files off the launch chain, read when work reaches them.
|
||||
//!
|
||||
//! The system prompt carries the files from the top of the checkout down to where Luxe started,
|
||||
//! and it's written once per session. A file in a folder off that chain (`web/AGENTS.md` when Luxe
|
||||
//! The system prompt carries the files from the top of the checkout down to where luxe started,
|
||||
//! and it's written once per session. A file in a folder off that chain (`web/AGENTS.md` when luxe
|
||||
//! started at the root) can't join it without rewriting the prompt every later request is cached
|
||||
//! against. So it rides on the result of the first tool call that reaches its folder: an append,
|
||||
//! like any other result. Whether the model already has one is read off the conversation by the
|
||||
|
||||
@@ -12,7 +12,7 @@ fn checkout(files: &[&str]) -> tempfile::TempDir {
|
||||
dir
|
||||
}
|
||||
|
||||
/// What [`nested_files`] names for `target`, from Luxe launched at `launch`, both under `root`.
|
||||
/// What [`nested_files`] names for `target`, from luxe launched at `launch`, both under `root`.
|
||||
fn shown(root: &Path, launch: &str, target: &str) -> Vec<String> {
|
||||
let files = nested_files(&root.join(launch), &root.join(target));
|
||||
files.into_iter().map(|file| file.shown).collect()
|
||||
|
||||
@@ -649,7 +649,7 @@ fn identical_text_is_carried_once_and_different_text_is_not_touched() {
|
||||
assert!(found[0].is_loaded());
|
||||
assert!(!found[1].is_loaded());
|
||||
assert_eq!(found[1].duplicate_of, Some(root.join("AGENTS.md")), "a byte-identical copy");
|
||||
assert!(found[2].is_loaded(), "overlap is the author's to settle, not Luxe's");
|
||||
assert!(found[2].is_loaded(), "overlap is the author's to settle, not luxe's");
|
||||
}
|
||||
|
||||
/// Two empty files are not "the same instructions" in any sense worth reporting.
|
||||
@@ -682,7 +682,7 @@ fn a_directory_prefers_agents_md_but_accepts_claude_md() {
|
||||
fn the_global_files_put_the_shared_one_first() {
|
||||
let files = global_context_files();
|
||||
assert!(global_context_file().ends_with(std::path::Path::new("luxe").join("agents.md")));
|
||||
assert_eq!(files.last(), Some(&global_context_file()), "Luxe's own comes last");
|
||||
assert_eq!(files.last(), Some(&global_context_file()), "luxe's own comes last");
|
||||
if let Some(home) = crate::user_dirs::home_dir() {
|
||||
assert_eq!(files.first(), Some(&home.join(".agents").join("AGENTS.md")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user