Commit Graph
982 Commits
Author SHA1 Message Date
Mlikiowa 7e9d852617 release: v4.9.1 2025-10-30 05:10:56 +00:00
Mlikiowa 743de940df release: v4.9.0 2025-10-30 04:52:41 +00:00
手瓜一十雪andClansty e37fa59b8c feat: 4.9.0 New Capability (#1331)
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
* fix: get_group_info ownerUin is "0"

* 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.

* feat: new napcat-4.9.0-beta

* feat: Add FFmpeg native addon and TypeScript definitions

Introduced FFmpeg Node.js native addon binaries for multiple platforms (darwin-arm64, linux-arm64, linux-x64, win-x64) and added TypeScript type definitions for the addon interface, including video info extraction, duration detection, audio conversion, and PCM decoding.

* 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.

* Remove debug log for process PID in napcat.ts

Eliminated an unnecessary console.log statement that printed the process PID. This cleans up the output and removes leftover debugging code.

* fix: getQQBuildStr

* fix: 简化代码

* refactor: 大幅度调整send

* feat: ffmpeg enhance for native node addon

* Remove baseClient.ts from packet client module

Deleted the src/core/packet/client/baseClient.ts file, which contained the PacketClient class and related interfaces. This may be part of a refactor or cleanup to remove unused or redundant code.

* Remove 'bmp24' argument from getVideoInfo call

Updated the extractThumbnail method to call addon.getVideoInfo without the 'bmp24' argument, aligning with the updated addon API.

* refactor: 重构目录删除旧支持

* feat: raw包能力增强完成

* refactor: 规范化

* feat: packet能力增强

* feat: 9.9.22-40824 & 9.9.22-40768

* Refactor addon path resolution and rename Windows addon

Simplifies the logic for resolving the ffmpeg addon path by dynamically constructing the filename from process.platform and process.arch. Also renames the Windows x64 addon file to ffmpegAddon.win32.x64.node for consistency.

* Add mappings for 3.2.20 versions in napi2native.json

Added send and recv address mappings for 3.2.20-x64 and 3.2.20-arm64 builds to support additional versions in napi2native.json.

---------

Co-authored-by: Clansty <i@gao4.pw>
2025-10-30 12:50:45 +08:00
Mlikiowa 656bde25c8 release: v4.8.124 2025-10-22 13:12:25 +00:00
Mlikiowa 376245b749 release: v4.8.123 2025-10-21 15:06:10 +00:00
Mlikiowa 5b78dfbd5a release: v4.8.122 2025-10-16 13:28:29 +00:00
手瓜一十雪 1e461aae3c Merge branch 'main' of https://github.com/NapNeko/NapCatQQ
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-10-16 21:13:54 +08:00
手瓜一十雪 42abc2b9cb fix: #1286 2025-10-16 21:13:50 +08:00
Mlikiowa 4f8c320658 release: v4.8.121 2025-10-15 14:31:35 +00:00
Mlikiowa 8e6da5e2d0 release: v4.8.120 2025-10-14 12:33:43 +00:00
手瓜一十雪 02980c4d1a feat: Update QQ version data and add macOS ARM64 native module
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 qqnt.json, appid.json, and offset.json to support QQ version 9.9.22-40768 and related Linux/macOS versions. Modified calcQQLevel in helper.ts to remove penguinNum from calculation. Added MoeHoo.darwin.arm64.new.node for macOS ARM64 support and updated LiteLoaderWrapper.zip binary.
2025-10-14 20:32:41 +08:00
风小七 315d847f06 Update helper.ts (#1311)
修复256级以后等级清零的问题。
2025-10-12 20:36:31 +08:00
Mlikiowa 2afdb2a0da release: v4.8.119 2025-10-03 04:36:00 +00:00
Mlikiowa a775a0dde9 release: v4.8.118 2025-10-03 04:34:56 +00:00
Mlikiowa 77c8f874b6 release: v4.8.117 2025-10-03 04:21:22 +00:00
Mlikiowa e0eb625b75 release: v4.8.116 2025-09-20 08:20:05 +00:00
Mlikiowa 74de3d9100 release: v4.8.115 2025-09-20 07:57:47 +00:00
Mlikiowa 84d3dc9f40 release: v4.8.114 2025-09-16 15:24:25 +00:00
Mlikiowa bcc7d25b64 release: v4.8.113 2025-09-13 05:51:02 +00:00
Mlikiowa 0e9aa43476 release: v4.8.112 2025-09-12 14:15:08 +00:00
Mlikiowa 69c5b78678 release: v4.8.111 2025-09-12 11:19:26 +00:00
Mlikiowa 5e6b607ded release: v4.8.110 2025-09-11 05:15:29 +00:00
Mlikiowa 44200a2208 release: v4.8.109 2025-09-08 08:11:05 +00:00
Mlikiowa fa8e6f2c59 release: v4.8.108 2025-09-07 05:57:27 +00:00
Mlikiowa cf1765f5a4 release: v4.8.107 2025-09-07 05:48:15 +00:00
Mlikiowa 12b8130372 release: v4.8.106 2025-09-06 03:53:33 +00:00
Mlikiowa a0f3d66607 release: v4.8.105 2025-09-02 14:33:33 +00: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
手瓜一十雪 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
Mlikiowa dc87615bd6 release: v4.8.104 2025-09-02 08:32:22 +00:00
Mlikiowa aa6699d06e release: v4.8.103 2025-08-31 13:32:47 +00:00
Mlikiowa 994e8ced3e release: v4.8.102 2025-08-26 06:59:25 +00:00
Mlikiowa 84b89de2a6 release: v4.8.101 2025-08-25 11:05:45 +00:00
Mlikiowa a38419e3cb release: v4.8.100 2025-08-25 07:51:18 +00:00
Mlikiowa 5c6d1e6a14 release: v4.8.99 2025-08-24 06:02:30 +00:00
Mlikiowa 120e6db119 release: v4.8.98 2025-08-17 15:35:05 +00:00
Mlikiowa 31494b4687 release: v4.8.97 2025-08-17 14:59:12 +00:00
Mlikiowa 2d315c4d8e release: v4.8.96 2025-08-15 11:17:15 +00:00
手瓜一十雪 0d251a9343 Remove performance CLI and demo, fix typos, update proto
Deleted the performance CLI and demo files. Fixed a typo in getFullQQVesion to getFullQQVersion across multiple files. Changed the 'time' field type from UINT32 to UINT64 in Oidb.0x9067_202 proto. Commented out performanceMonitorPlugin in vite.config.ts. Removed an unimplemented log statement in NodeIKernelBuddyListener.
2025-08-06 19:57:36 +08:00
手瓜一十雪 69a19b0e32 Fix typo in getFullQQVersion method name
Corrected the method name from getFullQQVesion to getFullQQVersion in multiple locations to ensure consistency and prevent potential runtime errors.
2025-08-06 19:32:14 +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
手瓜一十雪 5abdc8c538 fix 2025-08-06 18:43:44 +08:00
Mlikiowa 9f0ba6d385 release: v4.8.95 2025-07-26 12:19:32 +00:00
Mlikiowa ef4c2a935c release: v4.8.94 2025-07-21 11:49:43 +00:00
手瓜一十雪 7330a05c78 fix 2025-07-11 19:28:01 +08:00
Mlikiowa a39c932868 release: v4.8.93 2025-07-09 11:21:08 +00:00
Mlikiowa 713eef592a release: v4.8.92 2025-07-07 12:47:57 +00:00
Mlikiowa 0c0b27901a release: v4.8.91 2025-07-07 12:41:15 +00:00
Mlikiowa d96174076a release: v4.8.90 2025-06-29 02:01:31 +00:00
Mlikiowa 57abd47d99 release: v4.7.85 2025-06-26 10:35:59 +00:00