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:
@@ -2,7 +2,7 @@
|
||||
import Base from "../layouts/Base.astro";
|
||||
---
|
||||
|
||||
<Base title="Not found — Luxe" description="That page does not exist.">
|
||||
<Base title="Not found — luxe" description="That page does not exist.">
|
||||
<div class="page missing">
|
||||
<p class="eyebrow">404</p>
|
||||
<h1>Nothing here.</h1>
|
||||
|
||||
@@ -6,7 +6,7 @@ import { catalog, logos, screenshots, screenshotHref, token } from "../lib/press
|
||||
const repository = "https://github.com/evanwhittaker/luxe";
|
||||
|
||||
const facts = [
|
||||
{ term: "Name", detail: "Luxe" },
|
||||
{ term: "Name", detail: "luxe" },
|
||||
{ term: "Command", detail: "luxe", code: true },
|
||||
{ term: "What it is", detail: "A coding agent for the terminal" },
|
||||
{ term: "Platforms", detail: "Linux, macOS and Windows" },
|
||||
@@ -33,30 +33,30 @@ const colors = [
|
||||
const ramp = [1, 2, 3, 4, 5].map((step) => token(`wordmark-${step}`));
|
||||
---
|
||||
|
||||
<Base title="Press kit — Luxe" description="Logos, screenshots, colors and facts for writing about Luxe.">
|
||||
<Base title="Press kit — luxe" description="Logos, screenshots, colors and facts for writing about luxe.">
|
||||
<div class="page">
|
||||
<section class="section section--head">
|
||||
<p class="eyebrow">Press kit</p>
|
||||
<h1>Logos, screenshots and facts.</h1>
|
||||
<p class="lede">
|
||||
Everything you need to write about Luxe or show it in a video or talk. Free to use in
|
||||
coverage of Luxe.
|
||||
Everything you need to write about luxe or show it in a video or talk. Free to use in
|
||||
coverage of luxe.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<h2>About Luxe</h2>
|
||||
<h2>About luxe</h2>
|
||||
<div class="about">
|
||||
<div class="about__text">
|
||||
<p>
|
||||
Luxe is a coding agent that runs in your terminal. It writes code with you, then walks
|
||||
luxe is a coding agent that runs in your terminal. It writes code with you, then walks
|
||||
you through what it changed, one chapter at a time, so you can review the work before it
|
||||
ships.
|
||||
</p>
|
||||
<p>
|
||||
It works with more than {catalog.models} models from over {catalog.providers} providers,
|
||||
local ones included. It picks up GitHub issues, opens pull requests and posts reviews.
|
||||
Luxe is free, open source, and collects no telemetry.
|
||||
luxe is free, open source, and collects no telemetry.
|
||||
</p>
|
||||
</div>
|
||||
<dl class="facts">
|
||||
@@ -153,7 +153,7 @@ const ramp = [1, 2, 3, 4, 5].map((step) => token(`wordmark-${step}`));
|
||||
<li>Use the files on this page as they are.</li>
|
||||
<li>Leave space around the logo, at least the height of the <b>l</b>.</li>
|
||||
<li>Use the mark or the tile where the wordmark would be under 100px wide.</li>
|
||||
<li>Write the name as <b>Luxe</b>, and the command as <code>luxe</code>.</li>
|
||||
<li>Write the name as <b>luxe</b>, lowercase even to start a sentence, and the command as <code>luxe</code>. The dot belongs to the logo.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
@@ -162,7 +162,7 @@ const ramp = [1, 2, 3, 4, 5].map((step) => token(`wordmark-${step}`));
|
||||
<li>Recreate the logo in a font. It's drawn on a grid of terminal cells.</li>
|
||||
<li>Stretch it, outline it, add shadows, or use colors other than these.</li>
|
||||
<li>Write the name in all caps.</li>
|
||||
<li>Suggest that Luxe endorses you or your product.</li>
|
||||
<li>Suggest that luxe endorses you or your product.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@ const sections = grouped(pages);
|
||||
const toc = headings.filter((heading) => heading.depth === 2);
|
||||
---
|
||||
|
||||
<Base title={`${page.data.title} — Luxe`} description={page.data.summary}>
|
||||
<Base title={`${page.data.title} — luxe`} description={page.data.summary}>
|
||||
<div class="page docs">
|
||||
<nav class="docs__nav" aria-label="Documentation">
|
||||
<DocsSearch client:idle />
|
||||
|
||||
@@ -22,7 +22,7 @@ const { models, providers } = catalog;
|
||||
* Recording sizes, so a caption and its cast cannot drift apart.
|
||||
*
|
||||
* 120 columns rather than 150: a demo shares its row with a paragraph, and at 150 the type came out
|
||||
* too small to read on a laptop. Below about 130 columns Luxe trades the dock for the statusline,
|
||||
* too small to read on a laptop. Below about 130 columns luxe trades the dock for the statusline,
|
||||
* which is the layout that reads best at this size anyway.
|
||||
*/
|
||||
const WIDE = { cols: 120, rows: 32 };
|
||||
@@ -34,10 +34,11 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
description="A terminal coding agent with real developer tooling, reviews you can actually read, and nothing sent anywhere you didn't ask."
|
||||
heroMark
|
||||
>
|
||||
{/* The opening assembles itself: the words alone, centered, until "better" has finished
|
||||
refining; then they slide left and the demo rises from the bottom right to sit beside them.
|
||||
`data-hero` is what the driver script looks for. */}
|
||||
<section class="hero" data-hero>
|
||||
{/* The opening assembles itself: the words alone, each line centered, until "better" has
|
||||
finished refining; then they settle onto the left edge and the demo rises from the bottom
|
||||
right to sit beside them. `data-hero` is what the driver script looks for, and
|
||||
`data-align="left"` turns on the left-aligned assembly below. */}
|
||||
<section class="hero" data-hero data-align="left">
|
||||
<div class="hero__stage">
|
||||
<div class="page hero__inner">
|
||||
<div class="hero__lead">
|
||||
@@ -53,7 +54,7 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
</h1>
|
||||
|
||||
<p class="lede hero__lede">
|
||||
A beautiful coding agent for your terminal. Write, review, and ship code with a single, intuitive workflow.
|
||||
A coding agent for your terminal. Write, review, and ship code with a single, intuitive workflow.
|
||||
</p>
|
||||
|
||||
<div class="hero__install">
|
||||
@@ -106,11 +107,32 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
const keys = ["ArrowDown", "PageDown", "End", " ", "Spacebar"];
|
||||
let assembled = false;
|
||||
|
||||
// The widest line, not the box: a wrapped paragraph's box is wider than any of its lines
|
||||
const contentWidth = (el) => {
|
||||
const range = document.createRange();
|
||||
range.selectNodeContents(el);
|
||||
return Math.min(range.getBoundingClientRect().width, el.offsetWidth);
|
||||
};
|
||||
|
||||
// Left-aligned, each block is centered on its own, so each needs its own distance
|
||||
const measureBlocks = () => {
|
||||
for (const block of lead.children) {
|
||||
block.style.setProperty("--self-shift", (lead.clientWidth - contentWidth(block)) / 2 + "px");
|
||||
}
|
||||
};
|
||||
|
||||
const measure = () => {
|
||||
// Left column's center to the page's center. The lead is translated by this at p = 0.
|
||||
hero.style.setProperty("--hero-shift", (inner.clientWidth - lead.clientWidth) / 2 + "px");
|
||||
measureBlocks();
|
||||
};
|
||||
|
||||
// The headline turns italic mid-opening and changes width, so it has to be measured again
|
||||
if ("ResizeObserver" in window) {
|
||||
const watcher = new ResizeObserver(() => !assembled && wide.matches && measure());
|
||||
for (const block of lead.children) watcher.observe(block);
|
||||
}
|
||||
|
||||
// Moved, or simply set: a page that opens mid-scroll or narrow has nothing to watch arrive
|
||||
const assemble = (moved = true) => {
|
||||
if (assembled) return;
|
||||
@@ -165,12 +187,12 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
<h2>An agent that <Refine from="shows its" to="explains the" /> work.</h2>
|
||||
<div class="prose">
|
||||
<p>
|
||||
Agents write code faster than anyone can read it. So Luxe reads it back to you, one
|
||||
Agents write code faster than anyone can read it. So luxe reads it back to you, one
|
||||
chapter at a time, in the order it makes sense. Each chapter says what changed, why,
|
||||
and how it was checked, right next to the code.
|
||||
</p>
|
||||
<p>
|
||||
It can read a pull request the same way, regardless of who wrote it. Luxe walks you
|
||||
It can read a pull request the same way, regardless of who wrote it. luxe walks you
|
||||
through the code so you can review work from a teammate, Dependabot, or another agent
|
||||
in a flash. Comment on a line for the agent to address it, or post a review to GitHub
|
||||
without leaving the app.
|
||||
@@ -319,7 +341,7 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
<div class="prose">
|
||||
<p>
|
||||
Browse and select an issue with <code>/github</code>, or pick one up with
|
||||
<code>luxe --issue 123</code>. Luxe reads the issue, makes a worktree and
|
||||
<code>luxe --issue 123</code>. luxe reads the issue, makes a worktree and
|
||||
a branch for it, and starts a session there. Your own checkout stays exactly
|
||||
how you left it.
|
||||
</p>
|
||||
@@ -389,14 +411,14 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
<h2>Plays well with others.</h2>
|
||||
<div class="prose">
|
||||
<p>
|
||||
Luxe knows more than {models} models from over {providers} providers, through the
|
||||
luxe knows more than {models} models from over {providers} providers, through the
|
||||
models.dev catalog, and connects to two dozen of those providers by name. Use a
|
||||
frontier model, a local one through LM Studio or Ollama, or any OpenAI-compatible
|
||||
endpoint. Sign in with a ChatGPT or Copilot subscription,
|
||||
or bring an API key. <code>/model</code> lets you switch mid-session.
|
||||
</p>
|
||||
<p>
|
||||
Luxe gets along with the rest of your setup, too. Files open in <code>$EDITOR</code> on
|
||||
luxe gets along with the rest of your setup, too. Files open in <code>$EDITOR</code> on
|
||||
a keypress, <a href="https://herdr.dev" target="_blank">Herdr</a>'s sidebar knows when it's
|
||||
working or waiting on you, and the MCP servers you already run can come along for the ride.
|
||||
</p>
|
||||
@@ -448,13 +470,13 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
<section class="section" id="extend">
|
||||
<div class="duo duo--flip">
|
||||
<div class="duo__text">
|
||||
<p class="eyebrow">Extending Luxe</p>
|
||||
<p class="eyebrow">Extending luxe</p>
|
||||
<h2>Make it yours.</h2>
|
||||
<div class="prose">
|
||||
<p>
|
||||
Skills teach the agent how you work. Hooks can gate, rewrite or log anything the agent
|
||||
does. MCP servers hand the model new tools, mention sources link extra context, and the
|
||||
RPC protocol drives everything Luxe does, Guided Review and GitHub included, so you can
|
||||
RPC protocol drives everything luxe does, Guided Review and GitHub included, so you can
|
||||
build a whole new front end on top.
|
||||
</p>
|
||||
<p>
|
||||
@@ -499,7 +521,7 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
<h2>Right at home, in <Refine from="any" to="every" /> home.</h2>
|
||||
<div class="prose">
|
||||
<p>
|
||||
Luxe comes with plenty of themes to suit your style, including community favorites like
|
||||
luxe comes with plenty of themes to suit your style, including community favorites like
|
||||
Catppuccin, Nord, Tokyo Night, GitHub, One Dark, and more. Or, you can stick with its own
|
||||
signature theme, which holds every accent to a contrast floor so every color stays readable.
|
||||
</p>
|
||||
@@ -508,7 +530,7 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
that names only the colors it changes, so a new one is a few lines to write and share.
|
||||
</p>
|
||||
<p>
|
||||
For users on <a href='https://omarchy.org/' target='_blank'>Omarchy</a>, Luxe wears your desktop's
|
||||
For users on <a href='https://omarchy.org/' target='_blank'>Omarchy</a>, luxe wears your desktop's
|
||||
theme and changes with it when you switch.
|
||||
</p>
|
||||
</div>
|
||||
@@ -1033,6 +1055,34 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
}
|
||||
}
|
||||
|
||||
/* === The left-aligned assembly ===
|
||||
|
||||
`text-align` can't be animated, so nothing switches alignment. The lead is left-aligned from the
|
||||
first frame and each block is slid to the middle on its own, by its own widest line. As `--p`
|
||||
runs out every block lands on the column's left edge, the narrow ones having come furthest.
|
||||
The lede is balanced so its ragged right reads as centered in the opening.
|
||||
|
||||
`translate` rather than `transform`: the blocks' `rise` keeps `transform` for good (`both`). */
|
||||
.hero[data-align] .hero__lead {
|
||||
justify-items: start;
|
||||
text-align: left;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.hero[data-align] .hero__lead > * {
|
||||
translate: calc((var(--hero-shift, 0px) + var(--self-shift, 0px)) * (1 - var(--p))) 0;
|
||||
}
|
||||
|
||||
.hero[data-align] .hero__lede {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hero[data-align] .hero__lead > * {
|
||||
translate: none;
|
||||
}
|
||||
}
|
||||
|
||||
.section {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { APIRoute } from "astro";
|
||||
import { guidePages, grouped, markdownHref } from "../lib/guide";
|
||||
|
||||
/**
|
||||
* The guide's table of contents for a language model, per llmstxt.org: what Luxe is, then every
|
||||
* The guide's table of contents for a language model, per llmstxt.org: what luxe is, then every
|
||||
* page as a markdown link with its summary, under its group.
|
||||
*/
|
||||
export const GET: APIRoute = async ({ site }) => {
|
||||
@@ -15,7 +15,7 @@ export const GET: APIRoute = async ({ site }) => {
|
||||
.join("\n"),
|
||||
);
|
||||
const body = [
|
||||
"# Luxe",
|
||||
"# luxe",
|
||||
"",
|
||||
"> A coding agent for your terminal: write, review and ship code in one workflow, with Guided Review, Git and GitHub, and any model.",
|
||||
"",
|
||||
|
||||
@@ -15,7 +15,7 @@ import { screenshots } from "../lib/press";
|
||||
<html lang="en" data-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Luxe — press screenshots</title>
|
||||
<title>luxe — press screenshots</title>
|
||||
<meta name="robots" content="noindex" />
|
||||
</head>
|
||||
<body class="shots">
|
||||
|
||||
@@ -20,7 +20,7 @@ import Wordmark from "../components/Wordmark.astro";
|
||||
<html lang="en" data-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Luxe — social card</title>
|
||||
<title>luxe — social card</title>
|
||||
<meta name="robots" content="noindex" />
|
||||
</head>
|
||||
<body class="card">
|
||||
|
||||
@@ -244,7 +244,7 @@ const tokens = (bytes: number) => {
|
||||
return `${(count / 1_000_000).toFixed(1)}M tokens`;
|
||||
};
|
||||
|
||||
/** The head's terminal: the commands whose output Luxe's tool cuts the most, measured like the rest. */
|
||||
/** The head's terminal: the commands whose output luxe's tool cuts the most, measured like the rest. */
|
||||
const terminal = ["git", "module_report", "glob"].flatMap((id) => rows.get(id) ?? []);
|
||||
|
||||
const times = (shell: number, tool: number) => {
|
||||
@@ -253,7 +253,7 @@ const times = (shell: number, tool: number) => {
|
||||
if (ratio < 1.1) return tool <= shell * 0.95 ? `${Math.round((1 - tool / shell) * 100)}% less` : "the same";
|
||||
return ratio < 10 ? `${ratio.toFixed(1)}× less` : `${Math.round(ratio).toLocaleString("en-US")}× less`;
|
||||
};
|
||||
/** Luxe against the tightest cut another agent makes, said both ways round. */
|
||||
/** luxe against the tightest cut another agent makes, said both ways round. */
|
||||
const versus = (cut: number, tool: number) => {
|
||||
if (tool <= cut * 1.05 && tool >= cut * 0.95) return "about what the tightest cut sends";
|
||||
if (tool < cut) return `${times(cut, tool)} than the tightest cut`;
|
||||
@@ -263,7 +263,7 @@ const versus = (cut: number, tool: number) => {
|
||||
|
||||
/**
|
||||
* Whole tasks against the other agents: each agent's cost on the same task as a multiple of
|
||||
* Luxe's, charged as a cold start.
|
||||
* luxe's, charged as a cold start.
|
||||
*/
|
||||
type Other = { warm: number; cold: number; passed: number; runs: number };
|
||||
type CostRow = { model: string; luxe: { passed: number; runs: number } } & Partial<
|
||||
@@ -272,11 +272,11 @@ type CostRow = { model: string; luxe: { passed: number; runs: number } } & Parti
|
||||
const costRows = agentCost.rows as CostRow[];
|
||||
const multiple = (other?: Other) => (other ? `${other.cold.toFixed(2)}×` : "–");
|
||||
|
||||
/** Each model's bars: Luxe at 1×, then every agent that ran it. A vendor's agent runs only its own
|
||||
/** Each model's bars: luxe at 1×, then every agent that ran it. A vendor's agent runs only its own
|
||||
* vendor's models, so a model has Claude Code's bar or Codex's, never both. */
|
||||
const chartBars = (row: CostRow) =>
|
||||
[
|
||||
{ kind: "luxe", label: "Luxe", cold: 1 },
|
||||
{ kind: "luxe", label: "luxe", cold: 1 },
|
||||
{ kind: "claude", label: "Claude Code", cold: row.claude?.cold },
|
||||
{ kind: "codex", label: "Codex", cold: row.codex?.cold },
|
||||
{ kind: "opencode", label: "OpenCode", cold: row.opencode?.cold },
|
||||
@@ -290,8 +290,8 @@ const share = (shell: number, tool: number) => `${Math.max((tool / shell) * 100,
|
||||
---
|
||||
|
||||
<Base
|
||||
title="Tools — Luxe"
|
||||
description="Every tool in Luxe has to beat the shell command it replaces. Here's how each one does, measured."
|
||||
title="Tools — luxe"
|
||||
description="Every tool in luxe has to beat the shell command it replaces. Here's how each one does, measured."
|
||||
>
|
||||
<div class="page">
|
||||
<section class="section section--head">
|
||||
@@ -306,7 +306,7 @@ const share = (shell: number, tool: number) => `${Math.max((tool / shell) * 100,
|
||||
success, and the model pays for all of it in tokens and turns.
|
||||
</p>
|
||||
<p>
|
||||
So every tool in Luxe has to beat the command it replaces: by sending less, by getting it
|
||||
So every tool in luxe has to beat the command it replaces: by sending less, by getting it
|
||||
right the first time, or by doing something the shell can't.
|
||||
</p>
|
||||
<p class="muted note">
|
||||
@@ -359,10 +359,10 @@ const share = (shell: number, tool: number) => `${Math.max((tool / shell) * 100,
|
||||
<div class="tasks__data">
|
||||
<div class="prose">
|
||||
<p>
|
||||
Luxe, Claude Code, Codex and OpenCode each ran the first twelve Django tasks of
|
||||
luxe, Claude Code, Codex and OpenCode each ran the first twelve Django tasks of
|
||||
SWE-bench Verified Mini, with the same model, the same prompt and the same keys, every
|
||||
call metered at the network and priced from one list. Each figure is what the other agent
|
||||
spent on the same task, as a multiple of what Luxe spent: above 1× costs more than Luxe.
|
||||
spent on the same task, as a multiple of what luxe spent: above 1× costs more than luxe.
|
||||
</p>
|
||||
</div>
|
||||
<table class="costs">
|
||||
@@ -391,7 +391,7 @@ const share = (shell: number, tool: number) => `${Math.max((tool / shell) * 100,
|
||||
</table>
|
||||
<p class="muted note tasks__note">
|
||||
Every run is charged as a cold start, the way a session begins after a break. Run side by
|
||||
side on a warm cache, Claude Code and OpenCode cost up to 2.6× what Luxe does on Claude
|
||||
side on a warm cache, Claude Code and OpenCode cost up to 2.6× what luxe does on Claude
|
||||
models. Claude Code runs only Claude models and Codex only OpenAI's, hence the dashes.
|
||||
Pass rates overlapped on every model. Graded on one machine rather than in
|
||||
SWE-bench's own containers, so these are not leaderboard scores. Measured at
|
||||
@@ -481,7 +481,7 @@ const share = (shell: number, tool: number) => `${Math.max((tool / shell) * 100,
|
||||
<dd set:html={inline(tool.contrast.shell)} />
|
||||
</div>
|
||||
<div class="contrast__row contrast__row--luxe">
|
||||
<dt>Luxe</dt>
|
||||
<dt>luxe</dt>
|
||||
<dd set:html={inline(tool.contrast.luxe)} />
|
||||
</div>
|
||||
</dl>
|
||||
@@ -672,7 +672,7 @@ const share = (shell: number, tool: number) => `${Math.max((tool / shell) * 100,
|
||||
}
|
||||
|
||||
/* macOS's window controls, in its own colors: close, minimize, zoom. Literal rather than theme
|
||||
tokens, since they draw a Mac window rather than Luxe */
|
||||
tokens, since they draw a Mac window rather than luxe */
|
||||
.terminal__dots i {
|
||||
display: inline-block;
|
||||
width: 0.7em;
|
||||
|
||||
Reference in New Issue
Block a user