- crates/control: rendezvous file (<data_dir>/instance.json, port + random token, atomic write, 0600 on Unix, stale detection), token-protected listener (start_with_token, app.auth first, constant-time compare, 10 s auth timeout), app.focus, and a blocking client (connect_live, request/execute/subscribe/next_event, open_folder/open_file/reveal) - lutra-desktop: a normal start forwards its path to a running instance and exits, otherwise claims the rendezvous; --control instances skip it unless LUTRA_RENDEZVOUS_DIR is set; non-Unicode args are usage errors - lutra-cli (binary lutra, now L6): path[:line[:column]] targets, folder -> project.open, file -> file.open (parent opened without a project, outside the project refused), editor.reveal, starts the desktop if needed, --wait until bufferClosed, --version/--help, exit codes 0/1/2 - tests: proptest target parsing, rendezvous read/write/stale, token check over TCP, forwarding against a test backend, --wait end to end - docs: architecture, G7, ROADMAP (agent automation 18% est.), roadmap, README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
695 B
TOML
33 lines
695 B
TOML
[package]
|
|
name = "lutra-desktop"
|
|
description = "The Lutra desktop app: Tauri shell around the engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
publish.workspace = true
|
|
|
|
[package.metadata.lutra]
|
|
layer = 6
|
|
|
|
[features]
|
|
bundled-ui = ["tauri/custom-protocol"]
|
|
|
|
[dependencies]
|
|
lutra-control.workspace = true
|
|
lutra-engine.workspace = true
|
|
serde_json = "1.0.154"
|
|
tauri = { version = "2.11.6", features = [] }
|
|
tauri-plugin-dialog = "2.7.3"
|
|
xcap = "0.9.8"
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
|
|
[build-dependencies]
|
|
png = "0.18.1"
|
|
tauri-build = { version = "2.6.3", features = [] }
|
|
|
|
[lints]
|
|
workspace = true
|