Mountain/ApplicationState/State/ExtensionState/ExtensionRegistry/mod.rs
1//! # ExtensionRegistry Module (ApplicationState)
2//!
3//! ## RESPONSIBILITIES
4//! Manages extension registry including command registry and provider handle
5//! management.
6//!
7//! ## ARCHITECTURAL ROLE
8//! ExtensionRegistry is part of the **ExtensionState** module, representing
9//! the command registry and provider handle management.
10//!
11//! ## KEY COMPONENTS
12//! - Registry: Main struct containing command registry and provider state
13//!
14//! ## ERROR HANDLING
15//! Uses `Arc<Mutex<...>>` for thread-safe access with proper error handling.
16//!
17//! ## LOGGING
18//! State changes are logged at appropriate levels.
19//!
20//! ## PERFORMANCE CONSIDERATIONS
21//! - Lock mutexes briefly
22//! - Avoid nested locks
23//! - Use Arc for shared ownership
24//!
25//! ## TODO
26//! - [ ] Add command validation
27//! - [ ] Implement command discovery
28//! - [ ] Add command metrics
29
30pub mod ExtensionRegistry;
31
32pub use ExtensionRegistry::*;