手瓜一十雪
06e7c3363a
Add quick_reply support to message parsing
...
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 the quick_reply boolean option to message history schema and message parsing logic. Updates relevant functions to handle quick_reply, allowing for conditional behavior during message reply and segment parsing.
2025-09-02 22:33:05 +08:00
手瓜一十雪
4d200de6b7
Refactor packet client and update message history actions
...
Replaced LRUCache with Map for callback and event management in packet clients, and standardized callback hash usage. Updated GetFriendMsgHistory and GetGroupMsgHistory actions to use snake_case for payload keys. Modified OneBotMsgApi to support disabling URL retrieval for ptt elements via a new parameter.
2025-09-02 22:24:53 +08:00
手瓜一十雪
6200097f7c
Add resource health management and enhance message parsing
...
Introduces a ResourceManager for health checking and retry logic in src/common/health.ts. Updates OneBot message parsing to support disabling URL fetching and multi-message parsing via new payload options. File, image, video, and ptt URL retrievals now use resource health management for improved reliability. Also refactors packet API to allow configurable timeout for FetchRkey.
#1220
2025-09-02 21:19:49 +08:00
手瓜一十雪
43c98c45b9
fix
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-04-19 11:13:02 +08:00
手瓜一十雪
cd8698b157
fix
2025-04-19 11:03:03 +08:00
手瓜一十雪
3b16effff0
Revert "fix"
...
This reverts commit 40b06daf1e .
2025-04-19 10:59:04 +08:00
手瓜一十雪
d3a27ad701
Revert "fix:coerce"
...
This reverts commit dd895d7c17 .
2025-04-19 10:58:56 +08:00
手瓜一十雪
2a4589e268
Revert "fix: checker"
...
This reverts commit 941978b578 .
2025-04-19 10:58:46 +08:00
手瓜一十雪
80a34c82b9
Revert "fix: zod boolean强制转换"
...
This reverts commit 17ef3231df .
2025-04-19 10:58:39 +08:00
手瓜一十雪
30a75bc581
Revert "fix"
...
This reverts commit 54e6d5c3f2 .
2025-04-19 10:57:32 +08:00
手瓜一十雪
7b365367f7
Revert "fix"
...
This reverts commit 41dccd98a9 .
2025-04-19 10:57:28 +08:00
手瓜一十雪
41dccd98a9
fix
2025-04-17 09:54:12 +08:00
手瓜一十雪
54e6d5c3f2
fix
2025-04-17 09:52:03 +08:00
手瓜一十雪
17ef3231df
fix: zod boolean强制转换
2025-04-17 09:38:38 +08:00
手瓜一十雪
941978b578
fix: checker
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-04-15 12:34:33 +08:00
手瓜一十雪
dd895d7c17
fix:coerce
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-04-15 12:25:37 +08:00
手瓜一十雪
40b06daf1e
fix
2025-04-14 21:44:25 +08:00
Clansty
6e38e748b8
fix: isReverseOrder
2025-04-14 05:40:11 +08:00
手瓜一十雪
2147c4ffee
迁移类型校验到zod
2025-04-13 20:05:11 +08:00
手瓜一十雪
15854c605b
style: 强类型大法
2025-02-02 23:22:21 +08:00
手瓜一十雪
4b53e9a895
fix: 进一步重构
2025-01-21 20:40:52 +08:00
手瓜一十雪
1bb6dce239
refactor: type-check ( #586 )
...
* refactor: type-check
* fix: default
* refactor: type-check
2024-12-01 12:41:51 +08:00
手瓜一十雪
bbb4ad7d95
rename: project
2024-11-21 14:30:21 +08:00
手瓜一十雪
e898915d01
rename: 使用@搜寻
2024-11-21 11:16:25 +08:00
手瓜一十雪
9ffaab178a
refactor: Action
2024-11-19 12:49:51 +08:00
手瓜一十雪
6dc4f38581
refactor: AdapterConfig
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-16 18:38:44 +08:00
pk5ls20
fe0bda11d3
refactor: webui
2024-11-15 23:39:19 +08:00
手瓜一十雪
4487db4e0a
feat: msg push
2024-11-14 20:18:19 +08:00
手瓜一十雪
f66d7b11a8
fix: error throw
2024-11-14 12:54:58 +08:00
Wesley F. Young
b5deb198de
refactor: inline all NTQQXxxApi uses
2024-08-31 16:00:03 +08:00
Wesley F. Young
56fa57ea02
refactor: rename createMsg -> createUniqueMsgId to prevent ambiguity
2024-08-28 19:03:19 +08:00
Seijo Cecilia
6384b50bae
chore: run eslint
2024-08-27 13:35:25 +08:00
手瓜一十雪
43ec1b7cfd
feat: 更高效率的识别
2024-08-27 12:16:57 +08:00
Wesley F. Young
17e680f7af
refactor: move all utility files to /common
2024-08-27 10:18:31 +08:00
手瓜一十雪
f180687ba3
refactor: action param handle
2024-08-26 14:30:11 +08:00
Wesley F. Young
7092894d22
refactor: normalize file names in common/utils
2024-08-26 12:48:45 +08:00
Wesley F. Young
bc62feb71b
refactor: normalize naming
2024-08-26 10:04:31 +08:00
Wesley F. Young
b1a1fdbeee
refactor: rename all coreContext -> core
2024-08-26 09:19:50 +08:00
手瓜一十雪
9da714bf15
style: fix
2024-08-26 00:17:42 +08:00
Seijo Cecilia
106fbaf086
refactor: make parseMessage an instance method
2024-08-25 10:14:11 +08:00
手瓜一十雪
e086b8707f
refactor: chattype
2024-08-22 15:53:27 +08:00
手瓜一十雪
4fac6d5aa3
chore: 解耦
2024-08-22 14:05:01 +08:00
手瓜一十雪
16371c0cc4
fix: 统一消息格式
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-08-13 21:00:22 +08:00
手瓜一十雪
43e94a5db0
fix: 跳过空消息
2024-08-13 00:38:42 +08:00
Wesley F. Young
a88c37ea56
fix: replace deprecated calls
2024-08-12 08:20:11 +08:00
Wesley F. Young
e7e8e99946
refactor: inline getApiContext()
2024-08-11 19:10:42 +08:00
Wesley F. Young
ae5d50141b
fix: method signature of _handle
2024-08-10 22:22:52 +08:00
Wesley F. Young
87c3b24488
chore: run a full eslint
2024-08-10 19:58:31 +08:00
Wesley F. Young
5990e0c2eb
chore: run eslint --fix in onebot module
2024-08-09 20:35:03 +08:00
手瓜一十雪
b50556802c
chore: action基本就绪
2024-08-09 18:28:05 +08:00