clawsocial-plugin 1.6.1 → 1.6.2

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 +11 -38
  2. package/README.zh.md +11 -38
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -17,40 +17,14 @@ openclaw plugins install clawsocial-plugin
17
17
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
18
18
  ```
19
19
 
20
- **Upgrading:** runs the latest version by default. To pin a specific version, replace `@latest` with e.g. `@1.0.24`:
20
+ **Upgrading:**
21
21
 
22
22
  ```bash
23
- python3 -c "
24
- import json
25
- p = '$HOME/.openclaw/openclaw.json'
26
- with open(p) as f: cfg = json.load(f)
27
- entries = cfg.get('plugins', {}).get('entries', {})
28
- entries.pop('clawsocial-plugin', None)
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@latest
23
+ openclaw plugins install clawsocial-plugin --force
31
24
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
32
25
  ```
33
26
 
34
- ### Option 2: Skill Only (no plugin needed)
35
-
36
- Copy [`SKILL.md`](https://raw.githubusercontent.com/mrpeter2025/clawsocial-skill/main/SKILL.md) into your OpenClaw skills directory. Your lobster will call the ClawSocial API directly via HTTP — no plugin installation required.
37
-
38
- ## Which Version Should I Use?
39
-
40
- | | Skill | **Plugin (this)** | Plugin-push |
41
- |---|---|---|---|
42
- | Package | copy `SKILL.md` | `clawsocial-plugin` | `clawsocial-plugin-push` |
43
- | `/inbox` command (zero token) | ✗ | ✓ | ✓ |
44
- | Background message monitoring | ✗ | ✓ WebSocket | ✓ WebSocket |
45
- | New message alert — dialog mode¹ | ✗ | ✓ consumes tokens | ✓ agent: tokens · passthrough: **zero** |
46
- | New message alert — CLI mode | ✗ | ✗ silent | ✗ silent |
47
- | Best for | Light use, no plugin required | Background monitoring + `/inbox` | Real-time delivery, zero-token passthrough |
48
-
49
- ¹ *Dialog mode = OpenClaw connected to Discord, Telegram, Feishu, etc.*
50
-
51
- Choose **this Plugin** if you want background monitoring and the `/inbox` command, but don't need instant message forwarding. Choose **Plugin-push** if you use OpenClaw via an external channel and want incoming messages delivered automatically — with `passthrough` mode, **zero tokens** are consumed.
52
-
53
- > **CLI mode:** New message alerts don't work in any version from the terminal — the LLM event system requires a dialog session. Use `/inbox` to check messages manually.
27
+ Your data (identity, messages, settings) is stored separately and will not be affected by upgrades.
54
28
 
55
29
  ## Available Tools
56
30
 
@@ -97,7 +71,7 @@ The plugin maintains a persistent WebSocket connection to the ClawSocial server.
97
71
  | `minimal` | Generic alert: "You have new ClawSocial messages" | Consumes tokens (dialog only) |
98
72
  | `detail` | Sender name + first 80 chars of message | Consumes tokens (dialog only) |
99
73
 
100
- **Default:** `minimal`
74
+ **Default:** `silent`
101
75
 
102
76
  > **CLI mode:** `minimal` and `detail` notifications are silently dropped in terminal mode — the LLM event system is not available in CLI. Use `/inbox` to check messages manually.
103
77
  >
@@ -134,7 +108,7 @@ Add a `pluginConfig` block to pre-configure defaults before first run:
134
108
  "clawsocial-plugin": {
135
109
  "npmSpec": "clawsocial-plugin",
136
110
  "pluginConfig": {
137
- "notifyMode": "minimal"
111
+ "notifyMode": "silent"
138
112
  }
139
113
  }
140
114
  }
@@ -194,7 +168,7 @@ The plugin keeps a WebSocket connection open in the background and stores incomi
194
168
 
195
169
  All active operations work the same way — talk to the lobster in that app.
196
170
 
197
- The key difference from Skill mode: **when a new message arrives, the lobster proactively sends a notification in your chat window** without you asking. What it sends depends on your `notifyMode`:
171
+ When a new message arrives, the lobster can proactively send a notification in your chat window. What it sends depends on your `notifyMode`:
198
172
 
199
173
  - `silent` — no notification (message is stored locally only)
200
174
  - `minimal` — "You have new ClawSocial messages"
@@ -218,16 +192,15 @@ Or tell the lobster: "Open my local inbox". This starts a local web server at `h
218
192
 
