@aalis/plugin-tool-onebot 0.1.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/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # @aalis/plugin-tool-onebot
2
+
3
+ 运行时插件
4
+
5
+ ## 角色
6
+
7
+ 运行时插件
8
+
9
+ ## 安装
10
+
11
+ ```bash
12
+ pnpm add @aalis/plugin-tool-onebot
13
+ ```
14
+
15
+ ## 文档
16
+
17
+ 详见 [docs/plugins/plugin-tool-onebot.md](../../docs/plugins/plugin-tool-onebot.md)。
18
+
19
+ ## 许可
20
+
21
+ 见仓库根目录 LICENSE。
@@ -0,0 +1,35 @@
1
+ import type { ConfigSchema, Context } from '@aalis/core';
2
+ import '@aalis/plugin-tool-session-api';
3
+ import '@aalis/plugin-tools-api';
4
+ export declare const name = "@aalis/plugin-tool-onebot";
5
+ export declare const displayName = "OneBot \u5DE5\u5177";
6
+ export declare const subsystem = "tools";
7
+ export declare const inject: {
8
+ optional: string[];
9
+ };
10
+ export declare const configSchema: ConfigSchema;
11
+ export declare const defaultConfig: {
12
+ groupManagement: {
13
+ enabled: boolean;
14
+ };
15
+ groupInfo: {
16
+ enabled: boolean;
17
+ };
18
+ account: {
19
+ enabled: boolean;
20
+ };
21
+ interaction: {
22
+ enabled: boolean;
23
+ };
24
+ sessionHistory: {
25
+ enabled: boolean;
26
+ maxLimit: number;
27
+ defaultLimit: number;
28
+ allowGroupReadPrivate: boolean;
29
+ allowCrossSelf: boolean;
30
+ allowCrossGroup: boolean;
31
+ allowCrossPrivate: boolean;
32
+ };
33
+ };
34
+ export declare function apply(ctx: Context, config: Record<string, unknown>): void;
35
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAOzD,OAAO,gCAAgC,CAAC;AACxC,OAAO,yBAAyB,CAAC;AAIjC,eAAO,MAAM,IAAI,8BAA8B,CAAC;AAChD,eAAO,MAAM,WAAW,wBAAc,CAAC;AACvC,eAAO,MAAM,SAAS,UAAU,CAAC;AACjC,eAAO,MAAM,MAAM;;CAElB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,YA6E1B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;CAczB,CAAC;AA2bF,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAyEzE"}