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
26 lines
800 B
TOML
26 lines
800 B
TOML
[package]
|
|
name = "gyandoot-agent"
|
|
version.workspace = true
|
|
edition = "2021"
|
|
license.workspace = true
|
|
description = "GyanDoot v2 — Core agent loop, tool execution, context compression"
|
|
|
|
[dependencies]
|
|
gyandoot-core = { path = "../gyandoot-core" }
|
|
gyandoot-providers = { path = "../gyandoot-providers" }
|
|
gyandoot-memory = { path = "../gyandoot-memory" }
|
|
gyandoot-security = { path = "../gyandoot-security" }
|
|
gyandoot-skills = { path = "../gyandoot-skills" }
|
|
gyandoot-browser = { path = "../gyandoot-browser" }
|
|
tokio.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
uuid.workspace = true
|
|
chrono.workspace = true
|
|
async-trait.workspace = true
|
|
rand.workspace = true
|
|
dirs.workspace = true
|
|
atty.workspace = true |