@buaa_smat/hometrans 26.0.1 → 26.0.2

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 (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -61,13 +61,19 @@
61
61
 
62
62
  ### 安装HomeTrans
63
63
 
64
- 在本仓库根目录执行:
64
+ **方式一:从源码仓库安装** — 在本仓库根目录执行:
65
65
 
66
66
  ```bash
67
67
  npm install
68
68
  npm link
69
69
  ```
70
70
 
71
+ **方式二:通过 npm 包全局安装** — 无需克隆仓库,直接安装已发布的包:
72
+
73
+ ```bash
74
+ npm install -g @buaa_smat/hometrans
75
+ ```
76
+
71
77
  验证方式:执行 `hometrans --version` 或 `ht --version` 返回正常
72
78
 
73
79
  **命令一览**(`hometrans` 与 `ht` 等价):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buaa_smat/hometrans",
3
- "version": "26.0.1",
3
+ "version": "26.0.2",
4
4
  "description": "HomeTrans (Android-to-HarmonyOS) skill + agent installer. Run `ht init` to distribute conversion skills and subagents into AI editors.",
5
5
  "license": "MIT",
6
6
  "repository": {