antenna-openclaw-plugin 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antenna-openclaw-plugin",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Antenna — agent-mediated nearby people discovery for OpenClaw",
5
5
  "openclaw": {
6
6
  "extensions": ["./index.ts"]
@@ -150,3 +150,13 @@ Everything is ephemeral:
150
150
  - Contact info shared through matches expires with the match
151
151
  - If neither side acts, the match disappears
152
152
  - This is by design — "用完即走"
153
+
154
+ ### Heartbeat — 自动查匹配
155
+
156
+ 如果 agent 有 heartbeat 机制(定期唤醒),每次 heartbeat 时:
157
+ 1. 检查用户是否有 Antenna profile(`antenna_profile` action="get")
158
+ 2. 如果有,调 `antenna_check_matches` 查看是否有新的 mutual match
159
+ 3. 如果有新匹配,主动通知用户:"有人想认识你!"并展示对方信息
160
+ 4. 如果没有新匹配,不用说话(静默跳过)
161
+
162
+ 这样用户不需要主动问,agent 会自动帮忙盯着。