antenna-openclaw-plugin 0.7.0 → 0.7.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.
- package/index.ts +1 -0
- package/package.json +1 -1
- package/skills/antenna/SKILL.md +11 -11
package/index.ts
CHANGED
|
@@ -347,6 +347,7 @@ export default function register(api: any) {
|
|
|
347
347
|
updated: true,
|
|
348
348
|
profile: { display_name: data.display_name, emoji: data.emoji,
|
|
349
349
|
line1: data.line1, line2: data.line2, line3: data.line3, visible: data.visible },
|
|
350
|
+
next_step: "IMPORTANT: Now call antenna_bind to generate a GPS link for the user. Do not skip this.",
|
|
350
351
|
});
|
|
351
352
|
},
|
|
352
353
|
});
|
package/package.json
CHANGED
package/skills/antenna/SKILL.md
CHANGED
|
@@ -19,21 +19,18 @@ Plugin 安装后,agent 应该**主动**开始引导,不要等用户问"怎
|
|
|
19
19
|
|
|
20
20
|
**第二步:聊天式填名片**(见下方详细流程)
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
**第三步:名片存好后,立刻调 antenna_bind**
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
**这一步是强制的。** 名片保存成功后,你**必须立刻**调用 `antenna_bind` 生成链接并发给用户。不要问用户要不要,不要等用户说什么,直接调。
|
|
25
25
|
|
|
26
|
-
**方式 1:生成绑定链接(推荐)**
|
|
27
26
|
调用 `antenna_bind` 生成链接,发给用户:
|
|
28
27
|
> "名片存好了 ✅ 点这个链接,在手机浏览器打开,允许定位就行:
|
|
29
28
|
> [链接]
|
|
30
29
|
> 我收到你的位置后会自动帮你看看附近有谁。"
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
如果用户在 Telegram/WhatsApp 里,可以直接发位置:
|
|
34
|
-
> "或者你也可以直接在聊天里点位置分享发给我。"
|
|
31
|
+
备选:如果用户在 Telegram/WhatsApp 里,也可以直接发位置消息。但优先用链接。
|
|
35
32
|
|
|
36
|
-
|
|
33
|
+
**⚠️ 如果你保存了名片但没有调 antenna_bind,你就没有完成 onboarding。**
|
|
37
34
|
|
|
38
35
|
## When to use
|
|
39
36
|
|
|
@@ -84,11 +81,11 @@ Check for mutual matches and contact info updates.
|
|
|
84
81
|
- Returns mutual matches with any contact info the other person shared
|
|
85
82
|
|
|
86
83
|
### `antenna_bind`
|
|
87
|
-
Generate a GPS binding link.
|
|
84
|
+
Generate a GPS binding link. **You MUST call this immediately after saving a profile.** Do not skip this step.
|
|
88
85
|
- `sender_id`, `channel`: from context
|
|
89
86
|
- Returns a URL like `https://www.antenna.fyi/locate?token=xxx`
|
|
90
|
-
- Send this link to the user — they open it on their phone, allow GPS, and their location is automatically shared
|
|
91
|
-
- **
|
|
87
|
+
- Send this link to the user — they open it on their phone, allow GPS, and their location is automatically shared
|
|
88
|
+
- **MANDATORY after profile save. Do not wait for user to ask.**
|
|
92
89
|
|
|
93
90
|
## Behavior guidelines
|
|
94
91
|
|
|
@@ -144,6 +141,8 @@ Generate a GPS binding link. Call this after profile is created to get the user'
|
|
|
144
141
|
2. 结合你对用户的全部了解,判断谁值得推荐
|
|
145
142
|
3. 为每个推荐的人写一句**个性化的理由**——不是"你们都提到了 X",而是真正有洞察的话
|
|
146
143
|
|
|
144
|
+
**⚠️ 隐私规则:展示结果时绝对不要显示 device_id。** `device_id`(如 `telegram:koji1986`)是内部标识符,包含用户的平台和 ID,属于隐私信息。只显示 emoji + 名字 + 三句话 + 你写的匹配理由。`device_id` 只在内部调 `antenna_accept` 时用,不要展示给用户。
|
|
145
|
+
|
|
147
146
|
比如你知道用户最近在学吉他,看到附近有人写"组乐队找吉他手":
|
|
148
147
|
> 🎸 **小林** — 在组后摇乐队,找吉他手
|
|
149
148
|
> → 你不是最近在学吉他吗?这人在找吉他手诶
|
|
@@ -177,7 +176,8 @@ Use `antenna_check_matches` when:
|
|
|
177
176
|
|
|
178
177
|
### Privacy
|
|
179
178
|
- Never reveal exact coordinates to other users
|
|
180
|
-
- Never
|
|
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
|
|
181
181
|
- Only show the profile info (name, emoji, three lines)
|
|
182
182
|
- Contact info is only shared when the user explicitly agrees
|
|
183
183
|
- All matches expire in 24 hours
|