Commit Graph
93 Commits
Author SHA1 Message Date
手瓜一十雪 1445a29e15 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.
2025-10-29 21:25:24 +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
手瓜一十雪 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
2025-08-17 22:58:30 +08:00
手瓜一十雪 e8ef08cae2 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
手瓜一十雪 7c113d6e04 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 Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
2025-04-17 18:07:07 +08:00
手瓜一十雪 e4b21e94f5 feat: ffmpeg download auto
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-04-17 14:28:51 +08:00
手瓜一十雪 a5e53a713b feat: 增强win 输出可读性
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-04-12 12:23:38 +08:00
手瓜一十雪 59a7d12a8c style: lint 2025-02-03 14:29:38 +08:00
手瓜一十雪 b25f9d3bec feat: 摇树生成&多平台统一改造 2025-02-03 10:33:10 +08:00
手瓜一十雪 d278e9d8bc feat: ffmpeg 2025-01-26 16:26:21 +08:00
手瓜一十雪 7087eafe37 feat: Universal Package (#578)
* feat: 统一包支持

* feat: Universal
2024-11-29 15:11:35 +08:00
手瓜一十雪 53c1d40bcf refactor: logger bind (#577) 2024-11-28 20:55:28 +08:00
手瓜一十雪 bbb4ad7d95 rename: project 2024-11-21 14:30:21 +08:00
pk5ls20 7af0d9e87b refactor: simplify code 2024-11-14 14:29:38 +08:00
手瓜一十雪 2f6dfe51f5 fix: error 2024-11-14 13:43:39 +08:00
手瓜一十雪 96003724ab refactor: nc shell login 2024-11-14 13:40:01 +08:00
pk5ls20 6a08b15095 chore: eslint 2024-11-14 13:29:39 +08:00
手瓜一十雪 c747a86e5b fix 2024-11-14 13:07:10 +08:00
手瓜一十雪 ae2f4777ec fix 2024-11-14 12:32:48 +08:00
手瓜一十雪 e8bf6fa0a6 style: lint 2024-11-14 10:45:16 +08:00
手瓜一十雪 f228129c19 refactor: Init Core 2024-11-14 10:43:37 +08:00
手瓜一十雪 cbf98ffb89 refactor: async Init 2024-11-14 10:36:51 +08:00
手瓜一十雪 f6067b002f refactor: Shell Init 2024-11-14 10:34:38 +08:00
pk5ls20 75866b435e feat: errorStack 2024-11-13 16:52:03 +08:00
手瓜一十雪 3e1f566699 feat: 异常处理与log4js替换 2024-11-13 12:26:23 +08:00
pk5ls20 9fa6083bed refactor: kill any (#475)
* refactor: kill any stage 1

* refactor: kill any stage 2

* refactor: kill any stage 3
2024-10-30 09:10:30 +08:00
Wesley F. Young f561c2b0fa refactor: rewrite switch with object mapping or if-else 2024-10-05 17:03:02 +08:00
手瓜一十雪 9bef9c85cf fix 2024-09-28 15:36:25 +08:00
手瓜一十雪 1ce8cd2100 napcat native 2024-09-28 13:27:13 +08:00
手瓜一十雪 90906b9019 style: lint 2024-09-26 16:08:50 +08:00
手瓜一十雪 5ba110e1da feat: bind 2024-09-22 16:59:45 +08:00
手瓜一十雪 91b794d66d release: 2.6.10
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-09-19 20:45:09 +08:00
手瓜一十雪 65888fa816 feat: close log 2024-09-18 20:18:35 +08:00
手瓜一十雪 add2931834 remove: debug 2024-09-18 11:19:59 +08:00
手瓜一十雪 cdda5f45ee refactor: guid fk tx 2024-09-18 11:19:29 +08:00
手瓜一十雪 5f73d6a913 feat: reportAmgomWeather a1 rnm tx 2024-09-18 11:01:12 +08:00
手瓜一十雪 0637882fbc release: rnm tx
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-09-18 10:53:37 +08:00
手瓜一十雪 a4ca89bdd6 fi: 2.6.4
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-09-17 23:40:44 +08:00
手瓜一十雪 a8b85a34f7 feat: 追平NT逻辑 2024-09-17 23:17:02 +08:00
手瓜一十雪 1a67a001c5 style: lint 2024-09-17 13:15:12 +08:00
手瓜一十雪 70117016ce shell: 移除旧代码实现 2024-09-17 11:23:41 +08:00
手瓜一十雪 66656304f9 fix 2024-09-15 16:24:08 +08:00
手瓜一十雪 7275066994 feat: skip Qrcode When Login 2024-09-15 16:18:43 +08:00
手瓜一十雪 0a18bae3b5 fix: #351 2024-09-09 15:04:00 +08:00
手瓜一十雪 5669e2b0b7 fix: 跟进实际逻辑 2024-09-08 18:21:55 +08:00
手瓜一十雪 c635da7ebb style: lint 2024-09-08 10:10:47 +08:00
手瓜一十雪 a804f90b9c refactor: adapter 2024-09-07 22:58:29 +08:00
手瓜一十雪 ab824fb219 Revert "update: normalize log"
This reverts commit d36a28fa81.
2024-09-04 18:05:01 +08:00
Seijo Cecilia d36a28fa81 update: normalize log 2024-09-04 15:47:14 +08:00
Hao Guan 7e96118cdc feat: support macOS 2024-09-03 20:17:10 +08:00