@ynhcj/xiaoyi-channel 0.0.113-beta → 0.0.114-beta
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.
|
@@ -10,11 +10,11 @@ const POLL_INTERVAL_MS = 5000; // 5 seconds
|
|
|
10
10
|
const TIMEOUT_MS = 60000; // 1 minute
|
|
11
11
|
const TOKEN_VALIDITY_MS = 5 * 60 * 1000; // 5 minutes
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* huawei_id_tool 工具
|
|
14
14
|
* 当 skill 依赖用户获取鉴权信息时,此工具协助用户快速获取鉴权信息。
|
|
15
15
|
*/
|
|
16
16
|
export const loginTokenTool = {
|
|
17
|
-
name: "
|
|
17
|
+
name: "huawei_id_tool",
|
|
18
18
|
label: "Get Login Token",
|
|
19
19
|
description: "获取用户授权信息。当skill需要用户鉴权时调用此工具,工具会向用户端发送授权请求,等待用户完成授权后返回结果。请勿重复调用此工具。",
|
|
20
20
|
parameters: {
|