@heybox/hb-sdk 0.9.6-alpha.11 → 0.9.6-alpha.14

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 (48) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +4 -1
  3. package/THIRD_PARTY_NOTICES.md +472 -48
  4. package/dist/cli-chunks/{artifact-BW6SD1G6.cjs → artifact-DTqf7LjW.cjs} +6 -5
  5. package/dist/cli-chunks/{build-B0Id0UTN.cjs → build-BY4DoIBI.cjs} +6 -5
  6. package/dist/cli-chunks/{create-DVu93Ekp.cjs → create-DG-eZzS2.cjs} +322 -4
  7. package/dist/cli-chunks/{dev-CeSjpEZQ.cjs → dev-BeSGi9u8.cjs} +20 -16
  8. package/dist/cli-chunks/{dev-context-CVc_BsWR.cjs → dev-context-7fvQuwt0.cjs} +22 -14
  9. package/dist/cli-chunks/{doctor-BF9mtkJr.cjs → doctor-DcxJh-U3.cjs} +1 -1
  10. package/dist/cli-chunks/{games-BKnDCklM.cjs → games-CbQNW3Z3.cjs} +1 -1
  11. package/dist/cli-chunks/{index-Cgui_8Rk.cjs → index-NJUh9sVX.cjs} +1 -1
  12. package/dist/cli-chunks/{index-Rp3UMZIO.cjs → index-lnwfzT8S.cjs} +73 -20
  13. package/dist/cli-chunks/index.esm-CvMA_ppV.cjs +7977 -0
  14. package/dist/cli-chunks/{index.esm-BK0eVYaM.cjs → index.esm-DOXvj-ZK.cjs} +7 -6
  15. package/dist/cli-chunks/{login-DpeDN-mt.cjs → login-PYy4XDVv.cjs} +1 -1
  16. package/dist/cli-chunks/{project-vite-Cg3jYqAJ.cjs → project-vite-Dzd2JLIc.cjs} +1 -1
  17. package/dist/cli-chunks/{remote-BQ-9rhTb.cjs → remote-r0tXpJh6.cjs} +13 -8
  18. package/dist/cli-chunks/{runtime-permission-env-BgipCJ0Z.cjs → runtime-permission-env-CN2K4GG7.cjs} +52 -6990
  19. package/dist/cli-chunks/{skill-D7pd4yPq.cjs → skill-BbrtzJTC.cjs} +2 -2
  20. package/dist/cli-chunks/{version-DbjRZkb6.cjs → version-SpegXNoR.cjs} +1 -1
  21. package/dist/cli.cjs +1 -1
  22. package/dist/devtools/browser-dev-host/assets/browser-dev-host-DdLOxwBk.js +228 -0
  23. package/dist/devtools/browser-dev-host/assets/desktop-app-launch-DeuOZXeW.js +6 -0
  24. package/dist/devtools/browser-dev-host/assets/index-B-2wxdQX.js +567 -0
  25. package/dist/devtools/browser-dev-host/assets/index-ophYZqpX.css +1 -0
  26. package/dist/devtools/browser-dev-host/assets/linux-DwJAcUeD.svg +1 -0
  27. package/dist/devtools/browser-dev-host/index.html +6 -4
  28. package/dist/index.cjs.js +1030 -155
  29. package/dist/index.esm.js +1030 -155
  30. package/dist/miniapp-publish.cjs.js +1071 -130
  31. package/dist/miniapp-publish.esm.js +1071 -130
  32. package/dist/protocol.cjs.js +727 -158
  33. package/dist/protocol.esm.js +711 -159
  34. package/dist/templates/vanilla-vite-js/README.md.ejs +27 -0
  35. package/dist/templates/vanilla-vite-js/package.json.ejs +1 -1
  36. package/dist/templates/vanilla-vite-js/src/user-game-data.js.ejs +1 -0
  37. package/dist/vite.cjs.js +1076 -133
  38. package/dist/vite.esm.js +1076 -133
  39. package/package.json +6 -7
  40. package/skill/SKILL.md +4 -0
  41. package/skill/skill.json +5 -5
  42. package/types/index.d.ts +386 -9
  43. package/types/miniapp-publish/index.d.ts +18 -2
  44. package/types/protocol.d.ts +1 -1
  45. package/dist/devtools/browser-dev-host/assets/browser-dev-host-DVlT56iQ.js +0 -100
  46. package/dist/devtools/browser-dev-host/assets/desktop-app-launch-BzRxl_MM.js +0 -6
  47. package/dist/devtools/browser-dev-host/assets/index-CHYEXFEg.css +0 -1
  48. package/dist/devtools/browser-dev-host/assets/index-DY5ZynQp.js +0 -586
