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

@@ -118,6 +118,31 @@ fn the_frames_a_client_cannot_work_without_are_pinned() {
r#"{"kind":"compaction_started","content":{"tokens_before":180000}}"#,
),
(Event::CompactionStopped, r#"{"kind":"compaction_stopped"}"#),
(Event::TurnStarted, r#"{"kind":"turn_started"}"#),
(
Event::OpenReviewShown(Box::new(luxe_core::event::OpenReview {
request_id: request_id("review-load:1"),
review: None,
session: None,
reading: Vec::new(),
})),
r#"{"kind":"open_review_shown","content":{"request_id":"review-load:1","review":null,"session":null,"reading":[]}}"#,
),
(
Event::ModelsListed {
request_id: "models:1".into(),
models: vec![luxe_core::event::ModelChoice {
provider: "anthropic".into(),
model: "claude-sonnet-5".into(),
name: "Claude Sonnet 5".into(),
thinking_levels: vec![
luxe_core::provider::ThinkingLevel::Off,
luxe_core::provider::ThinkingLevel::High,
],
}],
},
r#"{"kind":"models_listed","content":{"request_id":"models:1","models":[{"provider":"anthropic","model":"claude-sonnet-5","name":"Claude Sonnet 5","thinking_levels":["off","high"]}]}}"#,
),
(
Event::PermissionRequested {
id: request_id("perm:1"),
@@ -143,6 +168,10 @@ fn the_frames_a_client_cannot_work_without_are_pinned() {
},
r#"{"kind":"question_asked","content":{"id":"ask:1","session_id":"session-1","prompt":"Which database?","options":[{"label":"postgres","description":"Relational, boring, correct","recommended":true}],"multi":false}}"#,
),
(
Event::PromptClosed { id: "perm:1".into() },
r#"{"kind":"prompt_closed","content":{"id":"perm:1"}}"#,
),
(
Event::TokenDelta { block: 0, delta: "hello".into() },
r#"{"kind":"token_delta","content":{"block":0,"delta":"hello"}}"#,
@@ -561,7 +590,9 @@ fn every_known_event_roundtrips() {
}],
},
Event::StateChanged(EngineState::default()),
Event::TurnStarted,
Event::TurnEnded { reason: StopReason::EndTurn },
Event::ModelsListed { request_id: "models:1".into(), models: Vec::new() },
Event::LastTurnAvailable { session_id: "session-1".into(), turn_id: "turn-1".into() },
Event::CompactionStarted { tokens_before: 2_000 },
Event::CompactionDone { tokens_before: 2_000, tokens_after: 1_000 },