手瓜一十雪
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.
v4.8.105
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
手瓜一十雪
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
手瓜一十雪
ff2cfcee97
Add appid and offset entries for new versions
...
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
Added appid and qua mappings for versions 3.2.19-39038 and 9.9.21-39038 in appid.json. Updated offset.json with send/recv offsets for these new versions and architectures (x64, arm64).
v4.8.104
2025-09-02 16:31:24 +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
手瓜一十雪
7ab44dcb34
Refactor video thumbnail generation logic
...
Moved video thumbnail generation to occur before custom thumbnail copying, ensuring fallback to default thumbnail only if video info retrieval fails. Also reordered rkeyManager URLs for consistency.
2025-09-02 09:35:56 +08:00
Mlikiowa
aa6699d06e
release: v4.8.103
2025-08-31 13:32:47 +00:00
手瓜一十雪
3cb51a17a6
Add new appid and offset entries for version 38960
...
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
Updated appid.json and offset.json to include new entries for versions 3.2.19-38960 and 9.9.21-38960, supporting both x64 and arm64 architectures.
v4.8.103
2025-08-31 21:32:15 +08:00
Mlikiowa
994e8ced3e
release: v4.8.102
2025-08-26 06:59:25 +00:00
手瓜一十雪
75d26465f1
Add group album media actions and API integration
...
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
Introduces new OneBot actions for group album media: listing, commenting, liking, and deleting. Adds supporting API methods and data structures for album media operations in NTQQWebApi and NodeIKernelAlbumService. Updates action router and index to register new actions.
v4.8.102
2025-08-26 14:58:11 +08:00
LgCookie
f5052935bd
fix: special char of token in webui url should be url encoded ( #1209 )
2025-08-26 08:37:39 +08:00
Mlikiowa
84b89de2a6
release: v4.8.101
2025-08-25 11:05:45 +00:00
手瓜一十雪
c4f9c4f630
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 Release / build-docker (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
v4.8.101
2025-08-25 19:05:13 +08:00
手瓜一十雪
c213cd6c3a
Merge branch 'main' of https://github.com/NapNeko/NapCatQQ
2025-08-25 19:04:31 +08:00
手瓜一十雪
9d22d6e3a0
Add NTQQ album list API and update related logic
...
Introduces getAlbumListByNTQQ to NTQQWebApi for retrieving group album lists via NTQQ. Updates NodeIKernelAlbumService interface for typed getAlbumList parameters and response. Refactors GetQunAlbumList action to use the new NTQQ API and return the correct album list format. Also fixes cookie and bkn usage in album-related methods for consistency.
2025-08-25 19:04:22 +08:00
Mlikiowa
a38419e3cb
release: v4.8.100
2025-08-25 07:51:18 +00:00
手瓜一十雪
a64779684e
fix #1171 && Improve message recall handling and cleanup
...
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
Changed recallMsg to return the result of the event call. Added a 5-second cache cleanup for recall events in DeleteMsg. Removed an unnecessary blank line in plugin.ts.
v4.8.100
2025-08-25 15:50:05 +08:00
手瓜一十雪
ecd7012eee
Remove redundant upload success log
...
Eliminated a logger statement that logged successful uploads in the NTQQWebApi class. This reduces unnecessary log output during chunked uploads.
2025-08-25 15:24:30 +08:00
手瓜一十雪
74a1011fcc
Refactor Qun album image upload logic
...
Reworked the group album image upload process to use a new slice-based upload method, replacing the previous chunked upload implementation. Updated related interfaces and removed unused chunk upload code for improved maintainability and clarity.
2025-08-25 14:45:52 +08:00
手瓜一十雪
d4b0a4acca
Simplify recall check for self-operated messages
2025-08-25 13:04:22 +08:00
手瓜一十雪
ac6e593315
Add cookie header to getAlbumList API request
...
The getAlbumList method in NTQQWebApi now includes a 'Cookie' header with skey, pskey, and uin for authentication. Updated GetQunAlbumList action to use the correct return type from NTQQWebApi.getAlbumList.
2025-08-24 20:39:07 +08:00
手瓜一十雪
b1e77b1658
feat: Add group album upload utilities and refactor API && close #1116
...
Introduces src/core/data/webapi.ts with utilities for chunked group album uploads, including session creation and chunk management. Refactors NTQQWebApi in webapi.ts to use these utilities, adds getAlbumList and uploadImageToQunAlbum methods, and improves upload logic for efficiency and maintainability.
2025-08-24 20:12:35 +08:00
手瓜一十雪
722c3554e9
feat: #1121 & Add cache cleaning for specific directories
...
Extended the CleanCache action to remove files from Pic, Ptt, Video, File, and log directories under the nt_data path. This improves cache management by ensuring these directories are also cleaned, with logging for successful and failed deletions. 增强缓存清理
2025-08-24 16:02:05 +08:00
手瓜一十雪
1d08966571
feat: #1179
2025-08-24 15:50:08 +08:00
手瓜一十雪
fb50ae7544
chore: Update LiteLoaderWrapper.zip binary && close #1169
...
Replaces the existing LiteLoaderWrapper.zip file with a new version. Details of the changes within the binary are not shown in this commit.
2025-08-24 15:18:49 +08:00
手瓜一十雪
ea695fc9e9
fix : #1171
2025-08-24 14:53:58 +08:00
Mlikiowa
5c6d1e6a14
release: v4.8.99
2025-08-24 06:02:30 +00:00
手瓜一十雪
b030c40853
feat: 38711
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
v4.8.99
2025-08-24 14:02:03 +08:00
子寻
d6782c35e2
fix: /get_msg interface returns group type message with group_name. ( #1205 )
2025-08-23 11:38:24 +08:00
Mlikiowa
120e6db119
release: v4.8.98
2025-08-17 15:35:05 +00:00
手瓜一十雪
fa10f8ce19
Fix typo in getFullQQVersion method call
...
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
Corrects the method name from getFullQQVesion to getFullQQVersion in the WebUiDataRuntime.setQQVersion call to ensure proper retrieval of QQ version information.
v4.8.98
2025-08-17 23:34:41 +08:00
Mlikiowa
31494b4687
release: v4.8.97
2025-08-17 14:59:12 +00:00
手瓜一十雪
857ed0f343
fix: error
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
v4.8.97
2025-08-17 22:58:30 +08:00
837951602
8133ff08a7
fix: offset.json ( #1193 )
...
fix win add lin x64
2025-08-17 17:31:24 +08:00
Mlikiowa
2d315c4d8e
release: v4.8.96
2025-08-15 11:17:15 +00: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
v4.8.96
2025-08-15 19:12:13 +08:00
手瓜一十雪
2735eb14bd
fix : #1191
2025-08-15 19:12:04 +08:00
dependabot[bot]
7afbc95eda
build(deps-dev): bump vite from 6.3.5 to 7.1.1 ( #1183 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 6.3.5 to 7.1.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.1.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 7.1.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-15 19:09:03 +08:00
dependabot[bot]
91bb83d8c1
build(deps-dev): bump @typescript-eslint/parser from 8.38.0 to 8.39.0 ( #1182 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.39.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-version: 8.39.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-15 19:08:57 +08:00
dependabot[bot]
55550790e4
build(deps-dev): bump @eslint/js from 9.32.0 to 9.33.0 ( #1185 )
...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) from 9.32.0 to 9.33.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/commits/v9.33.0/packages/js )
---
updated-dependencies:
- dependency-name: "@eslint/js"
dependency-version: 9.33.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-15 19:08:40 +08:00
dependabot[bot]
40221926a9
build(deps-dev): bump @sinclair/typebox from 0.34.35 to 0.34.38 ( #1187 )
...
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox ) from 0.34.35 to 0.34.38.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.34.35...0.34.38 )
---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
dependency-version: 0.34.38
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-15 19:08:30 +08:00
手瓜一十雪
d069374a95
Add explicit type annotations to AST traversal paths
...
Updated the performance monitor Vite plugin to add explicit type annotations to AST traversal callback parameters, improving type safety and clarity. Also removed a duplicate import in src/plugin/index.ts.
2025-08-15 19:02:53 +08:00
手瓜一十雪
1183fe2057
Merge branch 'main' of https://github.com/NapNeko/NapCatQQ
2025-08-15 19:00:57 +08:00
手瓜一十雪
f4605d4f74
Add appid and offset entries for new versions
...
Added appid and qua for versions 9.9.21-38503 and 3.2.19-38503 in appid.json. Added send and recv offsets for 9.9.21-38503 in offset.json to support new application versions.
2025-08-15 18:57:43 +08:00
dependabot[bot]
3ce3fb685b
build(deps-dev): bump @eslint/js from 9.31.0 to 9.32.0 ( #1160 )
...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) from 9.31.0 to 9.32.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/commits/v9.32.0/packages/js )
---
updated-dependencies:
- dependency-name: "@eslint/js"
dependency-version: 9.32.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 20:39:28 +08:00
dependabot[bot]
07c2f7371f
build(deps-dev): bump esbuild from 0.25.5 to 0.25.8 ( #1159 )
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.25.5 to 0.25.8.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.5...v0.25.8 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-version: 0.25.8
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 20:39:14 +08:00
囧囧JOJO and Copilot
114aae98a9
feat: 添加可选参数 'count' 到 SetGroupAddRequest 以支持动态获取通知数量( #1113 补充) ( #1146 )
...
* feat: 添加可选参数 'count' 到 SetGroupAddRequest 以支持动态获取通知数量(#1113 补充)
* feat: 设置 SetGroupAddRequest 中 'count' 的默认值为 100
* Update src/onebot/action/group/SetGroupAddRequest.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-06 20:38:57 +08:00
dependabot[bot]
0bd6548f45
build(deps): bump ws from 8.18.2 to 8.18.3 ( #1157 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.18.2 to 8.18.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.18.2...8.18.3 )
---
updated-dependencies:
- dependency-name: ws
dependency-version: 8.18.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 20:38:41 +08:00