@zhin.js/core 1.6.0 → 1.7.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/lib/built/login-assist.d.ts +317 -14
- package/lib/built/login-assist.js +1139 -64
- package/lib/built/login-captcha.d.ts +62 -0
- package/lib/built/login-captcha.js +107 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/plugin-runtime/im/endpoint-runtime.d.ts +24 -1
- package/lib/plugin-runtime/im/endpoint-runtime.js +53 -0
- package/lib/plugin-runtime/im/host/database-config.js +38 -0
- package/lib/plugin-runtime/im/host/database-console-schema.d.ts +79 -0
- package/lib/plugin-runtime/im/host/database-console-schema.js +477 -0
- package/lib/plugin-runtime/im/host/database-console-sql.d.ts +66 -0
- package/lib/plugin-runtime/im/host/database-console-sql.js +459 -0
- package/lib/plugin-runtime/im/host/database-host-installer.d.ts +48 -17
- package/lib/plugin-runtime/im/host/database-host-installer.js +770 -46
- package/lib/plugin-runtime/im/im-runtime.js +1 -0
- package/package.json +13 -13
|
@@ -98,6 +98,7 @@ export class ImRuntime {
|
|
|
98
98
|
retain: () => this.#retainSnapshot(),
|
|
99
99
|
release: (lease) => this.#release(lease),
|
|
100
100
|
send: (request, snapshot, execution) => this.#deliver(request, snapshot, execution),
|
|
101
|
+
loginFlows: () => this.loginAssist.listFlows(),
|
|
101
102
|
});
|
|
102
103
|
// ADR 0056 §1: `bot:*` permits read the Bot's own standing through the Adapter index cache;
|
|
103
104
|
// the Bot's role events drop the cached answer of that conversation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Zhin机器人核心框架",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -52,21 +52,21 @@
|
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"qrcode": "^1.5.4",
|
|
55
|
-
"@zhin.js/
|
|
56
|
-
"@zhin.js/
|
|
57
|
-
"@zhin.js/
|
|
58
|
-
"@zhin.js/
|
|
59
|
-
"@zhin.js/
|
|
60
|
-
"@zhin.js/im-contract": "1.1.14",
|
|
55
|
+
"@zhin.js/command": "1.2.2",
|
|
56
|
+
"@zhin.js/component": "1.1.18",
|
|
57
|
+
"@zhin.js/database": "1.2.0",
|
|
58
|
+
"@zhin.js/handler": "1.1.17",
|
|
59
|
+
"@zhin.js/adapter": "1.1.34",
|
|
61
60
|
"@zhin.js/kernel": "1.1.7",
|
|
62
61
|
"@zhin.js/logger": "1.1.3",
|
|
63
|
-
"@zhin.js/
|
|
64
|
-
"@zhin.js/
|
|
65
|
-
"@zhin.js/plugin-runtime": "1.2.
|
|
66
|
-
"@zhin.js/schedule-feature": "1.1.
|
|
62
|
+
"@zhin.js/im-contract": "1.1.14",
|
|
63
|
+
"@zhin.js/middleware": "1.1.18",
|
|
64
|
+
"@zhin.js/plugin-runtime": "1.2.1",
|
|
65
|
+
"@zhin.js/schedule-feature": "1.1.17",
|
|
67
66
|
"@zhin.js/schema": "1.1.7",
|
|
68
|
-
"@zhin.js/
|
|
69
|
-
"@zhin.js/
|
|
67
|
+
"@zhin.js/feature-kit": "1.1.17",
|
|
68
|
+
"@zhin.js/permission": "1.2.1",
|
|
69
|
+
"@zhin.js/jsx": "1.1.13"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "^26.1.2",
|