Builds the ratatui TUI: EngineHandle bridging the async engine to the render loop, chat viewport rendering with a markdown renderer, input handling, a permission modal wired to the real oneshot ask path, and a session picker. Adds TestBackend snapshot tests covering empty session, tool cards (running/completed/error), permission modal, session picker, and message rendering.
33 lines
735 B
TOML
33 lines
735 B
TOML
[package]
|
|
name = "harness-tui"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "harness"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
harness-app = { workspace = true }
|
|
harness-core = { workspace = true }
|
|
tokio = { workspace = true }
|
|
ratatui = { workspace = true }
|
|
crossterm = { workspace = true }
|
|
tui-textarea = { workspace = true }
|
|
pulldown-cmark = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
tracing-appender = { workspace = true }
|
|
dirs = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
futures = { workspace = true }
|
|
tokio-util = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
insta = "1"
|
|
|
|
[lints]
|
|
workspace = true
|