Commit Graph

8 Commits

Author SHA1 Message Date
手瓜一十雪
a7deaf8530 Refactor event handling to use async/await across adapters
Updated all network adapters' onEvent methods to be asynchronous and return Promises, ensuring consistent async event emission and handling. Adjusted related methods and event emission logic to properly await asynchronous operations, improving reliability for streaming, plugin, HTTP, and WebSocket event flows. Also improved error handling and messaging in stream and WebSocket actions.
2025-09-20 15:55:37 +08:00
手瓜一十雪
44f6c79a24 feat: 标准化 2025-09-20 15:20:43 +08:00
手瓜一十雪
fe878687ee Add streaming file upload and download actions
Introduces new OneBot actions for streaming file upload and download, including chunked file transfer with memory/disk management and SHA256 verification. Adds CleanStreamTempFile, DownloadFileStream, UploadFileStream, and TestStreamDownload actions, updates action routing and network adapters to support streaming via HTTP and WebSocket, and provides Python test scripts for concurrent upload testing.
2025-09-16 23:24:00 +08:00
手瓜一十雪
7f55ec5ef6 fix: 增强异常处理 2025-03-29 10:50:27 +08:00
手瓜一十雪
70945cf2d8 style: 强类型大法 2025-02-02 23:22:21 +08:00
手瓜一十雪
76501bae34 style: lint 2025-02-02 20:17:28 +08:00
手瓜一十雪
5a91591e2d fix: #739 2025-01-27 18:42:26 +08:00
手瓜一十雪
ab74a6d295 fix #727 2025-01-22 09:33:19 +08:00