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

@@ -234,7 +234,7 @@ fn role_theme() -> &'static syntect::highlighting::Theme {
}
/// One highlighted line, as roles: what the memo keeps, since it holds for every theme.
type RoleLine = Vec<(Role, String)>;
pub type RoleLine = Vec<(Role, String)>;
/// Highlights `code` as `lang`, in `styles`' colors.
///
@@ -243,7 +243,9 @@ pub fn highlight_code(code: &str, lang: Option<&str>, styles: &ThemeStyles) -> V
paint(&highlight_roles(code, lang), styles)
}
fn highlight_roles(code: &str, lang: Option<&str>) -> Arc<Vec<RoleLine>> {
/// Highlights `code` as `lang` into roles, for a surface that colors roles itself: the phone app's
/// HTML names each role's theme token as a class. Memoized, like [`highlight_code`].
pub fn highlight_roles(code: &str, lang: Option<&str>) -> Arc<Vec<RoleLine>> {
let key = fingerprint(code, lang);
if let Some(hit) = cache().get(key, code, lang) {
return hit;