@heybox/hb-sdk 0.9.5-alpha.3 → 0.9.5-alpha.4

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cli-chunks/{artifact-qcqjww0s.cjs → artifact-Ugqa6hRL.cjs} +3 -3
  3. package/dist/cli-chunks/{build-DCgpTg32.cjs → build-D_o_QRjp.cjs} +5 -5
  4. package/dist/cli-chunks/{create-B1R3GzUJ.cjs → create-C1D1kfK1.cjs} +1 -1
  5. package/dist/cli-chunks/{dev-BktX-Knf.cjs → dev-BYJDJ6ke.cjs} +43 -12
  6. package/dist/cli-chunks/{dev-context-CE4HgJig.cjs → dev-context-Dh5ZouxP.cjs} +2 -2
  7. package/dist/cli-chunks/{doctor-ahqYzMjt.cjs → doctor-ScJqxOUG.cjs} +1 -1
  8. package/dist/cli-chunks/{games-DeOUz5bI.cjs → games-DnIZgZPn.cjs} +1 -1
  9. package/dist/cli-chunks/{index-C3p93h2e.cjs → index-2pJPXX7y.cjs} +17 -17
  10. package/dist/cli-chunks/{index-Ca7rRS2Z.cjs → index-CW36RfnA.cjs} +1 -1
  11. package/dist/cli-chunks/{index.esm-BjwRn4Dl.cjs → index.esm-DNEjZuBT.cjs} +6 -6
  12. package/dist/cli-chunks/{login-DuOq0Gm9.cjs → login-BnnzOwbT.cjs} +1 -1
  13. package/dist/cli-chunks/{project-vite-C48AvOrg.cjs → project-vite-N357IKfz.cjs} +1 -1
  14. package/dist/cli-chunks/{remote-BqbatO77.cjs → remote-CaHGCahf.cjs} +6 -6
  15. package/dist/cli-chunks/{runtime-permission-env-BfP6motG.cjs → runtime-permission-env-DidMNelj.cjs} +2 -2
  16. package/dist/cli-chunks/{skill-CN-_HmPx.cjs → skill-CRBhszbC.cjs} +2 -2
  17. package/dist/cli-chunks/{version-DyS8HIuU.cjs → version-BzAY2vKb.cjs} +1 -1
  18. package/dist/cli.cjs +1 -1
  19. package/dist/devtools/browser-dev-host/assets/{browser-dev-host-CPoh6wpa.js → browser-dev-host-ChhgKXkj.js} +1 -1
  20. package/dist/devtools/browser-dev-host/assets/{desktop-app-launch-KWxMdRrR.js → desktop-app-launch-BaoJXhJT.js} +1 -1
  21. package/dist/devtools/browser-dev-host/assets/{index-B0sWGR7o.js → index-D5U_vWLN.js} +3 -3
  22. package/dist/devtools/browser-dev-host/index.html +2 -2
  23. package/dist/index.cjs.js +1 -1
  24. package/dist/index.esm.js +1 -1
  25. package/dist/vite.cjs.js +1 -1
  26. package/dist/vite.esm.js +1 -1
  27. package/package.json +6 -6
  28. package/skill/skill.json +4 -4
  29. package/types/index.d.ts +2 -1
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta name="theme-color" content="#f4f5f7" />
7
7
  <title>小程序工坊调试台</title>
8
- <script type="module" crossorigin src="/assets/index-B0sWGR7o.js"></script>
9
- <link rel="modulepreload" crossorigin href="/assets/desktop-app-launch-KWxMdRrR.js">
8
+ <script type="module" crossorigin src="/assets/index-D5U_vWLN.js"></script>
9
+ <link rel="modulepreload" crossorigin href="/assets/desktop-app-launch-BaoJXhJT.js">
10
10
  <link rel="stylesheet" crossorigin href="/assets/index-DSTlrpnQ.css">
11
11
  </head>
12
12
  <body>
