antenna-fyi 1.3.27 → 1.3.28

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.
Files changed (2) hide show
  1. package/lib/cli.js +4 -6
  2. package/package.json +1 -1
package/lib/cli.js CHANGED
@@ -66,12 +66,11 @@ 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 --emoji 🦦 --personal-description '...' --looking-for '...' --conversation-style '...'].']");
69
+ if (!id) return console.error("Usage: antenna profile --id <platform>:<user_id> [--name Yi --personal-description '...' --looking-for '...' --conversation-style '...'].']");
70
70
  if (f.name || f["personal-description"] || f["looking-for"] || f["conversation-style"] || f["more-information"] || 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;
74
- if (f.emoji) payload.emoji = f.emoji;
75
74
  if (f["personal-description"] !== undefined) payload.line1 = f["personal-description"];
76
75
  if (f["looking-for"] !== undefined) payload.line2 = f["looking-for"];
77
76
  if (f["conversation-style"] !== undefined) payload.line3 = f["conversation-style"];
@@ -337,7 +336,6 @@ export async function handleSetup(f) {
337
336
  if (!id) { rl.close(); return console.error("Device ID is required."); }
338
337
 
339
338
  const name = await ask("Display name: ");
340
- const emoji = (await ask("Emoji (default šŸ‘¤): ")) || "šŸ‘¤";
341
339
  const personalDesc = await ask("Personal description — who you are, what you do: ");
342
340
  const lookingFor = await ask("Looking for — the kind of people you want to meet: ");
343
341
  const convStyle = await ask("Conversation style — the type of conversations you want: ");
@@ -347,14 +345,14 @@ export async function handleSetup(f) {
347
345
  const data = await setProfile({
348
346
  device_id: id,
349
347
  display_name: name || null,
350
- emoji,
348
+
351
349
  line1: personalDesc || null,
352
350
  line2: lookingFor || null,
353
351
  line3: convStyle || null,
354
352
  });
355
353
 
356
354
  console.log("\nāœ… Profile saved!\n");
357
- console.log(` ${emoji} ${name || "Anonymous"}`);
355
+ console.log(` ${name || "Anonymous"}`);
358
356
  if (personalDesc) console.log(` ${personalDesc}`);
359
357
  if (lookingFor) console.log(` ${lookingFor}`);
360
358
  if (convStyle) console.log(` ${convStyle}`);
@@ -997,7 +995,7 @@ export function printHelp() {
997
995
  Usage:
998
996
  antenna scan --lat 39.99 --lng 116.48 [--radius 500] (max 1000) [--id <platform>:<user_id>]
999
997
  antenna checkin --id <platform>:<user_id> --lat 39.99 --lng 116.48
1000
- antenna profile --id <platform>:<user_id> [--name Yi --emoji 🦦 --personal-description '...']
998
+ antenna profile --id <platform>:<user_id> [--name Yi --personal-description '...']
1001
999
  antenna accept --id <platform>:<user_id> --target <ref_or_device_id> [--contact 'WeChat: yi']
1002
1000
  antenna pass --id <platform>:<user_id> --target <ref_or_device_id> (or --ref 1)
1003
1001
  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.27",
3
+ "version": "1.3.28",
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": {