@acefelix/jarvis 2.0.7 → 2.0.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.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# jarvis
|
|
1
|
+
# @acefelix/jarvis (npm wrapper)
|
|
2
2
|
|
|
3
|
-
这是 **J.A.R.V.I.S** 的 npm
|
|
3
|
+
这是 **J.A.R.V.I.S** 的 npm 安装入口(包名 `@acefelix/jarvis`)。它本身不包含 Python 代码,
|
|
4
4
|
而是在 `postinstall` 阶段自动通过 pip / uv 安装 `jarvis-agent` Python 包,
|
|
5
5
|
并把 `jarvis` 命令暴露给 npm/npx 用户。
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
## 安装
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install -g jarvis
|
|
16
|
+
npm install -g @acefelix/jarvis
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
安装完成后即可运行:
|
|
@@ -24,7 +24,7 @@ jarvis
|
|
|
24
24
|
|
|
25
25
|
## 工作原理
|
|
26
26
|
|
|
27
|
-
1. `npm install jarvis
|
|
27
|
+
1. `npm install @acefelix/jarvis` 触发 `postinstall` 脚本 `install.js`
|
|
28
28
|
2. `install.js` 检测系统中的 Python,以及安装工具 uv / pip(**uv 优先**)
|
|
29
29
|
3. 检测到 Python 后弹出**交互式功能选装菜单**(非 TTY / CI 环境自动装 `[all]`)
|
|
30
30
|
4. 根据用户选择调用 `uv pip install` 或 `pip install` 安装对应 extras 的 `jarvis-agent`
|