@zhin.js/core 1.0.16 → 1.0.18
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 +19 -0
- package/REFACTORING_COMPLETE.md +178 -0
- package/REFACTORING_STATUS.md +263 -0
- package/lib/adapter.d.ts +44 -19
- package/lib/adapter.d.ts.map +1 -1
- package/lib/adapter.js +81 -50
- package/lib/adapter.js.map +1 -1
- package/lib/bot.d.ts +7 -12
- package/lib/bot.d.ts.map +1 -1
- package/lib/built/adapter-process.d.ts +36 -0
- package/lib/built/adapter-process.d.ts.map +1 -0
- package/lib/built/adapter-process.js +77 -0
- package/lib/built/adapter-process.js.map +1 -0
- package/lib/built/command.d.ts +46 -0
- package/lib/built/command.d.ts.map +1 -0
- package/lib/built/command.js +54 -0
- package/lib/built/command.js.map +1 -0
- package/lib/built/component.d.ts +42 -0
- package/lib/built/component.d.ts.map +1 -0
- package/lib/built/component.js +66 -0
- package/lib/built/component.js.map +1 -0
- package/lib/built/config.d.ts +31 -0
- package/lib/built/config.d.ts.map +1 -0
- package/lib/built/config.js +141 -0
- package/lib/built/config.js.map +1 -0
- package/lib/built/cron.d.ts +53 -0
- package/lib/built/cron.d.ts.map +1 -0
- package/lib/built/cron.js +79 -0
- package/lib/built/cron.js.map +1 -0
- package/lib/built/database.d.ts +17 -0
- package/lib/built/database.d.ts.map +1 -0
- package/lib/built/database.js +28 -0
- package/lib/built/database.js.map +1 -0
- package/lib/{permissions.d.ts → built/permission.d.ts} +5 -10
- package/lib/built/permission.d.ts.map +1 -0
- package/lib/{permissions.js → built/permission.js} +11 -10
- package/lib/built/permission.js.map +1 -0
- package/lib/command.d.ts +18 -7
- package/lib/command.d.ts.map +1 -1
- package/lib/command.js +36 -15
- package/lib/command.js.map +1 -1
- package/lib/component.d.ts +1 -1
- package/lib/component.d.ts.map +1 -1
- package/lib/component.js.map +1 -1
- package/lib/cron.d.ts +4 -12
- package/lib/cron.d.ts.map +1 -1
- package/lib/cron.js +33 -64
- package/lib/cron.js.map +1 -1
- package/lib/index.d.ts +11 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +14 -4
- package/lib/index.js.map +1 -1
- package/lib/jsx-runtime.d.ts +2 -2
- package/lib/jsx.d.ts +2 -3
- package/lib/jsx.d.ts.map +1 -1
- package/lib/jsx.js.map +1 -1
- package/lib/message.d.ts +4 -7
- package/lib/message.d.ts.map +1 -1
- package/lib/message.js.map +1 -1
- package/lib/plugin.d.ts +164 -51
- package/lib/plugin.d.ts.map +1 -1
- package/lib/plugin.js +520 -137
- package/lib/plugin.js.map +1 -1
- package/lib/prompt.d.ts +1 -1
- package/lib/prompt.d.ts.map +1 -1
- package/lib/prompt.js +2 -1
- package/lib/prompt.js.map +1 -1
- package/lib/types.d.ts +33 -33
- package/lib/types.d.ts.map +1 -1
- package/lib/utils.d.ts +16 -1
- package/lib/utils.d.ts.map +1 -1
- package/lib/utils.js +166 -66
- package/lib/utils.js.map +1 -1
- package/package.json +17 -11
- package/src/adapter.ts +131 -80
- package/src/bot.ts +8 -13
- package/src/built/adapter-process.ts +77 -0
- package/src/built/command.ts +102 -0
- package/src/built/component.ts +111 -0
- package/src/built/config.ts +126 -0
- package/src/built/cron.ts +140 -0
- package/src/built/database.ts +38 -0
- package/src/{permissions.ts → built/permission.ts} +9 -12
- package/src/command.ts +48 -20
- package/src/component.ts +2 -3
- package/src/cron.ts +35 -70
- package/src/index.ts +15 -5
- package/src/jsx.ts +2 -3
- package/src/message.ts +3 -4
- package/src/plugin.ts +671 -184
- package/src/prompt.ts +4 -3
- package/src/types.ts +41 -35
- package/src/utils.ts +418 -296
- package/test/minimal-bot.ts +31 -0
- package/test/stress-test.ts +123 -0
- package/tests/command.test.ts +124 -44
- package/ASYNC-JSX-SUPPORT.md +0 -173
- package/lib/app.d.ts +0 -191
- package/lib/app.d.ts.map +0 -1
- package/lib/app.js +0 -604
- package/lib/app.js.map +0 -1
- package/lib/config.d.ts +0 -54
- package/lib/config.d.ts.map +0 -1
- package/lib/config.js +0 -308
- package/lib/config.js.map +0 -1
- package/lib/log-transport.d.ts +0 -37
- package/lib/log-transport.d.ts.map +0 -1
- package/lib/log-transport.js +0 -136
- package/lib/log-transport.js.map +0 -1
- package/lib/permissions.d.ts.map +0 -1
- package/lib/permissions.js.map +0 -1
- package/src/app.ts +0 -772
- package/src/config.ts +0 -397
- package/src/log-transport.ts +0 -163
- package/tests/app.test.ts +0 -265
- package/tests/permissions.test.ts +0 -358
- package/tests/plugin.test.ts +0 -234
- package/tests/prompt.test.ts +0 -223
package/lib/plugin.d.ts
CHANGED
|
@@ -1,56 +1,169 @@
|
|
|
1
|
-
import { AdapterMessage, BeforeSendHandler, MessageMiddleware, RegisteredAdapter, SendOptions } from "./types.js";
|
|
2
|
-
import { PermissionItem, PermissionChecker } from './permissions.js';
|
|
3
|
-
import { Message } from './message.js';
|
|
4
|
-
import { Schema } from '@zhin.js/hmr';
|
|
5
|
-
import { Dependency, Logger } from "@zhin.js/hmr";
|
|
6
|
-
import { App } from "./app";
|
|
7
|
-
import { MessageCommand } from "./command.js";
|
|
8
|
-
import { Component } from "./component.js";
|
|
9
|
-
import { Prompt } from "./prompt.js";
|
|
10
|
-
import { Definition } from '@zhin.js/database';
|
|
11
|
-
import { Cron } from './cron.js';
|
|
12
1
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
2
|
+
* Plugin 类 - 基于 zhinjs/next 的 Hooks 实现
|
|
3
|
+
* 移除 Dependency 继承,使用 AsyncLocalStorage 管理上下文
|
|
15
4
|
*/
|
|
16
|
-
|
|
5
|
+
import { AsyncLocalStorage } from "async_hooks";
|
|
6
|
+
import { EventEmitter } from "events";
|
|
7
|
+
import type { RegisteredAdapters } from "./types.js";
|
|
8
|
+
import { Logger } from "@zhin.js/logger";
|
|
9
|
+
import { MessageMiddleware, RegisteredAdapter, MaybePromise, ArrayItem, ConfigService, PermissionService, SendOptions } from "./types.js";
|
|
10
|
+
declare const contextsKey: unique symbol;
|
|
11
|
+
export type SideEffect<A extends (keyof Plugin.Contexts)[]> = {
|
|
12
|
+
(...args: ContextList<A>): MaybePromise<void | DisposeFn<ContextList<A>>>;
|
|
13
|
+
finished?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type DisposeFn<A> = (context: ArrayItem<A>) => MaybePromise<void>;
|
|
16
|
+
export type ContextList<CS extends (keyof Plugin.Contexts)[]> = CS extends [infer L, ...infer R] ? R extends (keyof Plugin.Contexts)[] ? [ContextItem<L>, ...ContextList<R>] : never[] : never[];
|
|
17
|
+
type ContextItem<L> = L extends keyof Plugin.Contexts ? Plugin.Contexts[L] : never;
|
|
18
|
+
export declare const storage: AsyncLocalStorage<Plugin>;
|
|
19
|
+
/**
|
|
20
|
+
* usePlugin - 获取或创建当前插件实例
|
|
21
|
+
* 类似 React Hooks 的设计,根据调用文件自动创建插件树
|
|
22
|
+
*/
|
|
23
|
+
export declare function usePlugin(): Plugin;
|
|
24
|
+
/**
|
|
25
|
+
* getPlugin - 获取当前 AsyncLocalStorage 中的插件实例
|
|
26
|
+
* 用于 extensions 等场景,不创建新插件
|
|
27
|
+
*/
|
|
28
|
+
export declare function getPlugin(): Plugin;
|
|
29
|
+
export interface Plugin extends Plugin.Extensions {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Plugin 类 - 核心插件系统
|
|
33
|
+
* 直接继承 EventEmitter
|
|
34
|
+
*/
|
|
35
|
+
export declare class Plugin extends EventEmitter<Plugin.Lifecycle> {
|
|
17
36
|
#private;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
|
|
37
|
+
parent?: Plugin | undefined;
|
|
38
|
+
static [contextsKey]: string[];
|
|
39
|
+
adapters: (keyof Plugin.Contexts)[];
|
|
40
|
+
started: boolean;
|
|
41
|
+
$contexts: Map<string, Context<any>>;
|
|
42
|
+
children: Plugin[];
|
|
43
|
+
filePath: string;
|
|
44
|
+
fileHash: string;
|
|
45
|
+
logger: Logger;
|
|
46
|
+
get middleware(): MessageMiddleware<RegisteredAdapter>;
|
|
47
|
+
/**
|
|
48
|
+
* 构造函数
|
|
49
|
+
*/
|
|
50
|
+
constructor(filePath?: string, parent?: Plugin | undefined);
|
|
51
|
+
/**
|
|
52
|
+
* 添加中间件
|
|
53
|
+
* 中间件用于处理消息流转
|
|
54
|
+
*/
|
|
55
|
+
addMiddleware<T extends RegisteredAdapter>(middleware: MessageMiddleware<T>, name?: string): () => void;
|
|
56
|
+
/**
|
|
57
|
+
* 插件名称
|
|
58
|
+
*/
|
|
59
|
+
get name(): string;
|
|
60
|
+
/**
|
|
61
|
+
* 根插件
|
|
62
|
+
*/
|
|
63
|
+
get root(): Plugin;
|
|
64
|
+
get contexts(): Map<string, Context>;
|
|
65
|
+
useContext<T extends (keyof Plugin.Contexts)[]>(...args: [...T, SideEffect<T>]): void;
|
|
66
|
+
inject<T extends keyof Plugin.Contexts>(name: T): Plugin.Contexts[T] | undefined;
|
|
67
|
+
contextIsReady<T extends keyof Plugin.Contexts>(name: T): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* 启动插件
|
|
70
|
+
*/
|
|
71
|
+
start(t?: number): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* 获取插件提供的功能
|
|
74
|
+
* 从各个服务中获取数据
|
|
75
|
+
*/
|
|
76
|
+
get features(): Plugin.Features;
|
|
77
|
+
info(): Record<string, any>;
|
|
78
|
+
/**
|
|
79
|
+
* 停止插件
|
|
80
|
+
*/
|
|
81
|
+
stop(): Promise<void>;
|
|
82
|
+
onMounted(callback: () => void | Promise<void>): void;
|
|
83
|
+
onDispose(callback: () => void | Promise<void>): () => void;
|
|
84
|
+
/**
|
|
85
|
+
* dispatch - 向上冒泡到父插件,或在根节点广播
|
|
86
|
+
*/
|
|
87
|
+
dispatch<K extends keyof Plugin.Lifecycle>(name: K, ...args: Plugin.Lifecycle[K]): Promise<void>;
|
|
88
|
+
/**
|
|
89
|
+
* broadcast - 向下广播到所有子插件
|
|
90
|
+
*/
|
|
91
|
+
broadcast<K extends keyof Plugin.Lifecycle>(name: K, ...args: Plugin.Lifecycle[K]): Promise<void>;
|
|
92
|
+
/**
|
|
93
|
+
* 注册上下文
|
|
94
|
+
*/
|
|
95
|
+
provide<T extends keyof Plugin.Contexts>(context: Context<T>): this;
|
|
96
|
+
/**
|
|
97
|
+
* 导入插件
|
|
98
|
+
*/
|
|
99
|
+
import(entry: string, t?: number): Promise<Plugin>;
|
|
100
|
+
/**
|
|
101
|
+
* 重载插件
|
|
102
|
+
*/
|
|
103
|
+
reload(plugin?: Plugin): Promise<void>;
|
|
104
|
+
/**
|
|
105
|
+
* 监听文件变化
|
|
106
|
+
*/
|
|
107
|
+
watch(callback: (p: Plugin) => void | Promise<void>, recursive?: boolean): void;
|
|
108
|
+
/**
|
|
109
|
+
* 自动绑定核心方法(只在构造函数中调用一次)
|
|
110
|
+
*/
|
|
111
|
+
$bindMethods(): void;
|
|
112
|
+
/**
|
|
113
|
+
* 创建插件实例(异步加载)
|
|
114
|
+
*/
|
|
115
|
+
static create(entry: string, parent?: Plugin): Promise<Plugin>;
|
|
116
|
+
}
|
|
117
|
+
export declare function defineContext<T extends keyof Plugin.Contexts, E extends Partial<Plugin.Extensions> = {}>(options: Context<T, E>): Context<T, E>;
|
|
118
|
+
export interface Context<T extends keyof Plugin.Contexts = keyof Plugin.Contexts, E extends Partial<Plugin.Extensions> = {}> {
|
|
119
|
+
name: T;
|
|
120
|
+
description: string;
|
|
121
|
+
value?: Plugin.Contexts[T];
|
|
122
|
+
mounted?: (parent: Plugin) => Plugin.Contexts[T] | Promise<Plugin.Contexts[T]>;
|
|
123
|
+
dispose?: (value: Plugin.Contexts[T]) => void;
|
|
124
|
+
/** 扩展方法,会自动挂载到 Plugin.prototype 上 */
|
|
125
|
+
extensions?: E;
|
|
126
|
+
}
|
|
127
|
+
export declare namespace Plugin {
|
|
128
|
+
/**
|
|
129
|
+
* 插件提供的功能
|
|
130
|
+
*/
|
|
131
|
+
interface Features {
|
|
132
|
+
commands: string[];
|
|
133
|
+
components: string[];
|
|
134
|
+
crons: string[];
|
|
135
|
+
middlewares: string[];
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* 生命周期事件
|
|
139
|
+
*/
|
|
140
|
+
interface Lifecycle {
|
|
141
|
+
mounted: [];
|
|
142
|
+
dispose: [];
|
|
143
|
+
"before-start": [Plugin];
|
|
144
|
+
started: [Plugin];
|
|
145
|
+
"before-mount": [Plugin];
|
|
146
|
+
"before-dispose": [Plugin];
|
|
147
|
+
"call.recallMessage": [string, string, string];
|
|
148
|
+
'before.sendMessage': [SendOptions];
|
|
149
|
+
"context.mounted": [keyof Plugin.Contexts];
|
|
150
|
+
"context.dispose": [keyof Plugin.Contexts];
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* 服务类型扩展点
|
|
154
|
+
* 各个 Context 通过 declare module 扩展此接口
|
|
155
|
+
*/
|
|
156
|
+
interface Contexts extends RegisteredAdapters {
|
|
157
|
+
config: ConfigService;
|
|
158
|
+
permission: PermissionService;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Service 扩展方法类型
|
|
162
|
+
* 这些方法由各个 Context 的 extensions 提供
|
|
163
|
+
* 在 Plugin.start() 时自动注册到 Plugin.prototype
|
|
164
|
+
*/
|
|
165
|
+
interface Extensions {
|
|
166
|
+
}
|
|
55
167
|
}
|
|
168
|
+
export {};
|
|
56
169
|
//# sourceMappingURL=plugin.d.ts.map
|
package/lib/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAItC,OAAO,KAAK,EAAU,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAI7D,OAAe,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG1I,QAAA,MAAM,WAAW,eAAqB,CAAC;AAKvC,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,CAAC,MAAM,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI;IAC5D,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,IAAI,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AACD,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC,IAAI,CAAC,CAAA;AACxE,MAAM,MAAM,WAAW,CAAC,EAAE,SAAS,CAAC,MAAM,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,GAAG,MAAM,C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