Files
shell-rs/src/lib.rs
T
XuzandClaude Opus 5.5 0d455e02f5 网络连接:右侧栏的新工具,列出 Linux 主机的 TCP、UDP 连接和监听端口
- 卡片显示协议、状态、地址、进程和用户,可搜索、按协议和状态筛选
- 打开或切换终端时读取一次,点刷新再读;系统监控和它共用终端里执行命令的部分

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 14:41:00 +08:00

33 lines
1.0 KiB
Rust

//! ShellRS: an SSH host manager with real SSH and local terminals.
//!
//! Modules are organized by capability so they can become crates later:
//! `host` (主机管理), `terminal` (终端), `ssh` (SSH 连接), `sftp` (SFTP
//! 传输), `explorer` (SFTP 文件浏览), `forward` (端口转发), `credential`
//! (凭据), `monitor` (系统监控), `netstat` (网络连接), `secrets` (系统钥匙串),
//! `settings` (设置), `cli` (外部 CLI), `update` (在线升级), `connection` 与
//! `shared` (跨模块共用), `workspace` (窗口壳), `app` (动作、快捷键、资源).
pub mod app;
pub mod cli;
pub mod connection;
pub mod credential;
pub mod explorer;
pub mod forward;
pub mod host;
pub mod monitor;
pub mod netstat;
pub mod secrets;
pub mod settings;
pub mod sftp;
pub mod shared;
pub mod ssh;
pub mod terminal;
pub mod update;
pub mod workspace;
/// Initialize GPUI Kit, locale, key bindings and global actions. Call once
/// inside `Application::run` before creating any view.
pub fn init(cx: &mut gpui_kit::App) {
app::init(cx);
}