手瓜一十雪
5b2ff5acd3
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
手瓜一十雪
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
手瓜一十雪
76501bae34
style: lint
2025-02-02 20:17:28 +08:00
手瓜一十雪
cd6dbd69cc
refactor: logger bind ( #577 )
2024-11-28 20:55:28 +08:00
手瓜一十雪
b9cadb20f7
refactor: apiInit Refactor
2024-11-14 10:52:03 +08:00
pk5ls20
a84e7a19f5
feat: errorStack
2024-11-13 16:52:03 +08:00
pk5ls20
7fd94a03b7
refactor: packet x1
2024-11-12 04:02:19 +08:00
pk5ls20
22067c79bc
chore: format
2024-11-07 10:33:01 +08:00
pk5ls20
b393d471b0
chore: log
2024-11-07 10:31:50 +08:00
pk5ls20
1823990ab8
feat: add new NapCat config key: packetBackend
...
- Acceptable values: `native`, `frida`, `auto`, `disable`
- Default value is set to `auto`
2024-11-05 14:45:02 +08:00
pk5ls20
8e069f9792
chore: better log
2024-11-05 13:52:56 +08:00
pk5ls20
7f97c5beac
refactor: NapProto -> https://github.com/NapNeko/NapProto
2024-11-05 12:47:28 +08:00
pk5ls20
9f154a1fbd
refactor: automatically select the optimal packet backend
2024-11-04 23:52:52 +08:00
pk5ls20
7c45f74df0
fix: type hint
2024-11-03 02:45:58 +08:00
pk5ls20
09b31d9674
feat: ai voice
2024-11-02 01:51:57 +08:00
手瓜一十雪
1b50d1803c
style: lint
2024-10-29 18:48:20 +08:00
pk5ls20
5ba5ddadfd
feat: GetMiniAppArk
2024-10-28 10:12:24 +08:00
pk5ls20
44684c0841
chore: rename msg to message in packet module
2024-10-28 07:59:24 +08:00
pk5ls20
df9f564095
chore: i18n for packet log messages
2024-10-27 07:04:53 +08:00
手瓜一十雪
84e986a468
feat: version hint
2024-10-26 21:24:24 +08:00
手瓜一十雪
9ff22631c7
style: lint
2024-10-25 18:09:41 +08:00
pk5ls20
d1a8061a3b
feat: better highway upload log
2024-10-25 08:54:18 +08:00
pk5ls20
491cc7bf6a
refactor: simplify oidb packet pack & send
2024-10-25 06:48:01 +08:00
pk5ls20
967243ad65
refactor: packet highway & etc, kill some todo
2024-10-25 05:11:10 +08:00
手瓜一十雪
1ffacacff6
Merge branch 'main' into feat/packet-more
2024-10-24 14:00:17 +08:00
手瓜一十雪
cec068ab18
feat: SetGroupSign
2024-10-24 13:38:22 +08:00
pk5ls20
156eb812f0
feat: build & upload file
2024-10-24 04:53:41 +08:00
pk5ls20
2f1a2bdeaf
chore: 有笨蛋
2024-10-23 16:33:05 +08:00
pk5ls20
e18653344d
feat: add ptt msg pack & upload
2024-10-23 16:12:31 +08:00
pk5ls20
699b658ee1
feat & fix: add video msg pack & upload, fix some bugs in uploading c2c elements
2024-10-23 06:14:48 +08:00
手瓜一十雪
4f22159416
fix: error import
2024-10-21 14:33:12 +08:00
手瓜一十雪
fbc407e4f4
style: lint
2024-10-21 10:17:31 +08:00
pk5ls20
a7b6e96398
feat: add friend_poke OneBot11 API
2024-10-20 23:09:38 +08:00
手瓜一十雪
c095dab79c
fix: 兼容晚启动
2024-10-20 22:18:34 +08:00
pk5ls20
8edab4f20d
feat: Implement complete transform & Build & Upload FakeForwardMsg
2024-10-19 22:13:31 +08:00
pk5ls20
bdc44251ee
feat: add action get_group_file_url
2024-10-19 04:14:01 +08:00
pk5ls20
92dfb36e8f
feat: add packGroupFileDownloadReq & packC2CFileDownloadReq
2024-10-19 02:05:46 +08:00
pk5ls20
4ac05f3f6f
feat & refactor: add more packetElement & refactor packetMsg
2024-10-18 16:01:54 +08:00
pk5ls20
4e9d250bac
chore: remove useless comment
2024-10-17 23:38:44 +08:00
pk5ls20
39a41c848b
feat: parse trpc.group.long_msg_interface.MsgService.SsoSendLongMsg resp
2024-10-17 23:34:29 +08:00
pk5ls20
38cd9fcb56
feat: packet highway (in right impl)
2024-10-17 19:45:21 +08:00
pk5ls20
786823a3a0
feat: broken highway
2024-10-16 11:58:47 +08:00
手瓜一十雪
270514a50c
style: 标准化
2024-10-15 09:20:54 +08:00
手瓜一十雪
0dc6aa46d0
style: lint
2024-10-15 09:06:47 +08:00
pk5ls20
eabfffba65
refactor: further decoupling of Packet and Core parts
2024-10-14 17:51:21 +08:00
pk5ls20
9126bac40a
feat: update type define in packet
2024-10-14 17:05:04 +08:00
pk5ls20
9fa60616c8
chore: format & minor refactor
2024-10-14 15:37:02 +08:00
pk5ls20
de00688ae5
feat: simplify code
2024-10-14 15:29:20 +08:00
pk5ls20
ba9afcaa06
refactor: add available accessor property in PacketClient
2024-10-14 15:13:44 +08:00
pk5ls20
ef39e7ab01
refactor: packet
2024-10-14 13:59:34 +08:00