Commit Graph

36 Commits

Author SHA1 Message Date
手瓜一十雪
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
手瓜一十雪
17bb15ed5c feat: nativeLoader功能预备 2025-05-29 14:39:09 +08:00
手瓜一十雪
4a1d4136fd feat: 支持环境变量禁用ffmpeg下载支持 2025-04-19 20:03:00 +08:00
手瓜一十雪
03444d1de6 fix: 自动化验证环境变量的ffmpeg 2025-04-17 17:59:06 +08:00
手瓜一十雪
53d8402da6 feat: 增强异常处理 2025-04-17 17:48:13 +08:00
手瓜一十雪
e084cb7163 feat: ffmpeg download auto 2025-04-17 14:28:51 +08:00
手瓜一十雪
ed40540664 fix: #877 2025-03-15 18:54:51 +08:00
手瓜一十雪
70945cf2d8 style: 强类型大法 2025-02-02 23:22:21 +08:00
手瓜一十雪
b44acd8a0e revert: 再也不用umami了 2025-01-05 10:49:49 +08:00
手瓜一十雪
1202751d64 fix:workname 2024-12-30 16:54:40 +08:00
手瓜一十雪
bac4079b3d fix: trace 2024-12-30 16:47:33 +08:00
手瓜一十雪
f1f7190647 fix: 重写远程遥测 2024-12-30 16:10:38 +08:00
手瓜一十雪
9da70f82d4 feat: 追踪退出 2024-12-29 15:44:37 +08:00
手瓜一十雪
99a96e65e5 feat: umami 统计追踪 2024-12-29 14:39:17 +08:00
手瓜一十雪
cd6dbd69cc refactor: logger bind (#577) 2024-11-28 20:55:28 +08:00
手瓜一十雪
fc012318a8 rename: project 2024-11-21 14:30:21 +08:00
手瓜一十雪
56fac6c725 style: lint 2024-11-14 10:45:16 +08:00
手瓜一十雪
1ad0e346a6 refactor: Init Core 2024-11-14 10:43:37 +08:00
手瓜一十雪
bf6a101a13 refactor: async Init 2024-11-14 10:36:51 +08:00
手瓜一十雪
78e4295ac5 feat: 异常处理与log4js替换 2024-11-13 12:26:23 +08:00
pk5ls20
d0dedc1e6e 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
手瓜一十雪
2ba1ef56e3 feat: bind 2024-09-22 16:59:45 +08:00
Wesley F. Young
6427e021f1 chore: optimize imports 2024-08-30 11:45:58 +08:00
Seijo Cecilia
03d6042712 refactor: directory structure of core 2024-08-28 15:29:13 +08:00
Wesley F. Young
e3f6881af9 refactor: move all utility files to /common 2024-08-27 10:18:31 +08:00
Seijo Cecilia
7671174a96 chore: reformat code style 2024-08-26 14:58:04 +08:00
Wesley F. Young
d902be8296 refactor: normalize file names in common/utils 2024-08-26 12:48:45 +08:00
手瓜一十雪
e5e8fb3d9b style: 27333 类型跟进 2024-08-26 01:24:22 +08:00
手瓜一十雪
defb56fd75 support: 27206 2024-08-19 18:47:12 +08:00
手瓜一十雪
26ffec43fe style&&chore: lint 2024-08-14 00:47:50 +08:00
手瓜一十雪
66d86a5203 chore: Support 多账户 2024-08-12 12:41:59 +08:00
Wesley F. Young
5dcaf67ef2 refactor: move Ob11Adapter to index.ts 2024-08-12 10:45:55 +08:00
手瓜一十雪
ea2652c61a chore: 快速登录 2024-08-11 23:24:20 +08:00
Wesley F. Young
116a04e081 chore: run a full eslint 2024-08-10 19:58:31 +08:00
手瓜一十雪
baa6605498 chore: 调整出包方式 2024-08-10 17:50:23 +08:00
手瓜一十雪
bdaa49922e chore: 针对的并非框架 2024-08-10 17:45:17 +08:00