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 @@
|
||||
//!
|
||||
//! The guide ships in the binary, so it works offline and always describes the version installed:
|
||||
//! `scripts/guide-bundle.sh` writes every page of `docs/guide/` into `src/guide.md`, and this reads
|
||||
//! that bundle. The agent is told the command exists, so asking Luxe how to configure Luxe gets an
|
||||
//! that bundle. The agent is told the command exists, so asking luxe how to configure luxe gets an
|
||||
//! answer from the manual rather than a guess.
|
||||
|
||||
use crate::cli::args::DocsArgs;
|
||||
@@ -11,7 +11,7 @@ use crate::cli::args::DocsArgs;
|
||||
const BUNDLE: &str = include_str!("../guide.md");
|
||||
|
||||
/// The sidebar's groups, in reading order. `web/src/content.config.ts` holds the same list.
|
||||
const GROUPS: [&str; 5] = ["Get started", "Using Luxe", "Customize", "Extend", "Reference"];
|
||||
const GROUPS: [&str; 5] = ["Get started", "Using luxe", "Customize", "Extend", "Reference"];
|
||||
|
||||
/// The most lines `--search` prints, so a common word cannot flood a tool result.
|
||||
const SEARCH_LIMIT: usize = 40;
|
||||
@@ -74,7 +74,7 @@ pub(crate) fn run(args: &DocsArgs) -> anyhow::Result<()> {
|
||||
/// Every page, under its group, with its summary and how to read it.
|
||||
fn index(pages: &[Page]) -> String {
|
||||
let mut out = String::from(
|
||||
"Luxe's user guide, for this version. `luxe docs <page>` prints a page; \
|
||||
"luxe's user guide, for this version. `luxe docs <page>` prints a page; \
|
||||
`luxe docs --search <words>` finds lines across all of them.\n",
|
||||
);
|
||||
for group in GROUPS {
|
||||
|
||||
Reference in New Issue
Block a user