Commit Graph
29 Commits
Author SHA1 Message Date
Kou 164d56735c feat: 添加多网卡选择功能,优化网络监控逻辑 2026-08-02 18:11:06 +08:00
Kou f5bb881fa3 fix: 更新样式和文档注释,优化网络解析逻辑 2026-08-02 17:18:05 +08:00
Kou 92ad688752 fix: 更新 .gitignore,添加 scripts-tmp/ 目录;修改样式和网络解析逻辑以增强功能 2026-08-02 16:56:42 +08:00
cmliu c6f70ff804 feat: 添加网络监控功能,显示上传和下载速率 2026-08-01 04:45:43 +08:00
cmliu c34f38c2a5 fix: 限制进程终止输出的缓冲区大小,防止过大数据导致内存问题 2026-07-31 22:16:35 +08:00
cmliu 88a196a77c fix: 优化进程管理器中的命令获取逻辑,避免依赖表格列顺序,并更新中文标签以提高可读性
fix: 释放挂起的进程终止通道,防止重复超时导致内存累积
2026-07-31 20:26:37 +08:00
cmliu 5315e5c805 fix: 修复进程终止通道的处理逻辑,避免在通道确认前删除条目以防止会话中断 2026-07-31 19:59:42 +08:00
cmliu fd621efaa2 fix: 更新进程管理器以支持键盘复制功能,并优化多流解码器的使用 2026-07-31 19:30:01 +08:00
cmliu 50830414e9 feat: 添加进程结束功能,支持通过 SSH 向远端主机发送 SIGTERM 信号并处理结果 2026-07-31 17:18:46 +08:00
cmliu 555d09a7f4 fix: 修复重连逻辑中的重试计数器,确保连接恢复时状态正确 2026-07-31 05:29:17 +08:00
cmliu ac7c9885d1 fix: 增加文件管理器的自动重连功能,优化连接稳定性 2026-07-31 04:14:41 +08:00
cmliu 01ebf2f942 feat: 增强进程监控的自动重连功能,支持在意外断开后自动尝试重连 2026-07-30 17:27:22 +08:00
cmliu 180a4f2400 feat: 更新进程监控命令以支持更好的宽度处理,确保跨平台兼容性 2026-07-30 02:23:27 +08:00
cmliu d956602a45 feat: 更新进程监控命令以修正跨平台兼容性,确保正确显示进程信息 2026-07-30 02:09:32 +08:00
cmliu 19052ca989 feat: 更新进程监控命令以支持多平台,确保正确显示进程信息 2026-07-30 02:01:52 +08:00
cmliu 248e265165 feat: 增强解析功能,支持多种格式的数字和内存使用情况解析 2026-07-30 01:53:43 +08:00
cmliu 7f58bcef17 feat: 添加 retainTrailingMarkerPrefix 函数以处理缓冲区中的尾部标记前缀 2026-07-29 21:28:41 +08:00
cmliu 34b1c020cd feat: add process monitoring functionality
- Implemented process channel management in SSHSession, including opening and closing channels, handling process output, and sending process snapshots.
- Added WebSocket support for process monitoring, allowing clients to attach and receive real-time process data.
- Created a new ProcessManager class in the frontend to manage the display of process information, including CPU and memory usage.
- Introduced a top-parser module to parse the output of the `top` command and extract relevant process metrics.
- Updated backend session handling to support process attachment URLs and tokens.
- Enhanced error handling and status messaging for process monitoring.
2026-07-29 19:36:09 +08:00
cmliu 2a685aaba3 feat: 更新 UI 状态管理,移除全局状态显示并优化连接状态指示 2026-07-29 12:21:19 +08:00
cmliu 8cb4d88b39 fix: 修正 SFTP 附加 URL 的正则表达式匹配规则 2026-07-29 11:03:59 +08:00
cmliu 289d662fc2 feat: implement SFTP protocol support with types and client functionality
- Added sftp-types.ts to define SFTP protocol constants, types, and attributes.
- Introduced sftp.ts to implement the SFTP client, handling requests, responses, and error management.
- Implemented methods for file operations including open, read, write, remove, and directory management.
- Added error handling for SFTP protocol errors and timeouts.
- Included utility functions for encoding and decoding SFTP packets.
2026-07-29 10:58:44 +08:00
cmliu c040c1b9fd feat: 增强 SSH 主机密钥验证,支持键盘交互认证并优化 UI 提示 2026-07-28 22:19:52 +08:00
cmliu 7a9094d565 feat: 优化票据验证逻辑,移除 IP 绑定校验以支持反代/CDN 环境 2026-07-28 05:10:01 +08:00
cmliu f9ed3d9a86 feat: 更新 CORS 响应处理,确保 WebSocket 升级响应不被重新包装 2026-07-28 04:55:39 +08:00
cmliu de005b5af8 feat: 添加 CORS 支持,允许跨站访问 API 响应并处理预检请求 2026-07-28 04:35:23 +08:00
cmliu 3a9a21ace7 refactor: 优化 SSH 连接和认证流程,移除不必要的参数和方法 2026-07-28 02:56:34 +08:00
cmliu 855b8e275c feat: 添加 toSocketHostname 函数,支持 IPv6 地址格式化,优化连接处理 2026-07-28 02:23:10 +08:00
cmliu de6940ee89 Refactor SSH session management and history tracking
- Removed ACCESS_TOKEN and ALLOW_ANONYMOUS from environment variables and related logic.
- Updated README and documentation to reflect changes in access control and session management.
- Introduced history tracking for SSH connections, allowing automatic saving of successful connections.
- Modified frontend to display connection history instead of saved targets, with appropriate UI updates.
- Refactored backend security logic to remove access token validation.
- Added new history management functions to handle connection entries.
2026-07-27 21:40:08 +08:00
cmliu 623d270eec feat: implement SSH protocol components including key exchange, packet handling, and transport
- Add KEXInitBuilder and parsing functions for SSH key exchange initialization.
- Implement key derivation for session keys using shared secrets and exchange hashes.
- Create SSHPacketParser and SSHPacketBuilder for handling SSH packets.
- Establish SSHTransport for managing version exchange and connection setup.
- Introduce utility functions for data manipulation and encoding.
- Define types for SSH packets, key exchange messages, and session configurations.
- Set up worker environment with session management and request handling.
- Configure TypeScript and Vite for frontend and worker builds.
- Add tests and coverage configuration for SSH components.
- Initialize Wrangler configuration for deployment.
2026-07-27 19:05:23 +08:00