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:
Evan Whittaker
2026-10-20 02:40:13 -05:00
parent 99e30d6d0f
commit d2129a886f
423 changed files with 31666 additions and 1669 deletions

View File

@@ -674,6 +674,23 @@ fn herdr_reporting_is_on_until_it_is_turned_off() {
assert!(!off.herdr());
}
/// Sessions are joinable until turned off, and a project can turn that off but not back on.
///
/// The break this catches: merging `joinable` like any other key, so a cloned repository's
/// `.luxe/config.json` reopens the socket the user closed.
#[test]
fn a_project_can_close_joining_but_not_reopen_it() {
use super::merge::Layered;
let parse = |json: &str| serde_json::from_str::<Config>(json).unwrap();
assert_eq!(Config::default().joinable, None, "on, by default");
let reopened = Config::layered(parse(r#"{"joinable": false}"#), parse(r#"{"joinable": true}"#));
assert_eq!(reopened.joinable, Some(false), "the user's off stands");
let closed = Config::layered(Config::default(), parse(r#"{"joinable": false}"#));
assert_eq!(closed.joinable, Some(false), "the project's off stands");
let left = Config::layered(parse(r#"{"joinable": true}"#), Config::default());
assert_eq!(left.joinable, Some(true));
}
#[test]
fn ensure_config_file_bootstraps_schema_without_overwriting_config() {
let directory = tempfile::tempdir().unwrap();