luxe 0.1.4: remembered models, wheel-driven lists, and a steadier phone app

- luxe starts on the model you last chose in this project, then the last one anywhere. Signing in
  opens the model picker instead of choosing for you.
- Every list in a modal takes the mouse wheel and a draggable scrollbar.
- The phone app shows reasoning in full, stays put while you read back through a long session, and
  shows a question's answer on its card.
- On Windows, luxe update replaces the running luxe, and a signed-in install no longer sees setup
  again.
- The file tree no longer shows "engine busy" in a large project, loop output is easier to follow,
  and the name is written lowercase.

The CHANGELOG has the full list.
This commit is contained in:
Evan Whittaker
2026-10-20 13:51:34 -05:00
parent 6184aa21fb
commit a0666d6c81
591 changed files with 4926 additions and 2942 deletions

View File

@@ -105,11 +105,11 @@ impl CallbackServer {
match &result {
Ok(_) => {
let message = "You can close this tab and return to the terminal.";
arrival.answer(200, "Signed in to Luxe", message).await;
arrival.answer(200, "Signed in to luxe", message).await;
}
Err(message) => {
let message = format!("Authorization failed: {message}");
arrival.answer(400, "Luxe couldn't finish the sign-in", &message).await;
arrival.answer(400, "luxe couldn't finish the sign-in", &message).await;
}
}
let _ = sender.send(result);
@@ -381,7 +381,7 @@ fn truncate(text: &str, max: usize) -> String {
/// Decode a JWT payload without verifying it.
///
/// Only ever used to read a claim the provider put there for us (the ChatGPT account id). The token
/// is opaque to Luxe otherwise; we are not making a trust decision on it.
/// is opaque to luxe otherwise; we are not making a trust decision on it.
pub fn decode_jwt_payload(token: &str) -> Option<Value> {
let payload = token.split('.').nth(1)?;
let bytes = base64::engine::general_purpose::URL_SAFE_NO_PAD