helixlife-expert-cli 0.1.0 → 0.2.0
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 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
解螺旋 5.0 后台体系 · **科研专家合集** CLI。一个 npm 包提供六个专家命名空间,Skill 按专家拆分后单独交付,从而对外只暴露当前专家。
|
|
4
4
|
|
|
5
|
-
不包含会员兑换。
|
|
6
|
-
|
|
7
5
|
> **Skill 与 CLI 已分离**:`cli/skills/`(含各 `SKILL.md` 与 `references/`)不随本 npm 包发布。发给业务部门的是 Skill 目录,不是改 CLI 安装包。
|
|
8
6
|
|
|
9
7
|
## 安装
|
|
10
8
|
|
|
11
9
|
```bash
|
|
12
10
|
npm install -g helixlife-expert-cli
|
|
13
|
-
# 请求凭证由外部环境写入 ~/.config/helixlife/user-access-token.txt
|
|
11
|
+
# 请求凭证由外部环境写入 ~/.config/helixlife/user-access-token.txt
|
|
14
12
|
helixlife-expert upgrade # 检查并按需升级到 npm 最新版
|
|
15
13
|
```
|
|
16
14
|
|
|
@@ -19,7 +17,7 @@ Token 与接口基址配置位于 `~/.config/helixlife/`:
|
|
|
19
17
|
- 配置:`~/.config/helixlife/config.json`
|
|
20
18
|
- Token:`~/.config/helixlife/user-access-token.txt`
|
|
21
19
|
|
|
22
|
-
与解螺旋其他 CLI
|
|
20
|
+
与解螺旋其他 CLI 共用同一目录下的凭证文件。
|
|
23
21
|
|
|
24
22
|
## 环境地址
|
|
25
23
|
|
|
@@ -63,7 +61,7 @@ npm publish
|
|
|
63
61
|
|
|
64
62
|
> **发布约定**:本仓库 npm 包**不含** Skill。Agent 侧以 `cli/skills/` 下的目录为入口;替换 Agent 侧 Skill 目录即可,**不必**为此升 CLI 版本。
|
|
65
63
|
|
|
66
|
-
|
|
64
|
+
安装 / 升级 / 错误码的正文只维护在 `cli/skills/_fragments/common.md`。修改后执行 `npm run sync:skills`,拷贝到各 Skill 的 `references/common.md`。`_fragments` **不要**发给业务部门。
|
|
67
65
|
|
|
68
66
|
### 只提供某一个专家
|
|
69
67
|
|
|
@@ -73,7 +71,7 @@ npm publish
|
|
|
73
71
|
cli/skills/helixlife-expert-meta/
|
|
74
72
|
├── SKILL.md
|
|
75
73
|
└── references/
|
|
76
|
-
├── common.md # 安装 /
|
|
74
|
+
├── common.md # 安装 / 错误处理(自包含)
|
|
77
75
|
└── meta.md # 本专家细则
|
|
78
76
|
```
|
|
79
77
|
|