codewhale-runtime 0.10.2

Headless Codewhale runtime, split out of the terminal UI one module at a time; no terminal UI dependency
Documentation
//! Codewhale runtime: the headless half of the runtime/TUI split.
//!
//! Modules move here from `crates/tui/src` with `git mv`, in the order
//! `docs/design/TUI_DECONSTRUCTION.md` records. The TUI reaches them through
//! one path-alias block in its `lib.rs`, so moved code keeps its
//! `crate::<module>` paths on both sides until the split deletes the alias.
//!
//! This crate never depends on the terminal UI: no `codewhale-tui`, ratatui
//! or crossterm (`scripts/check-command-crate-boundaries.py`).

// Copied verbatim from the TUI crate root: moved code relies on it.
#![allow(clippy::uninlined_format_args)]

pub use codewhale_command_contract::elapsed;

pub mod context_budget;
pub mod continual_harness;
pub mod fast_hash;
pub mod features;
pub mod goal_loop;
pub mod hashing;
pub mod host_terminal;
pub mod lane_control;
pub mod llm_response_cache;
pub mod logging;
pub mod media_originals;
pub mod model_context;
pub mod native_memory;
pub mod prompt_zones;
pub mod regex_cache;
pub mod resource_telemetry;
pub mod retry_status;
pub mod runtime_policy;
pub mod safe_label;
pub mod session_tree;
pub mod skill_state;
pub mod sleep_guard;
pub mod startup_trace;
#[cfg(any(test, feature = "test-support"))]
pub mod test_support;
pub mod tool_history_repair;
pub mod workspace_discovery;

pub const CODEWHALE_MAIN_STACK_BYTES: usize = 32 * 1024 * 1024;