openclaw-elys 1.4.0 → 1.4.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 +2 -10
- package/dist/src/cli.js +2 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,17 +33,9 @@ npx openclaw-elys setup https://your-gateway.com reg_abc123def456
|
|
|
33
33
|
# Restart OpenClaw gateway to activate: openclaw gateway restart
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
The setup command automatically configures `channels.elys` in `~/.openclaw/openclaw.json`.
|
|
36
|
+
The setup command automatically configures `channels.elys` in `~/.openclaw/openclaw.json`. OpenClaw will auto-detect the config change — no restart needed.
|
|
37
37
|
|
|
38
|
-
setup 命令会自动配置 `~/.openclaw/openclaw.json` 中的 `channels.elys`。
|
|
39
|
-
|
|
40
|
-
Restart the OpenClaw gateway to activate:
|
|
41
|
-
|
|
42
|
-
重启 OpenClaw 网关以激活:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
openclaw gateway restart
|
|
46
|
-
```
|
|
38
|
+
setup 命令会自动配置 `~/.openclaw/openclaw.json` 中的 `channels.elys`。OpenClaw 会自动检测配置变更,无需重启。
|
|
47
39
|
|
|
48
40
|
## Status / 查看状态
|
|
49
41
|
|
package/dist/src/cli.js
CHANGED
|
@@ -17,7 +17,6 @@ function configureOpenClawChannel(gatewayUrl) {
|
|
|
17
17
|
if (!cfg.channels)
|
|
18
18
|
cfg.channels = {};
|
|
19
19
|
cfg.channels.elys = {
|
|
20
|
-
enabled: true,
|
|
21
20
|
gatewayUrl,
|
|
22
21
|
};
|
|
23
22
|
fs.writeFileSync(OPENCLAW_CONFIG, JSON.stringify(cfg, null, 2), "utf-8");
|
|
@@ -67,13 +66,12 @@ if (command === "setup") {
|
|
|
67
66
|
if (configureOpenClawChannel(gatewayUrl)) {
|
|
68
67
|
console.log(` OpenClaw config updated: channels.elys.gatewayUrl = ${gatewayUrl}`);
|
|
69
68
|
console.log("");
|
|
70
|
-
console.log("
|
|
69
|
+
console.log("OpenClaw will auto-detect the config change. You're all set!");
|
|
71
70
|
}
|
|
72
71
|
else {
|
|
73
72
|
console.log("");
|
|
74
73
|
console.log("Add to ~/.openclaw/openclaw.json:");
|
|
75
|
-
console.log(` "channels": { "elys": { "
|
|
76
|
-
console.log("Then restart: openclaw gateway restart");
|
|
74
|
+
console.log(` "channels": { "elys": { "gatewayUrl": "${gatewayUrl}" } }`);
|
|
77
75
|
}
|
|
78
76
|
})
|
|
79
77
|
.catch((err) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-elys",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "OpenClaw Elys channel plugin — connects to Elys App",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"defaultChoice": "npm"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|