antenna-fyi 1.3.39 → 1.3.40
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/README.md +9 -3
- package/lib/cli.js +8 -1
- package/package.json +1 -1
- package/skill/SKILL.md +4 -0
package/README.md
CHANGED
|
@@ -11,6 +11,10 @@ npm install -g antenna-fyi
|
|
|
11
11
|
## CLI Usage
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
+
# Find people by intent (agent-facing search)
|
|
15
|
+
antenna find --id <platform>:<user_id> --query "想找一个懂 consumer social 增长的人"
|
|
16
|
+
antenna find-people --id <platform>:<user_id> --query "find someone building AI hardware" --limit 3
|
|
17
|
+
|
|
14
18
|
# Create your profile card
|
|
15
19
|
antenna setup --id <platform>:<user_id>
|
|
16
20
|
|
|
@@ -48,6 +52,7 @@ This starts a stdio-based MCP server with tools:
|
|
|
48
52
|
- `antenna_checkin` — Check in at a location
|
|
49
53
|
- `antenna_accept` — Accept a match
|
|
50
54
|
- `antenna_check_matches` — Check match status
|
|
55
|
+
- `antenna_find_people` — Find 1-3 people from a free-form user intent. Use when the user says "I want to meet/find someone who..."; returns refs and safe profile fields, not contact info or raw device IDs.
|
|
51
56
|
|
|
52
57
|
## Hermes Agent Integration
|
|
53
58
|
|
|
@@ -103,9 +108,10 @@ The plugin adds automatic location-triggered scanning, match polling, and real-t
|
|
|
103
108
|
## How It Works
|
|
104
109
|
|
|
105
110
|
1. **Create a profile card** — emoji, name, 3 lines about you
|
|
106
|
-
2. **
|
|
107
|
-
3. **
|
|
108
|
-
4. **
|
|
111
|
+
2. **Find by intent** — users can say "I want someone who understands X"; agents call `antenna_find_people` / `antenna find`
|
|
112
|
+
3. **Scan nearby** — find people within radius at your location
|
|
113
|
+
4. **Accept matches** — if both sides accept, exchange contact info
|
|
114
|
+
5. **Everything expires in 24h** — ephemeral by design
|
|
109
115
|
|
|
110
116
|
## License
|
|
111
117
|
|
package/lib/cli.js
CHANGED
|
@@ -1098,6 +1098,12 @@ export async function handleDrift(f) {
|
|
|
1098
1098
|
export function printHelp() {
|
|
1099
1099
|
console.log(`📡 Antenna — nearby people discovery
|
|
1100
1100
|
|
|
1101
|
+
Agent shortcuts:
|
|
1102
|
+
antenna find Find 1-3 people by intent, e.g. "想找一个懂 consumer social 增长的人"
|
|
1103
|
+
antenna discover Get today's global recommendation
|
|
1104
|
+
antenna scan Find nearby people after GPS is available
|
|
1105
|
+
antenna accept Use a returned ref/profile_slug when the user wants an intro
|
|
1106
|
+
|
|
1101
1107
|
Usage:
|
|
1102
1108
|
antenna scan --lat 39.99 --lng 116.48 [--radius 500] (max 1000) [--id <platform>:<user_id>]
|
|
1103
1109
|
antenna checkin --id <platform>:<user_id> --lat 39.99 --lng 116.48
|
|
@@ -1107,6 +1113,7 @@ Usage:
|
|
|
1107
1113
|
antenna matches --id <platform>:<user_id>
|
|
1108
1114
|
antenna discover --id <platform>:<user_id>
|
|
1109
1115
|
antenna find --id <platform>:<user_id> --query '想找一个懂 consumer social 增长的人' [--limit 3]
|
|
1116
|
+
antenna find-people --id <platform>:<user_id> --query 'find someone building AI hardware' [--limit 3]
|
|
1110
1117
|
antenna event --create --name 'AI Meetup' --starts-at '...' --ends-at '...' [--lat 34.05 --lng -118.25] [--desc '...'] [--og-image 'url'] [--requires-approval] [--screening-questions 'Q1|Q2'] | --join --code abc123 | --scan --code abc123 | --end --code abc123 --id <platform>:<user_id> | --upload-image --code abc123 --file /path/to/image.png | --update --code abc123 --name 'New Name' | --approve --code abc123 --ref 1 | --reject --code abc123 --ref 1 | --add-host --code abc123 --ref 1
|
|
1111
1118
|
antenna drift --throw --message 'hello' | --pick | --reply --bottle-id <uuid> --message 'reply' | --check | --my-bottles --id <platform>:<user_id>
|
|
1112
1119
|
antenna watch --id <platform>:<user_id> [--push hermes|openclaw|terminal] Watch for new matches in real-time (Ctrl+C to stop)
|
|
@@ -1126,5 +1133,5 @@ Environment:
|
|
|
1126
1133
|
ANTENNA_SUPABASE_KEY Supabase anon key (optional, has default)
|
|
1127
1134
|
|
|
1128
1135
|
Install: npm install -g antenna-fyi
|
|
1129
|
-
Or: npx antenna-fyi
|
|
1136
|
+
Or: npx antenna-fyi find --id <platform>:<user_id> --query 'AI hardware builders'`);
|
|
1130
1137
|
}
|
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -23,6 +23,8 @@ Antenna 帮你的用户发现值得认识的人。不只是"附近的人"--profi
|
|
|
23
23
|
|
|
24
24
|
- 如果有 Antenna plugin tools(antenna_scan, antenna_profile 等),直接用。
|
|
25
25
|
- 如果没有,用 CLI:`antenna <command> [flags]`。
|
|
26
|
+
- 用户说"我想找一个 xxx 的人"、"find someone who..."、"有没有做 X 的人"时,优先用 `antenna_find_people`。CLI 等价命令是:
|
|
27
|
+
`antenna find --id <platform>:<user_id> --query "<用户原话>" --limit 3`
|
|
26
28
|
- **所有 tool 必须传 `chat_id`**--Antenna 用它发通知。
|
|
27
29
|
|
|
28
30
|
## Onboarding - 装上后主动引导
|
|
@@ -128,6 +130,8 @@ openclaw cron add --every 1h --message "Check antenna matches: call antenna_chec
|
|
|
128
130
|
- 不返回联系方式或 raw `device_id`
|
|
129
131
|
- 你仍然要结合上下文判断是否推荐,不要机械展示所有结果
|
|
130
132
|
- 用户想认识某人时,用 `ref` 调 `antenna_accept`
|
|
133
|
+
- 没有 plugin tool 时,用 CLI:
|
|
134
|
+
`antenna find --id <platform>:<user_id> --query "想找一个懂 consumer social 增长的人" --limit 3`
|
|
131
135
|
|
|
132
136
|
### 4. Profile 链接
|
|
133
137
|
用户收到 `antenna.fyi/p/xxx` 链接时:
|