package/CHANGELOG.md CHANGED
@@ -2,6 +2,39 @@
2
2
 
3
3
  本文件随 `@heybox/hb-sdk` npm 包公开分发,只记录外部小程序开发者可观察到的变化。
4
4
 
5
+ ## 0.9.6-alpha.14 - 2026-11-06
6
+
7
+ ### 文档与工具
8
+
9
+ - [浏览器调试台](https://docs.xiaoheihe.cn/hb_sdk/guide/agent-preview)统一日志、存储、沙箱与问题的调试设备选择,切换查看设备不改变右侧预览;离线或不支持读取时显示对应提示,不回退到本地数据。
10
+ - [用户数据授权](https://docs.xiaoheihe.cn/hb_sdk/guide/user-data-permissions)增加独立的调试台入口,可查询当前浏览器预览的授权、撤销本次授权或重置授权;不再提供授权模拟场景,其他设备暂不支持查询。
11
+ - 调试台展示小程序声明的支持平台,预览工具栏支持拖动与键盘移动;本地权限与线上审批差异在权限入口中集中展示。
12
+
13
+ ## 0.9.6-alpha.13
14
+
15
+ - No user-facing hb-sdk package changes were detected from Conventional Commits.
16
+
17
+ ## 0.9.6-alpha.12 - 2026-11-06
18
+
19
+ ### 新增能力
20
+
21
+ - 新增[游戏资料](https://docs.xiaoheihe.cn/hb_sdk/guide/game-data)入口:按公开游戏标识读取明日方舟角色/养成与抽卡资料,以及黑神话悟空、任务栏英雄、影之刃零的云存档文件与解析结果。所有读取返回统一 `ReadResult`;缺少登录、用户许可或来源时返回 `blocked`,有实际交互时附 `resolve()` 操作供用户点击继续,普通读取不会自动弹窗。
22
+ - 云存档统一提供 `user.games.get(gameId).saves`,支持查询文件清单、同步与读取解析结果;文件对象可下载为只读句柄。文件与解析结果分别声明和授权,见[云存档](https://docs.xiaoheihe.cn/hb_sdk/guide/game-data#%E4%BA%91%E5%AD%98%E6%A1%A3)。
23
+ - 新增声明型权限 `user_game_data`,按精确资源对象开放,每项资源必须声明 1~30 个 Unicode 码点的用途 `purpose`,不使用通配符;[权限声明](https://docs.xiaoheihe.cn/hb_sdk/guide/permissions)增加资源清单与“声明不等于授权”的说明。
24
+ - 新增[用户数据权限](https://docs.xiaoheihe.cn/hb_sdk/guide/user-data-permissions)说明三种许可选择、设备范围、拒绝/撤销/重置与外传提示;可用 `user.dataPermission` 请求、查询、撤销本次许可或打开可信管理界面。
25
+ - `hb-sdk create` 新增 `--game`、`--features`、`--resources` 与必填用途参数 `--purpose`,按所选资源生成声明、带类型的示例与浏览器 Mock;不声明任何资源时产物与之前一致,详见[生成资料示例](https://docs.xiaoheihe.cn/hb_sdk/guide/game-data#%E5%A3%B0%E6%98%8E%E8%B5%84%E6%BA%90)。
26
+
27
+ ### 行为调整
28
+
29
+ - 修复游戏资料同步、许可确认及管理界面被普通请求超时提前结束的问题;等待终态和主动取消继续由 Host 生命周期管理。
30
+ - 将 `gameSaves` 及其权限标记为废弃,本版保留,计划在 `0.10.0` 移除;按[迁移说明](https://docs.xiaoheihe.cn/hb_sdk/guide/game-data#%E5%8D%87%E7%BA%A7%E4%B8%8E%E5%85%BC%E5%AE%B9)改用 `user.games.get(gameId).saves` 并逐项声明用途。旧 SDK 保留原合同,旧权限不能授予新接口许可。
31
+ - 浏览器调试台补充数据许可的未决定、拒绝、本次/持久允许、撤销与重置场景;Mock 不代替真机授权,见[游戏资料](https://docs.xiaoheihe.cn/hb_sdk/guide/game-data)。
32
+
33
+ ### 文档与工具
34
+
35
+ - 新增[游戏资料](https://docs.xiaoheihe.cn/hb_sdk/guide/game-data)与[用户数据权限](https://docs.xiaoheihe.cn/hb_sdk/guide/user-data-permissions)指南,并更新[权限声明](https://docs.xiaoheihe.cn/hb_sdk/guide/permissions)、[游戏存档](https://docs.xiaoheihe.cn/hb_sdk/guide/game-saves)。
36
+ - API Reference 增加 `user.games`、`user.dataPermission`、统一读取结果与公开资料类型;[LLM 索引](https://docs.xiaoheihe.cn/hb_sdk/llms.txt)同步新增页面。
37
+
5
38
  ## 0.9.6-alpha.11 - 2026-11-05
6
39
 
7
40
  ### 新增能力
package/README.md CHANGED
@@ -31,6 +31,8 @@ export async function readWindowInfo() {
31
31
 
32
32
  受保护能力须先[声明权限](https://docs.xiaoheihe.cn/hb_sdk/guide/permissions)。本地模拟或临时权限不代表发布后可用。平台下发域名策略时,公开网络方法仅允许完整清单内的 HTTPS 域名;域名变更需重新申请。正式产物保留 `connect-src 'none'`,业务联网通过 SDK 发起,远程图片按批准域名及平台基础源加载。
33
33
 
34
+ 读取游戏资料时还需要用户在当前设备上逐项许可,声明不等于授权。
35
+
34
36
  ## 调试与发布
35
37
 
36
38
  ```bash
@@ -65,7 +67,8 @@ Agent Skill 随 SDK 提供,使用时联网读取 [llms.txt](https://docs.xiaoh
65
67
  | 网络、文件与沙箱 | [API Reference](https://docs.xiaoheihe.cn/hb_sdk/reference/)、[文件与沙箱](https://docs.xiaoheihe.cn/hb_sdk/guide/files-and-sandbox) |
66
68
  | 环境与窗口 | [环境信息](https://docs.xiaoheihe.cn/hb_sdk/guide/environment)、[窗口尺寸](https://docs.xiaoheihe.cn/hb_sdk/guide/window-size) |
67
69
  | 本地与云端数据 | [Storage](https://docs.xiaoheihe.cn/hb_sdk/guide/storage)、[云端存储](https://docs.xiaoheihe.cn/hb_sdk/guide/cloud-storage) |
68
- | 游戏存档 | [游戏存档](https://docs.xiaoheihe.cn/hb_sdk/guide/game-saves) |
70
+ | 旧版游戏存档 | [旧版游戏存档](https://docs.xiaoheihe.cn/hb_sdk/guide/game-saves) |
71
+ | 游戏资料与数据许可 | [游戏资料](https://docs.xiaoheihe.cn/hb_sdk/guide/game-data)、[用户数据权限](https://docs.xiaoheihe.cn/hb_sdk/guide/user-data-permissions) |
69
72
  | 云端排行榜 | [排行榜](https://docs.xiaoheihe.cn/hb_sdk/guide/cloud-leaderboard) |
70
73
  | 桌面辅助程序 | [Companion](https://docs.xiaoheihe.cn/hb_sdk/guide/companion) |
71
74
  | 错误与兼容限制 | [错误处理](https://docs.xiaoheihe.cn/hb_sdk/guide/error-handling)、[FAQ](https://docs.xiaoheihe.cn/hb_sdk/guide/faq) |
@@ -1,6 +1,6 @@
1
1
  # Third-Party Notices
2
2
 
3
- This file covers the declared dependency closure bundled into the Browser Dev Host.
3
+ This file covers the dependency closure and vendored icon assets bundled into the Browser Dev Host.
4
4
 
5
5
  ## @babel/helper-string-parser@7.29.7
6
6
 
@@ -1413,53 +1413,6 @@ The above copyright notice and this permission notice shall be included in all c
1413
1413
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1414
1414
  ```
1415
1415
 
1416
- ## lucide-vue-next@1.0.0
1417
-
1418
- - License: ISC
1419
- - Homepage/source: https://lucide.dev
1420
-
1421
- ```text
1422
- ISC License
1423
-
1424
- Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
1425
-
1426
- Permission to use, copy, modify, and/or distribute this software for any
1427
- purpose with or without fee is hereby granted, provided that the above
1428
- copyright notice and this permission notice appear in all copies.
1429
-
1430
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1431
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1432
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1433
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1434
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1435
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1436
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1437
-
1438
- ---
1439
-
1440
- The MIT License (MIT) (for portions derived from Feather)
1441
-
1442
- Copyright (c) 2013-2026 Cole Bemis
1443
-
1444
- Permission is hereby granted, free of charge, to any person obtaining a copy
1445
- of this software and associated documentation files (the "Software"), to deal
1446
- in the Software without restriction, including without limitation the rights
1447
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1448
- copies of the Software, and to permit persons to whom the Software is
1449
- furnished to do so, subject to the following conditions:
1450
-
1451
- The above copyright notice and this permission notice shall be included in all
1452
- copies or substantial portions of the Software.
1453
-
1454
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1455
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1456
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1457
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1458
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1459
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1460
- SOFTWARE.
1461
- ```
1462
-
1463
1416
  ## magic-string@0.30.21
1464
1417
 
1465
1418
  - License: MIT
@@ -1753,3 +1706,474 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1753
1706
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1754
1707
  SOFTWARE.
1755
1708
  ```
1709
+
1710
+ ## @vscode/codicons@0.0.46-24
1711
+
1712
+ - License: CC-BY-4.0 (icon artwork), MIT (code)
1713
+ - Homepage/source: https://github.com/microsoft/vscode-codicons
1714
+
1715
+ ```text
1716
+ Codicons by Microsoft Corporation. Icon artwork licensed under CC BY 4.0; code under MIT. Original SVG files are unmodified.
1717
+
1718
+ License: https://creativecommons.org/licenses/by/4.0/
1719
+
1720
+ Attribution 4.0 International
1721
+
1722
+ =======================================================================
1723
+
1724
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
1725
+ does not provide legal services or legal advice. Distribution of
1726
+ Creative Commons public licenses does not create a lawyer-client or
1727
+ other relationship. Creative Commons makes its licenses and related
1728
+ information available on an "as-is" basis. Creative Commons gives no
1729
+ warranties regarding its licenses, any material licensed under their
1730
+ terms and conditions, or any related information. Creative Commons
1731
+ disclaims all liability for damages resulting from their use to the
1732
+ fullest extent possible.
1733
+
1734
+ Using Creative Commons Public Licenses
1735
+
1736
+ Creative Commons public licenses provide a standard set of terms and
1737
+ conditions that creators and other rights holders may use to share
1738
+ original works of authorship and other material subject to copyright
1739
+ and certain other rights specified in the public license below. The
1740
+ following considerations are for informational purposes only, are not
1741
+ exhaustive, and do not form part of our licenses.
1742
+
1743
+ Considerations for licensors: Our public licenses are
1744
+ intended for use by those authorized to give the public
1745
+ permission to use material in ways otherwise restricted by
1746
+ copyright and certain other rights. Our licenses are
1747
+ irrevocable. Licensors should read and understand the terms
1748
+ and conditions of the license they choose before applying it.
1749
+ Licensors should also secure all rights necessary before
1750
+ applying our licenses so that the public can reuse the
1751
+ material as expected. Licensors should clearly mark any
1752
+ material not subject to the license. This includes other CC-
1753
+ licensed material, or material used under an exception or
1754
+ limitation to copyright. More considerations for licensors:
1755
+ wiki.creativecommons.org/Considerations_for_licensors
1756
+
1757
+ Considerations for the public: By using one of our public
1758
+ licenses, a licensor grants the public permission to use the
1759
+ licensed material under specified terms and conditions. If
1760
+ the licensor's permission is not necessary for any reason--for
1761
+ example, because of any applicable exception or limitation to
1762
+ copyright--then that use is not regulated by the license. Our
1763
+ licenses grant only permissions under copyright and certain
1764
+ other rights that a licensor has authority to grant. Use of
1765
+ the licensed material may still be restricted for other
1766
+ reasons, including because others have copyright or other
1767
+ rights in the material. A licensor may make special requests,
1768
+ such as asking that all changes be marked or described.
1769
+ Although not required by our licenses, you are encouraged to
1770
+ respect those requests where reasonable. More_considerations
1771
+ for the public:
1772
+ wiki.creativecommons.org/Considerations_for_licensees
1773
+
1774
+ =======================================================================
1775
+
1776
+ Creative Commons Attribution 4.0 International Public License
1777
+
1778
+ By exercising the Licensed Rights (defined below), You accept and agree
1779
+ to be bound by the terms and conditions of this Creative Commons
1780
+ Attribution 4.0 International Public License ("Public License"). To the
1781
+ extent this Public License may be interpreted as a contract, You are
1782
+ granted the Licensed Rights in consideration of Your acceptance of
1783
+ these terms and conditions, and the Licensor grants You such rights in
1784
+ consideration of benefits the Licensor receives from making the
1785
+ Licensed Material available under these terms and conditions.
1786
+
1787
+
1788
+ Section 1 -- Definitions.
1789
+
1790
+ a. Adapted Material means material subject to Copyright and Similar
1791
+ Rights that is derived from or based upon the Licensed Material
1792
+ and in which the Licensed Material is translated, altered,
1793
+ arranged, transformed, or otherwise modified in a manner requiring
1794
+ permission under the Copyright and Similar Rights held by the
1795
+ Licensor. For purposes of this Public License, where the Licensed
1796
+ Material is a musical work, performance, or sound recording,
1797
+ Adapted Material is always produced where the Licensed Material is
1798
+ synched in timed relation with a moving image.
1799
+
1800
+ b. Adapter's License means the license You apply to Your Copyright
1801
+ and Similar Rights in Your contributions to Adapted Material in
1802
+ accordance with the terms and conditions of this Public License.
1803
+
1804
+ c. Copyright and Similar Rights means copyright and/or similar rights
1805
+ closely related to copyright including, without limitation,
1806
+ performance, broadcast, sound recording, and Sui Generis Database
1807
+ Rights, without regard to how the rights are labeled or
1808
+ categorized. For purposes of this Public License, the rights
1809
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
1810
+ Rights.
1811
+
1812
+ d. Effective Technological Measures means those measures that, in the
1813
+ absence of proper authority, may not be circumvented under laws
1814
+ fulfilling obligations under Article 11 of the WIPO Copyright
1815
+ Treaty adopted on December 20, 1996, and/or similar international
1816
+ agreements.
1817
+
1818
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
1819
+ any other exception or limitation to Copyright and Similar Rights
1820
+ that applies to Your use of the Licensed Material.
1821
+
1822
+ f. Licensed Material means the artistic or literary work, database,
1823
+ or other material to which the Licensor applied this Public
1824
+ License.
1825
+
1826
+ g. Licensed Rights means the rights granted to You subject to the
1827
+ terms and conditions of this Public License, which are limited to
1828
+ all Copyright and Similar Rights that apply to Your use of the
1829
+ Licensed Material and that the Licensor has authority to license.
1830
+
1831
+ h. Licensor means the individual(s) or entity(ies) granting rights
1832
+ under this Public License.
1833
+
1834
+ i. Share means to provide material to the public by any means or
1835
+ process that requires permission under the Licensed Rights, such
1836
+ as reproduction, public display, public performance, distribution,
1837
+ dissemination, communication, or importation, and to make material
1838
+ available to the public including in ways that members of the
1839
+ public may access the material from a place and at a time
1840
+ individually chosen by them.
1841
+
1842
+ j. Sui Generis Database Rights means rights other than copyright
1843
+ resulting from Directive 96/9/EC of the European Parliament and of
1844
+ the Council of 11 March 1996 on the legal protection of databases,
1845
+ as amended and/or succeeded, as well as other essentially
1846
+ equivalent rights anywhere in the world.
1847
+
1848
+ k. You means the individual or entity exercising the Licensed Rights
1849
+ under this Public License. Your has a corresponding meaning.
1850
+
1851
+
1852
+ Section 2 -- Scope.
1853
+
1854
+ a. License grant.
1855
+
1856
+ 1. Subject to the terms and conditions of this Public License,
1857
+ the Licensor hereby grants You a worldwide, royalty-free,
1858
+ non-sublicensable, non-exclusive, irrevocable license to
1859
+ exercise the Licensed Rights in the Licensed Material to:
1860
+
1861
+ a. reproduce and Share the Licensed Material, in whole or
1862
+ in part; and
1863
+
1864
+ b. produce, reproduce, and Share Adapted Material.
1865
+
1866
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
1867
+ Exceptions and Limitations apply to Your use, this Public
1868
+ License does not apply, and You do not need to comply with
1869
+ its terms and conditions.
1870
+
1871
+ 3. Term. The term of this Public License is specified in Section
1872
+ 6(a).
1873
+
1874
+ 4. Media and formats; technical modifications allowed. The
1875
+ Licensor authorizes You to exercise the Licensed Rights in
1876
+ all media and formats whether now known or hereafter created,
1877
+ and to make technical modifications necessary to do so. The
1878
+ Licensor waives and/or agrees not to assert any right or
1879
+ authority to forbid You from making technical modifications
1880
+ necessary to exercise the Licensed Rights, including
1881
+ technical modifications necessary to circumvent Effective
1882
+ Technological Measures. For purposes of this Public License,
1883
+ simply making modifications authorized by this Section 2(a)
1884
+ (4) never produces Adapted Material.
1885
+
1886
+ 5. Downstream recipients.
1887
+
1888
+ a. Offer from the Licensor -- Licensed Material. Every
1889
+ recipient of the Licensed Material automatically
1890
+ receives an offer from the Licensor to exercise the
1891
+ Licensed Rights under the terms and conditions of this
1892
+ Public License.
1893
+
1894
+ b. No downstream restrictions. You may not offer or impose
1895
+ any additional or different terms or conditions on, or
1896
+ apply any Effective Technological Measures to, the
1897
+ Licensed Material if doing so restricts exercise of the
1898
+ Licensed Rights by any recipient of the Licensed
1899
+ Material.
1900
+
1901
+ 6. No endorsement. Nothing in this Public License constitutes or
1902
+ may be construed as permission to assert or imply that You
1903
+ are, or that Your use of the Licensed Material is, connected
1904
+ with, or sponsored, endorsed, or granted official status by,
1905
+ the Licensor or others designated to receive attribution as
1906
+ provided in Section 3(a)(1)(A)(i).
1907
+
1908
+ b. Other rights.
1909
+
1910
+ 1. Moral rights, such as the right of integrity, are not
1911
+ licensed under this Public License, nor are publicity,
1912
+ privacy, and/or other similar personality rights; however, to
1913
+ the extent possible, the Licensor waives and/or agrees not to
1914
+ assert any such rights held by the Licensor to the limited
1915
+ extent necessary to allow You to exercise the Licensed
1916
+ Rights, but not otherwise.
1917
+
1918
+ 2. Patent and trademark rights are not licensed under this
1919
+ Public License.
1920
+
1921
+ 3. To the extent possible, the Licensor waives any right to
1922
+ collect royalties from You for the exercise of the Licensed
1923
+ Rights, whether directly or through a collecting society
1924
+ under any voluntary or waivable statutory or compulsory
1925
+ licensing scheme. In all other cases the Licensor expressly
1926
+ reserves any right to collect such royalties.
1927
+
1928
+
1929
+ Section 3 -- License Conditions.
1930
+
1931
+ Your exercise of the Licensed Rights is expressly made subject to the
1932
+ following conditions.
1933
+
1934
+ a. Attribution.
1935
+
1936
+ 1. If You Share the Licensed Material (including in modified
1937
+ form), You must:
1938
+
1939
+ a. retain the following if it is supplied by the Licensor
1940
+ with the Licensed Material:
1941
+
1942
+ i. identification of the creator(s) of the Licensed
1943
+ Material and any others designated to receive
1944
+ attribution, in any reasonable manner requested by
1945
+ the Licensor (including by pseudonym if
1946
+ designated);
1947
+
1948
+ ii. a copyright notice;
1949
+
1950
+ iii. a notice that refers to this Public License;
1951
+
1952
+ iv. a notice that refers to the disclaimer of
1953
+ warranties;
1954
+
1955
+ v. a URI or hyperlink to the Licensed Material to the
1956
+ extent reasonably practicable;
1957
+
1958
+ b. indicate if You modified the Licensed Material and
1959
+ retain an indication of any previous modifications; and
1960
+
1961
+ c. indicate the Licensed Material is licensed under this
1962
+ Public License, and include the text of, or the URI or
1963
+ hyperlink to, this Public License.
1964
+
1965
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
1966
+ reasonable manner based on the medium, means, and context in
1967
+ which You Share the Licensed Material. For example, it may be
1968
+ reasonable to satisfy the conditions by providing a URI or
1969
+ hyperlink to a resource that includes the required
1970
+ information.
1971
+
1972
+ 3. If requested by the Licensor, You must remove any of the
1973
+ information required by Section 3(a)(1)(A) to the extent
1974
+ reasonably practicable.
1975
+
1976
+ 4. If You Share Adapted Material You produce, the Adapter's
1977
+ License You apply must not prevent recipients of the Adapted
1978
+ Material from complying with this Public License.
1979
+
1980
+
1981
+ Section 4 -- Sui Generis Database Rights.
1982
+
1983
+ Where the Licensed Rights include Sui Generis Database Rights that
1984
+ apply to Your use of the Licensed Material:
1985
+
1986
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
1987
+ to extract, reuse, reproduce, and Share all or a substantial
1988
+ portion of the contents of the database;
1989
+
1990
+ b. if You include all or a substantial portion of the database
1991
+ contents in a database in which You have Sui Generis Database
1992
+ Rights, then the database in which You have Sui Generis Database
1993
+ Rights (but not its individual contents) is Adapted Material; and
1994
+
1995
+ c. You must comply with the conditions in Section 3(a) if You Share
1996
+ all or a substantial portion of the contents of the database.
1997
+
1998
+ For the avoidance of doubt, this Section 4 supplements and does not
1999
+ replace Your obligations under this Public License where the Licensed
2000
+ Rights include other Copyright and Similar Rights.
2001
+
2002
+
2003
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
2004
+
2005
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
2006
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
2007
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
2008
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
2009
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
2010
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
2011
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
2012
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
2013
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
2014
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
2015
+
2016
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
2017
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
2018
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
2019
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
2020
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
2021
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
2022
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
2023
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
2024
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
2025
+
2026
+ c. The disclaimer of warranties and limitation of liability provided
2027
+ above shall be interpreted in a manner that, to the extent
2028
+ possible, most closely approximates an absolute disclaimer and
2029
+ waiver of all liability.
2030
+
2031
+
2032
+ Section 6 -- Term and Termination.
2033
+
2034
+ a. This Public License applies for the term of the Copyright and
2035
+ Similar Rights licensed here. However, if You fail to comply with
2036
+ this Public License, then Your rights under this Public License
2037
+ terminate automatically.
2038
+
2039
+ b. Where Your right to use the Licensed Material has terminated under
2040
+ Section 6(a), it reinstates:
2041
+
2042
+ 1. automatically as of the date the violation is cured, provided
2043
+ it is cured within 30 days of Your discovery of the
2044
+ violation; or
2045
+
2046
+ 2. upon express reinstatement by the Licensor.
2047
+
2048
+ For the avoidance of doubt, this Section 6(b) does not affect any
2049
+ right the Licensor may have to seek remedies for Your violations
2050
+ of this Public License.
2051
+
2052
+ c. For the avoidance of doubt, the Licensor may also offer the
2053
+ Licensed Material under separate terms or conditions or stop
2054
+ distributing the Licensed Material at any time; however, doing so
2055
+ will not terminate this Public License.
2056
+
2057
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
2058
+ License.
2059
+
2060
+
2061
+ Section 7 -- Other Terms and Conditions.
2062
+
2063
+ a. The Licensor shall not be bound by any additional or different
2064
+ terms or conditions communicated by You unless expressly agreed.
2065
+
2066
+ b. Any arrangements, understandings, or agreements regarding the
2067
+ Licensed Material not stated herein are separate from and
2068
+ independent of the terms and conditions of this Public License.
2069
+
2070
+
2071
+ Section 8 -- Interpretation.
2072
+
2073
+ a. For the avoidance of doubt, this Public License does not, and
2074
+ shall not be interpreted to, reduce, limit, restrict, or impose
2075
+ conditions on any use of the Licensed Material that could lawfully
2076
+ be made without permission under this Public License.
2077
+
2078
+ b. To the extent possible, if any provision of this Public License is
2079
+ deemed unenforceable, it shall be automatically reformed to the
2080
+ minimum extent necessary to make it enforceable. If the provision
2081
+ cannot be reformed, it shall be severed from this Public License
2082
+ without affecting the enforceability of the remaining terms and
2083
+ conditions.
2084
+
2085
+ c. No term or condition of this Public License will be waived and no
2086
+ failure to comply consented to unless expressly agreed to by the
2087
+ Licensor.
2088
+
2089
+ d. Nothing in this Public License constitutes or may be interpreted
2090
+ as a limitation upon, or waiver of, any privileges and immunities
2091
+ that apply to the Licensor or You, including from the legal
2092
+ processes of any jurisdiction or authority.
2093
+
2094
+
2095
+ =======================================================================
2096
+
2097
+ Creative Commons is not a party to its public
2098
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
2099
+ its public licenses to material it publishes and in those instances
2100
+ will be considered the “Licensor.” The text of the Creative Commons
2101
+ public licenses is dedicated to the public domain under the CC0 Public
2102
+ Domain Dedication. Except for the limited purpose of indicating that
2103
+ material is shared under a Creative Commons public license or as
2104
+ otherwise permitted by the Creative Commons policies published at
2105
+ creativecommons.org/policies, Creative Commons does not authorize the
2106
+ use of the trademark "Creative Commons" or any other trademark or logo
2107
+ of Creative Commons without its prior written consent including,
2108
+ without limitation, in connection with any unauthorized modifications
2109
+ to any of its public licenses or any other arrangements,
2110
+ understandings, or agreements concerning use of licensed material. For
2111
+ the avoidance of doubt, this paragraph does not form part of the
2112
+ public licenses.
2113
+
2114
+ Creative Commons may be contacted at creativecommons.org.
2115
+
2116
+ ---
2117
+
2118
+ Git Logo by [Jason Long](https://bsky.app/profile/jasonlong.me) is licensed under the [Creative Commons Attribution 3.0 Unported License](https://creativecommons.org/licenses/by/3.0/).
2119
+
2120
+ MIT License
2121
+
2122
+ Copyright (c) Microsoft Corporation.
2123
+
2124
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2125
+ of this software and associated documentation files (the "Software"), to deal
2126
+ in the Software without restriction, including without limitation the rights
2127
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2128
+ copies of the Software, and to permit persons to whom the Software is
2129
+ furnished to do so, subject to the following conditions:
2130
+
2131
+ The above copyright notice and this permission notice shall be included in all
2132
+ copies or substantial portions of the Software.
2133
+
2134
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2135
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2136
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2137
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2138
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2139
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2140
+ SOFTWARE
2141
+ ```
2142
+
2143
+ ## simple-icons@11.15.0
2144
+
2145
+ - License: CC0-1.0
2146
+ - Homepage/source: https://simpleicons.org/
2147
+
2148
+ ```text
2149
+ # CC0 1.0 Universal
2150
+
2151
+ ## Statement of Purpose
2152
+
2153
+ The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an “owner”) of an original work of authorship and/or a database (each, a “Work”).
2154
+
2155
+ Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works (“Commons”) that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others.
2156
+
2157
+ For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the “Affirmer”), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights.
2158
+
2159
+ 1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights (“Copyright and Related Rights”). Copyright and Related Rights include, but are not limited to, the following:
2160
+ 1. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work;
2161
+ 2. moral rights retained by the original author(s) and/or performer(s);
2162
+ 3. publicity and privacy rights pertaining to a person’s image or likeness depicted in a Work;
2163
+ 4. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(i), below;
2164
+ 5. rights protecting the extraction, dissemination, use and reuse of data in a Work;
2165
+ 6. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and
2166
+ 7. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof.
2167
+
2168
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the “Waiver”). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer’s heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer’s express Statement of Purpose.
2169
+
2170
+ 3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer’s express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer’s Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the “License”). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer’s express Statement of Purpose.
2171
+
2172
+ 4. Limitations and Disclaimers.
2173
+ 1. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document.
2174
+ 2. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.
2175
+ 3. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person’s Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work.
2176
+ 4. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work.
2177
+
2178
+ For more information, please see https://creativecommons.org/publicdomain/zero/1.0/.
2179
+ ```
@@ -3,9 +3,10 @@
3
3
  var fs = require('node:fs');
4
4
  var fs$1 = require('node:fs/promises');
5
5
  var path = require('node:path');
6
- var runtimePermissionEnv = require('./runtime-permission-env-BgipCJ0Z.cjs');
7
- require('./version-DbjRZkb6.cjs');
8
- var index = require('./index-Rp3UMZIO.cjs');
6
+ var runtimePermissionEnv = require('./runtime-permission-env-CN2K4GG7.cjs');
7
+ require('./version-SpegXNoR.cjs');
8
+ var index = require('./index-lnwfzT8S.cjs');
9
+ var index_esm = require('./index.esm-CvMA_ppV.cjs');
9
10
  var node_crypto = require('node:crypto');
10
11
  require('node:zlib');
11
12
  require('node:module');
@@ -201909,10 +201910,10 @@ function assertWorkspaceCardsEligibility(input) {
201909
201910
  }
201910
201911
  /** 复核不可变快照,供构建、部署和调试共用。 */
201911
201912
  function workspaceCardsSnapshotSha256(input) {
201912
- return node_crypto.createHash('sha256').update(runtimePermissionEnv.workspaceCardsSnapshotCanonical(input), 'utf8').digest('hex');
201913
+ return node_crypto.createHash('sha256').update(index_esm.workspaceCardsSnapshotCanonical(input), 'utf8').digest('hex');
201913
201914
  }
201914
201915
  function verifyWorkspaceCardsSnapshot(input) {
201915
- runtimePermissionEnv.validateWorkspaceCardsManifest(input.workspaceCards);
201916
+ index_esm.validateWorkspaceCardsManifest(input.workspaceCards);
201916
201917
  assertWorkspaceCardsEligibility(input);
201917
201918
  if (workspaceCardsSnapshotSha256(input) !== input.workspaceCards.snapshotSha256)
201918
201919
  throw new Error('workspaceCards snapshotSha256 不匹配');
@@ -2,14 +2,15 @@
2
2
 
3
3
  var fs = require('node:fs/promises');
4
4
  var path = require('node:path');
5
- var runtimePermissionEnv = require('./runtime-permission-env-BgipCJ0Z.cjs');
6
- var index = require('./index-Rp3UMZIO.cjs');
5
+ var runtimePermissionEnv = require('./runtime-permission-env-CN2K4GG7.cjs');
6
+ var index = require('./index-lnwfzT8S.cjs');
7
+ require('./index.esm-CvMA_ppV.cjs');
7
8
  require('node:crypto');
8
9
  require('node:fs');
9
10
  require('node:zlib');
10
- var artifact = require('./artifact-BW6SD1G6.cjs');
11
- var projectVite = require('./project-vite-Cg3jYqAJ.cjs');
12
- require('./version-DbjRZkb6.cjs');
11
+ var artifact = require('./artifact-DTqf7LjW.cjs');
12
+ var projectVite = require('./project-vite-Dzd2JLIc.cjs');
13
+ require('./version-SpegXNoR.cjs');
13
14
  require('node:async_hooks');
14
15
  require('node:module');
15
16
  require('readline');