Commit Graph
154 Commits
Author SHA1 Message Date
手瓜一十雪 e39bb05f01 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
2025-09-08 16:05:10 +08:00
手瓜一十雪 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.
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
时瑾 4bc5933ea2 fix: 修正部分接口的参数、返回值,提高兼容性 (#1072)
* fix: 修正`get_group_system_msg` `get_group_honor_info`接口返回值 提升兼容性

* fix: `create_group_file_folder` 接口兼容性提升
2025-06-11 12:37:29 +08:00
手瓜一十雪 3a1d1f2e59 feat: 隔离context传递 避免高并发干扰一个实例 2025-05-18 19:21:14 +08:00
Nepenthe 8e92a81bb9 接口 _get_model_show 的 model 设置为可选属性 2025-04-26 14:48:35 +08:00
手瓜一十雪 41036f8ee8 fix: 969 2025-04-24 09:50:26 +08:00
手瓜一十雪 43c98c45b9 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-19 11:13:02 +08:00
手瓜一十雪 cd781c4cf6 feat: 回归ajv 2025-04-19 11:07:01 +08:00
手瓜一十雪 cd8698b157 fix 2025-04-19 11:03:03 +08:00
手瓜一十雪 9f318ddaef Revert "feat: 区分resId和普通消息Id"
This reverts commit 7ecdd63bef.
2025-04-19 11:01:12 +08:00
手瓜一十雪 3b16effff0 Revert "fix"
This reverts commit 40b06daf1e.
2025-04-19 10:59:04 +08:00
手瓜一十雪 d3a27ad701 Revert "fix:coerce"
This reverts commit dd895d7c17.
2025-04-19 10:58:56 +08:00
手瓜一十雪 2a4589e268 Revert "fix: checker"
This reverts commit 941978b578.
2025-04-19 10:58:46 +08:00
手瓜一十雪 80a34c82b9 Revert "fix: zod boolean强制转换"
This reverts commit 17ef3231df.
2025-04-19 10:58:39 +08:00
手瓜一十雪 30a75bc581 Revert "fix"
This reverts commit 54e6d5c3f2.
2025-04-19 10:57:32 +08:00
手瓜一十雪 7b365367f7 Revert "fix"
This reverts commit 41dccd98a9.
2025-04-19 10:57:28 +08:00
手瓜一十雪 ceea50b116 Revert "fix: coerce"
This reverts commit fb20b2e16c.
2025-04-19 10:53:29 +08:00
手瓜一十雪 fb20b2e16c fix: coerce
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 22:17:35 +08:00
手瓜一十雪 41dccd98a9 fix 2025-04-17 09:54:12 +08:00
手瓜一十雪 54e6d5c3f2 fix 2025-04-17 09:52:03 +08:00
手瓜一十雪 17ef3231df fix: zod boolean强制转换 2025-04-17 09:38:38 +08:00
手瓜一十雪 941978b578 fix: checker
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-15 12:34:33 +08:00
手瓜一十雪 dd895d7c17 fix:coerce
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-15 12:25:37 +08:00
手瓜一十雪 f8260067ab Merge pull request #944 from clansty/fix/isReverseOrder
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
fix: isReverseOrder
2025-04-14 21:44:42 +08:00
手瓜一十雪 40b06daf1e fix 2025-04-14 21:44:25 +08:00
Clansty 6e38e748b8 fix: isReverseOrder 2025-04-14 05:40:11 +08:00
手瓜一十雪 7ecdd63bef feat: 区分resId和普通消息Id 2025-04-13 20:33:25 +08:00
手瓜一十雪 2147c4ffee 迁移类型校验到zod 2025-04-13 20:05:11 +08:00
手瓜一十雪 183d6f3011 feat: no_cache 2025-04-01 19:54:01 +08:00
pk5ls20 d6848e2855 fix: #721 2025-02-05 08:07:58 +08:00
手瓜一十雪 15854c605b style: 强类型大法 2025-02-02 23:22:21 +08:00
手瓜一十雪 ac193cc94a style: lint 2025-02-02 20:17:28 +08:00
手瓜一十雪 4b53e9a895 fix: 进一步重构 2025-01-21 20:40:52 +08:00
手瓜一十雪 ec0c2e8c33 refactor: 大部分文件处理部分 2025-01-13 20:30:08 +08:00
手瓜一十雪 15156bac1e fix: log 2025-01-07 20:49:49 +08:00
手瓜一十雪 3d16d52dd8 fix: #696 fallback 2025-01-07 18:51:04 +08:00
Clansty 6edf5345a3 chore: remove unused import 2024-12-29 22:27:41 +08:00
Clansty 242bbfdb14 chore: uriToLocalFile 2024-12-29 22:03:04 +08:00
Clansty 89e7712676 feat: download_file 支持 file:// 2024-12-29 21:41:44 +08:00
手瓜一十雪 a482fa3a8d refactor: 优化调整文件处理 2024-12-04 11:38:59 +08:00
手瓜一十雪 41748c0b3f refactor: 数据清理与刷新
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
2024-12-04 10:55:56 +08:00
手瓜一十雪 45b1f369ac style: 异步实现 2024-12-02 11:44:37 +08:00
手瓜一十雪 9eaf51e15f fix: nullable 2024-12-01 13:04:00 +08:00
手瓜一十雪 1bb6dce239 refactor: type-check (#586)
* refactor: type-check

* fix: default

* refactor: type-check
2024-12-01 12:41:51 +08:00
手瓜一十雪 53c1d40bcf refactor: logger bind (#577) 2024-11-28 20:55:28 +08:00
手瓜一十雪 7158f25f37 fix: error 2024-11-24 12:18:16 +08:00
手瓜一十雪 6fa7a973ba style: @搜寻 2024-11-22 15:08:26 +08:00
手瓜一十雪 bbb4ad7d95 rename: project 2024-11-21 14:30:21 +08:00