Commit Graph
100 Commits
Author SHA1 Message Date
手瓜一十雪 7bddf9e0bb Improve release note generation in workflow
Enhances the release note generation step to compare commits between the previous and current tags, includes commit bodies and authors, and formats output for better readability. Also adds more robust extraction and output handling for the generated release notes.
2025-11-13 18:53:19 +08:00
手瓜一十雪 f983815e3d Refactor auto-release workflow for clarity and reliability
Renamed workflow, improved job and step naming, and streamlined artifact zipping and release note generation. Switched to using softprops/action-gh-release for release creation and asset upload, removed manual commit list preparation, and enhanced error handling for release note generation. Updated permissions and environment variables for consistency.
2025-11-13 18:46:48 +08:00
手瓜一十雪 5622f5a04a feat: 自动化version打包 2025-11-13 18:31:55 +08:00
手瓜一十雪 7b65fa581a feat: 以后仅维护napCatVersion 2025-11-13 16:14:31 +08:00
手瓜一十雪 ce3e80160b Remove package-lock.json
Deleted the package-lock.json file, possibly to reset dependency lock state or switch package managers. Ensure to regenerate lock file if needed for consistent dependency management.
2025-11-13 16:12:00 +08:00
手瓜一十雪 de4a90f13b Switch build and release workflows to npm install
Replaces pnpm install with npm install --omit=dev in both framework and shell build steps for build and release workflows. Removes package-lock.json after installation to avoid including it in artifacts.
2025-11-13 15:57:05 +08:00
手瓜一十雪 6b780a57de Update pnpm install flags in CI workflows
Replaces '--production' with '--prod --shamefully-hoist' in build and release GitHub Actions workflows to improve dependency installation compatibility.
2025-11-13 15:53:37 +08:00
手瓜一十雪 31a94106f4 Update artifact paths in build and release workflows
Artifacts for NapCat.Framework and NapCat.Shell are now moved to 'framework-dist' and 'shell-dist' directories before upload. This change standardizes output locations and updates the upload paths accordingly in both build.yml and release.yml.
2025-11-13 15:49:11 +08:00
手瓜一十雪 6bec765fb1 Install pnpm globally in build and release workflows
Added 'npm i -g pnpm' to both build and release GitHub Actions workflows to ensure pnpm is available before running installation and build commands.
2025-11-13 15:42:05 +08:00
手瓜一十雪 ed19c52f25 refactor: 整体重构 (#1381)
* feat: pnpm new

* Refactor build and release workflows, update dependencies

Switch build scripts and workflows from npm to pnpm, update build and artifact paths, and simplify release workflow by removing version detection and changelog steps. Add new dependencies (silk-wasm, express, ws, node-pty-prebuilt-multiarch), update exports in package.json files, and add vite config for napcat-framework. Also, rename manifest.json for framework package and fix static asset copying in shell build config.
2025-11-13 15:39:42 +08:00
手瓜一十雪 c3d1892545 feat: 正式终止once支持 2025-11-13 11:22:46 +08:00
Mlikiowa e926803d14 release: v4.9.42 2025-11-13 02:48:59 +00:00
手瓜一十雪 aa01c5ab6f fix: #1380 2025-11-13 10:47:40 +08:00
Mlikiowa 8a9795296d release: v4.9.41 2025-11-13 01:28:44 +00:00
手瓜一十雪 67013f37d4 Add new app, packet, and native mappings for 42086 builds
Updated appid.json, packet.json, and napi2native.json to include mappings for new 42086 builds across multiple platforms. Added sendMsfRequest method to NodeIKernelMSFService interface and made minor formatting improvements. Commented out a debug method in NodeIDependsAdapter.
2025-11-13 09:28:17 +08:00
手瓜一十雪 b39de5e88a fix: #1367 2025-11-12 13:50:35 +08:00
Mlikiowa 680432bb81 release: v4.9.40 2025-11-12 05:38:39 +00:00
手瓜一十雪 86496b156f feat: png video截图 2025-11-12 13:38:08 +08:00
手瓜一十雪 7ff40ae8fa Fix busiId comparison in parsePrivateMsgEvent
Ensure busiId is compared as a string in parsePrivateMsgEvent to handle cases where busiId may not be a string type. This prevents potential mismatches due to type differences.
2025-11-12 12:54:09 +08:00
Mlikiowa 27ad435fb2 release: v4.9.38 2025-11-12 04:20:16 +00:00
手瓜一十雪 0dbb92ddda fix 2025-11-12 12:19:39 +08:00
手瓜一十雪 09324ac46c Add success log messages to packet handler
Added log statements to indicate successful loading and initialization in NativePacketHandler. This improves traceability and debugging by providing clear feedback in the logs.
2025-11-12 12:04:48 +08:00
手瓜一十雪 64f23dd740 Add platform and arch to native module path
Prepends process.platform and process.arch to the native MoeHoo module filename, ensuring the correct binary is loaded for the current environment.
2025-11-12 12:00:36 +08:00
手瓜一十雪 8eac0be86a Improve native packet handler loading and error checks
Adds a 'loaded' flag to track native module loading status and improves error handling during initialization. The constructor now attempts to load the native module and logs warnings or errors if loading fails, while the init method checks the loaded status before proceeding.
2025-11-12 11:59:06 +08:00
Mlikiowa 1b82fa0139 release: v4.9.36 2025-11-11 12:30:58 +00:00
手瓜一十雪 03649a54da Update native MoeHoo binaries for Linux
Replaces MoeHoo.linux.arm64.node and MoeHoo.linux.x64.node with new versions. This may include bug fixes, performance improvements, or compatibility updates for the native packet module.
2025-11-11 20:30:33 +08:00
Mlikiowa 97c836efeb release: v4.9.35 2025-11-10 04:04:07 +00:00
手瓜一十雪 ab7a9b6b0a Add Linux native modules for arm64 and x64
Added prebuilt native binaries MoeHoo.linux.arm64.node and MoeHoo.linux.x64.node to support Linux on arm64 and x64 architectures.
2025-11-10 12:03:42 +08:00
手瓜一十雪 c8f04cb66a Remove Linux native packet binaries
Deleted MoeHoo.linux.arm64.node and MoeHoo.linux.x64.node from src/native/packet. These binaries are no longer needed or are being replaced.
2025-11-10 12:02:58 +08:00
手瓜一十雪 d1d97256d6 Update MoeHoo.linux.x64.node binary
Replaces the MoeHoo.linux.x64.node native module with a new version. Details of the changes depend on the updated binary implementation.
2025-11-10 12:02:45 +08:00
Mlikiowa 86ee2082e0 release: v4.9.33 2025-11-09 04:54:38 +00:00
手瓜一十雪 080e4d198f Add napiloader scripts and binaries, update Vite config
Introduces napiloader batch scripts and binaries (napiloader.dll, napimain.exe) for Windows integration. Updates vite.config.ts to include napiloader files in the Framework build output and refactors plugin target lists for improved distribution packaging.
2025-11-09 12:54:15 +08:00
Mlikiowa 6c27dddb55 release: v4.9.32 2025-11-08 04:26:49 +00:00
手瓜一十雪 ae5bd63748 Refactor FFmpeg file conversion logic and API
Unified file conversion in FFmpegAddonAdapter to use decodeAudioToFmt for all formats, updated FFmpeg interface and service to support new conversion method, and added adapter name checks in GetRecord and DownloadFileRecordStream for optimized conversion flow. Updated native addon binaries to support these changes.
2025-11-08 12:22:51 +08:00
Mlikiowa 6661934888 release: v4.9.30 2025-11-08 02:30:01 +00:00
手瓜一十雪 4a9aab0501 Update ffmpeg native binaries for all platforms
Replaces ffmpegAddon binaries for Darwin ARM64, Linux ARM64, Linux x64, and Windows x64 with new versions. Ensures compatibility and includes latest native changes.
2025-11-08 10:28:59 +08:00
Mlikiowa 558b8a7e28 release: v4.9.29 2025-11-07 12:01:08 +00:00
手瓜一十雪 8b21210c2b Improve error message for group notice image upload
Enhanced the error message when group notice image upload fails to include the error details from the upload API response.
2025-11-07 20:00:17 +08:00
手瓜一十雪 4996a605f0 Update NTQQ build version check to 41679
Changed the minimum NTQQ build version required for buddy list operations from 40990 to 41679 in NTQQFriendApi. Ensures compatibility with newer NTQQ builds.
2025-11-07 19:57:07 +08:00
手瓜一十雪 3faa055ed1 Update getBuddyV2ExWithCate for NTQQ build compatibility
Modified getBuddyV2ExWithCate to conditionally call getBuddyListV2 with an extra boolean argument for NTQQ builds >= 40990, ensuring compatibility with different API signatures.
2025-11-07 19:50:11 +08:00
Mlikiowa 6f264ba2ba release: v4.9.28 2025-11-07 11:35:58 +00:00
手瓜一十雪 b3052e9c5d feat: 修复一些问题 2025-11-07 19:35:35 +08:00
手瓜一十雪 66b96b643a fix: buddylist 2025-11-07 19:29:39 +08:00
Mlikiowa ad4d228353 release: v4.9.27 2025-11-07 09:05:14 +00:00
手瓜一十雪 ba6a4b6b0f Update ffmpeg native binaries for all platforms
Replaces ffmpegAddon binaries for Darwin ARM64, Linux ARM64, Linux x64, and Windows x64 with new versions. Ensures compatibility and includes latest native changes.
2025-11-07 17:04:29 +08:00
手瓜一十雪 6a08a709de Update ffmpeg native binaries for all platforms
Replaces ffmpegAddon binaries for Darwin ARM64, Linux ARM64, Linux x64, and Windows x64. Ensures compatibility and includes latest native code updates.
2025-11-07 12:54:36 +08:00
Mlikiowa 42a70e73b4 release: v4.9.26 2025-11-06 15:15:20 +00:00
手瓜一十雪 e8e41f573b feat: add Node NapCat Test 2025-11-06 17:57:57 +08:00
手瓜一十雪 18451e61be feat: support node test 2025-11-06 10:57:54 +08:00
手瓜一十雪 96399f0da4 Remove development guide from README
Deleted the section detailing code checks and TypeScript error notes prior to code submission. This streamlines the README and removes internal development instructions.
2025-11-05 12:24:21 +08:00
Mlikiowa c8a8739633 release: v4.9.25 2025-11-04 13:55:32 +00:00
手瓜一十雪 6fd9b0408d Add send and recv mappings for 3.2.21-41857-arm64
Updated napi2native.json to include the 'send' and 'recv' addresses for the 3.2.21-41857-arm64 version, which were previously missing.
2025-11-04 21:55:09 +08:00
手瓜一十雪 45c2695abd Add support for 41857 app versions and update mappings
Added new entries for version 41857 in appid.json, napi2native.json, and packet.json for Windows, Linux, and Mac platforms. Updated mappings for send/recv addresses to support the latest application versions.
2025-11-04 21:23:41 +08:00
Mlikiowa d8c6ffa7b6 release: v4.9.24 2025-11-04 09:53:36 +00:00
Mlikiowa 4733dd2d16 release: v4.9.23 2025-11-03 15:18:57 +00:00
手瓜一十雪 0a24afb568 Refactor busiId type and comparisons in group API
Changed the type of jsonGrayTipElement.busiId to always be a string in element types. Updated related group API logic to compare busiId as a string directly, improving type consistency and reducing unnecessary conversions.
2025-11-03 23:18:34 +08:00
Mlikiowa cddb0b7f2f release: v4.9.22 2025-11-03 15:13:03 +00:00
手瓜一十雪 c7ad0212cf Enhance GrayTip JSON event handling and types
Added the XmlToJsonParam interface and extended the GrayTipElement type to support additional JSON event fields. Updated group API logic to handle busiId as string or number and improved event type checks for robustness.
2025-11-03 23:11:48 +08:00
手瓜一十雪 42a7771f84 Refactor Store to use per-key timers for expiration
Simplifies the Store implementation by removing batch expiration scanning and using per-key setTimeout timers for key expiration. This change improves code clarity and ensures more precise key expiration handling.
2025-11-03 17:06:44 +08:00
Mlikiowa c9b1d3fafa release: v4.9.21 2025-11-02 13:33:28 +00:00
手瓜一十雪 365f217741 fix: 修复 linux 音频转换问题 2025-11-02 21:33:03 +08:00
Mlikiowa bb8814e777 release: v4.9.20 2025-11-02 03:30:09 +00:00
手瓜一十雪 37bbcbdb98 Update appid, packet, and napi2native configs for 41785
Added new entries for version 41785 in appid.json, napi2native.json, and packet.json to support updated app and protocol versions. Also updated the napi2native.darwin.arm64.node binary to match the new version.
2025-11-02 11:29:45 +08:00
Mlikiowa 47805276da release: v4.9.19 2025-11-01 15:23:54 +00:00
手瓜一十雪 8413edb78d Refactor PCM conversion to return result and sample rate
Updated the FFmpeg adapter interfaces and implementations so that PCM conversion methods now return an object containing the conversion result and sample rate, instead of a Buffer. Adjusted audio processing logic to accommodate this change and improved error logging. Updated native ffmpeg addon binaries.
2025-11-01 23:23:15 +08:00
手瓜一十雪 793a7491e6 Add storeID and otherBusinessInfo to PttElement
Extended the PttElement interface and related code to include storeID and otherBusinessInfo fields, supporting additional metadata for PTT elements. Also fixed minor formatting issues in function parameter spacing.
2025-11-01 22:49:21 +08:00
手瓜一十雪 b30fc0c863 Throw original error in sendMsg method
Replaces the re-throwing of a new Error with the original error object in the sendMsg method, preserving the original error stack and type for better debugging.
2025-11-01 22:32:26 +08:00
Mlikiowa 62fa407530 release: v4.9.18 2025-11-01 13:54:19 +00:00
手瓜一十雪 f7bbb89c5b Add message sequence support for emoji like events
Updated group API and OB11GroupMsgEmojiLikeEvent to include an optional message sequence (msgSeq/messageSeq) parameter. This allows more precise identification of messages when handling emoji like events in group chats.
2025-11-01 21:53:53 +08:00
手瓜一十雪 516500f1b2 feat: 支持不是自己的表情回应 2025-11-01 21:00:34 +08:00
Mlikiowa 726603acbc release: v4.9.17 2025-11-01 10:43:55 +00:00
手瓜一十雪 f1e97dcd8d feat: arm64 enable neon 2025-11-01 18:43:30 +08:00
Mlikiowa 5cfd010345 release: v4.9.16 2025-11-01 08:19:18 +00:00
手瓜一十雪 5ab493c4af Update napi2native mappings for new and existing versions
Added mappings for versions 6.9.82-40824-arm64 and 6.9.82-40768-arm64. Updated 'send' addresses for versions 6.9.82-40990-arm64 and 6.9.83-41679-arm64 to reflect new offsets.
2025-11-01 16:18:51 +08:00
手瓜一十雪 012f901315 Update native Linux ARM64 binary
Replaced the napi2native.linux.arm64.node binary with a new version. This may include bug fixes, performance improvements, or compatibility updates for ARM64 Linux systems.
2025-11-01 16:14:18 +08:00
Mlikiowa fb58c03da1 release: v4.9.15 2025-11-01 06:08:11 +00:00
手瓜一十雪 b92f785ac8 Improve error handling in NCoreInitShell session creation
Refactored session creation logic to add nested try-catch blocks. Now logs specific errors for both StartupSession and Session creation failures, and throws if session creation fails.
2025-11-01 11:11:10 +08:00
Mlikiowa b677b2e1ad release: v4.9.14 2025-10-31 08:53:45 +00:00
手瓜一十雪 a9aa12c9d4 Update ffmpeg native binaries for Linux
Replaced ffmpegAddon.linux.arm64.node and ffmpegAddon.linux.x64.node with new versions. This likely includes bug fixes, performance improvements, or compatibility updates for the native ffmpeg bindings.
2025-10-31 16:53:11 +08:00
Mlikiowa 659d97e295 release: v4.9.13 2025-10-31 07:15:49 +00:00
手瓜一十雪 b0f7b4f5ee re: glibc 2025-10-31 15:12:46 +08:00
Mlikiowa e68234a77a release: v4.9.11 2025-10-31 06:43:40 +00:00
手瓜一十雪 e0fd90296c feat: 适配41697 2025-10-31 14:42:46 +08:00
Mlikiowa 5848d6b8a2 release: v4.9.10 2025-10-31 04:38:12 +00:00
手瓜一十雪 d0e3056a9b Add new version mappings to external JSON configs
Updated appid.json, napi2native.json, and packet.json to include new version entries for 6.8.83-41679, 6.9.82-40990-arm64, and 6.9.83-41679-arm64. These changes add support for additional client versions and architectures.
2025-10-31 12:37:42 +08:00
手瓜一十雪 b300d09575 Update qqnt.json to version 9.9.22-40990
Bumped version, verHash, linuxVersion, linuxVerHash, and buildVersion fields in qqnt.json to reflect the new release 9.9.22-40990.
2025-10-31 00:11:28 +08:00
Mlikiowa b82d63bd76 release: v4.9.9 2025-10-30 16:08:57 +00:00
手瓜一十雪 a3b4573c00 Add napi2native mapping for 9.9.23-41679-x64
Introduced new send and recv address mappings for version 9.9.23-41679-x64 in napi2native.json.
2025-10-31 00:08:26 +08:00
手瓜一十雪 6fd0709f5e Update session instantiation and appid format
Changed session creation to use the constructor instead of the create() method in base.ts. Updated the appid.json key format from '9.9.23.41679' to '9.9.23-41679'. Added a constructor signature to NodeIQQNTWrapperSession interface. Updated NapCatWinBootHook.dll binary.
2025-10-31 00:06:31 +08:00
Mlikiowa 562bb353ec release: v4.9.8 2025-10-30 14:28:31 +00:00
手瓜一十雪 903a2efee1 Add entries for version 9.9.23.41679 in appid and packet
Updated appid.json and packet.json to include new entries for version 9.9.23.41679, specifying appid, qua, and packet send/recv values for the new version.
2025-10-30 22:24:05 +08:00
手瓜一十雪 a9ad9a0d3b Fix addon path resolution and error handling
Corrects the construction of the ffmpeg addon filename and improves error handling when the addon is not found. Also simplifies the isAvailable method by removing redundant existence checks.
2025-10-30 22:13:57 +08:00
Mlikiowa cd76f6194f release: v4.9.7 2025-10-30 13:56:19 +00:00
手瓜一十雪 4e6e1ecca4 Comment out packet logging in initialization
Disabled the console logging of all packets in both NCoreInitFramework and NCoreInitShell by commenting out the nativePacketHandler.onAll debug statements. This reduces console noise during normal operation.
2025-10-30 21:55:50 +08:00
Mlikiowa 19dc97bd18 release: v4.9.6 2025-10-30 13:49:11 +00:00
手瓜一十雪 bac32453d3 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2025-10-30 21:44:59 +08:00
手瓜一十雪 7a0e5d8997 Update native binaries for all major platforms
Rebuilt and replaced the napi2native.node binaries for Darwin ARM64, Linux ARM64, Linux x64, and Windows x64. This likely includes bug fixes, performance improvements, or compatibility updates in the native module.
2025-10-30 21:44:43 +08:00
Mlikiowa b5dec0b583 release: v4.9.4 2025-10-30 13:40:21 +00:00
手瓜一十雪 647f0fc03d Replace console.error with console.log in error handler
Changed error logging in FFmpegAddonAdapter from console.error to console.log when addon loading fails.
2025-10-30 21:39:17 +08:00
手瓜一十雪 2a67453e3a 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.
2025-10-30 12:35:15 +08:00