@pab-iprg/huohuo 1.0.0-preview.6 → 1.0.0-preview.8

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 (4) hide show
  1. package/README.md +23 -0
  2. package/cli.js +430 -167
  3. package/package.json +5 -4
  4. package/release.json +110 -12
package/README.md CHANGED
@@ -11,3 +11,26 @@
11
11
  显式升级检查旧迁移不可变、追加迁移顺序、执行库格式与 DSH 会话兼容范围,先一致性备份再迁移和验证,成功后切换;不自动恢复旧备份覆盖新数据。默认卸载保留实例、凭据、会话和备份,不提供直接彻底删除业务数据的快捷入口。
12
12
 
13
13
  首版终端前台管理生命周期,Ctrl+C 停止本次实例。退出终端、休眠或关机后不承诺持续运行。模型凭据在现有设置页面填写,安装检查不调用真实模型或通知。
14
+
15
+
16
+ Windows x64 候选沿用同一入口,使用系统自带 Windows PowerShell/CIM 读取本机状态,自动准备独立 Python 和固定 Windows wheels;不要求预装 Python、编译器、Git Bash、管理员权限或开发者模式。需要兼容的 Node 24.x(至少24.8)和自带 npm。候选构建成功不等于 Windows 实机已通过;实际支持范围以发行清单和验收记录为准。PowerShell 若拦截 npm/npx 的 .ps1 启动脚本,可使用 Node 自带的 `npx.cmd`,无需更改系统执行策略。
17
+
18
+
19
+ Windows 用户可以直接使用命令提示符(CMD)或 PowerShell,两者调用同一安装器,无需先切换终端。候选发布到 preview 标签后:
20
+
21
+ CMD:
22
+
23
+ ```bat
24
+ npx --yes --prefer-online @pab-iprg/huohuo@preview
25
+ ```
26
+
27
+ PowerShell:
28
+
29
+ ```powershell
30
+ npx.cmd --yes --prefer-online @pab-iprg/huohuo@preview
31
+ ```
32
+
33
+ 默认目录无需手动填写。需要独立试用目录时,CMD 使用 `--home "%USERPROFILE%\.huohuo-windows-trial-01"`,PowerShell 使用 `--home "$env:USERPROFILE\.huohuo-windows-trial-01"`。程序内部使用系统自带 PowerShell 采样,不要求用户用 PowerShell 启动。两种终端的首装、Ctrl+C、再次启动及数据保留均需分别实机验收。
34
+
35
+
36
+ 平台静态资源缺失、版本不匹配或损坏时,入口会自动补齐该固定版本并核对发行摘要,普通用户无需追加可选依赖、registry或cache参数。恢复只操作火火的受管资源缓存,不执行资源包脚本、不改变npm全局配置,继续原来固定的安装版本。