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
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[package]
|
|
name = "maestro-cli"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
description = "`maestro` CLI: list, spawn, attach, kill sessions across daemons"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = ["haiku-autoname"]
|
|
# Install the first-prompt hook alongside the activity ones (#131).
|
|
haiku-autoname = ["maestro-hooks/haiku-autoname"]
|
|
|
|
[dependencies]
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
dirs.workspace = true
|
|
futures-util.workspace = true
|
|
libc.workspace = true
|
|
maestro-config.workspace = true
|
|
maestro-hooks = { workspace = true, default-features = false }
|
|
maestro-protocol = { workspace = true, features = ["client"] }
|
|
nix.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
tokio = { workspace = true, features = ["macros", "rt", "sync", "time", "io-util", "io-std", "signal"] }
|
|
tokio-tungstenite = { workspace = true, features = ["rustls-tls-webpki-roots"] }
|
|
toml.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
maestro-testing.workspace = true
|
|
tempfile.workspace = true
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
|
uuid.workspace = true
|