Commit Graph
267 Commits
Author SHA1 Message Date
手瓜一十雪 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
手瓜一十雪 f3c07ed8fc Add timeout parameter to file and packet API methods
Introduces an optional timeout parameter (defaulting to 20000ms) to various file and packet API methods for improved control over request duration. Updates all relevant method calls and internal usages to support the new timeout argument, including OneBot message API calls with a shorter timeout for file, video, and ptt URL retrieval.
2025-09-02 09:54:42 +08:00
子寻 d6782c35e2 fix: /get_msg interface returns group type message with group_name. (#1205) 2025-08-23 11:38:24 +08:00
手瓜一十雪 505f7b6ac9 Update group.ts
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
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2025-08-15 19:12:13 +08:00
手瓜一十雪 2735eb14bd fix: #1191 2025-08-15 19:12:04 +08:00
手瓜一十雪 1b0b5f3494 Refactor PacketApi status checks and fix typos
Replaced all usages of PacketApi.available with PacketApi.packetStatus for more accurate status checking. Fixed a typo in getFullQQVesion to getFullQQVersion. Updated plugin_onmessage to fetch and parse messages for a user. These changes improve reliability and consistency in API status handling.
2025-08-06 19:31:24 +08:00
手瓜一十雪 770652fe6b fix: remove debug 2025-05-26 11:51:25 +08:00
手瓜一十雪 5a4ad29727 fix: #1040
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-05-26 11:50:45 +08:00
手瓜一十雪 6607533311 fix: #996
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-05-11 11:31:52 +08:00
手瓜一十雪 cfae4f5acd 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-07 22:26:25 +08:00
手瓜一十雪 9936279443 fix 2025-05-07 22:03:00 +08:00
手瓜一十雪 2818773fd4 fix 2025-05-07 20:53:36 +08:00
手瓜一十雪andCopilot 5b9e44ddfc fix
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-07 20:51:28 +08:00
手瓜一十雪 4ef457fe6f feat: fileUrl Get 2025-05-07 18:10:49 +08:00
Clansty 308b5c027f fix: at 变成负数
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-07 03:46:17 +08:00
pk5ls20 a5a57b9e20 fix: fxxking fake forward element
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
- close #972, #977, #666
2025-04-30 20:31:03 +08:00
Me0wo 380777ca04 fix: #970 2025-04-24 04:11:31 +08:00
手瓜一十雪 886fe2052e feat: 避免危险信息
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-20 22:12:12 +08:00
手瓜一十雪 e4dd194d4a fix: #960
神经设计
2025-04-20 22:10:24 +08:00
手瓜一十雪 a47af60f58 feat: disband 2025-04-20 19:28:35 +08:00
手瓜一十雪 cd8698b157 fix 2025-04-19 11:03:03 +08:00
手瓜一十雪 2147c4ffee 迁移类型校验到zod 2025-04-13 20:05:11 +08:00
手瓜一十雪 dd00d4c8a5 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-12 11:59:29 +08:00
pk5ls20 3cf502fea3 chore: improve log output for protocol fetch with multiple messages 2025-04-04 01:59:31 +08:00
手瓜一十雪 2807ff5927 fix: 刷新群头衔缓存 2025-04-03 14:46:56 +08:00
手瓜一十雪 4fb8e6a4da fix: typo 2025-04-03 14:44:59 +08:00
手瓜一十雪 7ec61f089d fix 2025-04-02 21:40:10 +08:00
手瓜一十雪 f7a500a8cf feat: GroupMemberTitle 2025-04-02 21:30:25 +08:00
手瓜一十雪 24cf7c01f8 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-02 12:04:05 +08:00
手瓜一十雪 c4cbac4331 fix: #918
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-02 11:51:51 +08:00
手瓜一十雪 f180c7698f feat: 文件清理quene 2025-04-01 20:22:46 +08:00
手瓜一十雪 99b504b5f6 fix: #880
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-03-16 09:12:52 +08:00
手瓜一十雪 d6a0830cfe fix: #875 2025-03-14 18:07:03 +08:00
HDTianRu 6a15908a93 feat: 额外返回原msgSeq条目 2025-03-08 16:36:17 +08:00
手瓜一十雪 6d8bb49a37 fix: #837 2025-03-02 14:27:09 +08:00
手瓜一十雪 4f6073ee86 fix: 837 2025-03-02 14:26:28 +08:00
手瓜一十雪 88b1ee8c31 docs: todo #819 2025-02-23 17:17:52 +08:00
手瓜一十雪 3ac618bb4e fix: #822 2025-02-23 17:01:00 +08:00
手瓜一十雪 0051df3741 fix: #824 2025-02-23 16:57:55 +08:00
手瓜一十雪 1ecd5b78e6 feat: 文件移除path字段增强部分能力
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-18 16:55:43 +08:00
手瓜一十雪 95ea761b2d feat: get_private_file_url 2025-02-18 16:51:51 +08:00
手瓜一十雪 c382f541b4 fix: 优化文件处理错误信息并简化下载逻辑 2025-02-14 17:41:25 +08:00
手瓜一十雪 404bfdd5e6 fix: #783 2025-02-08 17:00:11 +08:00
pk5ls20 d6848e2855 fix: #721 2025-02-05 08:07:58 +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
手瓜一十雪 a7ee21bfd8 fix: #757 2025-02-04 14:34:55 +08:00
手瓜一十雪 790809e8e5 fix: thumb残留 2025-02-03 14:09:51 +08:00
手瓜一十雪 b32d4b618c fix: 必须清理并回收 2025-02-03 11:40:58 +08:00