Files
luxe/crates/luxe-cli/Cargo.toml
Evan Whittaker 9194448459 luxe 0.1.6: macOS window capture, and Windows paste and screenshot fixes
On macOS, screenshot's window mode captures one window, even one on another desktop. The window
list comes from CoreGraphics through osascript, and the chosen id goes to `screencapture -l`, so
nothing needs installing. A title matches a window's title first and its app's name second.

On Windows, a paste no longer submits at its first line break: the console types a paste out as
key presses, so a burst of text keys is folded back into one paste. Screenshots on a scaled display
capture the whole screen, because the capture script now asks to be DPI-aware first.

On a Mac with fontconfig, the font probe ignores .LastResort, so the OpenAI and Claude marks fall
back to the robot and cloud when no font has them.
2026-10-22 23:49:12 -05:00

73 lines
2.9 KiB
TOML

[package]
name = "luxe-cli"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "A coding agent for your terminal."
repository.workspace = true
homepage.workspace = true
readme = "../../README.md"
keywords = ["ai", "agent", "llm", "tui", "coding-assistant"]
categories = ["command-line-utilities", "development-tools"]
# Binary crate — the entry point. Depends on all workspace crates.
# `anyhow` is allowed here (binary boundary); libraries use `thiserror`.
[[bin]]
name = "luxe"
path = "src/main.rs"
[dependencies]
luxe-core = { path = "../luxe-core", version = "0.1.6" }
luxe-providers = { path = "../luxe-providers", version = "0.1.6" }
luxe-tools = { path = "../luxe-tools", version = "0.1.6" }
luxe-lsp = { path = "../luxe-lsp", version = "0.1.6" }
luxe-dap = { path = "../luxe-dap", version = "0.1.6" }
luxe-mcp = { path = "../luxe-mcp", version = "0.1.6" }
luxe-tui = { path = "../luxe-tui", version = "0.1.6" }
luxe-remote = { path = "../luxe-remote", version = "0.1.6", optional = true }
# The pairing QR in the terminal. Without its defaults it is the encoder and text renderer alone,
# with no dependencies.
qrcode = { version = "0.14", default-features = false, optional = true }
anyhow = { workspace = true }
clap = { workspace = true }
shlex = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
# `signal`: `luxe remote` runs until Ctrl-C, and stops serving cleanly when it comes
tokio = { workspace = true, features = ["signal"] }
uuid = { workspace = true }
secrecy = { workspace = true }
serde_json = { workspace = true }
# A joiner's transcript is encoded from the shared snapshot through a borrowed copy of its shape
serde = { workspace = true }
async-trait = { workspace = true }
# One request, for the update notice: a public release manifest, carrying nothing about the user.
# See `luxe_core::update` for why that constraint is load-bearing rather than a nicety.
reqwest = { workspace = true }
# `luxe auth login` reads an API key without echoing it, which needs raw mode on the real terminal.
# Pinned to luxe-tui's version so there is exactly one crossterm in the tree.
crossterm = "0.29"
# The loop view cuts each line to the terminal's width, so it can redraw a line in place
unicode-width = { workspace = true }
# Streaming the update manifest with a size cap, and comparing the version it reports.
futures = { workspace = true }
semver = { workspace = true }
# The scratch folder `luxe update` runs the installer script in, removed when it finishes
tempfile = "3"
[dev-dependencies]
# The guide check: what luxe would silently ignore in a config example
serde_ignored = "0.1"
[features]
default = ["clipboard-images", "remote"]
# `luxe remote`, the only server in luxe. A packager can leave it out to ship a luxe with no
# server code at all.
remote = ["dep:luxe-remote", "dep:qrcode"]
clipboard = ["luxe-tui/clipboard"]
clipboard-images = ["luxe-tui/clipboard-images"]
[lints]
workspace = true