node-karin 1.10.23 → 1.11.0
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 +13 -0
- package/README.md +7 -4
- package/dist/index.d.ts +22 -20
- package/dist/index.mjs +10 -3
- package/dist/web/assets/js/components-PXvhEdJk.js.br +0 -0
- package/dist/web/assets/js/entry-5NUBpo7O.js.br +0 -0
- package/dist/web/assets/js/hooks-Bt4r9DmE.js.br +0 -0
- package/dist/web/assets/js/page-404.tsx-gcd0acEj.js +1 -0
- package/dist/web/assets/js/page-dashboard-BjLuiRij.js.br +0 -0
- package/dist/web/assets/js/page-loading.tsx-2AGXAZRF.js.br +0 -0
- package/dist/web/assets/js/page-login.tsx-ClP9sjG7.js.br +0 -0
- package/dist/web/assets/js/{utils-DPnp8l5q.js → utils-a84QdqOb.js} +1 -1
- package/dist/web/assets/js/vendor-editor-BmqYP7lh.js.br +0 -0
- package/dist/web/assets/js/vendor-heroui-BOZloQyh.js.br +0 -0
- package/dist/web/assets/js/vendor-others-B7c2cg4c.js.br +0 -0
- package/dist/web/assets/js/vendor-react-W5gQf126.js.br +0 -0
- package/dist/web/assets/js/vendor-visual-C6q6nRmW.js.br +0 -0
- package/dist/web/index.html +10 -10
- package/package.json +1 -1
- package/dist/web/assets/js/components-2t4MPaOy.js.br +0 -0
- package/dist/web/assets/js/entry-DE0mHEZF.js.br +0 -0
- package/dist/web/assets/js/hooks-DyYsxseQ.js.br +0 -0
- package/dist/web/assets/js/page-404.tsx-j96teJz3.js +0 -1
- package/dist/web/assets/js/page-dashboard-Bl6Ln0Uf.js.br +0 -0
- package/dist/web/assets/js/page-loading.tsx-BfVqxSVK.js.br +0 -0
- package/dist/web/assets/js/page-login.tsx-FIRJIXcp.js.br +0 -0
- package/dist/web/assets/js/vendor-editor-B8hjWfkw.js.br +0 -0
- package/dist/web/assets/js/vendor-heroui-aleFRZYD.js.br +0 -0
- package/dist/web/assets/js/vendor-others-BVX3qAut.js.br +0 -0
- package/dist/web/assets/js/vendor-react-CvbOIVDM.js.br +0 -0
- package/dist/web/assets/js/vendor-visual-CDapryqv.js.br +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.11.0](https://github.com/KarinJS/Karin/compare/core-v1.10.23...core-v1.11.0) (2025-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ✨ Features
|
|
7
|
+
|
|
8
|
+
* add avatar field to GroupInfo interface ([#535](https://github.com/KarinJS/Karin/issues/535)) ([7878dcf](https://github.com/KarinJS/Karin/commit/7878dcf9488381399adb618318da9b0560258311))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### 🐛 Bug Fixes
|
|
12
|
+
|
|
13
|
+
* console adapter to use correct file extensions for video and audio files ([#538](https://github.com/KarinJS/Karin/issues/538)) ([f157112](https://github.com/KarinJS/Karin/commit/f1571120e7599c103fc9615fe9551b4eb8bf4b6e))
|
|
14
|
+
* Support Array<string | Elements> in active message interface ([#536](https://github.com/KarinJS/Karin/issues/536)) ([3ff6d62](https://github.com/KarinJS/Karin/commit/3ff6d626436b8b892aab0c772a46abfa6f991485))
|
|
15
|
+
|
|
3
16
|
## [1.10.23](https://github.com/KarinJS/Karin/compare/core-v1.10.22...core-v1.10.23) (2025-09-08)
|
|
4
17
|
|
|
5
18
|
|
package/README.md
CHANGED
|
@@ -40,17 +40,19 @@
|
|
|
40
40
|
|
|
41
41
|
- **主文档站**: [https://karinjs.com](https://karinjs.com) (基于 GitHub Pages)
|
|
42
42
|
- **镜像站点**:
|
|
43
|
-
-
|
|
44
|
-
- Vercel
|
|
45
|
-
- Deno 镜像: [https://karin.deno.dev](https://karin.deno.dev)
|
|
43
|
+
- [Vercel 镜像(瑜笙)](https://github.com/yusheng929): [https://docs.karinjs.com](https://docs.karinjs.com)
|
|
44
|
+
- [Vercel 镜像(憨憨)](https://github.com/hanhan258): [https://karin.hanhanz.top](https://karin.hanhanz.top)
|
|
45
|
+
- Deno 镜像: [https://karin.deno.dev](https://karin.deno.dev)
|
|
46
|
+
- [自建CDN镜像(ikechan8370)](https://github.com/ikechan8370): [https://karin.chaite.cloud](https://karin.chaite.cloud)
|
|
46
47
|
|
|
47
|
-
> 💡 主文档站托管在 GitHub 上,如访问不畅,推荐使用
|
|
48
|
+
> 💡 主文档站托管在 GitHub 上,如访问不畅,推荐使用 `ikechan8370` 镜像站
|
|
48
49
|
|
|
49
50
|
## 鸣谢
|
|
50
51
|
|
|
51
52
|
- webui: [bietiaop](https://github.com/bietiaop)
|
|
52
53
|
- docs: [ikenxuan](https://github.com/ikenxuan)
|
|
53
54
|
- name: [fuqiuluo](https://github.com/fuqiuluo)
|
|
55
|
+
- package-name: [valqelyan](https://github.com/valqelyan)
|
|
54
56
|
|
|
55
57
|
### 特别感谢 / Special Thanks
|
|
56
58
|
|
|
@@ -105,3 +107,4 @@ Thanks to [valqelyan](https://github.com/valqelyan) for transferring the `karin`
|
|
|
105
107
|
## 更新日志
|
|
106
108
|
|
|
107
109
|
我们定期发布更新,查看 [CHANGELOG](https://github.com/KarinJS/Karin/releases) 了解最新变化。
|
|
110
|
+
|
package/dist/index.d.ts
CHANGED
|
@@ -936,6 +936,8 @@ interface GroupInfo {
|
|
|
936
936
|
memberCount?: number;
|
|
937
937
|
/** 群描述 */
|
|
938
938
|
groupDesc?: string;
|
|
939
|
+
/** 群头像 */
|
|
940
|
+
avatar?: string;
|
|
939
941
|
}
|
|
940
942
|
/**
|
|
941
943
|
* 群成员信息
|
|
@@ -2938,7 +2940,7 @@ declare class GroupInviteRequest extends RequestBase {
|
|
|
2938
2940
|
|
|
2939
2941
|
/** 消息事件对应的对象类型 */
|
|
2940
2942
|
interface MessageEventMap {
|
|
2941
|
-
message: Message
|
|
2943
|
+
message: Message;
|
|
2942
2944
|
'message.group': GroupMessage;
|
|
2943
2945
|
'message.friend': FriendMessage;
|
|
2944
2946
|
'message.guild': GuildMessage;
|
|
@@ -2996,7 +2998,7 @@ type Notice = ReceiveLikeNotice | FriendDecreaseNotice | FriendIncreaseNotice |
|
|
|
2996
2998
|
/**
|
|
2997
2999
|
* @description 消息事件类型
|
|
2998
3000
|
*/
|
|
2999
|
-
type Message
|
|
3001
|
+
type Message = FriendMessage | GroupMessage | DirectMessage | GuildMessage | GroupTempMessage;
|
|
3000
3002
|
/**
|
|
3001
3003
|
* @description 请求事件类型
|
|
3002
3004
|
*/
|
|
@@ -3004,7 +3006,7 @@ type Request = PrivateApplyRequest | GroupApplyRequest | GroupInviteRequest;
|
|
|
3004
3006
|
/**
|
|
3005
3007
|
* @description 所有事件类型
|
|
3006
3008
|
*/
|
|
3007
|
-
type Event = Message
|
|
3009
|
+
type Event = Message | Notice | Request;
|
|
3008
3010
|
|
|
3009
3011
|
/**
|
|
3010
3012
|
* 权限类型
|
|
@@ -3567,7 +3569,6 @@ declare const unregisterBot: UnregisterBot;
|
|
|
3567
3569
|
* @returns 适配器索引
|
|
3568
3570
|
*/
|
|
3569
3571
|
declare const registerBot: (_: AdapterCommunication, bot: AdapterBase) => number;
|
|
3570
|
-
type Message$1 = string | Elements | Array<Elements>;
|
|
3571
3572
|
interface SendMsgOptions$1 {
|
|
3572
3573
|
/** 发送成功后撤回消息时间 */
|
|
3573
3574
|
recallMsg?: number;
|
|
@@ -3583,7 +3584,7 @@ interface SendMsgOptions$1 {
|
|
|
3583
3584
|
* @param elements 消息内容
|
|
3584
3585
|
* @param options 消息选项
|
|
3585
3586
|
*/
|
|
3586
|
-
declare const sendMsg$1: (selfId: string, contact: Contact, elements:
|
|
3587
|
+
declare const sendMsg$1: (selfId: string, contact: Contact, elements: SendMessage, options?: SendMsgOptions$1) => Promise<SendMsgResults>;
|
|
3587
3588
|
|
|
3588
3589
|
interface HandlerType<T = any> {
|
|
3589
3590
|
/**
|
|
@@ -5973,11 +5974,11 @@ declare class Plugin$1<T extends keyof MessageEventMap = keyof MessageEventMap>
|
|
|
5973
5974
|
/** 优先级 */
|
|
5974
5975
|
priority: PluginOptions<T>['priority'];
|
|
5975
5976
|
/** 消息事件对象 */
|
|
5976
|
-
e: T extends keyof MessageEventMap ? MessageEventMap[T] : Message
|
|
5977
|
+
e: T extends keyof MessageEventMap ? MessageEventMap[T] : Message;
|
|
5977
5978
|
/** 调用后将继续匹配下一个插件 */
|
|
5978
5979
|
next: () => unknown;
|
|
5979
5980
|
/** 快速回复 */
|
|
5980
|
-
reply: Message
|
|
5981
|
+
reply: Message['reply'];
|
|
5981
5982
|
constructor(options: PluginOptions<T> & {
|
|
5982
5983
|
event?: T;
|
|
5983
5984
|
});
|
|
@@ -6133,7 +6134,7 @@ interface LoadedPluginCacheList {
|
|
|
6133
6134
|
/** 缓存 */
|
|
6134
6135
|
declare const cache: Cache;
|
|
6135
6136
|
|
|
6136
|
-
type UnionMessage = Message
|
|
6137
|
+
type UnionMessage = Message | FriendMessage | GroupMessage | GuildMessage | DirectMessage | GroupTempMessage;
|
|
6137
6138
|
/** 调用后继续执行下一个钩子 如果没钩子则继续正常流程 */
|
|
6138
6139
|
type HookNext = () => void;
|
|
6139
6140
|
/** 通用钩子配置项 */
|
|
@@ -6230,7 +6231,7 @@ interface SendMsgHookItem<T extends NormalMessageCallback | ForwardMessageCallba
|
|
|
6230
6231
|
interface HookCache {
|
|
6231
6232
|
/** 消息事件钩子 */
|
|
6232
6233
|
message: {
|
|
6233
|
-
message: MessageHookItem<Message
|
|
6234
|
+
message: MessageHookItem<Message>[];
|
|
6234
6235
|
friend: MessageHookItem<FriendMessage>[];
|
|
6235
6236
|
group: MessageHookItem<GroupMessage>[];
|
|
6236
6237
|
guild: MessageHookItem<GuildMessage>[];
|
|
@@ -6250,7 +6251,7 @@ interface HookCache {
|
|
|
6250
6251
|
/** 未找到匹配插件钩子 */
|
|
6251
6252
|
empty: {
|
|
6252
6253
|
/** 消息 */
|
|
6253
|
-
message: MessageHookItem<Message
|
|
6254
|
+
message: MessageHookItem<Message>[];
|
|
6254
6255
|
/** 通知 */
|
|
6255
6256
|
notice: GeneralHookItem<Notice>[];
|
|
6256
6257
|
/** 请求 */
|
|
@@ -6259,7 +6260,7 @@ interface HookCache {
|
|
|
6259
6260
|
/** 事件调用插件钩子 */
|
|
6260
6261
|
eventCall: {
|
|
6261
6262
|
/** 通用消息事件 */
|
|
6262
|
-
message: EventCallHookItem<Message
|
|
6263
|
+
message: EventCallHookItem<Message, typeof cache.command[number]>[];
|
|
6263
6264
|
/** 群聊事件 */
|
|
6264
6265
|
group: EventCallHookItem<GroupMessage, typeof cache.command[number]>[];
|
|
6265
6266
|
/** 频道事件 */
|
|
@@ -7311,7 +7312,7 @@ declare const command: CommandType;
|
|
|
7311
7312
|
* @param options - 上下文选项
|
|
7312
7313
|
* @returns 返回下文消息事件 如果超时则返回null
|
|
7313
7314
|
*/
|
|
7314
|
-
declare const ctx: <T = Message
|
|
7315
|
+
declare const ctx: <T = Message>(e: Event, options?: {
|
|
7315
7316
|
/** 指定用户id触发下文 不指定则使用默认e.user_id */
|
|
7316
7317
|
userId?: string;
|
|
7317
7318
|
/** 超时时间 默认120秒 */
|
|
@@ -7340,7 +7341,6 @@ interface HandlerOptions {
|
|
|
7340
7341
|
*/
|
|
7341
7342
|
declare const handler: (key: string, fnc: Handler["fnc"], options?: HandlerOptions) => Handler;
|
|
7342
7343
|
|
|
7343
|
-
type Message = string | Elements | Array<Elements>;
|
|
7344
7344
|
interface SendMsgOptions {
|
|
7345
7345
|
/** 发送成功后撤回消息时间 */
|
|
7346
7346
|
recallMsg?: number;
|
|
@@ -7364,7 +7364,7 @@ interface SendAdminOptions extends SendMsgOptions {
|
|
|
7364
7364
|
* @param elements 消息内容
|
|
7365
7365
|
* @param options 消息选项
|
|
7366
7366
|
*/
|
|
7367
|
-
declare const sendMaster: (selfId: string, targetId: string, elements:
|
|
7367
|
+
declare const sendMaster: (selfId: string, targetId: string, elements: SendMessage, options?: SendMasterOptions) => Promise<SendMsgResults>;
|
|
7368
7368
|
/**
|
|
7369
7369
|
* 给管理员发消息
|
|
7370
7370
|
* @param selfId Bot的ID
|
|
@@ -7372,7 +7372,7 @@ declare const sendMaster: (selfId: string, targetId: string, elements: Message,
|
|
|
7372
7372
|
* @param elements 消息内容
|
|
7373
7373
|
* @param options 消息选项
|
|
7374
7374
|
*/
|
|
7375
|
-
declare const sendAdmin: (selfId: string, targetId: string, elements:
|
|
7375
|
+
declare const sendAdmin: (selfId: string, targetId: string, elements: SendMessage, options?: SendAdminOptions) => Promise<SendMsgResults>;
|
|
7376
7376
|
|
|
7377
7377
|
type fnc_AcceptOptions = AcceptOptions;
|
|
7378
7378
|
type fnc_ButtonOptions = ButtonOptions;
|
|
@@ -16310,6 +16310,7 @@ declare class AdapterOneBot<T extends OneBotType> extends AdapterBase {
|
|
|
16310
16310
|
maxMemberCount: number;
|
|
16311
16311
|
memberCount: number;
|
|
16312
16312
|
groupDesc: string;
|
|
16313
|
+
avatar: string;
|
|
16313
16314
|
group_name: string;
|
|
16314
16315
|
group_remark: string;
|
|
16315
16316
|
max_member_count: number;
|
|
@@ -16334,6 +16335,7 @@ declare class AdapterOneBot<T extends OneBotType> extends AdapterBase {
|
|
|
16334
16335
|
maxMemberCount: number;
|
|
16335
16336
|
memberCount: number;
|
|
16336
16337
|
groupDesc: string;
|
|
16338
|
+
avatar: string;
|
|
16337
16339
|
group_name: string;
|
|
16338
16340
|
group_remark: string;
|
|
16339
16341
|
max_member_count: number;
|
|
@@ -17207,14 +17209,14 @@ type ComponentsClass = typeof divider | ReturnType<typeof input.create> | Return
|
|
|
17207
17209
|
/**
|
|
17208
17210
|
* 未找到匹配插件钩子
|
|
17209
17211
|
*/
|
|
17210
|
-
declare const empty: ((callback: HookCallback<Message
|
|
17212
|
+
declare const empty: ((callback: HookCallback<Message>, options?: HookOptions) => number) & {
|
|
17211
17213
|
/**
|
|
17212
17214
|
* 添加未找到匹配插件消息钩子
|
|
17213
17215
|
* @param callback 消息处理回调函数
|
|
17214
17216
|
* @param options 钩子配置项
|
|
17215
17217
|
* @returns 钩子ID
|
|
17216
17218
|
*/
|
|
17217
|
-
message(callback: HookCallback<Message
|
|
17219
|
+
message(callback: HookCallback<Message>, options?: HookOptions): number;
|
|
17218
17220
|
/**
|
|
17219
17221
|
* 添加未找到匹配插件通知钩子
|
|
17220
17222
|
* @param callback 通知处理回调函数
|
|
@@ -17239,7 +17241,7 @@ declare const empty: ((callback: HookCallback<Message$2>, options?: HookOptions)
|
|
|
17239
17241
|
/**
|
|
17240
17242
|
* 消息hook
|
|
17241
17243
|
*/
|
|
17242
|
-
declare const message: ((callback: HookCallback<Message
|
|
17244
|
+
declare const message: ((callback: HookCallback<Message>, options?: HookOptions) => number) & {
|
|
17243
17245
|
/**
|
|
17244
17246
|
* 添加好友消息钩子
|
|
17245
17247
|
* @param callback 消息处理回调函数
|
|
@@ -17323,7 +17325,7 @@ type Plugin = typeof cache.command[number];
|
|
|
17323
17325
|
/**
|
|
17324
17326
|
* 事件调用插件钩子
|
|
17325
17327
|
*/
|
|
17326
|
-
declare const eventCall: ((callback: EventCallCallback<Message
|
|
17328
|
+
declare const eventCall: ((callback: EventCallCallback<Message, Plugin>, options?: HookOptions) => number) & {
|
|
17327
17329
|
/**
|
|
17328
17330
|
* 添加群聊事件调用钩子
|
|
17329
17331
|
* @param callback 事件处理回调函数
|
|
@@ -17484,4 +17486,4 @@ type Client = RedisClientType & {
|
|
|
17484
17486
|
*/
|
|
17485
17487
|
declare const start: () => Promise<void>;
|
|
17486
17488
|
|
|
17487
|
-
export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, AdapterConvertKarin, 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 Apps, type ArrayField, type AtElement, 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 Count, type CreateGroupFolderResponse, type CreatePty, type CreateTask, type CreateTaskParams, type CreateTaskResult, type CronProps, type CustomMusicElement, type CustomNodeElement, type DbStreamStatus, type DbStreams, type DefineConfig, type DependenciesManage, type DependenciesManageBase, type Dependency, type DiceElement, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, 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 FieldType, type FileElement, type FileList, type FileListMap, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, type FrontendInstalledPluginListResponse, GET_BOTS_ROUTER, GET_CONFIG_ROUTER, GET_DEPENDENCIES_LIST_ROUTER, GET_LOADED_COMMAND_PLUGIN_CACHE_LIST_ROUTER, GET_LOCAL_PLUGIN_FRONTEND_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 GetAiCharactersResponse, type GetAtAllCountResponse, type GetBot, type GetCommitHashOptions, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupMuteListResponse, type GetPluginLocalOptions, type GetPluginLocalReturn, type GetPluginReturn, type GetPluginType, type GetRkeyResponse, 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 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 ImportModuleResult, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, KarinConvertAdapter, type KarinPluginAppsType, type KeyboardElement, LOGIN_ROUTER, type LoadPluginResult, type LoadedPluginCacheList, type LocalApiResponse, type LocationElement, type Log, LogMethodNames, Logger, LoggerLevel, type LongMsgElement, MANAGE_DEPENDENCIES_ROUTER, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase$1 as MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MusicElement, type MusicPlatform, type NetworkStatus, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NpmBaseConfigResponse, type NpmRegistryResponse, type NpmrcFileResponse, type NumberField, type ObjectArrayField, type ObjectField, createMessage as OneBotCreateMessage, createNotice as OneBotCreateNotice, createRequest as OneBotCreateRequest, 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, 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 Redis, type RemoveDependenciesParams, type Render, type RenderResult, Renderer, type Renders$1 as Renders, type Reply, type ReplyElement, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, 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 SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup$1 as SenderGroup, type Sex$1 as Sex, type ShareElement, 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 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, 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 YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, authMiddleware, base64, buffer, buildError, buildGithub, buttonHandle, cacheMap, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, checkPort, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact$1 as contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, convertOneBotMessageToKarin, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createAccessTokenExpiredResponse, createBadRequestResponse, 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, createINIParser, createMethodNotAllowedResponse, createNotFoundResponse, createOneBotClient, createOneBotHttp, createOneBotWsServer, createPayloadTooLargeResponse, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, createRefreshTokenExpiredResponse, createResponse, createServerErrorResponse, createSuccessResponse, createTaskDatabase, createUnauthorizedResponse, cron, db, debug, karin as default, defineConfig, disconnectAllOneBotServer, divider, downFile, downloadFile, errorToString, exec, executeTask, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToBase64, fileToUrl, fileToUrlHandlerKey, filesByExt, formatLogString, formatPath, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getAllFiles, getAllFilesSync, getBot, getBotCount, getCommit, getDefaultBranch, getFastGithub, getFastRegistry, getFileMessage, 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, imports, ini, initOneBotAdapter, 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, killApp, 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, waitPort, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|
|
17489
|
+
export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, AdapterConvertKarin, 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 Apps, type ArrayField, type AtElement, 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 Count, type CreateGroupFolderResponse, type CreatePty, type CreateTask, type CreateTaskParams, type CreateTaskResult, type CronProps, type CustomMusicElement, type CustomNodeElement, type DbStreamStatus, type DbStreams, type DefineConfig, type DependenciesManage, type DependenciesManageBase, type Dependency, type DiceElement, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, 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 FieldType, type FileElement, type FileList, type FileListMap, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, type FrontendInstalledPluginListResponse, GET_BOTS_ROUTER, GET_CONFIG_ROUTER, GET_DEPENDENCIES_LIST_ROUTER, GET_LOADED_COMMAND_PLUGIN_CACHE_LIST_ROUTER, GET_LOCAL_PLUGIN_FRONTEND_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 GetAiCharactersResponse, type GetAtAllCountResponse, type GetBot, type GetCommitHashOptions, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupMuteListResponse, type GetPluginLocalOptions, type GetPluginLocalReturn, type GetPluginReturn, type GetPluginType, type GetRkeyResponse, 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 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 ImportModuleResult, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, KarinConvertAdapter, type KarinPluginAppsType, type KeyboardElement, LOGIN_ROUTER, type LoadPluginResult, type LoadedPluginCacheList, type LocalApiResponse, type LocationElement, type Log, LogMethodNames, Logger, LoggerLevel, type LongMsgElement, MANAGE_DEPENDENCIES_ROUTER, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message, MessageBase$1 as MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MusicElement, type MusicPlatform, type NetworkStatus, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NpmBaseConfigResponse, type NpmRegistryResponse, type NpmrcFileResponse, type NumberField, type ObjectArrayField, type ObjectField, createMessage as OneBotCreateMessage, createNotice as OneBotCreateNotice, createRequest as OneBotCreateRequest, 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, 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 Redis, type RemoveDependenciesParams, type Render, type RenderResult, Renderer, type Renders$1 as Renders, type Reply, type ReplyElement, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, 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 SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup$1 as SenderGroup, type Sex$1 as Sex, type ShareElement, 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 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, 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 YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, authMiddleware, base64, buffer, buildError, buildGithub, buttonHandle, cacheMap, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, checkPort, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact$1 as contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, convertOneBotMessageToKarin, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createAccessTokenExpiredResponse, createBadRequestResponse, 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, createINIParser, createMethodNotAllowedResponse, createNotFoundResponse, createOneBotClient, createOneBotHttp, createOneBotWsServer, createPayloadTooLargeResponse, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, createRefreshTokenExpiredResponse, createResponse, createServerErrorResponse, createSuccessResponse, createTaskDatabase, createUnauthorizedResponse, cron, db, debug, karin as default, defineConfig, disconnectAllOneBotServer, divider, downFile, downloadFile, errorToString, exec, executeTask, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToBase64, fileToUrl, fileToUrlHandlerKey, filesByExt, formatLogString, formatPath, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getAllFiles, getAllFilesSync, getBot, getBotCount, getCommit, getDefaultBranch, getFastGithub, getFastRegistry, getFileMessage, 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, imports, ini, initOneBotAdapter, 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, killApp, 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, waitPort, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
|
package/dist/index.mjs
CHANGED
|
@@ -18242,6 +18242,7 @@ var init_core = __esm({
|
|
|
18242
18242
|
async getGroupInfo(groupId, noCache) {
|
|
18243
18243
|
const info = await this._onebot.getGroupInfo(Number(groupId), noCache);
|
|
18244
18244
|
const groupName = info.group_name;
|
|
18245
|
+
const avatar = await this.getGroupAvatarUrl(groupId);
|
|
18245
18246
|
return {
|
|
18246
18247
|
groupId,
|
|
18247
18248
|
groupName,
|
|
@@ -18249,6 +18250,7 @@ var init_core = __esm({
|
|
|
18249
18250
|
maxMemberCount: info.max_member_count,
|
|
18250
18251
|
memberCount: info.member_count,
|
|
18251
18252
|
groupDesc: "",
|
|
18253
|
+
avatar,
|
|
18252
18254
|
group_name: groupName,
|
|
18253
18255
|
group_remark: groupName,
|
|
18254
18256
|
max_member_count: info.max_member_count,
|
|
@@ -18269,9 +18271,10 @@ var init_core = __esm({
|
|
|
18269
18271
|
*/
|
|
18270
18272
|
async getGroupList(_refresh) {
|
|
18271
18273
|
const groupList = await this._onebot.getGroupList();
|
|
18272
|
-
return groupList.map((info) => {
|
|
18274
|
+
return Promise.all(groupList.map(async (info) => {
|
|
18273
18275
|
const groupId = info.group_id + "";
|
|
18274
18276
|
const groupName = info.group_name;
|
|
18277
|
+
const avatar = await this.getGroupAvatarUrl(groupId);
|
|
18275
18278
|
return {
|
|
18276
18279
|
groupId,
|
|
18277
18280
|
groupName,
|
|
@@ -18279,6 +18282,7 @@ var init_core = __esm({
|
|
|
18279
18282
|
maxMemberCount: info.max_member_count,
|
|
18280
18283
|
memberCount: info.member_count,
|
|
18281
18284
|
groupDesc: "",
|
|
18285
|
+
avatar,
|
|
18282
18286
|
group_name: groupName,
|
|
18283
18287
|
group_remark: groupName,
|
|
18284
18288
|
max_member_count: info.max_member_count,
|
|
@@ -18287,7 +18291,7 @@ var init_core = __esm({
|
|
|
18287
18291
|
admins: [],
|
|
18288
18292
|
owner: ""
|
|
18289
18293
|
};
|
|
18290
|
-
});
|
|
18294
|
+
}));
|
|
18291
18295
|
}
|
|
18292
18296
|
/**
|
|
18293
18297
|
* 获取群成员信息
|
|
@@ -26598,7 +26602,10 @@ var init_input = __esm({
|
|
|
26598
26602
|
continue;
|
|
26599
26603
|
}
|
|
26600
26604
|
if (v.type === "image" || v.type === "record" || v.type === "video") {
|
|
26601
|
-
|
|
26605
|
+
let ext = ".png";
|
|
26606
|
+
if (v.type === "video") ext = ".mp4";
|
|
26607
|
+
if (v.type === "record") ext = ".mp3";
|
|
26608
|
+
const url = v.file.startsWith("http") ? v.file : await this.getUrl(v.file, ext);
|
|
26602
26609
|
msg.push(`[${v.type}: ${logger.blue(url)} ]`);
|
|
26603
26610
|
continue;
|
|
26604
26611
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t}from"./vendor-react-W5gQf126.js";import{P as r}from"./components-PXvhEdJk.js";import"./vendor-others-B7c2cg4c.js";import"./vendor-editor-BmqYP7lh.js";import"./vendor-ui-utils-Bb93SeY3.js";import"./vendor-heroui-BOZloQyh.js";import"./page-dashboard-BjLuiRij.js";import"./utils-a84QdqOb.js";import"./hooks-Bt4r9DmE.js";import"./vendor-visual-C6q6nRmW.js";const x=()=>t.jsx("div",{className:"min-h-screen flex items-center justify-center",children:t.jsx(r,{})});export{x as default};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as p}from"./vendor-react-
|
|
1
|
+
import{V as p}from"./vendor-react-W5gQf126.js";import{a5 as g}from"./components-PXvhEdJk.js";const u=async(e,a,n,t)=>{const{setIsLogModalOpen:c,setTaskId:i,setTaskLogs:o,setTaskName:f}=a;f("更新插件");const r=["开始创建更新任务...",`options: ${JSON.stringify(e)}`];o(r);try{const s=await g(e);if(s.success&&s.taskId)i(s.taskId),o([...r,`
|
|
2
2
|
任务创建成功!`,`任务ID: ${s.taskId}`,"正在连接任务执行日志..."]),c(!0),typeof t=="function"&&t();else throw new Error(s.message||"未知错误")}catch(s){console.error("更新失败:",s),p.error(`更新失败: ${s.message}`)}};export{u as c};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/web/index.html
CHANGED
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
content="viewport-fit=cover, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
|
|
15
15
|
name="viewport" />
|
|
16
16
|
<link href="/web/assets/ico/favicon-BoqZd694.ico" rel="icon" />
|
|
17
|
-
<script type="module" crossorigin src="/web/assets/js/entry-
|
|
18
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-editor-
|
|
19
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-others-
|
|
17
|
+
<script type="module" crossorigin src="/web/assets/js/entry-5NUBpo7O.js"></script>
|
|
18
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-editor-BmqYP7lh.js">
|
|
19
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-others-B7c2cg4c.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-ui-utils-Bb93SeY3.js">
|
|
21
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-react-
|
|
22
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-heroui-
|
|
23
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/hooks-
|
|
24
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-visual-
|
|
25
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/components-
|
|
26
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/utils-
|
|
27
|
-
<link rel="modulepreload" crossorigin href="/web/assets/js/page-dashboard-
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-react-W5gQf126.js">
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-heroui-BOZloQyh.js">
|
|
23
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/hooks-Bt4r9DmE.js">
|
|
24
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/vendor-visual-C6q6nRmW.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/components-PXvhEdJk.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/utils-a84QdqOb.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="/web/assets/js/page-dashboard-BjLuiRij.js">
|
|
28
28
|
<link rel="stylesheet" crossorigin href="/web/assets/css/vendor-editor-CFbL2ovg.css">
|
|
29
29
|
<link rel="stylesheet" crossorigin href="/web/assets/css/vendor-others-ZgkIHsf0.css">
|
|
30
30
|
<link rel="stylesheet" crossorigin href="/web/assets/css/components-ep7vm38G.css">
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./vendor-react-CvbOIVDM.js";import{P as r}from"./components-2t4MPaOy.js";import"./vendor-others-BVX3qAut.js";import"./vendor-editor-B8hjWfkw.js";import"./vendor-ui-utils-Bb93SeY3.js";import"./vendor-heroui-aleFRZYD.js";import"./page-dashboard-Bl6Ln0Uf.js";import"./utils-DPnp8l5q.js";import"./hooks-DyYsxseQ.js";import"./vendor-visual-CDapryqv.js";const x=()=>t.jsx("div",{className:"min-h-screen flex items-center justify-center",children:t.jsx(r,{})});export{x as default};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|