cli-swarm 0.1.0 → 0.1.1
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 +19 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,19 +12,35 @@
|
|
|
12
12
|
npx cli-swarm@latest install
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
自动完成:从 cli.tax 拉取 swarm
|
|
15
|
+
自动完成:从 cli.tax 拉取 swarm → 检测本机已装 IDE → 分发到每个 IDE。
|
|
16
16
|
更新:同一命令(`@latest` 自动拉新版),且每次 install 会对比 cli.tax 最新版本并提示 ⤴。
|
|
17
17
|
|
|
18
18
|
## 从本仓库安装
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
git clone https://github.com/88208555/swarm.git
|
|
22
|
-
cd swarm
|
|
21
|
+
git clone https://github.com/88208555/swarm-clitax.git
|
|
22
|
+
cd swarm-clitax
|
|
23
23
|
node install.mjs install # 自动检测本机已装 IDE 并分发
|
|
24
24
|
node install.mjs check # 检查已安装 skill 是否有新版本
|
|
25
25
|
node install.mjs update # 幂等覆盖更新
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
## 目录结构
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
swarm-clitax/
|
|
32
|
+
├── install.mjs # 安装器(Node ≥18,零依赖):install / check / update / pull / uninstall / list / ides
|
|
33
|
+
├── sources.json # cli.tax skill 源(zj7fTPVh4p)
|
|
34
|
+
├── package.json # npm 包元数据(cli-swarm)
|
|
35
|
+
├── README.md
|
|
36
|
+
└── skills/swarm/
|
|
37
|
+
├── SKILL.md # 技能定义(蜂群编排完整流程)
|
|
38
|
+
├── skill.json # 技能元数据
|
|
39
|
+
├── install-meta.json # 版本锚点(来源/版本/时间)
|
|
40
|
+
├── swarm-runtime.mjs # 确定性运行时(组织架构/任务/红绿灯/运维/安全)
|
|
41
|
+
└── references/ # org-chart / task-lifecycle / traffic-light / ops-heartbeat / security-guard
|
|
42
|
+
```
|
|
43
|
+
|
|
28
44
|
## 更新感知(check)
|
|
29
45
|
|
|
30
46
|
安装器写入 `install-meta.json`(来源/版本/时间)到每个 skill 目录;SKILL.md 注入版本横幅,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cli-swarm",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "swarm
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "swarm 智能体蜂群编排多 IDE 安装器:从 cli.tax 自动拉取并分发到本机所有已装 IDE。支持 check 更新检测。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cli-swarm": "install.mjs"
|