node-karin 1.9.9 → 1.9.11
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 +16 -0
- package/dist/index.d.ts +115 -52
- package/dist/index.mjs +500 -394
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.9.11](https://github.com/KarinJS/Karin/compare/core-v1.9.10...core-v1.9.11) (2025-06-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 转换文件消息段错误 ([5048bd1](https://github.com/KarinJS/Karin/commit/5048bd1108a926086467563bc2f96a5605e68475))
|
|
9
|
+
|
|
10
|
+
## [1.9.10](https://github.com/KarinJS/Karin/compare/core-v1.9.9...core-v1.9.10) (2025-06-05)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### 🐛 Bug Fixes
|
|
14
|
+
|
|
15
|
+
* close [#383](https://github.com/KarinJS/Karin/issues/383) ([7391d4e](https://github.com/KarinJS/Karin/commit/7391d4eb4bda70df17e6dc49b8eba4a6a8c89b48))
|
|
16
|
+
* close [#454](https://github.com/KarinJS/Karin/issues/454) ([663c119](https://github.com/KarinJS/Karin/commit/663c119ed9d0d476f661673ff1bb095e36d31488))
|
|
17
|
+
* 迁移到`engines` ([afb41cb](https://github.com/KarinJS/Karin/commit/afb41cbc3d6a2e8e83182c0afdb029760a897462))
|
|
18
|
+
|
|
3
19
|
## [1.9.9](https://github.com/KarinJS/Karin/compare/core-v1.9.8...core-v1.9.9) (2025-06-04)
|
|
4
20
|
|
|
5
21
|
|
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 群号
|
|
@@ -3144,9 +3207,11 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3144
3207
|
eventHandlers(data: OB11AllEvent, str: string): void;
|
|
3145
3208
|
/**
|
|
3146
3209
|
* onebot11转karin
|
|
3210
|
+
* @param data onebot11格式消息
|
|
3211
|
+
* @param contact 联系人信息 如果需要转换napcat的文件消息则需要传入
|
|
3147
3212
|
* @return karin格式消息
|
|
3148
3213
|
*/
|
|
3149
|
-
AdapterConvertKarin(data: Array<OB11Segment
|
|
3214
|
+
AdapterConvertKarin(data: Array<OB11Segment>, contact?: Contact): Promise<Elements[]>;
|
|
3150
3215
|
/**
|
|
3151
3216
|
* karin转onebot11
|
|
3152
3217
|
* @param data karin格式消息
|
|
@@ -3523,13 +3588,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3523
3588
|
buf?: Record<string, unknown>;
|
|
3524
3589
|
};
|
|
3525
3590
|
extOnlineBusinessInfo?: {
|
|
3526
|
-
buf
|
|
3527
|
-
/**
|
|
3528
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3529
|
-
*/
|
|
3530
|
-
? /**
|
|
3531
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3532
|
-
*/: Record<string, unknown>;
|
|
3591
|
+
buf?: Record<string, unknown>;
|
|
3533
3592
|
customStatus?: string | null;
|
|
3534
3593
|
videoBizInfo?: {
|
|
3535
3594
|
cid?: string;
|
|
@@ -3641,13 +3700,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3641
3700
|
buf?: Record<string, unknown>;
|
|
3642
3701
|
};
|
|
3643
3702
|
extOnlineBusinessInfo?: {
|
|
3644
|
-
buf
|
|
3645
|
-
/**
|
|
3646
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3647
|
-
*/
|
|
3648
|
-
? /**
|
|
3649
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3650
|
-
*/: Record<string, unknown>;
|
|
3703
|
+
buf?: Record<string, unknown>;
|
|
3651
3704
|
customStatus?: string | null;
|
|
3652
3705
|
videoBizInfo?: {
|
|
3653
3706
|
cid?: string;
|
|
@@ -3757,13 +3810,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3757
3810
|
buf?: Record<string, unknown>;
|
|
3758
3811
|
};
|
|
3759
3812
|
extOnlineBusinessInfo?: {
|
|
3760
|
-
buf
|
|
3761
|
-
/**
|
|
3762
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3763
|
-
*/
|
|
3764
|
-
? /**
|
|
3765
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3766
|
-
*/: Record<string, unknown>;
|
|
3813
|
+
buf?: Record<string, unknown>;
|
|
3767
3814
|
customStatus?: string | null;
|
|
3768
3815
|
videoBizInfo?: {
|
|
3769
3816
|
cid?: string;
|
|
@@ -3871,13 +3918,7 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
3871
3918
|
buf?: Record<string, unknown>;
|
|
3872
3919
|
};
|
|
3873
3920
|
extOnlineBusinessInfo?: {
|
|
3874
|
-
buf
|
|
3875
|
-
/**
|
|
3876
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3877
|
-
*/
|
|
3878
|
-
? /**
|
|
3879
|
-
* @deprecated 已废弃,请使用`setGroupMute`
|
|
3880
|
-
*/: Record<string, unknown>;
|
|
3921
|
+
buf?: Record<string, unknown>;
|
|
3881
3922
|
customStatus?: string | null;
|
|
3882
3923
|
videoBizInfo?: {
|
|
3883
3924
|
cid?: string;
|
|
@@ -4272,6 +4313,13 @@ declare abstract class AdapterOneBot extends AdapterBase {
|
|
|
4272
4313
|
forwardId: string;
|
|
4273
4314
|
message_id: string;
|
|
4274
4315
|
}>;
|
|
4316
|
+
/**
|
|
4317
|
+
* 获取文件url
|
|
4318
|
+
* @param contact 目标信息
|
|
4319
|
+
* @param fid 文件id
|
|
4320
|
+
* @returns 文件url
|
|
4321
|
+
*/
|
|
4322
|
+
getFileUrl(contact: Contact, fid: string): Promise<string>;
|
|
4275
4323
|
/**
|
|
4276
4324
|
* 发送API请求
|
|
4277
4325
|
* @param action API端点
|
|
@@ -4585,6 +4633,13 @@ interface AdapterType<T = any> {
|
|
|
4585
4633
|
* @returns 下载文件的绝对路径和文件MD5
|
|
4586
4634
|
*/
|
|
4587
4635
|
downloadFile(options?: DownloadFileOptions): Promise<DownloadFileResponse>;
|
|
4636
|
+
/**
|
|
4637
|
+
* 获取文件url
|
|
4638
|
+
* @param contact 目标信息
|
|
4639
|
+
* @param fileId 文件id
|
|
4640
|
+
* @returns 文件url
|
|
4641
|
+
*/
|
|
4642
|
+
getFileUrl(contact: Contact, fileId: string): Promise<string>;
|
|
4588
4643
|
/**
|
|
4589
4644
|
* 创建群文件夹
|
|
4590
4645
|
* @param groupId 群号
|
|
@@ -4771,7 +4826,7 @@ interface PrivateFileUploadedType {
|
|
|
4771
4826
|
operatorId: string;
|
|
4772
4827
|
/** 文件ID 此项没有则为空字符串 */
|
|
4773
4828
|
fid: string;
|
|
4774
|
-
/** 文件子ID
|
|
4829
|
+
/** 文件子ID 此项没有则为0 */
|
|
4775
4830
|
subId: number;
|
|
4776
4831
|
/** 文件名 此项没有则为空字符串 */
|
|
4777
4832
|
name: string;
|
|
@@ -4780,7 +4835,7 @@ interface PrivateFileUploadedType {
|
|
|
4780
4835
|
/** 过期时间 此项没有则为0 */
|
|
4781
4836
|
expireTime: number;
|
|
4782
4837
|
/** 文件URL */
|
|
4783
|
-
url: string
|
|
4838
|
+
url: () => Promise<string>;
|
|
4784
4839
|
}
|
|
4785
4840
|
/** 通知事件: 群聊戳一戳 */
|
|
4786
4841
|
interface GroupPokeType {
|
|
@@ -4826,7 +4881,7 @@ interface GroupFileUploadedType {
|
|
|
4826
4881
|
/** 过期时间 */
|
|
4827
4882
|
expireTime?: number;
|
|
4828
4883
|
/** 文件URL */
|
|
4829
|
-
url
|
|
4884
|
+
url: () => Promise<string>;
|
|
4830
4885
|
}
|
|
4831
4886
|
/** 通知事件: 群名片变动 */
|
|
4832
4887
|
interface GroupCardChangedType {
|
|
@@ -4981,7 +5036,7 @@ type MessageEventSub = 'group' | 'friend' | 'guild' | 'direct' | 'groupTemp';
|
|
|
4981
5036
|
* - `receiveLike`: 收到点赞
|
|
4982
5037
|
* - `friendPoke`: 好友戳一戳
|
|
4983
5038
|
* - `friendRecall`: 好友撤回消息
|
|
4984
|
-
* - `
|
|
5039
|
+
* - `privateFileUploaded`: 好友发送文件
|
|
4985
5040
|
* - `friendIncrease`: 好友增加
|
|
4986
5041
|
* - `friendDecrease`: 好友减少
|
|
4987
5042
|
*
|
|
@@ -5009,7 +5064,7 @@ type NoticeEventSub =
|
|
|
5009
5064
|
/** 好友撤回消息 */
|
|
5010
5065
|
| 'friendRecall'
|
|
5011
5066
|
/** 好友发送文件 */
|
|
5012
|
-
| '
|
|
5067
|
+
| 'privateFileUploaded'
|
|
5013
5068
|
/** 好友增加 */
|
|
5014
5069
|
| 'friendIncrease'
|
|
5015
5070
|
/** 好友减少 */
|
|
@@ -5716,7 +5771,7 @@ declare class PrivateFileUploadedNotice extends NoticeBase {
|
|
|
5716
5771
|
#private;
|
|
5717
5772
|
content: PrivateFileUploadedOptions['content'];
|
|
5718
5773
|
constructor(options: PrivateFileUploadedOptions);
|
|
5719
|
-
get subEvent(): "
|
|
5774
|
+
get subEvent(): "privateFileUploaded";
|
|
5720
5775
|
get contact(): FriendContact;
|
|
5721
5776
|
get sender(): Sender & SenderBase;
|
|
5722
5777
|
get isPrivate(): true;
|
|
@@ -7479,7 +7534,7 @@ interface Package {
|
|
|
7479
7534
|
devDependencies: Record<string, string>;
|
|
7480
7535
|
/** peer依赖 */
|
|
7481
7536
|
peerDependencies: Record<string, string>;
|
|
7482
|
-
/**
|
|
7537
|
+
/** @deprecated 请使用 engines.karin 代替 */
|
|
7483
7538
|
engines: Record<string, string>;
|
|
7484
7539
|
/** 发布配置 */
|
|
7485
7540
|
publishConfig: {
|
|
@@ -11702,6 +11757,13 @@ declare const node: (userId: CustomNodeElement["userId"], nickname: CustomNodeEl
|
|
|
11702
11757
|
* @param id 消息ID
|
|
11703
11758
|
*/
|
|
11704
11759
|
declare const nodeDirect: (id: string) => DirectNodeElement;
|
|
11760
|
+
/**
|
|
11761
|
+
* 构建文件元素
|
|
11762
|
+
* @deprecated 此类型不支持直接发送 请使用`uploadFile`方法
|
|
11763
|
+
* @param file 文件url、路径或者base64
|
|
11764
|
+
* @param options 其他可选参数
|
|
11765
|
+
*/
|
|
11766
|
+
declare const file: (file: string, options?: Partial<FileElement>) => FileElement;
|
|
11705
11767
|
|
|
11706
11768
|
declare const segment_at: typeof at;
|
|
11707
11769
|
declare const segment_basketball: typeof basketball;
|
|
@@ -11711,6 +11773,7 @@ declare const segment_contact: typeof contact;
|
|
|
11711
11773
|
declare const segment_customMusic: typeof customMusic;
|
|
11712
11774
|
declare const segment_dice: typeof dice;
|
|
11713
11775
|
declare const segment_face: typeof face;
|
|
11776
|
+
declare const segment_file: typeof file;
|
|
11714
11777
|
declare const segment_gift: typeof gift;
|
|
11715
11778
|
declare const segment_image: typeof image;
|
|
11716
11779
|
declare const segment_json: typeof json;
|
|
@@ -11734,7 +11797,7 @@ declare const segment_video: typeof video;
|
|
|
11734
11797
|
declare const segment_weather: typeof weather;
|
|
11735
11798
|
declare const segment_xml: typeof xml;
|
|
11736
11799
|
declare namespace segment {
|
|
11737
|
-
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 };
|
|
11800
|
+
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 };
|
|
11738
11801
|
}
|
|
11739
11802
|
|
|
11740
11803
|
/**
|
|
@@ -13622,4 +13685,4 @@ type Client = RedisClientType & {
|
|
|
13622
13685
|
*/
|
|
13623
13686
|
declare const start: () => Promise<void>;
|
|
13624
13687
|
|
|
13625
|
-
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 };
|
|
13688
|
+
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 };
|