Expand description
Prototype command boundary for the staged TUI command extraction.
FEAT-014 defines shapes only. It does not implement them for App, change
production dispatch, move localization or shared TUI types, or move command
files. Later FEATs first adopt these shapes inside codewhale-tui one group
per PR; only after all groups are decoupled will they move to a commands
crate, again one group per PR.
Re-exports§
pub use handler::CommandCapabilities;pub use handler::CommandContexts;pub use handler::CommandHandler;pub use handler::ContextParts;pub use metadata::CommandDiscovery;pub use metadata::CommandInfo;pub use metadata::RegisterCommand;pub use facets::*;pub use types::*;
Modules§
- config_
policy - Policy/status observations only. Hosts own persistence, runtime services and I/O. These values do not grant authority to edit configuration or operate a session.
- facets
- Independent, object-safe capability shapes for staged command migration.
- handler
- Generic handler transport for staged command migration.
- metadata
- Portable command registration metadata.
- metrics
- Pure session metrics rendering; host observation and painting remain outside.
- money
- Shared, data-only precise monetary display for diagnostic reports. Currency selection and accounting remain authoritative on the host.
- outcome
- Shared command result data. Hosts consume actions after command dispatch; constructing an outcome never executes an action.
- tool_
outputs - Pure output-pressure display; observation remains host-owned.
- types
- Prototype boundary values used by the command capability shapes.