antenna-fyi 1.3.36 → 1.3.37

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/lib/cli.js CHANGED
@@ -66,8 +66,8 @@ export async function handleScan(f) {
66
66
 
67
67
  export async function handleProfile(f) {
68
68
  const id = resolveId(f);
69
- if (!id) return console.error("Usage: antenna profile --id <platform>:<user_id> [--name Yi --personal-description '...' --looking-for '...' --conversation-style '...' --more-information '...' --contact 'WeChat: yi' --slug mira --hide --visible true]");
70
- if (f.name || f["personal-description"] !== undefined || f.line1 !== undefined || f["looking-for"] !== undefined || f.line2 !== undefined || f["conversation-style"] !== undefined || f.line3 !== undefined || f["more-information"] !== undefined || f.contact !== undefined || f.slug !== undefined || f.visible !== undefined || f.hide !== undefined) {
69
+ if (!id) return console.error("Usage: antenna profile --id <platform>:<user_id> [--name Yi --personal-description '...' --looking-for '...' --conversation-style '...' --more-information '...' --tags 'AI,design,music' --city 'Beijing' --contact 'WeChat: yi' --slug mira --hide --visible true]");
70
+ if (f.name || f["personal-description"] !== undefined || f.line1 !== undefined || f["looking-for"] !== undefined || f.line2 !== undefined || f["conversation-style"] !== undefined || f.line3 !== undefined || f["more-information"] !== undefined || f.contact !== undefined || f.slug !== undefined || f.tags !== undefined || f.city !== undefined || f.visible !== undefined || f.hide !== undefined) {
71
71
  const visible = f.hide ? false : (f.visible !== undefined ? f.visible === 'true' || f.visible === true : undefined);
72
72
  const payload = { device_id: id };
73
73
  if (f.name) payload.display_name = f.name;
@@ -80,6 +80,8 @@ export async function handleProfile(f) {
80
80
  if (f["more-information"] !== undefined) payload.matching_context = f["more-information"];
81
81
  if (f.contact !== undefined) payload.contact_info = f.contact;
82
82
  if (f.slug !== undefined) payload.profile_slug = f.slug;
83
+ if (f.tags !== undefined) payload.interest_tags = typeof f.tags === 'string' ? f.tags.split(',').map(t => t.trim()).filter(Boolean) : [f.tags];
84
+ if (f.city !== undefined) payload.city = f.city;
83
85
  if (visible !== undefined) payload.visible = visible;
84
86
  const config = loadConfig();
85
87
  if (config.key) payload.api_key = config.key;
@@ -1077,7 +1079,7 @@ export function printHelp() {
1077
1079
  Usage:
1078
1080
  antenna scan --lat 39.99 --lng 116.48 [--radius 500] (max 1000) [--id <platform>:<user_id>]
1079
1081
  antenna checkin --id <platform>:<user_id> --lat 39.99 --lng 116.48
1080
- antenna profile --id <platform>:<user_id> [--name Yi --personal-description '...' --looking-for '...' --conversation-style '...' --more-information '...' --contact 'WeChat: yi' --slug mira --hide --visible true]
1082
+ antenna profile --id <platform>:<user_id> [--name Yi --personal-description '...' --looking-for '...' --conversation-style '...' --more-information '...' --tags 'AI,design,music' --city 'Beijing' --contact 'WeChat: yi' --slug mira --hide --visible true]
1081
1083
  antenna accept --id <platform>:<user_id> --target <ref_or_device_id> [--contact 'WeChat: yi']
1082
1084
  antenna pass --id <platform>:<user_id> --target <ref_or_device_id> (or --ref 1)
1083
1085
  antenna matches --id <platform>:<user_id>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antenna-fyi",
3
- "version": "1.3.36",
3
+ "version": "1.3.37",
4
4
  "description": "Antenna \u2014 nearby people discovery. CLI + MCP server + OpenClaw skill & plugin, all in one package.",
5
5
  "type": "module",
6
6
  "bin": {
package/skill/SKILL.md CHANGED
@@ -44,6 +44,7 @@ Plugin 安装后,agent **主动**开始引导,不要等用户问。
44
44
  跟用户聊几句,了解他们是谁、做什么、想认识什么人。然后 agent 自己生成:
45
45
  - more_information(~200 字,给 agent 匹配用的私密上下文,不展示给别人)
46
46
  - 从中提炼 personal_description/looking_for/conversation_style + display_name
47
+ - 提取 interest_tags(最多 8 个,如 "AI agents", "music", "design")
47
48
 
48
49
  展示预览给用户确认:
49
50
  > 你的名片: