Files
hx/crates/hx-tui/Cargo.toml
T
hermes 89c9833e43
ci / check (push) Canceled after 0s
M2: interactive TUI, config, model switching, compaction
- hx-tui: ratatui app with streaming transcript, markdown-ish rendering, tool call status,
  colored edit diffs, collapsible bash/read output (ctrl-o), scrollback, spinner + footer (provider, model, ctx, tokens)
- editor: multi-line, history, word/line kill, bracketed paste, @file fuzzy tab completion; mentioned files attached
- message queue while agent runs; esc/ctrl-c abort; /model /provider /compact /clear /help /quit; resumed history shown
- hx-core: compaction (summarize older prompts, keep recent verbatim, session rebase keeps full file history),
  auto-compact at threshold; abort only ends current run
- config: ~/.hx/config.toml + project .hx/config.toml (provider, per-provider models, compact_at, max_tokens, system_prompt)
- API-equivalent cost estimate in exit summary
- tests/tui_smoke.py drives the real TUI in a pty against the fake API

Closes #15, closes #16, closes #17, closes #18, closes #19
2026-09-30 10:37:56 +00:00

20 lines
564 B
TOML

[package]
name = "hx-tui"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
async-trait = "0.1.92"
crossterm = { version = "0.29.0", features = ["event-stream"] }
futures = "0.3.34"
hx-ai = { version = "0.1.0", path = "../hx-ai" }
hx-core = { version = "0.1.0", path = "../hx-core" }
ignore = "0.4.33"
ratatui = { version = "0.30.2", features = ["unstable-rendered-line-info"] }
serde_json = "1.0.151"
tokio = { version = "1.53.1", features = ["rt", "macros", "sync", "time", "rt-multi-thread"] }
[lints]
workspace = true