package/dist/index.cjs.js CHANGED
@@ -7492,7 +7492,7 @@ function createMessageId() {
7492
7492
  /** 构建时替换为当前发布包的实际版本。 */
7493
7493
  const HB_SDK_VERSION = typeof undefined === 'string'
7494
7494
  ? undefined
7495
- : '0.9.5-alpha.3';
7495
+ : '0.9.5-alpha.4';
7496
7496
 
7497
7497
  const RUNTIME_MODES = new Set(['production', 'preview', 'development', 'unknown']);
7498
7498
  const OPERATING_SYSTEM_NAMES = new Set(['android', 'ios', 'ohos', 'windows', 'macos', 'linux', 'unknown']);
package/dist/index.esm.js CHANGED
@@ -7488,7 +7488,7 @@ function createMessageId() {
7488
7488
  /** 构建时替换为当前发布包的实际版本。 */
7489
7489
  const HB_SDK_VERSION = typeof undefined === 'string'
7490
7490
  ? undefined
7491
- : '0.9.5-alpha.3';
7491
+ : '0.9.5-alpha.4';
7492
7492
 
7493
7493
  const RUNTIME_MODES = new Set(['production', 'preview', 'development', 'unknown']);
7494
7494
  const OPERATING_SYSTEM_NAMES = new Set(['android', 'ios', 'ohos', 'windows', 'macos', 'linux', 'unknown']);
package/dist/vite.cjs.js CHANGED
@@ -10329,7 +10329,7 @@ async function ensureBasicInfoDirectory(rootPath, relative) {
10329
10329
  /** 构建时替换为当前发布包的实际版本。 */
10330
10330
  const HB_SDK_VERSION = typeof undefined === 'string'
10331
10331
  ? undefined
10332
- : '0.9.5-alpha.3';
10332
+ : '0.9.5-alpha.4';
10333
10333
 
10334
10334
  /**
10335
10335
  * iframe 与调试台页面的开发期 console 捕获转发。
package/dist/vite.esm.js CHANGED
@@ -10326,7 +10326,7 @@ async function ensureBasicInfoDirectory(rootPath, relative) {
10326
10326
  /** 构建时替换为当前发布包的实际版本。 */
10327
10327
  const HB_SDK_VERSION = typeof undefined === 'string'
10328
10328
  ? undefined
10329
- : '0.9.5-alpha.3';
10329
+ : '0.9.5-alpha.4';
10330
10330
 
10331
10331
  /**
10332
10332
  * iframe 与调试台页面的开发期 console 捕获转发。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heybox/hb-sdk",
3
- "version": "0.9.5-alpha.3",
3
+ "version": "0.9.5-alpha.4",
4
4
  "sideEffects": [
5
5
  "./src/index.ts",
6
6
  "./src/core/singleton.ts",
@@ -76,7 +76,7 @@
76
76
  "undici": "^7.28.0",
77
77
  "ws": "^8.18.0",
78
78
  "sharp": "^0.34.5",
79
- "@heybox/hb-sdk-protocol": "0.9.5-alpha.3"
79
+ "@heybox/hb-sdk-protocol": "0.9.5-alpha.4"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "vite": ">=5"
@@ -128,13 +128,13 @@
128
128
  "vitest": "^3.2.4",
129
129
  "@ai-desktop/view-contract": "file:../hb-sdk-protocol/vendor/view-contract-2.2.2-6ac49bbf6410.tgz",
130
130
  "rollup-plugin-dts": "6.4.0",
131
- "@heybox-domain/heybox-theme": "~0.1.0",
132
131
  "@heybox-domain/heybox-vue3-ui": "~0.1.0",
133
- "@heybox/hb-sdk-runtime": "~0.9.5-alpha.3",
132
+ "@heybox-domain/heybox-theme": "~0.1.0",
134
133
  "@heybox/hb-api": "~1.28.19",
134
+ "@heybox/hb-sdk-runtime": "~0.9.5-alpha.4",
135
135
  "@heybox/runtime": "~0.2.1",
136
- "@heybox/runtime-policy": "~0.2.1",
137
- "@heybox/runtime-transport-fetch": "~0.2.1"
136
+ "@heybox/runtime-transport-fetch": "~0.2.1",
137
+ "@heybox/runtime-policy": "~0.2.1"
138
138
  },
139
139
  "publishConfig": {
140
140
  "registry": "https://registry.npmjs.org/",
package/skill/skill.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "hb-sdk",
3
- "skillVersion": "0.9.5-alpha.3+skill.fe3b525ecac8",
3
+ "skillVersion": "0.9.5-alpha.4+skill.fe3b525ecac8",
4
4
  "sdk": {
5
5
  "package": "@heybox/hb-sdk",
6
- "version": "0.9.5-alpha.3",
7
- "compatibility": "0.9.5-alpha.3"
6
+ "version": "0.9.5-alpha.4",
7
+ "compatibility": "0.9.5-alpha.4"
8
8
  },
9
9
  "distribution": {
10
10
  "type": "npm",
11
11
  "package": "@heybox/hb-sdk",
12
- "version": "0.9.5-alpha.3",
12
+ "version": "0.9.5-alpha.4",
13
13
  "path": "skill"
14
14
  },
15
15
  "integrity": "sha256-fe3b525ecac8431e1774ee453864cf9ba58ff6897272e2356ceb17b621c8c427"
package/types/index.d.ts CHANGED
@@ -2512,7 +2512,8 @@ interface MiniProgramAuthModule {
2512
2512
  *
2513
2513
  * @remarks
2514
2514
  * 无需 Manifest 权限或用户手势,独立于 user.getInfo/auth.login 的模式限制。
2515
- * Mobile Host 会复用已有原生登录态验证刷新当前账号;离线或验证失败时返回错误并保持待确认。
2515
+ * Mobile Host 使用本次宿主文档确定的 APP 账号快照;切换 APP 账号后需重新打开小程序。
2516
+ * 文档内仅允许从未登录状态补全为登录成功后的账号;账号来源缺失、损坏或冲突时保持待确认。
2516
2517
  * 启动和 show 时与业务 token 绑定的 accountKey 比较;不匹配或未登录时停止使用旧会话。
2517
2518
  * 读取失败表示待确认,不能当作未登录或账号相同。accountKey 只在当前安装和小程序内比较,
2518
2519
  * 清理 Host 存储后允许变化;不校验业务 token 或用户授权,也不能作为服务端登录凭据。