Commit Graph
167 Commits
Author SHA1 Message Date
手瓜一十雪 458d22223c fix: 简化代码 2025-10-29 21:37:55 +08:00
手瓜一十雪 55ef040852 Remove baseClient and simplify packet client selection
Deleted baseClient.ts and moved its logic into nativeClient.ts, making NativePacketClient a standalone class. Refactored PacketClientContext to always use NativePacketClient, removing support for multiple packet backends and related selection logic. Updated binary for napi2native.win32.x64.node.
2025-10-29 21:24:28 +08:00
手瓜一十雪 6778bd69de feat: new napcat-4.9.0-beta 2025-10-29 20:35:58 +08:00
手瓜一十雪 f9c9b3a852 Add native module loading and improve logging
Loaded a native module in NTQQGroupApi and added test calls to sendSsoCmdReqByContend with different parameter types. Changed fileLog default to true in config. Enhanced NativePacketClient with detailed send/receive logging. Updated NodeIKernelMsgService to accept unknown type for sendSsoCmdReqByContend param. Added process PID logging in napcat shell.
2025-10-26 20:05:21 +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
手瓜一十雪 1d08966571 feat: #1179 2025-08-24 15:50:08 +08:00
手瓜一十雪 304a0dda3e feat: 初步验证win 36580
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
2025-06-26 18:30:06 +08:00
手瓜一十雪 a83652bf3f feat: 更优美的代码 2025-05-18 20:55:11 +08:00
手瓜一十雪 e9936c5524 fix 2025-05-18 20:42:03 +08:00
手瓜一十雪 3f60440e72 fix 2025-05-18 20:24:49 +08:00
手瓜一十雪 32bc0dd820 fix 2025-05-18 20:16:55 +08:00
手瓜一十雪 20d1ac9d01 fix: #1018 2025-05-18 20:15:38 +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
手瓜一十雪andCopilot 1791accab7 fix
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-07 20:51:12 +08:00
手瓜一十雪 4ef457fe6f feat: fileUrl Get 2025-05-07 18:10:49 +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
Clansty 31eb09edef feat: 重命名群文件 2025-04-08 05:14:53 +08:00
Clansty 68f5deedff feat: 移动群文件 2025-04-08 02:48:48 +08:00
手瓜一十雪 4fb8e6a4da fix: typo 2025-04-03 14:44:59 +08:00
手瓜一十雪 12eacd3530 feat: 移除ws 2025-03-21 20:54:59 +08:00
手瓜一十雪 030f0551fd feat: 移除部分淘汰代码 2025-03-21 20:47:38 +08:00
pk5ls20 073745030c fix: #843
- maybe a temporary solution
2025-03-16 20:07:47 +08:00
手瓜一十雪 122a9ca2cc feat: o3拦截
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-03 17:16:36 +08:00
手瓜一十雪 9accff7323 fix: ts warning 2025-02-23 17:28:30 +08:00
手瓜一十雪 95ea761b2d feat: get_private_file_url 2025-02-18 16:51:51 +08:00
pk5ls20 2c7b0625e8 chore: format 2025-02-09 01:35:37 +08:00
pk5ls20 c3a5da9be1 feat: #768 2025-02-09 01:33:56 +08:00
pk5ls20 5d389a2359 fix: fake forwardMsg construct
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-06 01:09:23 +08:00
手瓜一十雪 adb9cea701 Merge pull request #765 from NapNeko/fix/multi-forward-protocol-fetch
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
fix: #721
2025-02-05 19:08:08 +08:00
pk5ls20 fca90592d6 try fix: #755 2025-02-05 08:29:37 +08:00
pk5ls20 d6848e2855 fix: #721 2025-02-05 08:07:58 +08:00
手瓜一十雪 15854c605b style: 强类型大法 2025-02-02 23:22:21 +08:00
手瓜一十雪 ac193cc94a style: lint 2025-02-02 20:17:28 +08:00
Clansty 2a4b0cbc09 force resultId to string 2025-01-21 22:10:52 +08:00
Clansty c5434efd56 为新的接龙表情提供 resultId 和 chainCount 返回 2025-01-21 22:02:35 +08:00
pk5ls20 c8ee371982 feat: packet ocr 2025-01-12 10:13:12 +08:00
pk5ls20 5778daeb60 refactor: packet 2025-01-11 16:23:02 +08:00
pk5ls20 4b0a0f0a32 feat: #702 2025-01-10 15:23:40 +08:00
pk5ls20 b984116c35 fix: #677
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-12-31 21:34:45 +08:00
手瓜一十雪 8ed4cc4b0a feat: send_packet
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-12-26 20:36:53 +08:00
手瓜一十雪 15a640d1dc fix: #637 2024-12-20 18:55:30 +08:00
pk5ls20 0e0d4837b8 feat & fix: GetMiniAppArk 2024-12-14 06:56:23 +08:00
pk5ls20 218b7bd2a0 fix: #607
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-12-08 22:23:01 +08:00
手瓜一十雪 bf0c12f1c4 fix: #605
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-06 10:39:49 +08:00
手瓜一十雪 bb53f245cf style: lint check 2024-12-05 14:50:27 +08:00
手瓜一十雪 ddadd38151 refactor: GroupAdminChange 2024-12-03 21:42:08 +08:00
手瓜一十雪 1dc2f7e5a2 style: lint 2024-11-28 10:46:14 +08:00
手瓜一十雪 64530471a0 fix: GroupChange 2024-11-26 19:42:35 +08:00