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:
@@ -7,7 +7,7 @@ const SECRET_PREFIXES: &[&str] = &["sk-", "sk_live_", "ghp_", "gho_", "xoxb-", "
|
||||
|
||||
/// Minimum run of key-shaped characters after a prefix before it counts as a credential.
|
||||
///
|
||||
/// Without this, reading Luxe's own `redact.rs` — whose source *contains* every prefix — reports a
|
||||
/// Without this, reading luxe's own `redact.rs` — whose source *contains* every prefix — reports a
|
||||
/// leak on every audit. The prefix alone is prose; the prefix plus a key is a secret.
|
||||
const SECRET_BODY: usize = 16;
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ fn a_bold_label_outside_the_tools_section_is_not_a_duplicate() {
|
||||
|
||||
#[test]
|
||||
fn a_credential_prefix_in_prose_is_not_a_leak_but_a_real_key_is() {
|
||||
// Reading Luxe's own redact.rs puts every prefix in a tool result; that is not a leak.
|
||||
// Reading luxe's own redact.rs puts every prefix in a tool result; that is not a leak.
|
||||
assert!(looks_like_credential("patterns like sk- and ghp_ and AKIA").is_none());
|
||||
assert!(looks_like_credential("Authorization: Bearer short").is_none());
|
||||
let leak = looks_like_credential("key=sk-abcdefghijklmnopqrstuvwxyz0123")
|
||||
|
||||
Reference in New Issue
Block a user