[package] name = "maestro-daemon" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true publish.workspace = true description = "Per-host tmux wrapper + session orchestrator" [lib] path = "src/lib.rs" [features] default = ["web", "haiku-autoname"] # Embed and serve the browser SPA off the daemon's own listener. Requires # pnpm + node at build time (or a prebuilt bundle via MAESTRO_WEB_DIST). web = ["dep:include_dir", "dep:mime_guess"] # Name a session after its first prompt (#131): the `/api/sessions/:id/prompt` # route, the `claude -p` naming run behind it, and the agent hook that feeds # it. Off leaves sessions on the handle the daemon generates at spawn. haiku-autoname = ["maestro-hooks/haiku-autoname"] [dependencies] axum.workspace = true chrono.workspace = true clap.workspace = true dirs.workspace = true futures-util.workspace = true include_dir = { workspace = true, optional = true } libc.workspace = true maestro-acp.workspace = true mime_guess = { workspace = true, optional = true } maestro-config.workspace = true maestro-hooks = { workspace = true, default-features = false } maestro-names.workspace = true maestro-protocol.workspace = true serde.workspace = true serde_json.workspace = true thiserror.workspace = true tokio.workspace = true tracing.workspace = true tracing-subscriber.workspace = true uuid.workspace = true [dev-dependencies] libc.workspace = true reqwest.workspace = true tokio-tungstenite.workspace = true urlencoding = "2" tempfile.workspace = true maestro-names.workspace = true # `test-util` enables `start_paused` for instant timeout tests (NAP-270). tokio = { workspace = true, features = ["test-util"] }