mirror of
https://github.com/nyakang/nyaterm.git
synced 2026-09-28 16:01:45 +00:00
Thirteen session modules were declared in `features/mod.rs` through `#[path = "session/..."]`, so `features/session` was a directory with no module of its own. Make it a real module: - `mod session;` with `features/session/mod.rs` owning the children. - `session_runtime` becomes a directory module, removing its two remaining `#[path]` declarations. - Prompt and auth exports, plus the trzsz/zmodem session-state types used by `app_state`, reach `crate::features` through explicit re-exports instead of flattened module declarations. Nesting immediately surfaced real visibility: four prompt-drain methods were declared `pub(super)` and were only reachable from the event pump because the module used to be a flat sibling. They are now `pub(in crate::features)` on purpose rather than by accident. `features/session` has zero `#[path]` declarations and is guarded. Desktop `#[path]` count drops from 287 to 272.