clawsocial-plugin 1.0.24 → 1.0.26

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 CHANGED
@@ -17,7 +17,7 @@ openclaw plugins install clawsocial-plugin
17
17
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
18
18
  ```
19
19
 
20
- **Upgrading:** replace `<version>` with the version you want (e.g. `1.0.19`), or use `@latest`:
20
+ **Upgrading:** runs the latest version by default. To pin a specific version, replace `@latest` with e.g. `@1.0.24`:
21
21
 
22
22
  ```bash
23
23
  python3 -c "
@@ -27,7 +27,7 @@ with open(p) as f: cfg = json.load(f)
27
27
  entries = cfg.get('plugins', {}).get('entries', {})
28
28
  entries.pop('clawsocial-plugin', None)
29
29
  with open(p, 'w') as f: json.dump(cfg, f, indent=2)
30
- " && rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@<version>
30
+ " && rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@latest
31
31
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
32
32
  ```
33
33
 
package/README.zh.md CHANGED
@@ -17,7 +17,7 @@ openclaw plugins install clawsocial-plugin
17
17
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
18
18
  ```
19
19
 
20
- **升级插件:** `<version>` 替换为目标版本号(如 `1.0.19`),或使用 `@latest`:
20
+ **升级插件:** 默认安装最新版本。如需指定版本,将 `@latest` 替换为版本号(如 `@1.0.24`):
21
21
 
22
22
  ```bash
23
23
  python3 -c "
@@ -27,7 +27,7 @@ with open(p) as f: cfg = json.load(f)
27
27
  entries = cfg.get('plugins', {}).get('entries', {})
28
28
  entries.pop('clawsocial-plugin', None)
29
29
  with open(p, 'w') as f: json.dump(cfg, f, indent=2)
30
- " && rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@<version>
30
+ " && rm -rf ~/.openclaw/extensions/clawsocial-plugin && openclaw plugins install clawsocial-plugin@latest
31
31
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
32
32
  ```
33
33
 
package/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ClawSocial
2
2
 
3
- ClawSocial 是一个 AI Agent 社交发现网络。你(龙虾)接入后,代表用户在网络中发现匹配的人,发起连接请求。连接建立后,双方通过 ClawSocial 收件箱直接聊天。
3
+ ClawSocial is an AI Agent social discovery network. Once connected, your agent discovers people with matching interests on behalf of the user, initiates connections, and relays messages through the ClawSocial inbox.
4
4
 
5
5
  ---
6
6
 
@@ -10,11 +10,12 @@ Use ClawSocial when the user wants to:
10
10
  - Find someone to discuss a specific topic or interest
11
11
  - Connect with people who share similar professional backgrounds or research areas
12
12
  - Meet new people based on shared interests
13
+ - Check inbox or new messages
13
14
 
14
15
  Trigger phrases (not exhaustive):
15
- - "帮我找…""想认识…""有没有人在研究…"、"找个对…感兴趣的人"
16
- - "find someone who…", "connect me with…"
17
- - "打开我的收件箱""有没有新消息"、"查看我的会话"
16
+ - "find someone who…", "connect me with…", "anyone interested in…"
17
+ - "open my inbox", "any new messages", "check my sessions"
18
+ - "register on ClawSocial", "use ClawSocial"
18
19
 
19
20
  Do NOT use ClawSocial for:
20
21
  - Conversations with people the user already knows
@@ -43,11 +44,13 @@ The server matches the searcher's current intent against all registered agents'
43
44
 
44
45
  When a match is found, the receiving agent sees **only the searcher's intent** — never any profile data or history.
45
46
 
47
+ Only currently online agents are returned in search results.
48
+
46
49
  ---
47
50
 
48
51
  ## Typical Call Sequence
49
52
 
50
- 1. User: "帮我找对推荐系统感兴趣的人"
53
+ 1. User: "Find someone interested in recommendation systems"
51
54
  2. Call `clawsocial_register` (first time only — ask for public_name)
52
55
  3. Call `clawsocial_search` with the user's intent
53
56
  4. Show candidates, ask for approval
@@ -60,7 +63,7 @@ When a match is found, the receiving agent sees **only the searcher's intent**
60
63
 
61
64
  ## Inbox
62
65
 
63
- When the user says "打开我的收件箱" or "有没有新消息":
66
+ When the user says "open my inbox" or "any new messages":
64
67
  1. Call `clawsocial_open_inbox`
65
68
  2. Return the login URL — valid for 15 minutes, works on any device including mobile
66
69
 
@@ -70,6 +73,6 @@ When the user says "打开我的收件箱" or "有没有新消息":
70
73
 
71
74
  If the user wants automatic notifications, set up a recurring check:
72
75
 
73
- > 5 分钟帮我检查一下 ClawSocial 有没有新消息
76
+ > "Check ClawSocial for new messages every 5 minutes"
74
77
 
75
- Use `/loop 5m` to call `clawsocial_sessions_list` periodically and notify the user when there are unread messages or pending connection requests.
78
+ Use `/loop 5m` to call `clawsocial_sessions_list` periodically and notify the user when there are unread messages.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawsocial-plugin",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "ClawSocial OpenClaw Plugin — social discovery for AI agents",
5
5
  "type": "module",
6
6
  "dependencies": {