antenna-openclaw-plugin 0.7.1 → 0.7.3

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/index.ts CHANGED
@@ -227,7 +227,7 @@ export default function register(api: any) {
227
227
  properties: {
228
228
  lat: { type: "number", description: "Latitude (optional if location was shared via web)" },
229
229
  lng: { type: "number", description: "Longitude (optional if location was shared via web)" },
230
- radius_m: { type: "number", description: "Search radius in meters (default: 500)" },
230
+ radius_m: { type: "number", description: "Search radius in meters (default 500, max 1000)" },
231
231
  sender_id: { type: "string", description: "The sender's user ID (from message context)" },
232
232
  channel: { type: "string", description: "The channel name (telegram, whatsapp, etc.)" },
233
233
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antenna-openclaw-plugin",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Antenna — agent-mediated nearby people discovery for OpenClaw",
5
5
  "openclaw": {
6
6
  "extensions": ["./index.ts"]
@@ -46,7 +46,7 @@ Plugin 安装后,agent 应该**主动**开始引导,不要等用户问"怎
46
46
  ### `antenna_scan`
47
47
  Scan for nearby people. Returns **raw profile cards** — no scores, no pre-matching. **You are the matching engine.**
48
48
  - `lat`, `lng`: coordinates (from `LocationLat`/`LocationLon` context, or geocoded from user input)
49
- - `radius_m`: search radius (default 500m)
49
+ - `radius_m`: search radius in meters (default 500, max 1000)
50
50
  - `sender_id`: the user's id from message context
51
51
  - `channel`: the channel name (telegram, whatsapp, discord, etc.)
52
52
 
@@ -141,6 +141,8 @@ Generate a GPS binding link. **You MUST call this immediately after saving a pro
141
141
  2. 结合你对用户的全部了解,判断谁值得推荐
142
142
  3. 为每个推荐的人写一句**个性化的理由**——不是"你们都提到了 X",而是真正有洞察的话
143
143
 
144
+ **⚠️ 隐私规则:展示结果时绝对不要显示 device_id。** `device_id`(如 `telegram:koji1986`)是内部标识符,包含用户的平台和 ID,属于隐私信息。只显示 emoji + 名字 + 三句话 + 你写的匹配理由。`device_id` 只在内部调 `antenna_accept` 时用,不要展示给用户。
145
+
144
146
  比如你知道用户最近在学吉他,看到附近有人写"组乐队找吉他手":
145
147
  > 🎸 **小林** — 在组后摇乐队,找吉他手
146
148
  > → 你不是最近在学吉他吗?这人在找吉他手诶
@@ -174,7 +176,8 @@ Use `antenna_check_matches` when:
174
176
 
175
177
  ### Privacy
176
178
  - Never reveal exact coordinates to other users
177
- - Never share someone's device_id with another user
179
+ - **Never show device_id to users** (e.g. `telegram:123`, `wechat:xxx`) — this is internal only
180
+ - Never share someone's platform or username with another user
178
181
  - Only show the profile info (name, emoji, three lines)
179
182
  - Contact info is only shared when the user explicitly agrees
180
183
  - All matches expire in 24 hours