This repository has been archived on 2026-10-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
maestro/crates/maestro/Cargo.toml
T
Miguel Palhas 268dbb328d feat(maestro): first-prompt hook behind haiku-autoname
Adds a UserPromptSubmit entry that forwards the hook payload verbatim to
/api/sessions/:id/prompt, gated by a haiku-autoname feature that the daemon,
the CLI and the umbrella binary all forward. With it off no hook points at
the route.

Refs #131
2026-09-02 17:53:32 +01:00

30 lines
1.0 KiB
TOML

[package]
name = "maestro"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
publish.workspace = true
description = "Unified `maestro` binary: CLI + per-host daemon + TUI, feature-gated."
[[bin]]
name = "maestro"
path = "src/main.rs"
[features]
default = ["cli", "daemon", "tui", "haiku-autoname"]
cli = ["dep:maestro-cli"]
daemon = ["dep:maestro-daemon"]
tui = ["dep:maestro-tui"]
# Name a session after its first prompt (#131). `?` so a build that leaves
# the daemon or the CLI out does not pull it back in.
haiku-autoname = ["maestro-cli?/haiku-autoname", "maestro-daemon?/haiku-autoname"]
[dependencies]
clap.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "signal"] }
tracing-subscriber.workspace = true
maestro-cli = { path = "../maestro-cli", optional = true, default-features = false }
maestro-daemon = { path = "../maestro-daemon", optional = true, default-features = false }
maestro-tui = { path = "../maestro-tui", optional = true }