Luxe 0.1.3: your sessions on your phone, joinable sessions, and nested AGENTS.md
- luxe remote puts the sessions on your computer in reach of your own phone or tablet over Tailscale: write, steer, answer prompts, send photos, browse files, diffs and GitHub, with a paired device and your own Tailscale login. - luxe join lets another program on the same machine join a running session over the RPC protocol. - An AGENTS.md in a subfolder reaches the model the first time it works there. - Long sessions stay fast: no stall before each model call, lighter memory, cheaper drawing. - A session is open in one Luxe at a time, web_search shares results across its phrasings, and a grep glob starting with ! excludes. The CHANGELOG has the full list.
This commit is contained in:
@@ -139,12 +139,16 @@ async fn submit(
|
||||
}
|
||||
|
||||
/// Every file's contents under `dir`, concatenated.
|
||||
///
|
||||
/// Session claims are skipped: they hold nothing, and on Windows an open session's claim locks its
|
||||
/// `.lock` file against any other read.
|
||||
fn everything_under(dir: &std::path::Path) -> String {
|
||||
std::fs::read_dir(dir)
|
||||
.unwrap()
|
||||
.flatten()
|
||||
.map(|entry| match entry.path() {
|
||||
path if path.is_dir() => everything_under(&path),
|
||||
path if path.extension().is_some_and(|extension| extension == "lock") => String::new(),
|
||||
path => std::fs::read_to_string(path).unwrap(),
|
||||
})
|
||||
.collect()
|
||||
|
||||
Reference in New Issue
Block a user