3 Commits
Author SHA1 Message Date
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 69a93de2ac refactor: 清理测试和配置文件,移除不必要的依赖和测试用例 2026-07-28 03:09:51 +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