ms-types 0.5.5 → 0.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -18,6 +18,6 @@
18
18
  "devDependencies": {
19
19
  "vitepress": "^1.6.4",
20
20
  "vitepress-theme-teek": "^1.5.5",
21
- "wrangler": "^4.71.0"
21
+ "wrangler": "^4.79.0"
22
22
  }
23
23
  }
package/types/global.d.ts CHANGED
@@ -2,6 +2,10 @@
2
2
  * 是否内置内置Agent
3
3
  */
4
4
  declare const __isSupportBuiltAgent__: boolean;
5
+ /**
6
+ * 运行模式
7
+ */
8
+ declare const __runMode__: "agent" | "hid";
5
9
  /**
6
10
  * 是否是调试模式
7
11
  */
@@ -11,6 +11,10 @@ declare type 无返回值 = void;
11
11
  * 是否内置内置Agent
12
12
  */
13
13
  declare const $是否内置Agent: 布尔值;
14
+ /**
15
+ * 运行模式
16
+ */
17
+ declare const $运行模式: "agent" | "hid";
14
18
  /**
15
19
  * 是否是调试模式
16
20
  */