CLI UX: Input prompt (»), G> output prefix, answering spinner
Three UX improvements for interactive mode: 1. Input prompt: Shows '»' (bold cyan) on stdin before reading user input 2. Output prefix: Agent responses prefixed with 'G>' (bold green) 3. Thinking indicator: Animated spinner on stderr showing 'answering (N.Ns)' with braille frame characters, auto-clears when response arrives - Start/stop via tokio::sync::watch channel + tokio::spawn - Only shows when interactive (atty detection) - Does not affect gateway/sub-agent modes
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -674,6 +674,7 @@ version = "2.0.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
"atty",
|
||||
"chrono",
|
||||
"dirs",
|
||||
"gyandoot-browser",
|
||||
|
||||
Reference in New Issue
Block a user