tolingcode 1.0.4 → 1.0.5
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 +25 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TolingCode CLI
|
|
2
2
|
|
|
3
|
-
通过 npm 安装和管理 TolingCode
|
|
3
|
+
通过 npm 安装和管理 TolingCode 的技能和应用程序。
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
npm install -g tolingcode@latest
|
|
10
10
|
|
|
11
11
|
# 安装指定版本
|
|
12
|
-
npm install -g tolingcode@2026.
|
|
12
|
+
npm install -g tolingcode@2026.03.06
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## 使用
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### 安装技能 (Skill)
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
# 安装最新版本
|
|
@@ -24,7 +24,7 @@ tolingcode install skills weather
|
|
|
24
24
|
tolingcode install skills weather -v 2026.03.06
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
###
|
|
27
|
+
### 安装应用程序 (App)
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
# 安装到当前目录
|
|
@@ -40,10 +40,10 @@ tolingcode install apps myapp -g
|
|
|
40
40
|
# 列出所有
|
|
41
41
|
tolingcode list
|
|
42
42
|
|
|
43
|
-
#
|
|
43
|
+
# 只列出技能
|
|
44
44
|
tolingcode list skills
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# 只列出应用程序
|
|
47
47
|
tolingcode list apps
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -63,14 +63,14 @@ tolingcode publish ./my-skill --type skills --name my-skill --version 2026.03.06
|
|
|
63
63
|
|
|
64
64
|
推荐使用日期格式:`YYYY.MM.DD`
|
|
65
65
|
|
|
66
|
-
- `2026.
|
|
66
|
+
- `2026.03.06` - 2026 年 3 月 6 日发布的版本
|
|
67
67
|
- `latest` - 最新版本
|
|
68
68
|
|
|
69
69
|
## 环境变量
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
72
|
# 自定义 registry 地址(默认:https://toling.me/api/registry)
|
|
73
|
-
export TOLINGCODE_REGISTRY=https://
|
|
73
|
+
export TOLINGCODE_REGISTRY=https://toling.me/api/registry
|
|
74
74
|
|
|
75
75
|
# 自定义安装路径
|
|
76
76
|
export OPENCLAW_WORKSPACE=/path/to/workspace
|
|
@@ -97,10 +97,24 @@ tolingcode/
|
|
|
97
97
|
│ └── tolingcode.js # CLI 入口
|
|
98
98
|
├── docs/
|
|
99
99
|
│ └── SERVER.md # 服务端部署文档
|
|
100
|
+
├── server/
|
|
101
|
+
│ └── registry.js # 服务端代码
|
|
102
|
+
├── scripts/
|
|
103
|
+
│ └── publish-skill.ps1 # 发布脚本
|
|
100
104
|
├── package.json
|
|
101
105
|
└── README.md
|
|
102
106
|
```
|
|
103
107
|
|
|
104
|
-
##
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
## 相关链接
|
|
109
|
+
|
|
110
|
+
- **Registry 服务**: https://toling.me
|
|
111
|
+
- **源代码**: GitHub (待添加)
|
|
112
|
+
- **问题反馈**: GitHub Issues (待添加)
|
|
113
|
+
|
|
114
|
+
## 作者
|
|
115
|
+
|
|
116
|
+
韩宝军 (TolingCode)
|
|
117
|
+
|
|
118
|
+
## 许可证
|
|
119
|
+
|
|
120
|
+
MIT License
|