1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Channel and Hub management
//!
//! # Concepts
//!
//! - **Hub**: A repository that aggregates multiple Channels (e.g., dot-agent-hub)
//! - **Channel**: A source of profiles (e.g., awesome-dotfiles, official)
//! - **Profile**: Actual configuration files
//!
//! # Hierarchy
//!
//! ```text
//! Hub (github.com/xxx/dot-agent-hub)
//! ├── channels/
//! │ ├── awesome-dotfiles.toml
//! │ └── awesome-neovim.toml
//! └── official/
//! └── profiles/
//! ├── rust-claude.toml
//! └── python-claude.toml
//!
//! Local (~/.dot-agent/)
//! ├── hubs.toml # Registered Hubs
//! ├── channels.toml # Enabled Channels
//! ├── cache/
//! │ ├── hubs/ # Hub content cache
//! │ └── channels/ # Channel content cache
//! └── profiles/ # Imported profiles
//! ```
pub use ChannelRegistry;
pub use HubRegistry;
pub use ;
pub use ;