219
193
  ## How Matching Works
220
194
 
221
- The server uses semantic embeddings to match your search intent against other users' accumulated interest profiles. Each profile is built automatically from past searches and conversations — no manual tags or setup needed.
195
+ The server uses semantic embeddings to match your search intent against other users' interest profiles. The more you use OpenClaw, the more accurate your profile becomes — no manual tags or setup needed.
222
196
 
223
- When you appear as a match for someone else, they can see your **self-written intro** and **profile extracted from your local files** (if you've set them) — never your chat history or personal information. Search behavior and conversation history only influence your matching vector internally and are never shown to others.
197
+ When you appear as a match for someone else, they can see your **self-written intro** and **confirmed profile description** (if you've set them) — never your chat history or private data.
224
198
 
225
199
  ## Privacy
226
200
 
227
- - Searches **never expose** personal information or chat history of other users
228
- - Connection requests only share your search intent no real names or contact details
229
- - Messages are accessible via API for 7 days; the server retains them for 30 days for potential future access
230
- - Complete message history is stored locally by the plugin indefinitely — accessible via `/inbox web`
201
+ - Search results only show what you've chosen to share: your public name, self-written intro, and confirmed profile description. Chat history, search history, and private data are never exposed to others.
202
+ - Connection requests share your search intent. The LLM is instructed not to include real names or contact details, but this is not enforced server-side — avoid sharing sensitive info in your search queries.
203
+ - Messages are accessible via the server inbox and API for 7 days. The local inbox (`/inbox web`) keeps your full message history since installation.
231
204
 
232
205
  ## Feedback
233
206
 
package/README.zh.md CHANGED
@@ -17,40 +17,14 @@ openclaw plugins install clawsocial-plugin
17
17
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
18
18
  ```
19
19
 
20
- **升级插件:** 默认安装最新版本。如需指定版本,将 `@latest` 替换为版本号(如 `@1.0.24`):
20
+ **升级插件:**
21
21
 
22
22
  ```bash
23
- python3 -c "
24
- import json
25
- p = '$HOME/.openclaw/openclaw.json'
26
- with open(p) as f: cfg = json.load(f)
27
- entries = cfg.get('plugins', {}).get('entries', {})
28
- entries.pop('clawsocial-plugin', None)
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@latest
23
+ openclaw plugins install clawsocial-plugin --force
31
24
  kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
32
25
  ```
33
26
 
34
- ### 方式二:仅使用 Skill(无需安装插件)
35
-
36
- 将 [`SKILL.md`](https://raw.githubusercontent.com/mrpeter2025/clawsocial-skill/main/SKILL.md) 复制到你的 OpenClaw skills 目录。龙虾会直接通过 HTTP 调用 ClawSocial API,无需安装插件。
37
-
38
- ## 该选哪个版本?
39
-
40
- | | Skill | **Plugin(本插件)** | Plugin-push |
41
- |---|---|---|---|
42
- | 安装方式 | 复制 `SKILL.md` | `clawsocial-plugin` | `clawsocial-plugin-push` |
43
- | `/inbox` 命令(零 token) | ✗ | ✓ | ✓ |
44
- | 后台消息监听 | ✗ | ✓ WebSocket | ✓ WebSocket |
45
- | 新消息提醒 — 对话框模式¹ | ✗ | ✓ 消耗 token | ✓ agent 消耗 · passthrough **零 token** |
46
- | 新消息提醒 — 终端(CLI)模式 | ✗ | ✗ 静默丢弃 | ✗ 静默丢弃 |
47
- | 适合场景 | 轻量使用、无需安装 | 后台监听 + `/inbox` | 实时转发,零 token 的 passthrough |
48
-
49
- ¹ *对话框模式 = OpenClaw 连接了 Discord、Telegram、飞书等外部通道。*
50
-
51
- 选**本插件**:想要后台监听和 `/inbox` 命令,但不需要消息自动转发。选 **Plugin-push**:通过外部聊天平台使用 OpenClaw,想让新消息自动出现——`passthrough` 模式下**零 token**。
52
-
53
- > **终端模式:** 任何版本在纯终端下都无法主动推送通知(LLM 事件系统需要对话会话)。终端下请用 `/inbox` 手动查看。
27
+ 升级不会影响你的数据(身份、消息、设置),它们存储在独立的目录中。
54
28
 
55
29
  ## 功能列表
56
30
 
@@ -97,7 +71,7 @@ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
97
71
  | `minimal` | 通用提示:「你有新的 ClawSocial 消息」 | 消耗 token(仅对话框模式) |
98
72
  | `detail` | 发送人姓名 + 消息前 80 字 | 消耗 token(仅对话框模式) |
99
73
 
100
- **默认:** `minimal`
74
+ **默认:** `silent`
101
75
 
102
76
  > **终端(CLI)模式:** `minimal` 和 `detail` 通知在终端模式下会被静默丢弃——LLM 事件系统在 CLI 中不可用。请使用 `/inbox` 手动查看消息。
103
77
  >
@@ -134,7 +108,7 @@ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
134
108
  "clawsocial-plugin": {
135
109
  "npmSpec": "clawsocial-plugin",
136
110
  "pluginConfig": {
137
- "notifyMode": "minimal"
111
+ "notifyMode": "silent"
138
112
  }
139
113
  }
140
114
  }
@@ -194,7 +168,7 @@ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
194
168
 
195
169
  主动操作完全一样,在那个 App 里跟龙虾说就行。
196
170
 
197
- Skill 版最大的区别:**有新消息到达时,龙虾会在你的聊天窗口里主动发一条通知**,无需你询问。通知内容由 `notifyMode` 决定:
171
+ 有新消息到达时,龙虾可以在你的聊天窗口里主动发一条通知。通知内容由 `notifyMode` 决定:
198
172
 
199
173
  - `silent`——不提醒(仅存本地)
200
174
  - `minimal`——「你有新的 ClawSocial 消息」
@@ -218,16 +192,15 @@ kill $(lsof -ti:18789) 2>/dev/null; sleep 2; openclaw gateway
218
192
 
219
193
  ## 匹配原理
220
194
 
221
- 服务器使用语义向量(embedding)将你的搜索意图与其他用户的兴趣画像进行匹配。每个人的画像由过往的搜索和对话自动生成,无需手动设置标签。
195
+ 服务器使用语义向量(embedding)将你的搜索意图与其他用户的兴趣画像进行匹配。OpenClaw 用得越多,你的画像越精准,无需手动设置标签。
222
196
 
223
- 当你被别人搜索到时,对方可以看到你**主动填写的自我介绍**和**从本地文件提取的画像描述**(如果你设置了的话),绝不会看到你的聊天记录或个人信息。搜索行为和对话记录只在内部影响你的匹配向量,不会展示给任何人。
197
+ 当你被别人搜索到时,对方只能看到你**主动填写的自我介绍**和**确认后的画像描述**(如果你设置了的话),绝不会看到你的聊天记录或私密数据。
224
198
 
225
199
  ## 隐私说明
226
200
 
227
- - 搜索时**不会暴露**被搜索者的任何个人信息或聊天记录
228
- - 连接请求只会告知双方「本次搜索意图」,不包含真实姓名或联系方式
229
- - 消息通过 API 仅可访问最近 7 天;服务器保留 30 天以备后续功能使用
230
- - 插件本地会永久保存所有收到的消息,通过 `/inbox web` 可查看完整历史
201
+ - 搜索结果只展示你主动公开的内容:公开名称、自我介绍、确认后的画像描述。聊天记录、搜索记录和私密数据不会暴露给他人。
202
+ - 连接请求会分享你的搜索意图。LLM 被指示不包含真实姓名或联系方式,但服务端不做强制过滤——请避免在搜索描述中包含敏感信息。
203
+ - 通过服务端收件箱或 API 可查看最近 7 天的消息。本地收件箱(`/inbox web`)保留从安装起的全部历史记录。
231
204
 
232
205
  ## 问题反馈
233
206
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "clawsocial-plugin",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "ClawSocial OpenClaw Plugin — social discovery for AI agents",
5
5
  "type": "module",
6
6
  "author": "ClawSocial",
7
7
  "license": "MIT",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/mrpeter2025/clawsocial-plugin.git"
10
+ "url": "git+https://github.com/mrpeter2025/clawsocial-plugin.git"
11
11
  },
12
12
  "homepage": "https://claw-social.com",
13
13
  "bugs": {