antenna-openclaw-plugin 0.8.0 → 0.8.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.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Antenna — agent-mediated nearby people discovery for OpenClaw",
5
5
  "openclaw": {
6
6
  "extensions": ["./index.ts"]
@@ -32,6 +32,20 @@ Plugin 安装后,agent 应该**主动**开始引导,不要等用户问"怎
32
32
 
33
33
  **⚠️ 如果你保存了名片但没有调 antenna_bind,你就没有完成 onboarding。**
34
34
 
35
+ **第四步:设置匹配检查定时任务**
36
+
37
+ onboarding 完成后,帮用户设置一个每小时自动检查匹配的 cron 任务,这样有人 accept 用户时能及时通知。
38
+
39
+ 如果你有 cron 能力(Hermes: `hermes cron`,OpenClaw: `openclaw cron`),创建一个定时任务:
40
+ - 每 1 小时调用 `antenna_check_matches`
41
+ - 如果有新的 mutual match 或 incoming accept,通知用户
42
+ - 如果没有新匹配,不打扰用户
43
+
44
+ 示例(Hermes):
45
+ ```
46
+ hermes cron add --every 1h --message "Check antenna matches: call antenna_check_matches. If there are new mutual matches or incoming accepts, tell the user. If nothing new, reply HEARTBEAT_OK."
47
+ ```
48
+
35
49
  ## When to use
36
50
 
37
51
  - **首次安装后**: 主动开始 onboarding(名片 → 位置)