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:
@@ -3,7 +3,7 @@ name = "luxe-dap"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
description = "Debug Adapter Protocol client for Luxe: breakpoints, stepping, and variable inspection"
|
||||
description = "Debug Adapter Protocol client for luxe: breakpoints, stepping, and variable inspection"
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
|
||||
@@ -11,7 +11,7 @@ homepage.workspace = true
|
||||
# Provides a native Debug Adapter Protocol client + the `debug` tool.
|
||||
|
||||
[dependencies]
|
||||
luxe-core = { path = "../luxe-core", version = "0.1.3" }
|
||||
luxe-core = { path = "../luxe-core", version = "0.1.4" }
|
||||
thiserror = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
|
||||
@@ -148,7 +148,7 @@ pub enum TransportConfig {
|
||||
}
|
||||
|
||||
/// A user-configured adapter from `~/.config/luxe/debug-adapters.json`. Lets users (or a model
|
||||
/// working in Luxe) add debuggers for more languages without a code change, reusing a built-in
|
||||
/// working in luxe) add debuggers for more languages without a code change, reusing a built-in
|
||||
/// launch dialect.
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct CustomAdapter {
|
||||
|
||||
@@ -281,7 +281,7 @@ async fn attach_by_pid_reaches_a_stop() {
|
||||
///
|
||||
/// Adapters do this. `gdb --interpreter=dap` answers `stepIn` with `success: true` and then sends
|
||||
/// no event at all when there is nowhere to step (confirmed against the raw protocol), and no
|
||||
/// client can invent a stop that was never reported. What Luxe owes is a reply that says which
|
||||
/// client can invent a stop that was never reported. What luxe owes is a reply that says which
|
||||
/// situation this is: the old one was `request 'event' timed out` after the full thirty-second
|
||||
/// budget, which names an internal wait instead of the program's state and offers nothing to do
|
||||
/// about it.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Live `gdb --interpreter=dap` debugging — the first test of this crate against a real debugger.
|
||||
//!
|
||||
//! Everything else here drives a **stub** adapter: a shell script that speaks just enough DAP to
|
||||
//! answer the choreography. That proves Luxe's side of the protocol and nothing about a real one,
|
||||
//! answer the choreography. That proves luxe's side of the protocol and nothing about a real one,
|
||||
//! which is how twelve lines of GPL notice came to ride into the model's context on every gdb
|
||||
//! launch — a stub has no banner to emit, so no test could see it.
|
||||
//!
|
||||
@@ -268,7 +268,7 @@ async fn real_gdb_walks_the_whole_debug_surface() {
|
||||
//
|
||||
// Only `next` is asserted here. gdb answers `stepIn` with `success: true` and then sends no
|
||||
// event at all when there is nothing to step into (confirmed against the raw protocol), and no
|
||||
// client can invent a stop the adapter never reported — what Luxe owes there is a *reply that
|
||||
// client can invent a stop the adapter never reported — what luxe owes there is a *reply that
|
||||
// says so*, which `a_resume_that_never_stops_says_the_program_is_running` covers.
|
||||
let (stepped, failed) =
|
||||
call(json!({"action": "next", "session": session, "threadId": thread_id})).await;
|
||||
@@ -398,7 +398,7 @@ async fn real_gdb_takes_program_arguments() {
|
||||
///
|
||||
/// `kernel.yama.ptrace_scope = 1` — the default on most desktop Linux — forbids attaching to a
|
||||
/// process you did not fork. gdb accepts the `attach` request anyway and then simply never reports
|
||||
/// a stop, so the only thing Luxe can do is say which situation this is. It used to answer
|
||||
/// a stop, so the only thing luxe can do is say which situation this is. It used to answer
|
||||
/// `request 'event' timed out`, which names an internal wait and offers nothing; the check here is
|
||||
/// that the reply names the permission and the sysctl that governs it.
|
||||
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
|
||||
|
||||
Reference in New Issue
Block a user