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:
29
crates/luxe-tui/src/marks.rs
Normal file
29
crates/luxe-tui/src/marks.rs
Normal file
@@ -0,0 +1,29 @@
|
||||
//! Marks — the signs the dock puts beside a todo and a changed file.
|
||||
//!
|
||||
//! Public so the phone app's renderer draws the same ones; the dock's colors stay with the dock,
|
||||
//! and the app's stylesheet colors them by status.
|
||||
|
||||
use crate::glyphs::{GlyphTier, Mark};
|
||||
use luxe_core::workspace::FileChangeStatus;
|
||||
use luxe_core::TodoSummaryStatus;
|
||||
|
||||
/// The mark beside a todo in the PLAN checklist, at `tier`.
|
||||
pub fn todo(status: TodoSummaryStatus, tier: GlyphTier) -> &'static str {
|
||||
match status {
|
||||
TodoSummaryStatus::Completed => Mark::Yes.at(tier),
|
||||
TodoSummaryStatus::InProgress => Mark::Underway.at(tier),
|
||||
TodoSummaryStatus::Blocked => Mark::Halted.at(tier),
|
||||
TodoSummaryStatus::Pending => "○",
|
||||
}
|
||||
}
|
||||
|
||||
/// The letter Git's status reads as beside a changed file.
|
||||
pub const fn change(status: FileChangeStatus) -> &'static str {
|
||||
match status {
|
||||
FileChangeStatus::Added => "A",
|
||||
FileChangeStatus::Modified => "M",
|
||||
FileChangeStatus::Deleted => "D",
|
||||
FileChangeStatus::Renamed => "R",
|
||||
FileChangeStatus::Untracked => "?",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user