Commit Graph

3255 Commits

Author SHA1 Message Date
手瓜一十雪
25ff49e683 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2025-08-15 19:00:57 +08:00
手瓜一十雪
c436cc91b9 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
囧囧JOJO
5c4e161434 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
手瓜一十雪
11308d9e01 Pr enhance (#1176)
* fix

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

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

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

* Comment out default plugin adapter registration

The default registration of OB11PluginAdapter in NapCatOneBot11Adapter was commented out, likely to prevent automatic plugin loading or to allow for more flexible plugin management. Also, removed an unnecessary blank line in the plugin_onmessage function.

* fix

* Add shell-analysis mode with performance monitoring

Introduces a new .env.shell-analysis file and a dev:shell-analysis npm script for building in shell-analysis mode. Updates vite.config.ts to support the new mode, enabling the performance monitor plugin with an updated exclude list. Also extends the plugin's exclude patterns to filter out 'packet' files.

* Delete performance-api.ts

* Add commented export for performance-monitor

Added a commented-out export statement for '@/common/performance-monitor' in napcat.ts, possibly for future use or reference. No functional changes to the file.
2025-08-06 20:37:45 +08:00
手瓜一十雪
d0a1ea82bb 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
手瓜一十雪
958a6b58bc 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
手瓜一十雪
d498513bda 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
手瓜一十雪
7f08d62b5b fix 2025-08-06 18:43:44 +08:00
Mlikiowa
beb189bd49 release: v4.8.95 2025-07-26 12:19:32 +00:00
手瓜一十雪
f1db0be1ce Add new appid and offset entries for version 37625
Updated appid.json and offset.json to include new entries for versions 9.9.20-37625 and 3.2.18-37625, supporting both x64 and arm64 architectures.
2025-07-26 20:19:04 +08:00
Mlikiowa
c5477929c2 release: v4.8.94 2025-07-21 11:49:43 +00:00
手瓜一十雪
82763cac49 feat: 添加新的appid和offset配置以支持版本9.9.20-37475和3.2.18-37475 2025-07-21 19:48:59 +08:00
手瓜一十雪
0450c708b5 fix 2025-07-11 19:28:01 +08:00
Mlikiowa
b048ccba36 release: v4.8.93 2025-07-09 11:21:08 +00:00
手瓜一十雪
8771d53521 Add support for 3.2.18-37051 and 9.9.20-37051 versions
Updated appid.json and offset.json to include new entries for versions 3.2.18-37051 and 9.9.20-37051, including their respective app IDs, QUA values, and offset mappings for x64 and arm64 architectures.
2025-07-09 19:06:47 +08:00
Mlikiowa
bec33923e1 release: v4.8.92 2025-07-07 12:47:57 +00:00
囧囧JOJO
7a084d51f6 feat: 向 /get_system_msg 添加可选参数 'count' (#1113)
* feat: Add the optional parameter "count" to /get_system_msg

* Refactor GetGroupSystemMsg to use TypeBox schema

Introduced TypeBox for payload validation in GetGroupSystemMsg, replacing manual count handling with a schema-based approach. Updated the handler to use the new payload type and schema, improving type safety and input validation.

---------

Co-authored-by: 手瓜一十雪 <nanaeonn@outlook.com>
2025-07-07 20:46:26 +08:00
Mlikiowa
9a2ba76d83 release: v4.8.91 2025-07-07 12:41:15 +00:00
手瓜一十雪
cbc3628cc7 feat: 37012 2025-07-07 20:40:36 +08:00
Mlikiowa
c53a8e9be9 release: v4.8.90 2025-06-29 02:01:31 +00:00
手瓜一十雪
f0ab3075e4 feat: Add new Linux native modules for arm64 and x64
Added MoeHoo.linux.arm64.new.node and MoeHoo.linux.x64.new.node binaries to support native packet functionality on both ARM64 and x64 Linux platforms.
2025-06-29 09:58:32 +08:00
Mlikiowa
439ea3cf1f release: v4.7.85 2025-06-26 10:35:59 +00:00
Mlikiowa
41b38eb84e release: v4.7.81 2025-06-26 10:32:56 +00:00
Mlikiowa
4527a6d285 release: v4.7.80 2025-06-26 10:30:32 +00:00
手瓜一十雪
5797774123 feat: 初步验证win 36580 2025-06-26 18:30:06 +08:00
手瓜一十雪
119e4a310e feat: 36580 2025-06-26 17:06:37 +08:00
时瑾
e17e96957d fix: 优化get_group_ignored_notifies接口返回值 2025-06-12 20:14:11 +08:00
时瑾
e09341b344 feat: get_collection_list 2025-06-12 13:28:31 +08:00
时瑾
15b77e3e15 feat: get_group_ignore_add_request 2025-06-12 13:23:22 +08:00
Mlikiowa
81c1ad5a2f release: v4.7.78 2025-06-12 04:30:05 +00:00
手瓜一十雪
a600e6593b fix: 35951 2025-06-12 12:29:14 +08:00
时瑾
a949413bb9 fix: 修正部分接口的参数、返回值,提高兼容性 (#1072)
* fix: 修正`get_group_system_msg` `get_group_honor_info`接口返回值 提升兼容性

* fix: `create_group_file_folder` 接口兼容性提升
2025-06-11 12:37:29 +08:00
Mlikiowa
54bf0dd615 release: v4.7.77 2025-06-10 06:28:20 +00:00
手瓜一十雪
5048a21cb1 fix: #1051 2025-06-10 14:27:50 +08:00
手瓜一十雪
4d38cd1225 feat: 35951 2025-06-10 13:19:19 +08:00
手瓜一十雪
2235d831ff fix: #1049 2025-06-10 13:05:36 +08:00
手瓜一十雪
718cfbfb2e fix: #1058 2025-06-10 12:54:29 +08:00
时瑾
ed8e67b21d fix: 转发消息接口返回值兼容gocq (#1066) 2025-06-09 10:02:27 +08:00
lzw
5d8d949219 chore: add host in listen log
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-06-05 12:59:01 +08:00
Lan Zongwei
a3363f7621 fix: fix missing host in onebot http-server listen 2025-06-05 12:59:01 +08:00
Mlikiowa
73ac836cd2 release: v4.7.76 2025-05-29 13:58:02 +00:00
手瓜一十雪
ea1b915ac7 fix: #1048 2025-05-29 21:15:07 +08:00
手瓜一十雪
650251bb84 fix: 支持registerCallback 2025-05-29 20:45:35 +08:00
手瓜一十雪
17bb15ed5c feat: nativeLoader功能预备 2025-05-29 14:39:09 +08:00
Mlikiowa
09bab80533 release: v4.7.75 2025-05-26 12:19:44 +00:00
手瓜一十雪
aa6344a2b2 fix: #1043 2025-05-26 19:58:50 +08:00
手瓜一十雪
fb5263abf6 Merge pull request #1041 from Neboer/main
允许使用环境变量指定napcat工作路径。
2025-05-26 14:41:01 +08:00
Mlikiowa
b0d00fbb9e release: v4.7.74 2025-05-26 05:57:44 +00:00
手瓜一十雪
22e3840f8b Revert "fix: #1038"
This reverts commit 8fbb15bb5e.
2025-05-26 13:56:48 +08:00
手瓜一十雪
8c9e42bd7f Revert "fix: #1039"
This reverts commit 593aa90102.
2025-05-26 13:56:14 +08:00
Neboer
97b495128b 修改环境变量名字NAPCAT_WRITEPATH为NAPCAT_WORKDIR 2025-05-26 05:36:07 +00:00
Neboer
a5bb3f5014 允许使用NAPCAT_WRITEPATH环境变量指定napcat工作路径。 2025-05-26 04:59:20 +00:00
Mlikiowa
4428b5a147 release: v4.7.73 2025-05-26 03:52:01 +00:00
手瓜一十雪
0900910f5a Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2025-05-26 11:51:35 +08:00
手瓜一十雪
539e39a0a5 fix: remove debug 2025-05-26 11:51:25 +08:00
Mlikiowa
37e3db18dd release: v4.7.72 2025-05-26 03:51:12 +00:00
手瓜一十雪
a404247aa9 fix: #1040 2025-05-26 11:50:45 +08:00
手瓜一十雪
593aa90102 fix: #1039 2025-05-26 10:58:01 +08:00
Mlikiowa
86e17f7399 release: v4.7.70 2025-05-25 08:56:20 +00:00
手瓜一十雪
8fbb15bb5e fix: #1038 2025-05-25 16:55:32 +08:00
手瓜一十雪
6047a5aaaa fix 2025-05-25 16:30:15 +08:00
手瓜一十雪
493bf58a53 fix: #1031 2025-05-25 16:18:50 +08:00
手瓜一十雪
3b65724af8 feat: #1031 2025-05-25 16:09:06 +08:00
手瓜一十雪
417a9c7cf4 feat: createGrayTip 2025-05-23 17:22:07 +08:00
Mlikiowa
fe3101372e release: v4.7.68 2025-05-22 03:48:00 +00:00
手瓜一十雪
e1f3a393d5 fix: #1029 2025-05-22 11:47:31 +08:00
手瓜一十雪
111fa0ca0b fix: #1027 2025-05-22 11:33:23 +08:00
Mlikiowa
e596211c64 release: v4.7.67 2025-05-21 04:59:16 +00:00
Mlikiowa
ea4a4feff2 release: v4.7.66 2025-05-21 04:53:55 +00:00
手瓜一十雪
38d130fcfe feat: 35341 2025-05-21 12:53:21 +08:00
Mlikiowa
be2ddeae60 release: v4.7.65 2025-05-18 14:32:18 +00:00
手瓜一十雪
f2e7ecf7aa Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2025-05-18 20:59:17 +08:00
手瓜一十雪
7383dc011c fix 2025-05-18 20:59:11 +08:00
Mlikiowa
fd3a4ce940 release: v4.6.65 2025-05-18 12:58:07 +00:00
手瓜一十雪
dc0b1d977d fix 2025-05-18 20:57:41 +08:00
手瓜一十雪
128ff1f847 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2025-05-18 20:55:13 +08:00
手瓜一十雪
3d6cf7be08 feat: 更优美的代码 2025-05-18 20:55:11 +08:00
Mlikiowa
cb9c7de1c8 release: v4.7.64 2025-05-18 12:49:37 +00:00
手瓜一十雪
1c3b5060c9 fix 2025-05-18 20:42:03 +08:00
手瓜一十雪
03e82f863a fix 2025-05-18 20:24:49 +08:00
手瓜一十雪
8b85c5a4d5 fix 2025-05-18 20:19:53 +08:00
手瓜一十雪
b99e60a258 fix 2025-05-18 20:16:55 +08:00
手瓜一十雪
86d01c77b4 fix: #1018 2025-05-18 20:15:38 +08:00
手瓜一十雪
d46f129b74 feat: 隔离context传递 避免高并发干扰一个实例 2025-05-18 19:21:14 +08:00
手瓜一十雪
9087b4c5db fix: readonly 2025-05-18 19:02:31 +08:00
手瓜一十雪
2684d483b8 fix: readonly 2025-05-18 19:01:57 +08:00
手瓜一十雪
a175eac29a fix: readonly 2025-05-18 18:58:27 +08:00
手瓜一十雪
1c7b2c9b4d fix: 字面量
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-18 18:56:59 +08:00
手瓜一十雪
6417701780 fix: 别名
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-18 18:55:56 +08:00
手瓜一十雪
650fe6cc84 fix: override
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-05-18 18:53:01 +08:00
手瓜一十雪
45fab2ebd5 fix: override
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-05-18 18:52:07 +08:00
Nepenthe
eb8ec6670e 增加抽象类,修改继承关系 2025-05-18 18:32:23 +08:00
Mlikiowa
ffbd687ead release: v4.7.63 2025-05-17 05:09:36 +00:00
手瓜一十雪
8b5a49e23f feat: 35184 2025-05-17 11:16:39 +08:00
手瓜一十雪
6332329a24 fix: #1007 2025-05-15 21:10:21 +08:00
Mlikiowa
7714e6421c release: v4.7.62 2025-05-12 12:37:01 +00:00
Mlikiowa
aaa5a1ac1b release: v4.7.61 2025-05-12 12:34:18 +00:00
手瓜一十雪
29cab797d4 fix 2025-05-12 19:29:40 +08:00
手瓜一十雪
6cd710f3be fix 2025-05-12 19:27:46 +08:00
手瓜一十雪
056bd591da fix 2025-05-12 19:27:01 +08:00