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:
@@ -97,7 +97,7 @@ fn work_done_outside(app: &App) -> Option<String> {
|
||||
}
|
||||
|
||||
/// Whether the review has no record of the work that produced it (a base/commit review, or a
|
||||
/// working tree Luxe did not write).
|
||||
/// working tree luxe did not write).
|
||||
fn no_provenance(review: &GuidedReview) -> bool {
|
||||
review.provenance.as_ref().is_none_or(|provenance| {
|
||||
provenance.commands.is_empty() && provenance.written_paths.is_empty()
|
||||
|
||||
@@ -301,7 +301,7 @@ pub(super) fn feedback_tally(
|
||||
.partition(|finding| with_the_agent(session, &finding.id));
|
||||
let to_verify =
|
||||
back.iter().filter(|finding| finding.state == FindingState::NeedsVerification).count();
|
||||
// Open and back from the agent: it answered, said it could not, or Luxe said it said nothing
|
||||
// Open and back from the agent: it answered, said it could not, or luxe said it said nothing
|
||||
let to_read = back
|
||||
.iter()
|
||||
.filter(|finding| finding.state == FindingState::Open)
|
||||
|
||||
@@ -180,7 +180,7 @@ fn comment_reply_rows(
|
||||
let styles = &app.theme_styles;
|
||||
let mut rows = Vec::new();
|
||||
// The last word that was not the reader's: the answer to a question belongs beside the
|
||||
// question, not behind two overlays, and so does Luxe saying the agent left none
|
||||
// question, not behind two overlays, and so does luxe saying the agent left none
|
||||
if let Some(reply) =
|
||||
finding.thread.iter().rev().find(|message| {
|
||||
message.author != luxe_core::guided_review::FindingMessageAuthor::Reviewer
|
||||
|
||||
@@ -279,7 +279,7 @@ fn preview_lines(app: &App, finding: &ReviewFinding) -> Vec<Line<'static>> {
|
||||
let who = match message.author {
|
||||
FindingMessageAuthor::Reviewer => "You",
|
||||
FindingMessageAuthor::Agent => "The agent",
|
||||
FindingMessageAuthor::System => "Luxe",
|
||||
FindingMessageAuthor::System => "luxe",
|
||||
};
|
||||
lines.push(Line::from(Span::styled(who, styles.muted)));
|
||||
lines.extend(crate::markdown::render_markdown(&message.body, styles));
|
||||
|
||||
@@ -321,7 +321,7 @@ fn a_comment_the_agent_replied_to_says_so_on_its_card() {
|
||||
assert!(text.contains("agent: Agent reported: not fixed."), "{text}");
|
||||
}
|
||||
|
||||
/// A comment a fix turn ended with no word on says so on its card, with Luxe's reason under
|
||||
/// A comment a fix turn ended with no word on says so on its card, with luxe's reason under
|
||||
/// it, rather than still claiming the agent is on it.
|
||||
#[test]
|
||||
fn a_comment_with_no_word_from_the_agent_says_so_on_its_card() {
|
||||
|
||||
Reference in New Issue
Block a user