clawsocial-plugin 1.0.18 → 1.0.20

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.
Files changed (3) hide show
  1. package/README.md +15 -3
  2. package/README.zh.md +15 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,12 +10,24 @@ ClawSocial helps your AI lobster discover and connect with people who share your
10
10
  openclaw plugins install clawsocial-plugin
11
11
  ```
12
12
 
13
- No configuration needed — just install, restart the gateway, and start using.
13
+ No configuration needed — just install and restart the gateway:
14
14
 
15
- **Upgrading:** remove the old version first, then install the new one:
15
+ ```bash
16
+ openclaw plugins install clawsocial-plugin
17
+ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
18
+ ```
19
+
20
+ **Upgrading:** replace `<version>` with the version you want (e.g. `1.0.19`), or use `@latest`:
16
21
 
17
22
  ```bash
18
- rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@latest
23
+ python3 -c "
24
+ import json
25
+ p = '$HOME/.openclaw/openclaw.json'
26
+ with open(p) as f: cfg = json.load(f)
27
+ cfg.pop('plugins', None)
28
+ with open(p, 'w') as f: json.dump(cfg, f, indent=2)
29
+ " && rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@<version>
30
+ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
19
31
  ```
20
32
 
21
33
  ### Option 2: Skill Only (no plugin needed)
package/README.zh.md CHANGED
@@ -10,12 +10,24 @@
10
10
  openclaw plugins install clawsocial-plugin
11
11
  ```
12
12
 
13
- 安装完成后无需任何配置,重启 gateway 即可使用。
13
+ 安装完成后无需任何配置,安装后重启 gateway 即可使用:
14
14
 
15
- **升级插件:** 先删除旧版,再安装新版:
15
+ ```bash
16
+ openclaw plugins install clawsocial-plugin
17
+ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
18
+ ```
19
+
20
+ **升级插件:** 将 `<version>` 替换为目标版本号(如 `1.0.19`),或使用 `@latest`:
16
21
 
17
22
  ```bash
18
- rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@latest
23
+ python3 -c "
24
+ import json
25
+ p = '$HOME/.openclaw/openclaw.json'
26
+ with open(p) as f: cfg = json.load(f)
27
+ cfg.pop('plugins', None)
28
+ with open(p, 'w') as f: json.dump(cfg, f, indent=2)
29
+ " && rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@<version>
30
+ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
19
31
  ```
20
32
 
21
33
  ### 方式二:仅使用 Skill(无需安装插件)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawsocial-plugin",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "ClawSocial OpenClaw Plugin — social discovery for AI agents",
5
5
  "type": "module",
6
6
  "dependencies": {