ezllm 0.0.38 → 0.0.39
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/README.md +5 -5
- package/dist/cli.js +21 -21
- package/dist/daemon.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,16 +81,16 @@ npx ezllm install # 装配/修复运行环境(幂等)
|
|
|
81
81
|
npx ezllm uninstall # 卸载(停服 → 注销自启 → 备份应用目录 → 删除它)
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
**升级**:在终端执行 `npx ezllm update
|
|
84
|
+
**升级**:在终端执行 `npx ezllm update`——查最新版本并装配(由新版本自己完成装配,装配逻辑单点复用)。**只替换程序产物**:配置、日志、运行数据与插件登录态都不动(更新不带 `--force`,无清空动作)。管理台「服务与更新」页只提示「有新版本」,不代你应用。
|
|
85
85
|
|
|
86
86
|
**卸载**:`npx ezllm uninstall`——停服 → 注销开机自启 → 备份应用目录 → 删除应用目录(配置与数据先备份到同级的 `<应用目录>.backup-<时间戳>`);**不再注销 PATH**(新版本来就不写它),只有旧版本留下的 PATH 条目才需要你手工清理。
|
|
87
87
|
|
|
88
|
-
环境坏掉时要「推倒重来」,加 `--force`
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
环境坏掉时要「推倒重来」,加 `--force` 重装:它会先停服务、清空应用目录里的**程序产物与运行时记录**,
|
|
89
|
+
再重新装配。**保留** `ezllm.config.json`、`services.json`、`hook.*` 用户钩子、`data/`(日志库与运行数据)、
|
|
90
|
+
`logs/`、`plugin-auth.json`(插件登录态)与托管 `node/`——配置、数据与日志都不丢:
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
npx ezllm install --force #
|
|
93
|
+
npx ezllm install --force # 重装(清空程序产物后重新装配)
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
## 应用目录里有什么
|