KeiSeiKit-1.0/_primitives/_rust/kei-tty/src/lib.rs
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

18 lines
671 B
Rust

//! `kei-tty` — terminal UI client for the local kei-cortex daemon.
//!
//! Constructor pattern:
//! * [`types`] — wire types (SSE `ChatEvent` enum + request body).
//! * [`client`] — async HTTP/SSE client (`chat_stream`).
//! * [`app`] — TUI state machine (`App` + tokio::select! loop).
//! * [`ui`] — ratatui frame rendering (read-only over `&App`).
//! * [`keys`] — keyboard event → state-transition mapping.
//!
//! Each module is independently testable. The crate has both a `lib` (for
//! integration tests) and a `bin` (`main.rs`) entry point.
pub mod app;
pub mod client;
pub mod keys;
pub mod runner;
pub mod types;
pub mod ui;