JSON-RPC on stdio with permission requests, hx/step|message|interrupt|compact in and hx/step_result|intent|edit|usage|decision|plan out. Sessions persist by id. Limits are soft: a limit stop is blocked with reason "limit" and no catch; catch is only a validated name from the step's catches list. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
848 B
TOML
30 lines
848 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"
|
|
|
|
[lints]
|
|
workspace = true
|