node-karin 1.9.8 → 1.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/dist/index.d.ts +121 -54
- package/dist/index.mjs +646 -502
- package/dist/start/index.mjs +23 -25
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.9.10](https://github.com/KarinJS/Karin/compare/core-v1.9.9...core-v1.9.10) (2025-06-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* close [#383](https://github.com/KarinJS/Karin/issues/383) ([7391d4e](https://github.com/KarinJS/Karin/commit/7391d4eb4bda70df17e6dc49b8eba4a6a8c89b48))
|
|
9
|
+
* close [#454](https://github.com/KarinJS/Karin/issues/454) ([663c119](https://github.com/KarinJS/Karin/commit/663c119ed9d0d476f661673ff1bb095e36d31488))
|
|
10
|
+
* 迁移到`engines` ([afb41cb](https://github.com/KarinJS/Karin/commit/afb41cbc3d6a2e8e83182c0afdb029760a897462))
|
|
11
|
+
|
|
12
|
+
## [1.9.9](https://github.com/KarinJS/Karin/compare/core-v1.9.8...core-v1.9.9) (2025-06-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug Fixes
|
|
16
|
+
|
|
17
|
+
* close [#450](https://github.com/KarinJS/Karin/issues/450) ([35aa118](https://github.com/KarinJS/Karin/commit/35aa118dc69c6370b9e090437b65e9a39a2a99c2))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### ⚡️ Performance
|
|
21
|
+
|
|
22
|
+
* 优化获取实时日志文件Api 限制大文件大小 ([a96de40](https://github.com/KarinJS/Karin/commit/a96de404497edbaaa40b10181341d3586234f73e))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### 💄 Styles
|
|
26
|
+
|
|
27
|
+
* 优化进程显示标题 ([08c284d](https://github.com/KarinJS/Karin/commit/08c284d317172e09b3e60049cbcc84f18355ff90))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### ♻️ Code Refactoring
|
|
31
|
+
|
|
32
|
+
* 优化子进程管理逻辑 ([f6629f8](https://github.com/KarinJS/Karin/commit/f6629f886e1f3e578353a1aa200543a45b27e0a2))
|
|
33
|
+
|
|
3
34
|
## [1.9.8](https://github.com/KarinJS/Karin/compare/core-v1.9.7...core-v1.9.8) (2025-05-24)
|
|
4
35
|
|
|
5
36
|
|
package/dist/index.d.ts
CHANGED
|
@@ -548,8 +548,8 @@ interface FileElement extends Element$1 {
|
|
|
548
548
|
name?: string;
|
|
549
549
|
/** 文件大小 */
|
|
550
550
|
size?: number;
|
|
551
|
-
/** 文件
|
|
552
|
-
|
|
551
|
+
/** 文件hash */
|
|
552
|
+
hash?: string;
|
|
553
553
|
}
|
|
554
554
|
/** 语音元素 */
|
|
555
555
|
interface RecordElement extends Element$1 {
|
|
@@ -1253,12 +1253,6 @@ interface ReplySegment extends Segment {
|
|
|
1253
1253
|
id: string;
|
|
1254
1254
|
};
|
|
1255
1255
|
}
|
|
1256
|
-
interface FileSegment extends Segment {
|
|
1257
|
-
type: 'file';
|
|
1258
|
-
data: {
|
|
1259
|
-
file: string;
|
|
1260
|
-
};
|
|
1261
|
-
}
|
|
1262
1256
|
/** 合并转发消息段 */
|
|
1263
1257
|
interface ForwardSegment extends Segment {
|
|
1264
1258
|
type: 'forward';
|
|
@@ -1281,7 +1275,7 @@ interface JsonSegment extends Segment {
|
|
|
1281
1275
|
};
|
|
1282
1276
|
}
|
|
1283
1277
|
/** OneBot11消息段 */
|
|
1284
|
-
type OB11SegmentBase = TextSegment | FaceSegment | ImageSegment | RecordSegment | VideoSegment | AtSegment | RpsSegment | DiceSegment | ShakeSegment | PokeSegment | AnonymousSegment | ShareSegment | ContactSegment | LocationSegment | MusicSegment | CustomMusicSegment | ReplySegment | ForwardSegment | XmlSegment | JsonSegment;
|
|
1278
|
+
type OB11SegmentBase = TextSegment | FaceSegment | ImageSegment | RecordSegment | VideoSegment | AtSegment | RpsSegment | DiceSegment | ShakeSegment | PokeSegment | AnonymousSegment | ShareSegment | ContactSegment | LocationSegment | MusicSegment | CustomMusicSegment | ReplySegment | ForwardSegment | XmlSegment | JsonSegment | FileSegment;
|
|
1285
1279
|
/** 合并转发已有消息节点消息段 */
|
|
1286
1280
|
interface DirectNodeSegment extends Segment {
|
|
1287
1281
|
type: 'node';
|
|
@@ -1301,6 +1295,11 @@ interface CustomNodeSegments extends Segment {
|
|
|
1301
1295
|
source?: string;
|
|
1302
1296
|
};
|
|
1303
1297
|
}
|
|
1298
|
+
/** 文件消息段 */
|
|
1299
|
+
interface FileSegment<T = any> extends Segment {
|
|
1300
|
+
type: 'file';
|
|
1301
|
+
data: T;
|
|
1302
|
+
}
|
|
1304
1303
|
/** 合并转发消息段 */
|
|
1305
1304
|
type OB11NodeSegment = DirectNodeSegment | CustomNodeSegments;
|
|
1306
1305
|
/** OneBot11消息段 */
|
|
@@ -1406,7 +1405,11 @@ declare const enum OB11ApiAction {
|
|
|
1406
1405
|
/** 设置精华消息 */
|
|
1407
1406
|
setEssenceMsg = "set_essence_msg",
|
|
1408
1407
|
/** 删除精华消息 */
|
|
1409
|
-
deleteEssenceMsg = "delete_essence_msg"
|
|
1408
|
+
deleteEssenceMsg = "delete_essence_msg",
|
|
1409
|
+
/** 获取群文件url */
|
|
1410
|
+
getGroupFileUrl = "get_group_file_url",
|
|
1411
|
+
/** 获取私聊文件url */
|
|
1412
|
+
getPrivateFileUrl = "get_private_file_url"
|
|
1410
1413
|
}
|
|
1411
1414
|
/** Api请求参数 */
|
|
1412
1415
|
interface OB11ApiParams {
|
|
@@ -1754,6 +1757,24 @@ interface OB11ApiParams {
|
|
|
1754
1757
|
/** 消息ID */
|
|
1755
1758
|
message_id: number;
|
|
1756
1759
|
};
|
|
1760
|
+
/**
|
|
1761
|
+
* 获取群文件url
|
|
1762
|
+
*/
|
|
1763
|
+
[OB11ApiAction.getGroupFileUrl]: {
|
|
1764
|
+
/** 群号 */
|
|
1765
|
+
group_id: number;
|
|
1766
|
+
/** 文件ID */
|
|
1767
|
+
file_id: string;
|
|
1768
|
+
};
|
|
1769
|
+
/**
|
|
1770
|
+
* 获取私聊文件url
|
|
1771
|
+
*/
|
|
1772
|
+
[OB11ApiAction.getPrivateFileUrl]: {
|
|
1773
|
+
/** 对方 QQ 号 napcat不需要这个 随便传一个就行 */
|
|
1774
|
+
user_id: number;
|
|
1775
|
+
/** 文件ID */
|
|
1776
|
+
file_id: string;
|
|
1777
|
+
};
|
|
1757
1778
|
}
|
|
1758
1779
|
interface GetGroupInfo {
|
|
1759
1780
|
/** 群号 */
|
|
@@ -2200,13 +2221,25 @@ interface OB11ApiRequest {
|
|
|
2200
2221
|
message_id: number;
|
|
2201
2222
|
}>;
|
|
2202
2223
|
/**
|
|
2203
|
-
|
|
2204
|
-
|
|
2224
|
+
* 设置精华消息
|
|
2225
|
+
*/
|
|
2205
2226
|
[OB11ApiAction.setEssenceMsg]: {};
|
|
2206
2227
|
/**
|
|
2207
2228
|
* 移除精华消息
|
|
2208
2229
|
*/
|
|
2209
2230
|
[OB11ApiAction.deleteEssenceMsg]: {};
|
|
2231
|
+
/**
|
|
2232
|
+
* 获取群文件url
|
|
2233
|
+
*/
|
|
2234
|
+
[OB11ApiAction.getGroupFileUrl]: {
|
|
2235
|
+
url: string;
|
|
2236
|
+
};
|
|
2237
|
+
/**
|
|
2238
|
+
* 获取私聊文件url
|
|
2239
|
+
*/
|
|
2240
|
+
[OB11ApiAction.getPrivateFileUrl]: {
|
|
2241
|
+
url: string;
|
|
2242
|
+
};
|
|
2210
2243
|
}
|
|
2211
2244
|
|
|
2212
2245
|
/** 性别枚举 */
|
|
@@ -2265,7 +2298,9 @@ declare const enum OB11NoticeType {
|
|
|
2265
2298
|
/** 精华 */
|
|
2266
2299
|
GroupEssence = "essence",
|
|
2267
2300
|
/** 群成员名片更新 */
|
|
2268
|
-
GroupCard = "group_card"
|
|
2301
|
+
GroupCard = "group_card",
|
|
2302
|
+
/** 好友离线文件 Lagrange.OneBot */
|
|
2303
|
+
OfflineFile = "offline_file"
|
|
2269
2304
|
}
|
|
2270
2305
|
/** 请求事件类型 */
|
|
2271
2306
|
declare const enum OB11RequestType {
|
|
@@ -2607,8 +2642,28 @@ interface OneBot11GroupCard extends OB11NoticeBaseType {
|
|
|
2607
2642
|
/** 旧名片 */
|
|
2608
2643
|
card_old: string;
|
|
2609
2644
|
}
|
|
2645
|
+
/** 好友离线文件事件 */
|
|
2646
|
+
interface OneBot11FriendOfflineFile extends OB11NoticeBaseType {
|
|
2647
|
+
/** 通知类型 */
|
|
2648
|
+
notice_type: OB11NoticeType.OfflineFile;
|
|
2649
|
+
/** 好友 QQ 号 */
|
|
2650
|
+
user_id: number;
|
|
2651
|
+
/** 文件信息 */
|
|
2652
|
+
file: {
|
|
2653
|
+
/** 文件 ID */
|
|
2654
|
+
id: string;
|
|
2655
|
+
/** 文件名 */
|
|
2656
|
+
name: string;
|
|
2657
|
+
/** 文件大小 */
|
|
2658
|
+
size: number;
|
|
2659
|
+
/** 文件 hash */
|
|
2660
|
+
hash: string;
|
|
2661
|
+
/** 文件 URL */
|
|
2662
|
+
url: string;
|
|
2663
|
+
};
|
|
2664
|
+
}
|
|
2610
2665
|
/** 通知事件 */
|
|
2611
|
-
type OB11Notice = OneBot11GroupUpload | OneBot11GroupAdmin | OneBot11GroupDecrease | OneBot11GroupIncrease | OneBot11GroupBan | OneBot11FriendAdd | OneBot11GroupRecall | OneBot11FriendRecall | OneBot11Poke | OneBot11LuckyKing | OneBot11Honor | OneBot11GroupMessageReaction | OneBot11GroupMessageReactionLagrange | OneBot11GroupEssence | OneBot11GroupCard;
|
|
2666
|
+
type OB11Notice = OneBot11GroupUpload | OneBot11GroupAdmin | OneBot11GroupDecrease | OneBot11GroupIncrease | OneBot11GroupBan | OneBot11FriendAdd | OneBot11GroupRecall | OneBot11FriendRecall | OneBot11Poke | OneBot11LuckyKing | OneBot11Honor | OneBot11GroupMessageReaction | OneBot11GroupMessageReactionLagrange | OneBot11GroupEssence | OneBot11GroupCard | OneBot11FriendOfflineFile;
|
|
2612
2667
|
/** 请求事件基类 */
|
|
2613
2668
|
interface OB11RequestBaseType extends OB11EventBase {
|
|
2614
2669
|
/** 事件发生的时间戳 */
|
|
@@ -2745,6 +2800,7 @@ type ImportModuleResult<T = any> = ImportSuccessResult<T> | ImportErrorResult;
|
|
|
2745
2800
|
* @class AdapterBase
|
|
2746
2801
|
*/
|
|
2747
2802
|
declare abstract class AdapterBase<T = any> implements AdapterType<T> {
|
|
2803
|
+
#private;
|
|
2748
2804
|
account: AdapterType['account'];
|
|
2749
2805
|
adapter: AdapterType['adapter'];
|
|
2750
2806
|
super: T;
|
|
@@ -3049,6 +3105,13 @@ declare abstract class AdapterBase<T = any> implements AdapterType<T> {
|
|
|
3049
3105
|
* @returns 无返回值
|
|
3050
3106
|
*/
|
|
3051
3107
|
uploadGroupFile(_groupId: string, _file: string, _name?: string): Promise<boolean>;
|
|
3108
|
+
/**
|
|
3109
|
+
* 获取文件url
|
|
3110
|
+
* @param _contact 目标信息
|
|
3111
|
+
* @param _fileId 文件id
|
|
3112
|
+
* @returns 文件url
|
|
3113
|
+
*/
|
|
3114
|
+
getFileUrl(_contact: Contact, _fileId: string): Promise<string>;
|
|
3052
3115
|
/**
|
|
3053
3116
|
* 删除群文件
|
|
3054
3117
|
* @param _groupId 群号
|
|
@@ -3146,7 +3209,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3146
3209
|
* onebot11转karin
|
|
3147
3210
|
* @return karin格式消息
|
|
3148
3211
|
*/
|
|
3149
|
-
AdapterConvertKarin(data: Array<OB11Segment>): Elements[]
|
|
3212
|
+
AdapterConvertKarin(data: Array<OB11Segment>): Promise<Elements[]>;
|
|
3150
3213
|
/**
|
|
3151
3214
|
* karin转onebot11
|
|
3152
3215
|
* @param data karin格式消息
|
|
@@ -3523,13 +3586,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3523
3586
|
buf?: Record<string, unknown>;
|
|
3524
3587
|
};
|
|
3525
3588
|
extOnlineBusinessInfo?: {
|
|
3526
|
-
buf
|
|
3527
|
-
/**
|
|
3528
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3529
|
-
*/
|
|
3530
|
-
? /**
|
|
3531
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3532
|
-
*/: Record<string, unknown>;
|
|
3589
|
+
buf?: Record<string, unknown>;
|
|
3533
3590
|
customStatus?: string | null;
|
|
3534
3591
|
videoBizInfo?: {
|
|
3535
3592
|
cid?: string;
|
|
@@ -3641,13 +3698,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3641
3698
|
buf?: Record<string, unknown>;
|
|
3642
3699
|
};
|
|
3643
3700
|
extOnlineBusinessInfo?: {
|
|
3644
|
-
buf
|
|
3645
|
-
/**
|
|
3646
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3647
|
-
*/
|
|
3648
|
-
? /**
|
|
3649
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3650
|
-
*/: Record<string, unknown>;
|
|
3701
|
+
buf?: Record<string, unknown>;
|
|
3651
3702
|
customStatus?: string | null;
|
|
3652
3703
|
videoBizInfo?: {
|
|
3653
3704
|
cid?: string;
|
|
@@ -3757,13 +3808,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3757
3808
|
buf?: Record<string, unknown>;
|
|
3758
3809
|
};
|
|
3759
3810
|
extOnlineBusinessInfo?: {
|
|
3760
|
-
buf
|
|
3761
|
-
/**
|
|
3762
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3763
|
-
*/
|
|
3764
|
-
? /**
|
|
3765
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3766
|
-
*/: Record<string, unknown>;
|
|
3811
|
+
buf?: Record<string, unknown>;
|
|
3767
3812
|
customStatus?: string | null;
|
|
3768
3813
|
videoBizInfo?: {
|
|
3769
3814
|
cid?: string;
|
|
@@ -3871,13 +3916,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3871
3916
|
buf?: Record<string, unknown>;
|
|
3872
3917
|
};
|
|
3873
3918
|
extOnlineBusinessInfo?: {
|
|
3874
|
-
buf
|
|
3875
|
-
/**
|
|
3876
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3877
|
-
*/
|
|
3878
|
-
? /**
|
|
3879
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3880
|
-
*/: Record<string, unknown>;
|
|
3919
|
+
buf?: Record<string, unknown>;
|
|
3881
3920
|
customStatus?: string | null;
|
|
3882
3921
|
videoBizInfo?: {
|
|
3883
3922
|
cid?: string;
|
|
@@ -4272,6 +4311,13 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
4272
4311
|
forwardId: string;
|
|
4273
4312
|
message_id: string;
|
|
4274
4313
|
}>;
|
|
4314
|
+
/**
|
|
4315
|
+
* 获取文件url
|
|
4316
|
+
* @param contact 目标信息
|
|
4317
|
+
* @param fid 文件id
|
|
4318
|
+
* @returns 文件url
|
|
4319
|
+
*/
|
|
4320
|
+
getFileUrl(contact: Contact, fid: string): Promise<string>;
|
|
4275
4321
|
/**
|
|
4276
4322
|
* 发送API请求
|
|
4277
4323
|
* @param action API端点
|
|
@@ -4585,6 +4631,13 @@ interface AdapterType<T = any> {
|
|
|
4585
4631
|
* @returns 下载文件的绝对路径和文件MD5
|
|
4586
4632
|
*/
|
|
4587
4633
|
downloadFile(options?: DownloadFileOptions): Promise<DownloadFileResponse>;
|
|
4634
|
+
/**
|
|
4635
|
+
* 获取文件url
|
|
4636
|
+
* @param contact 目标信息
|
|
4637
|
+
* @param fileId 文件id
|
|
4638
|
+
* @returns 文件url
|
|
4639
|
+
*/
|
|
4640
|
+
getFileUrl(contact: Contact, fileId: string): Promise<string>;
|
|
4588
4641
|
/**
|
|
4589
4642
|
* 创建群文件夹
|
|
4590
4643
|
* @param groupId 群号
|
|
@@ -4771,7 +4824,7 @@ interface PrivateFileUploadedType {
|
|
|
4771
4824
|
operatorId: string;
|
|
4772
4825
|
/** 文件ID 此项没有则为空字符串 */
|
|
4773
4826
|
fid: string;
|
|
4774
|
-
/** 文件子ID
|
|
4827
|
+
/** 文件子ID 此项没有则为0 */
|
|
4775
4828
|
subId: number;
|
|
4776
4829
|
/** 文件名 此项没有则为空字符串 */
|
|
4777
4830
|
name: string;
|
|
@@ -4780,7 +4833,7 @@ interface PrivateFileUploadedType {
|
|
|
4780
4833
|
/** 过期时间 此项没有则为0 */
|
|
4781
4834
|
expireTime: number;
|
|
4782
4835
|
/** 文件URL */
|
|
4783
|
-
url: string
|
|
4836
|
+
url: () => Promise<string>;
|
|
4784
4837
|
}
|
|
4785
4838
|
/** 通知事件: 群聊戳一戳 */
|
|
4786
4839
|
interface GroupPokeType {
|
|
@@ -4826,7 +4879,7 @@ interface GroupFileUploadedType {
|
|
|
4826
4879
|
/** 过期时间 */
|
|
4827
4880
|
expireTime?: number;
|
|
4828
4881
|
/** 文件URL */
|
|
4829
|
-
url
|
|
4882
|
+
url: () => Promise<string>;
|
|
4830
4883
|
}
|
|
4831
4884
|
/** 通知事件: 群名片变动 */
|
|
4832
4885
|
interface GroupCardChangedType {
|
|
@@ -4981,7 +5034,7 @@ type MessageEventSub = 'group' | 'friend' | 'guild' | 'direct' | 'groupTemp';
|
|
|
4981
5034
|
* - `receiveLike`: 收到点赞
|
|
4982
5035
|
* - `friendPoke`: 好友戳一戳
|
|
4983
5036
|
* - `friendRecall`: 好友撤回消息
|
|
4984
|
-
* - `
|
|
5037
|
+
* - `privateFileUploaded`: 好友发送文件
|
|
4985
5038
|
* - `friendIncrease`: 好友增加
|
|
4986
5039
|
* - `friendDecrease`: 好友减少
|
|
4987
5040
|
*
|
|
@@ -5009,7 +5062,7 @@ type NoticeEventSub =
|
|
|
5009
5062
|
/** 好友撤回消息 */
|
|
5010
5063
|
| 'friendRecall'
|
|
5011
5064
|
/** 好友发送文件 */
|
|
5012
|
-
| '
|
|
5065
|
+
| 'privateFileUploaded'
|
|
5013
5066
|
/** 好友增加 */
|
|
5014
5067
|
| 'friendIncrease'
|
|
5015
5068
|
/** 好友减少 */
|
|
@@ -5716,7 +5769,7 @@ declare class PrivateFileUploadedNotice extends NoticeBase {
|
|
|
5716
5769
|
#private;
|
|
5717
5770
|
content: PrivateFileUploadedOptions['content'];
|
|
5718
5771
|
constructor(options: PrivateFileUploadedOptions);
|
|
5719
|
-
get subEvent(): "
|
|
5772
|
+
get subEvent(): "privateFileUploaded";
|
|
5720
5773
|
get contact(): FriendContact;
|
|
5721
5774
|
get sender(): Sender & SenderBase;
|
|
5722
5775
|
get isPrivate(): true;
|
|
@@ -7479,7 +7532,7 @@ interface Package {
|
|
|
7479
7532
|
devDependencies: Record<string, string>;
|
|
7480
7533
|
/** peer依赖 */
|
|
7481
7534
|
peerDependencies: Record<string, string>;
|
|
7482
|
-
/**
|
|
7535
|
+
/** @deprecated 请使用 engines.karin 代替 */
|
|
7483
7536
|
engines: Record<string, string>;
|
|
7484
7537
|
/** 发布配置 */
|
|
7485
7538
|
publishConfig: {
|
|
@@ -8020,14 +8073,20 @@ interface Author {
|
|
|
8020
8073
|
name?: string;
|
|
8021
8074
|
/** 主页 */
|
|
8022
8075
|
home?: string;
|
|
8023
|
-
/**
|
|
8076
|
+
/**
|
|
8077
|
+
* 头像
|
|
8078
|
+
* @description https://github.com/[owner].png
|
|
8079
|
+
*/
|
|
8024
8080
|
avatar?: string;
|
|
8025
8081
|
}
|
|
8026
8082
|
/**
|
|
8027
8083
|
* 插件图标
|
|
8028
8084
|
*/
|
|
8029
8085
|
interface Icon {
|
|
8030
|
-
/**
|
|
8086
|
+
/**
|
|
8087
|
+
* 图标名称
|
|
8088
|
+
* @see https://fonts.google.com/icons
|
|
8089
|
+
*/
|
|
8031
8090
|
name?: string;
|
|
8032
8091
|
/** 图标大小 */
|
|
8033
8092
|
size?: number;
|
|
@@ -11696,6 +11755,13 @@ declare const node: (userId: CustomNodeElement["userId"], nickname: CustomNodeEl
|
|
|
11696
11755
|
* @param id 消息ID
|
|
11697
11756
|
*/
|
|
11698
11757
|
declare const nodeDirect: (id: string) => DirectNodeElement;
|
|
11758
|
+
/**
|
|
11759
|
+
* 构建文件元素
|
|
11760
|
+
* @deprecated 此类型不支持直接发送 请使用`uploadFile`方法
|
|
11761
|
+
* @param file 文件url、路径或者base64
|
|
11762
|
+
* @param options 其他可选参数
|
|
11763
|
+
*/
|
|
11764
|
+
declare const file: (file: string, options?: Partial<FileElement>) => FileElement;
|
|
11699
11765
|
|
|
11700
11766
|
declare const segment_at: typeof at;
|
|
11701
11767
|
declare const segment_basketball: typeof basketball;
|
|
@@ -11705,6 +11771,7 @@ declare const segment_contact: typeof contact;
|
|
|
11705
11771
|
declare const segment_customMusic: typeof customMusic;
|
|
11706
11772
|
declare const segment_dice: typeof dice;
|
|
11707
11773
|
declare const segment_face: typeof face;
|
|
11774
|
+
declare const segment_file: typeof file;
|
|
11708
11775
|
declare const segment_gift: typeof gift;
|
|
11709
11776
|
declare const segment_image: typeof image;
|
|
11710
11777
|
declare const segment_json: typeof json;
|
|
@@ -11728,7 +11795,7 @@ declare const segment_video: typeof video;
|
|
|
11728
11795
|
declare const segment_weather: typeof weather;
|
|
11729
11796
|
declare const segment_xml: typeof xml;
|
|
11730
11797
|
declare namespace segment {
|
|
11731
|
-
export { segment_at as at, segment_basketball as basketball, segment_bubbleFace as bubbleFace, segment_button as button, segment_contact as contact, segment_customMusic as customMusic, segment_dice as dice, segment_face as face, segment_gift as gift, segment_image as image, segment_json as json, segment_keyboard as keyboard, segment_location as location, segment_longMsg as longMsg, segment_markdown as markdown, segment_markdownTpl as markdownTpl, segment_marketFace as marketFace, segment_music as music, segment_node as node, segment_nodeDirect as nodeDirect, segment_pasmsg as pasmsg, segment_raw as raw, segment_record as record, segment_reply as reply, segment_rps as rps, segment_share as share, segment_text as text, segment_video as video, segment_weather as weather, segment_xml as xml };
|
|
11798
|
+
export { segment_at as at, segment_basketball as basketball, segment_bubbleFace as bubbleFace, segment_button as button, segment_contact as contact, segment_customMusic as customMusic, segment_dice as dice, segment_face as face, segment_file as file, segment_gift as gift, segment_image as image, segment_json as json, segment_keyboard as keyboard, segment_location as location, segment_longMsg as longMsg, segment_markdown as markdown, segment_markdownTpl as markdownTpl, segment_marketFace as marketFace, segment_music as music, segment_node as node, segment_nodeDirect as nodeDirect, segment_pasmsg as pasmsg, segment_raw as raw, segment_record as record, segment_reply as reply, segment_rps as rps, segment_share as share, segment_text as text, segment_video as video, segment_weather as weather, segment_xml as xml };
|
|
11732
11799
|
}
|
|
11733
11800
|
|
|
11734
11801
|
/**
|
|
@@ -13616,4 +13683,4 @@ type Client = RedisClientType & {
|
|
|
13616
13683
|
*/
|
|
13617
13684
|
declare const start: () => Promise<void>;
|
|
13618
13685
|
|
|
13619
|
-
export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AddDependenciesParams, type AddTaskResult, type AfterForwardMessageCallback, type AfterMessageCallback, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, type Author, BASE_ROUTER, BATCH_UPDATE_PLUGINS_ROUTER, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BaseForwardCallback, type BaseMessageCallback, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, CHECK_PLUGIN_ROUTER, CLOSE_TERMINAL_ROUTER, CONSOLE_ROUTER, CREATE_TERMINAL_ROUTER, type Cache, type CacheEntry, type CheckboxField, type CheckboxGroupProps, type CheckboxProps, type CheckboxResult, type Children, type CmdFnc, type Command, type CommandClass, type ComponentConfig, type ComponentProps, type ComponentType, type Components, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CreatePty, type CreateTask, type CreateTaskParams, type CreateTaskResult, type CronProps, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DefineConfig, type DependenciesManage, type DependenciesManageBase, type Dependency, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileErrorResult, type DownloadFileOptions, type DownloadFileResponse, type DownloadFileResult, type DownloadFileSuccessResult, type DownloadFilesOptions, EVENT_COUNT, EXIT_ROUTER, type ElementTypes, type Elements, type Env, type Event, type EventCallCallback, type EventCallHookItem, type EventParent, type EventToSubEvent, type ExecOptions$1 as ExecOptions, type ExecReturn, type ExecType, type ExtendedAxiosRequestConfig, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, GET_BOTS_ROUTER, GET_CONFIG_ROUTER, GET_DEPENDENCIES_LIST_ROUTER, GET_LOADED_COMMAND_PLUGIN_CACHE_LIST_ROUTER, GET_LOCAL_PLUGIN_LIST_ROUTER, GET_LOG_FILE_LIST_ROUTER, GET_LOG_FILE_ROUTER, GET_LOG_ROUTER, GET_NETWORK_STATUS_ROUTER, GET_NPMRC_LIST_ROUTER, GET_NPM_BASE_CONFIG_ROUTER, GET_NPM_CONFIG_ROUTER, GET_ONLINE_PLUGIN_LIST_ROUTER, GET_PLUGIN_APPS_ROUTER, GET_PLUGIN_CONFIG_ROUTER, GET_PLUGIN_FILE_ROUTER, GET_PLUGIN_LIST_PLUGIN_ADMIN_ROUTER, GET_PLUGIN_LIST_ROUTER, GET_PLUGIN_MARKET_LIST_ROUTER, GET_TASK_LIST_ROUTER, GET_TASK_STATUS_ROUTER, GET_TERMINAL_LIST_ROUTER, GET_UPDATABLE_PLUGINS_ROUTER, GET_WEBUI_PLUGIN_LIST_ROUTER, GET_WEBUI_PLUGIN_VERSIONS_ROUTER, type GeneralHookCallback, type GeneralHookItem, type GetAtAllCountResponse, type GetBot, type GetCommitHashOptions, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginLocalOptions, type GetPluginLocalReturn, type GetPluginReturn, type GetPluginType, type GiftElement, type GitLocalBranches, type GitPullOptions, type GitPullResult, type GitRemoteBranches, type GithubConfig, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, HTTPStatusCode, type Handler, type HandlerType, type HonorInfoList, type HookCache, type HookCallback, type HookEmitForward, type HookEmitMessage, type HookNext, type HookOptions, type HooksType, INSTALL_PLUGIN_ROUTER, INSTALL_WEBUI_PLUGIN_ROUTER, IS_PLUGIN_CONFIG_EXIST_ROUTER, type Icon, type ImageElement, type ImageSegment, type ImportModuleResult, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JsonSegment, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, type KarinPluginAppsType, type KeyboardElement, LOGIN_ROUTER, type LoadPluginResult, type LoadedPluginCacheList, type LocalApiResponse, type LocationElement, type LocationSegment, type Log, LogMethodNames, Logger, LoggerLevel, type LongMsgElement, MANAGE_DEPENDENCIES_ROUTER, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NetworkStatus, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NpmBaseConfigResponse, type NpmrcFileResponse, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type Option, type Options, PING_ROUTER, PLUGIN_ADMIN_ROUTER, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PingRequestResult, type PkgData, type PkgEnv, type PkgInfo, Plugin$1 as Plugin, type PluginAdminCustomInstall, type PluginAdminCustomInstallApp, type PluginAdminInstall, type PluginAdminListResponse, type PluginAdminMarketInstall, type PluginAdminMarketInstallApp, type PluginAdminParams, type PluginAdminResult, type PluginAdminUninstall, type PluginAdminUpdate, type PluginFile, type PluginFncTypes, type PluginLists, type PluginMarketAuthor, type PluginMarketLocalBase, type PluginMarketLocalOptions, type PluginMarketOptions, type PluginMarketRequest, type PluginMarketResponse, type PluginOptions, type PluginRule, type PluginUpdateInfo, type PnpmDependencies, type PnpmDependency, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, REFRESH_ROUTER, RESTART_ROUTER, type RaceResult, type Radio, type RadioField, type RadioGroupProps, type RadioResult, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type RemoveDependenciesParams, type Render, type RenderResult, Renderer, type Renders$1 as Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SAVE_CONFIG_ROUTER, SAVE_NPMRC_ROUTER, SAVE_PLUGIN_CONFIG_ROUTER, SEND_MSG, SET_LOG_LEVEL_ROUTER, SYSTEM_INFO_ROUTER, SYSTEM_STATUS_KARIN_ROUTER, SYSTEM_STATUS_ROUTER, SYSTEM_STATUS_WS_ROUTER, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type SaveConfigResponse, type SaveResult, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type Snapka, type SnapkaResult, type SrcReply, type StandardResult, type SwitchField, type SwitchProps, type SwitchResult, TASK_DELETE_ROUTER, TASK_LIST_ROUTER, TASK_LOGS_ROUTER, TASK_RUN_ROUTER, type Task, type TaskCallbacks, type TaskEntity, type TaskExecutor, type TaskFilter, type TaskStatus, type TaskType, type TerminalInstance, type TerminalShell, type TestNetworkRequestDetail, type TextElement, type TextField, type TextSegment, type TitleField, UNINSTALL_PLUGIN_ROUTER, UNINSTALL_WEBUI_PLUGIN_ROUTER, UPDATE_CORE_ROUTER, UPDATE_PLUGIN_ROUTER, UPDATE_TASK_STATUS_ROUTER, UPDATE_WEBUI_PLUGIN_VERSION_ROUTER, type UnionMessage, type UnregisterBot, type UpgradeDependenciesParams, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, WS_CLOSE, WS_CLOSE_ONEBOT, WS_CLOSE_PUPPETEER, WS_CLOSE_SANDBOX, WS_CONNECTION, WS_CONNECTION_ONEBOT, WS_CONNECTION_PUPPETEER, WS_CONNECTION_SANDBOX, WS_CONNECTION_TERMINAL, WS_SNAPKA, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, authMiddleware, base64, buffer, buildGithub, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact$1 as contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createAccessTokenExpiredResponse, createBadRequestResponse, createClient, createDirectMessage, createForbiddenResponse, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createHttp, createINIParser, createMethodNotAllowedResponse, createNotFoundResponse, createPayloadTooLargeResponse, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, createRefreshTokenExpiredResponse, createResponse, createServerErrorResponse, createSuccessResponse, createTaskDatabase, createUnauthorizedResponse, cron, db, debug, karin as default, defineConfig, divider, downFile, downloadFile, errorToString, exec, executeTask, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatPath, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getAllFiles, getAllFilesSync, getBot, getBotCount, getCommit, getDefaultBranch, getFastGithub, getFastRegistry, getFiles, getHash, getLocalBranches, getLocalCommitHash, getMimeType, getPackageJson, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemoteBranches, getRemoteCommitHash, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTaskCallback, getTaskDatabase, getTime, gitPull, handler$1 as handler, hooks, importModule, ini, initOneBot, initTaskSystem, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPathEqual, isPlugin, isPublic, isRoot, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, parseGithubUrl, pingRequest, pkgRoot, qqbotToKarin, raceRequest, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, removeTaskCallback, render, renderHtml, renderMultiHtml, renderTpl, requireFile, requireFileSync, restart, restartDirect, rmSync, router, satisfies, save, type screenshot, segment, sendMsg$1 as sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, setTaskCallback, setTaskDatabase, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, taskAdd, taskExists, taskGet, taskList, taskSystem, taskUpdateLogs, taskUpdateStatus, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, updateTaskLogs, updateTaskStatus, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|
|
13686
|
+
export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AddDependenciesParams, type AddTaskResult, type AfterForwardMessageCallback, type AfterMessageCallback, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, type Author, BASE_ROUTER, BATCH_UPDATE_PLUGINS_ROUTER, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BaseForwardCallback, type BaseMessageCallback, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, CHECK_PLUGIN_ROUTER, CLOSE_TERMINAL_ROUTER, CONSOLE_ROUTER, CREATE_TERMINAL_ROUTER, type Cache, type CacheEntry, type CheckboxField, type CheckboxGroupProps, type CheckboxProps, type CheckboxResult, type Children, type CmdFnc, type Command, type CommandClass, type ComponentConfig, type ComponentProps, type ComponentType, type Components, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CreatePty, type CreateTask, type CreateTaskParams, type CreateTaskResult, type CronProps, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DefineConfig, type DependenciesManage, type DependenciesManageBase, type Dependency, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileErrorResult, type DownloadFileOptions, type DownloadFileResponse, type DownloadFileResult, type DownloadFileSuccessResult, type DownloadFilesOptions, EVENT_COUNT, EXIT_ROUTER, type ElementTypes, type Elements, type Env, type Event, type EventCallCallback, type EventCallHookItem, type EventParent, type EventToSubEvent, type ExecOptions$1 as ExecOptions, type ExecReturn, type ExecType, type ExtendedAxiosRequestConfig, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, GET_BOTS_ROUTER, GET_CONFIG_ROUTER, GET_DEPENDENCIES_LIST_ROUTER, GET_LOADED_COMMAND_PLUGIN_CACHE_LIST_ROUTER, GET_LOCAL_PLUGIN_LIST_ROUTER, GET_LOG_FILE_LIST_ROUTER, GET_LOG_FILE_ROUTER, GET_LOG_ROUTER, GET_NETWORK_STATUS_ROUTER, GET_NPMRC_LIST_ROUTER, GET_NPM_BASE_CONFIG_ROUTER, GET_NPM_CONFIG_ROUTER, GET_ONLINE_PLUGIN_LIST_ROUTER, GET_PLUGIN_APPS_ROUTER, GET_PLUGIN_CONFIG_ROUTER, GET_PLUGIN_FILE_ROUTER, GET_PLUGIN_LIST_PLUGIN_ADMIN_ROUTER, GET_PLUGIN_LIST_ROUTER, GET_PLUGIN_MARKET_LIST_ROUTER, GET_TASK_LIST_ROUTER, GET_TASK_STATUS_ROUTER, GET_TERMINAL_LIST_ROUTER, GET_UPDATABLE_PLUGINS_ROUTER, GET_WEBUI_PLUGIN_LIST_ROUTER, GET_WEBUI_PLUGIN_VERSIONS_ROUTER, type GeneralHookCallback, type GeneralHookItem, type GetAtAllCountResponse, type GetBot, type GetCommitHashOptions, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginLocalOptions, type GetPluginLocalReturn, type GetPluginReturn, type GetPluginType, type GiftElement, type GitLocalBranches, type GitPullOptions, type GitPullResult, type GitRemoteBranches, type GithubConfig, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, HTTPStatusCode, type Handler, type HandlerType, type HonorInfoList, type HookCache, type HookCallback, type HookEmitForward, type HookEmitMessage, type HookNext, type HookOptions, type HooksType, INSTALL_PLUGIN_ROUTER, INSTALL_WEBUI_PLUGIN_ROUTER, IS_PLUGIN_CONFIG_EXIST_ROUTER, type Icon, type ImageElement, type ImageSegment, type ImportModuleResult, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JsonSegment, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, type KarinPluginAppsType, type KeyboardElement, LOGIN_ROUTER, type LoadPluginResult, type LoadedPluginCacheList, type LocalApiResponse, type LocationElement, type LocationSegment, type Log, LogMethodNames, Logger, LoggerLevel, type LongMsgElement, MANAGE_DEPENDENCIES_ROUTER, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NetworkStatus, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NpmBaseConfigResponse, type NpmrcFileResponse, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendOfflineFile, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type Option, type Options, PING_ROUTER, PLUGIN_ADMIN_ROUTER, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PingRequestResult, type PkgData, type PkgEnv, type PkgInfo, Plugin$1 as Plugin, type PluginAdminCustomInstall, type PluginAdminCustomInstallApp, type PluginAdminInstall, type PluginAdminListResponse, type PluginAdminMarketInstall, type PluginAdminMarketInstallApp, type PluginAdminParams, type PluginAdminResult, type PluginAdminUninstall, type PluginAdminUpdate, type PluginFile, type PluginFncTypes, type PluginLists, type PluginMarketAuthor, type PluginMarketLocalBase, type PluginMarketLocalOptions, type PluginMarketOptions, type PluginMarketRequest, type PluginMarketResponse, type PluginOptions, type PluginRule, type PluginUpdateInfo, type PnpmDependencies, type PnpmDependency, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, REFRESH_ROUTER, RESTART_ROUTER, type RaceResult, type Radio, type RadioField, type RadioGroupProps, type RadioResult, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type RemoveDependenciesParams, type Render, type RenderResult, Renderer, type Renders$1 as Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SAVE_CONFIG_ROUTER, SAVE_NPMRC_ROUTER, SAVE_PLUGIN_CONFIG_ROUTER, SEND_MSG, SET_LOG_LEVEL_ROUTER, SYSTEM_INFO_ROUTER, SYSTEM_STATUS_KARIN_ROUTER, SYSTEM_STATUS_ROUTER, SYSTEM_STATUS_WS_ROUTER, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type SaveConfigResponse, type SaveResult, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type Snapka, type SnapkaResult, type SrcReply, type StandardResult, type SwitchField, type SwitchProps, type SwitchResult, TASK_DELETE_ROUTER, TASK_LIST_ROUTER, TASK_LOGS_ROUTER, TASK_RUN_ROUTER, type Task, type TaskCallbacks, type TaskEntity, type TaskExecutor, type TaskFilter, type TaskStatus, type TaskType, type TerminalInstance, type TerminalShell, type TestNetworkRequestDetail, type TextElement, type TextField, type TextSegment, type TitleField, UNINSTALL_PLUGIN_ROUTER, UNINSTALL_WEBUI_PLUGIN_ROUTER, UPDATE_CORE_ROUTER, UPDATE_PLUGIN_ROUTER, UPDATE_TASK_STATUS_ROUTER, UPDATE_WEBUI_PLUGIN_VERSION_ROUTER, type UnionMessage, type UnregisterBot, type UpgradeDependenciesParams, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, WS_CLOSE, WS_CLOSE_ONEBOT, WS_CLOSE_PUPPETEER, WS_CLOSE_SANDBOX, WS_CONNECTION, WS_CONNECTION_ONEBOT, WS_CONNECTION_PUPPETEER, WS_CONNECTION_SANDBOX, WS_CONNECTION_TERMINAL, WS_SNAPKA, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, authMiddleware, base64, buffer, buildGithub, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact$1 as contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createAccessTokenExpiredResponse, createBadRequestResponse, createClient, createDirectMessage, createForbiddenResponse, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createHttp, createINIParser, createMethodNotAllowedResponse, createNotFoundResponse, createPayloadTooLargeResponse, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, createRefreshTokenExpiredResponse, createResponse, createServerErrorResponse, createSuccessResponse, createTaskDatabase, createUnauthorizedResponse, cron, db, debug, karin as default, defineConfig, divider, downFile, downloadFile, errorToString, exec, executeTask, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatPath, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getAllFiles, getAllFilesSync, getBot, getBotCount, getCommit, getDefaultBranch, getFastGithub, getFastRegistry, getFiles, getHash, getLocalBranches, getLocalCommitHash, getMimeType, getPackageJson, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemoteBranches, getRemoteCommitHash, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTaskCallback, getTaskDatabase, getTime, gitPull, handler$1 as handler, hooks, importModule, ini, initOneBot, initTaskSystem, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPathEqual, isPlugin, isPublic, isRoot, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, parseGithubUrl, pingRequest, pkgRoot, qqbotToKarin, raceRequest, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, removeTaskCallback, render, renderHtml, renderMultiHtml, renderTpl, requireFile, requireFileSync, restart, restartDirect, rmSync, router, satisfies, save, type screenshot, segment, sendMsg$1 as sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, setTaskCallback, setTaskDatabase, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, taskAdd, taskExists, taskGet, taskList, taskSystem, taskUpdateLogs, taskUpdateStatus, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, updateTaskLogs, updateTaskStatus, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|