@heybox/hb-sdk 0.9.2-alpha.8 → 0.9.2-alpha.9
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/CHANGELOG.md +9 -0
- package/README.md +2 -2
- package/dist/card-controller.cjs.js +35 -3
- package/dist/card-controller.esm.js +35 -3
- package/dist/cli-chunks/{build-BinntZJf.cjs → build-DvHmPnZZ.cjs} +5 -5
- package/dist/cli-chunks/{context-BI3QMxw2.cjs → context-DYlZV8UG.cjs} +2 -2
- package/dist/cli-chunks/{create-BK028Mlk.cjs → create-CJ0cyrJG.cjs} +1 -1
- package/dist/cli-chunks/{deploy-lock-pKDDxTKm.cjs → deploy-lock-CmKl9M1c.cjs} +1 -1
- package/dist/cli-chunks/{dev-DeNzUY6g.cjs → dev-DhEZBjd6.cjs} +8 -8
- package/dist/cli-chunks/{doctor-BOfbKnN2.cjs → doctor-B8q0UuXs.cjs} +1 -1
- package/dist/cli-chunks/{games-yqu20laX.cjs → games-CmO-AKXg.cjs} +2 -2
- package/dist/cli-chunks/{index-C7nrP0tt.cjs → index-CRwNLk5w.cjs} +1 -1
- package/dist/cli-chunks/{index-CY67PpQk.cjs → index-hYvQR19Q.cjs} +17 -17
- package/dist/cli-chunks/{index.esm-DQdwzMhB.cjs → index.esm-DU7YhFWI.cjs} +6 -6
- package/dist/cli-chunks/{login-PJdMmFoB.cjs → login-DMJ45_Bs.cjs} +1 -1
- package/dist/cli-chunks/{project-vite-Dm128JTE.cjs → project-vite-BGy9w-Bx.cjs} +1 -1
- package/dist/cli-chunks/{remote-CZuy1lmn.cjs → remote-CSuwqlKA.cjs} +7 -7
- package/dist/cli-chunks/{runtime-gate-g3afiufR.cjs → runtime-gate-BvcLwvzi.cjs} +3 -2
- package/dist/cli-chunks/{runtime-permission-env-CDx5qO-T.cjs → runtime-permission-env-CbqmHz0r.cjs} +14 -2
- package/dist/cli-chunks/{skill-Bdy5Ehue.cjs → skill-CtKW2J0U.cjs} +2 -2
- package/dist/cli-chunks/{version-D40WHkF9.cjs → version-BQMfLqms.cjs} +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/devtools/browser-dev-host/assets/{browser-dev-host-BW7iWnpt.js → browser-dev-host-Cjw0mAi_.js} +1 -1
- package/dist/devtools/browser-dev-host/assets/{desktop-app-launch-lmlBUG16.js → desktop-app-launch-D9lPBkUV.js} +1 -1
- package/dist/devtools/browser-dev-host/assets/{index-D7F2y1lF.js → index-DrbZkH9C.js} +3 -3
- package/dist/devtools/browser-dev-host/index.html +2 -2
- package/dist/index.cjs.js +13 -5
- package/dist/index.esm.js +13 -5
- package/dist/miniapp-publish.cjs.js +13 -81
- package/dist/miniapp-publish.esm.js +14 -80
- package/dist/protocol.cjs.js +13 -0
- package/dist/protocol.esm.js +13 -0
- package/dist/vite.cjs.js +6 -1
- package/dist/vite.esm.js +6 -1
- package/package.json +7 -6
- package/skill/skill.json +4 -4
- package/types/card-controller.d.ts +35 -3
- package/types/index.d.ts +51 -51
- package/types/miniapp-publish/index.d.ts +15 -60
- package/types/protocol.d.ts +10 -10
- package/types/vite/index.d.ts +1 -0
package/types/protocol.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ interface PathRoot {
|
|
|
207
207
|
* @see [FileHandle](/reference/symbols/root/interfaces/FileHandle) 查看创建、读写、状态与删除方法。
|
|
208
208
|
* @see [文件能力与沙箱](/guide/files-and-sandbox) 路径、权限、Host operation 与配额说明。
|
|
209
209
|
*
|
|
210
|
-
* @since 0.8.0
|
|
210
|
+
* @since 0.8.0
|
|
211
211
|
* @hbPlatform android
|
|
212
212
|
* @hbPlatform ios
|
|
213
213
|
* @hbPlatform ohos
|
|
@@ -276,7 +276,7 @@ interface PathRoot {
|
|
|
276
276
|
* @see [DirectoryHandle](/reference/symbols/root/interfaces/DirectoryHandle) 查看 `create()`、`exists()`、`list()` 与 `remove()`。
|
|
277
277
|
* @see [文件能力与沙箱](/guide/files-and-sandbox) 路径、权限、Host operation 与配额说明。
|
|
278
278
|
*
|
|
279
|
-
* @since 0.8.0
|
|
279
|
+
* @since 0.8.0
|
|
280
280
|
* @hbPlatform android
|
|
281
281
|
* @hbPlatform ios
|
|
282
282
|
* @hbPlatform ohos
|
|
@@ -381,7 +381,7 @@ interface FileHandle {
|
|
|
381
381
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/error-handling | 错误处理}
|
|
382
382
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/permissions | 权限声明}
|
|
383
383
|
*
|
|
384
|
-
* @since 0.8.0
|
|
384
|
+
* @since 0.8.0
|
|
385
385
|
* @hbPlatform android
|
|
386
386
|
* @hbPlatform ios
|
|
387
387
|
* @hbPlatform ohos
|
|
@@ -514,7 +514,7 @@ interface FileHandle {
|
|
|
514
514
|
* @see [files.pickFiles()](/reference/sdk/files/pickFiles) 取得当前 session 的精确外部文件授权。
|
|
515
515
|
* @see [文件能力与沙箱](/guide/files-and-sandbox) 查看权限、平台与 Host operation 说明。
|
|
516
516
|
*
|
|
517
|
-
* @since 0.8.0
|
|
517
|
+
* @since 0.8.0
|
|
518
518
|
* @hbPlatform android
|
|
519
519
|
* @hbPlatform ios
|
|
520
520
|
* @hbPlatform ohos
|
|
@@ -676,7 +676,7 @@ interface FileHandle {
|
|
|
676
676
|
* @see [files.saveFile()](/reference/sdk/files/saveFile) 让用户指定新的精确可写目标。
|
|
677
677
|
* @see [文件能力与沙箱](/guide/files-and-sandbox) 查看路径、权限、平台与配额边界。
|
|
678
678
|
*
|
|
679
|
-
* @since 0.8.0
|
|
679
|
+
* @since 0.8.0
|
|
680
680
|
* @hbPlatform android
|
|
681
681
|
* @hbPlatform ios
|
|
682
682
|
* @hbPlatform ohos
|
|
@@ -920,7 +920,7 @@ interface FileHandle {
|
|
|
920
920
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/error-handling | 错误处理}
|
|
921
921
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/permissions | 权限声明}
|
|
922
922
|
*
|
|
923
|
-
* @since 0.8.0
|
|
923
|
+
* @since 0.8.0
|
|
924
924
|
* @hbPlatform android
|
|
925
925
|
* @hbPlatform ios
|
|
926
926
|
* @hbPlatform ohos
|
|
@@ -1105,7 +1105,7 @@ interface DirectoryHandle extends PathRoot {
|
|
|
1105
1105
|
* @see [files.pickDirectory()](/reference/sdk/files/pickDirectory) 取得不可删除的外部目录授权。
|
|
1106
1106
|
* @see [文件能力与沙箱](/guide/files-and-sandbox) 查看来源、权限、平台和错误码边界。
|
|
1107
1107
|
*
|
|
1108
|
-
* @since 0.8.0
|
|
1108
|
+
* @since 0.8.0
|
|
1109
1109
|
* @hbPlatform android
|
|
1110
1110
|
* @hbPlatform ios
|
|
1111
1111
|
* @hbPlatform ohos
|
|
@@ -1386,7 +1386,7 @@ interface FilesModule {
|
|
|
1386
1386
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/error-handling | 错误处理}
|
|
1387
1387
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/permissions | 权限声明}
|
|
1388
1388
|
*
|
|
1389
|
-
* @since 0.8.0
|
|
1389
|
+
* @since 0.8.0
|
|
1390
1390
|
* @hbPlatform android
|
|
1391
1391
|
* @hbPlatform ios
|
|
1392
1392
|
* @hbPlatform ohos
|
|
@@ -1473,7 +1473,7 @@ interface FilesModule {
|
|
|
1473
1473
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/error-handling | 错误处理}
|
|
1474
1474
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/permissions | 权限声明}
|
|
1475
1475
|
*
|
|
1476
|
-
* @since 0.8.0
|
|
1476
|
+
* @since 0.8.0
|
|
1477
1477
|
* @hbPlatform android
|
|
1478
1478
|
* @hbPlatform ios
|
|
1479
1479
|
* @hbPlatform ohos
|
|
@@ -1559,7 +1559,7 @@ interface FilesModule {
|
|
|
1559
1559
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/error-handling | 错误处理}
|
|
1560
1560
|
* @see {@link https://docs.xiaoheihe.cn/hb_sdk/guide/permissions | 权限声明}
|
|
1561
1561
|
*
|
|
1562
|
-
* @since 0.8.0
|
|
1562
|
+
* @since 0.8.0
|
|
1563
1563
|
* @hbPlatform android
|
|
1564
1564
|
* @hbPlatform ios
|
|
1565
1565
|
* @hbPlatform ohos
|
package/types/vite/index.d.ts
CHANGED
|
@@ -232,6 +232,7 @@ declare const HB_SDK_MINI_PROGRAM_MANIFEST_ACCESS_TOKEN_ENV = "HB_SDK_MINI_PROGR
|
|
|
232
232
|
* @see [权限声明](/guide/permissions) `heybox.permissions` 严格 schema 与迁移规则。
|
|
233
233
|
* @see [窗口尺寸与可缩放性](/guide/window-size) `heybox.window` 字段与 Host 消费语义。
|
|
234
234
|
* @see [受管桌面程序](/guide/companion) Companion 声明、归档和本地联调边界。
|
|
235
|
+
* @since 0.3.1
|
|
235
236
|
*/
|
|
236
237
|
declare function miniappManifest(): MiniappManifestPlugin;
|
|
237
238
|
|