@atlasharness/atlascode 0.1.32 → 0.1.34
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 +6 -5
- package/dist/cli.js +6241 -6239
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
|
|
11
11
|
## 安装
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
两种通道,装好后得双命令:`atlascode`(正名,与包名 / 品牌全名一致)/ `atlas`
|
|
14
|
+
(别名,更短)——二者同起 TUI,行为等价(O-3,0.1.34):
|
|
14
15
|
|
|
15
16
|
**① npm 一行(推荐,仅需 [node](https://nodejs.org) ≥ 20,无需 bun/源码构建)**
|
|
16
17
|
|
|
17
18
|
```bash
|
|
18
19
|
npm install -g @atlasharness/atlascode
|
|
19
|
-
|
|
20
|
+
atlascode --help # 别名 `atlas` 同效
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
**② git 源码**(前置:`git` + [bun](https://bun.sh)(构建)+ `node`(运行))
|
|
@@ -30,9 +31,9 @@ atlas --help
|
|
|
30
31
|
可覆盖 env:`ATLAS_INSTALL_ROOT`(默认 `~/.atlas/atlascode`)/ `ATLAS_BIN_DIR`
|
|
31
32
|
(默认 `~/.atlas/bin`)/ `ATLAS_BIN_NAME`(默认 `atlas`)。
|
|
32
33
|
|
|
33
|
-
>
|
|
34
|
-
>
|
|
35
|
-
>
|
|
34
|
+
> git 通道缺省 REPO = 公开发布仓 `vincentlau2046/AtlasCode`(P-1 已解除);
|
|
35
|
+
> 本地开发可显式传参(本地仓路径或 `ATLAS_REPO`);npm 通道不依赖 git 远端,
|
|
36
|
+
> 发布后即可用。
|
|
36
37
|
> 装好后远端升级:git 通道跑 `atlas update`(= `git pull --ff-only` + `bun install`
|
|
37
38
|
> + build,原地重建符号链接即刻生效);npm 通道跑 `npm install -g
|
|
38
39
|
> @atlasharness/atlascode@latest`。本地 dev loop 见 `docs/dev-loop.md`。
|