- hx -p --schema <file> validates the final answer against a JSON schema, with one retry that includes the validation errors - max_turns config key and --max-turns cap the main agent's model calls - hx --mode rpc --ask sends permission requests to the client instead of auto-allowing bash/write/edit calls Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
31 lines
908 B
TOML
31 lines
908 B
TOML
[package]
|
|
name = "hx-cli"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "hx"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.104"
|
|
async-trait = "0.1.92"
|
|
clap = { version = "4.6.7", features = ["derive", "env"] }
|
|
futures = "0.3.34"
|
|
hx-ai = { version = "0.1.0", path = "../hx-ai" }
|
|
hx-core = { version = "0.1.0", path = "../hx-core" }
|
|
hx-lens = { version = "0.1.0", path = "../hx-lens" }
|
|
hx-tools = { version = "0.1.0", path = "../hx-tools" }
|
|
hx-mcp = { version = "0.1.0", path = "../hx-mcp" }
|
|
hx-tui = { version = "0.1.0", path = "../hx-tui" }
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
similar = "3.2.0"
|
|
tokio = { version = "1.53.1", features = ["rt-multi-thread", "macros", "signal", "io-std", "io-util", "sync", "time"] }
|
|
serde_json = "1.0.151"
|
|
toml = "1.1.6"
|
|
jsonschema = { version = "0.63", default-features = false }
|
|
|
|
[lints]
|
|
workspace = true
|