手瓜一十雪
42d50014a1
Refactor event handling to use async/await across adapters
...
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Release / build-docker (push) Canceled after 0s
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
手瓜一十雪
a36ae315b0
Fix useStream variable scope in HTTP server adapter
...
Moved the declaration of useStream inside the action check to prevent referencing it when action is undefined.
2025-09-20 15:23:37 +08:00
手瓜一十雪
2161ec5fa7
feat: 标准化
2025-09-20 15:20:43 +08:00
手瓜一十雪
890d032794
Add streaming file upload and download actions
...
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Release / build-docker (push) Canceled after 0s
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
手瓜一十雪
0ab8d025bf
Declare config property in OB11PluginMangerAdapter
...
Adds an explicit declaration for the 'config' property in the OB11PluginMangerAdapter class to improve type safety and clarity.
2025-09-02 22:42:09 +08:00
手瓜一十雪
c7af0384fb
Add plugin manager and example plugin system
...
Introduces a plugin manager (OB11PluginMangerAdapter) for dynamic plugin loading, initialization, and event handling. Adds an example plugin with configuration files and updates related code to support plugin directory detection and loading. Refactors plugin adapter logic for extensibility and modularity.
2025-09-02 20:42:54 +08:00
手瓜一十雪
a64779684e
fix #1171 && Improve message recall handling and cleanup
...
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Release / build-docker (push) Canceled after 0s
Changed recallMsg to return the result of the event call. Added a 5-second cache cleanup for recall events in DeleteMsg. Removed an unnecessary blank line in plugin.ts.
2025-08-25 15:50:05 +08:00
lzw and sourcery-ai[bot]
9dda00b6fa
chore: add host in listen log
...
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-06-05 12:59:01 +08:00
Lan Zongwei
a29debb738
fix: fix missing host in onebot http-server listen
2025-06-05 12:59:01 +08:00
手瓜一十雪
7e31763a25
fix
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2025-05-03 22:26:41 +08:00
手瓜一十雪
3d0f8ee657
fix
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2025-05-03 16:06:51 +08:00
手瓜一十雪
26cfaac3bd
fix: 增强异常处理
2025-03-29 10:50:27 +08:00
手瓜一十雪
7fd8c0c822
style:lint
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2025-02-09 13:00:54 +08:00
手瓜一十雪
a9e9c81505
refactor: data recv
2025-02-09 13:00:17 +08:00
手瓜一十雪
e8cc68bdea
style:lint
2025-02-09 12:53:42 +08:00
手瓜一十雪
9e51a661a4
fix : #761
2025-02-09 12:53:10 +08:00
手瓜一十雪
feb84809ec
fix : #761
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2025-02-04 21:22:36 +08:00
手瓜一十雪
cb8727d487
fix: reload and parse msg
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2025-02-04 19:34:51 +08:00
手瓜一十雪
15854c605b
style: 强类型大法
2025-02-02 23:22:21 +08:00
手瓜一十雪
ac193cc94a
style: lint
2025-02-02 20:17:28 +08:00
手瓜一十雪
d626f872e6
feat: 类型规范
2025-02-02 20:16:11 +08:00
手瓜一十雪
da24ae7e1c
fix: 空json5
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2025-01-27 19:30:45 +08:00
手瓜一十雪
7e1fe31085
fix: http支持json5
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2025-01-27 19:25:51 +08:00
手瓜一十雪
ba619986c9
fix : #739
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2025-01-27 18:42:26 +08:00
手瓜一十雪
6e261f30c2
fix: typo
2025-01-26 13:29:47 +08:00
手瓜一十雪
4d4d79e66f
fix #727
2025-01-22 09:33:19 +08:00
手瓜一十雪
4b53e9a895
fix: 进一步重构
2025-01-21 20:40:52 +08:00
stapxs
a3088fb8bc
质量保障
2025-01-09 13:42:55 +08:00
stapxs
88fd1f9eb1
http sse 消息上报模式
2025-01-09 13:22:46 +08:00
手瓜一十雪
f3ed8c7dff
fix #633
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-12-17 15:55:18 +08:00
pk5ls20
2d9cc4d198
fix: as design
2024-12-17 07:07:04 +08:00
pk5ls20
a0c479485d
refactor: adjust onebot network
2024-12-17 05:26:27 +08:00
bietiaop
553885d025
fix: handleQuickOperation
2024-12-17 00:27:56 +08:00
手瓜一十雪
09583e5de5
fuck javascript
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-12-16 22:09:37 +08:00
手瓜一十雪
f752136283
fix : #631
2024-12-16 21:06:51 +08:00
手瓜一十雪
2a9bc57120
fix : #628
2024-12-16 13:00:07 +08:00
手瓜一十雪
dc0561d34f
refactor: OB11ActiveHttpAdapter
2024-12-14 14:26:23 +08:00
手瓜一十雪
7b693132f9
fix
2024-12-13 23:27:24 +08:00
手瓜一十雪
3c3114b6ab
fix: 支持类型推导
2024-12-13 23:23:58 +08:00
手瓜一十雪
ecde2427da
fix: path
2024-12-12 09:37:51 +08:00
手瓜一十雪
002d135ef5
fix
2024-12-11 18:26:26 +08:00
手瓜一十雪
a39b0a4a78
feat: plugin
2024-12-11 17:07:21 +08:00
手瓜一十雪
b44e1618fb
fix: quick error
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-11-30 14:12:23 +08:00
手瓜一十雪
53c1d40bcf
refactor: logger bind ( #577 )
2024-11-28 20:55:28 +08:00
手瓜一十雪
1dc2f7e5a2
style: lint
2024-11-28 10:46:14 +08:00
手瓜一十雪
62ea4b98e1
refactor: parseGroupEvent
2024-11-25 20:39:44 +08:00
手瓜一十雪
56b1b9b598
chore: 移除开发debug
2024-11-25 15:35:48 +08:00
手瓜一十雪
01d11d6213
refactor: 热重载
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2024-11-25 15:16:12 +08:00
手瓜一十雪
6fa7a973ba
style: @搜寻
2024-11-22 15:08:26 +08:00
手瓜一十雪
902fe907bd
refactor: 持续重构project结构与定义
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
2024-11-21 14:36:06 +08:00