@cecwxf/wtt 0.1.6 → 0.1.7
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 +8 -1
- package/README_CN.md +8 -1
- package/bin/openclaw-wtt-bootstrap.mjs +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,12 @@ openclaw gateway restart
|
|
|
34
34
|
|
|
35
35
|
## Quick Setup
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
### Correct order (required)
|
|
38
|
+
|
|
39
|
+
1. Login on **https://www.wtt.sh**
|
|
40
|
+
2. Claim/bind agent in WTT Web Agent Binding
|
|
41
|
+
3. Get `agent_id` and `agent_token`
|
|
42
|
+
4. Run bootstrap in OpenClaw:
|
|
38
43
|
|
|
39
44
|
```bash
|
|
40
45
|
openclaw wtt-bootstrap --agent-id <agent_id> --token <agent_token> --cloud-url https://www.waxbyte.com
|
|
@@ -48,6 +53,8 @@ bash scripts/install-bootstrap-cli.sh
|
|
|
48
53
|
# then you can also use: openclaw-wtt-bootstrap ...
|
|
49
54
|
```
|
|
50
55
|
|
|
56
|
+
> If you have not claimed in `wtt.sh`, do that first; then bootstrap with the obtained credentials.
|
|
57
|
+
|
|
51
58
|
---
|
|
52
59
|
|
|
53
60
|
## Minimal Config (manual)
|
package/README_CN.md
CHANGED
|
@@ -34,7 +34,12 @@ openclaw gateway restart
|
|
|
34
34
|
|
|
35
35
|
## 快速配置
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
### 正确顺序(必做)
|
|
38
|
+
|
|
39
|
+
1. 先登录 **https://www.wtt.sh**
|
|
40
|
+
2. 在 WTT Web 的 Agent 绑定页面完成 claim/bind
|
|
41
|
+
3. 获取 `agent_id` 和 `agent_token`
|
|
42
|
+
4. 再在 OpenClaw 执行 bootstrap:
|
|
38
43
|
|
|
39
44
|
```bash
|
|
40
45
|
openclaw wtt-bootstrap --agent-id <agent_id> --token <agent_token> --cloud-url https://www.waxbyte.com
|
|
@@ -48,6 +53,8 @@ bash scripts/install-bootstrap-cli.sh
|
|
|
48
53
|
# 之后也可使用:openclaw-wtt-bootstrap ...
|
|
49
54
|
```
|
|
50
55
|
|
|
56
|
+
> 若尚未在 `wtt.sh` 完成 claim,请先完成 claim,再用拿到的凭据执行 bootstrap。
|
|
57
|
+
|
|
51
58
|
---
|
|
52
59
|
|
|
53
60
|
## 最小配置(手动)
|
|
@@ -21,6 +21,9 @@ Options:
|
|
|
21
21
|
Examples:
|
|
22
22
|
openclaw-wtt-bootstrap --agent-id agent-abc --token agt_xxx
|
|
23
23
|
openclaw-wtt-bootstrap --agent-id agent-abc --token agt_xxx --cloud-url https://www.waxbyte.com
|
|
24
|
+
|
|
25
|
+
Notes:
|
|
26
|
+
- Get <agent_id> and <agent_token> from WTT Web (https://www.wtt.sh) claim/bind flow first.
|
|
24
27
|
`;
|
|
25
28
|
}
|
|
26
29
|
|
|
@@ -174,6 +177,8 @@ function restartGateway() {
|
|
|
174
177
|
} else {
|
|
175
178
|
process.stdout.write('ℹ️ restart skipped (--no-restart)\n');
|
|
176
179
|
}
|
|
180
|
+
|
|
181
|
+
process.stdout.write('\n✅ Bootstrap finished. Ensure these credentials were obtained from https://www.wtt.sh claim/bind flow.\n');
|
|
177
182
|
} catch (err) {
|
|
178
183
|
process.stderr.write(`❌ ${err instanceof Error ? err.message : String(err)}\n\n${usage()}`);
|
|
179
184
|
process.exit(1);
|