Commit Graph
43 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
手瓜一十雪 1ef85d74ac fix 2025-05-07 22:03:00 +08:00
手瓜一十雪 29656a6cfa feat: 更新类型 fetchUserDetailInfo 2025-04-08 10:12:18 +08:00
手瓜一十雪 2b67c5132e feat: searchMsgWithKeywords 2025-03-02 16:07:27 +08:00
手瓜一十雪 aacc876fdd fix: #793 2025-02-14 17:15:19 +08:00
手瓜一十雪 70945cf2d8 style: 强类型大法 2025-02-02 23:22:21 +08:00
手瓜一十雪 fc012318a8 rename: project 2024-11-21 14:30:21 +08:00
手瓜一十雪 0f3862a937 refactor: 旧代码移除 2024-11-21 11:01:35 +08:00
pk5ls20 86db0e827c fix: #539 2024-11-19 01:12:49 +08:00
手瓜一十雪 4969ad0ec8 refactor: fix 2024-11-14 11:24:00 +08:00
手瓜一十雪 d83af3f6a2 fix: reply msg 大坐牢 #452 #477 2024-10-30 15:27:26 +08:00
手瓜一十雪 adf068f176 fix: #452 修复seq搜索的老问题 可能修好了 2024-10-27 20:52:09 +08:00
手瓜一十雪 65bfc19ff3 tag: deprecated 2024-09-13 15:30:04 +08:00
手瓜一十雪 1bf08c2649 style: apis 2024-09-07 23:48:41 +08:00
Wesley F. Young 6d2d6b521b update: move to recallMsg(V2) 2024-09-07 23:28:35 +08:00
Seijo Cecilia 1b62d2eee9 chore: fix prefer-const 2024-09-07 19:49:54 +08:00
Seijo Cecilia 489426e077 update: recallMsgV2 2024-09-07 19:49:18 +08:00
手瓜一十雪 879a32ed2e release: 2.2.40 2024-09-03 13:01:37 +08:00
手瓜一十雪 f6b02d96ec release: 2.2.38 2024-09-02 17:31:27 +08:00
Wesley F. Young 9c958ddcc5 chore: clean code for group.ts 2024-08-31 14:07:48 +08:00
手瓜一十雪 1fa6323e28 feat: 提高效率 2024-08-28 13:04:05 +08:00
手瓜一十雪 4f3f88bc10 feat: 更高效率的识别 2024-08-27 12:16:57 +08:00
Seijo Cecilia 7671174a96 chore: reformat code style 2024-08-26 14:58:04 +08:00
Seijo Cecilia 632c3aa1f2 refactor: move all callNormalEvent calls to V2 substitutes 2024-08-26 14:00:48 +08:00
Wesley F. Young f01eb40520 refactor: enhanced type definition for callNormalEvent
类型体操,伟大,无需多言!
2024-08-26 12:02:41 +08:00
手瓜一十雪 d157c53444 style: lint 2024-08-26 00:29:52 +08:00
手瓜一十雪 f17d6abb74 refactor: chattype 2024-08-22 15:53:27 +08:00
手瓜一十雪 10138b289e chore: style&&lint 2024-08-22 14:12:24 +08:00
手瓜一十雪 b5b59f6241 feat: support SetInputStatus 2024-08-16 20:35:05 +08:00
手瓜一十雪 234aa41e0c fix: error 2024-08-15 23:07:59 +08:00
手瓜一十雪 97953661bc chore: 代码质量提高 2024-08-15 19:34:05 +08:00
手瓜一十雪 eba3c8db50 style: lint 2024-08-15 00:10:13 +08:00
手瓜一十雪 2643a4c49d chore: 清理无用代码 2024-08-14 23:46:17 +08:00
手瓜一十雪 b934c490d8 chore: 弃用无用代码 2024-08-14 23:41:34 +08:00
手瓜一十雪 26ffec43fe style&&chore: lint 2024-08-14 00:47:50 +08:00
手瓜一十雪 fa447c013c fix: 不合格类型 2024-08-13 00:59:26 +08:00
Wesley F. Young 89e777f99e refactor: inline getApiContext() 2024-08-11 19:10:42 +08:00
手瓜一十雪 196f9053c3 chore: 临时会话 2024-08-11 15:43:13 +08:00
Wesley F. Young 116a04e081 chore: run a full eslint 2024-08-10 19:58:31 +08:00
Wesley F. Young e847761d1a chore: fix indentation and semi in core 2024-08-09 14:09:42 +08:00
手瓜一十雪 282bdc40df chore: api 2024-08-09 13:58:26 +08:00
手瓜一十雪 c2b53443b1 chore: NTAPI 2024-08-09 13:33:58 +08:00
手瓜一十雪 27ffb3b1cf chore: NTAPI 2024-08-09 12:58:00 +08:00