返回 CodeWhale
lib.rs
根目录 / crates / runtime / src / lib.rs
1 //! Codewhale runtime: the headless half of the runtime/TUI split.
2 //!
3 //! Modules move here from `crates/tui/src` with `git mv`, in the order
4 //! `docs/design/TUI_DECONSTRUCTION.md` records. The TUI reaches them through
5 //! one path-alias block in its `lib.rs`, so moved code keeps its
6 //! `crate::<module>` paths on both sides until the split deletes the alias.
7 //!
8 //! This crate never depends on the terminal UI: no `codewhale-tui`, ratatui
9 //! or crossterm (`scripts/check-command-crate-boundaries.py`).
10
11 // Copied verbatim from the TUI crate root: moved code relies on it.
12 #![allow(clippy::uninlined_format_args)]
13
14 pub mod context_budget;
15 pub mod continual_harness;
16 pub mod elapsed;
17 pub mod fast_hash;
18 pub mod goal_loop;
19 pub mod hashing;
20 pub mod host_terminal;
21 pub mod llm_response_cache;
22 pub mod media_originals;
23 pub mod model_context;
24 pub mod native_memory;
25 pub mod prompt_zones;
26 pub mod regex_cache;
27 pub mod retry_status;
28 pub mod safe_label;
29 pub mod session_tree;
30 pub mod skill_state;
31 pub mod sleep_guard;
32 pub mod tool_history_repair;
33 pub mod workspace_discovery;
34
34 lines RUST