antenna-fyi 1.2.6 → 1.2.7

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
@@ -187,9 +187,10 @@ export async function handleEvent(f) {
187
187
  if (!f.code) return console.error("Usage: antenna event --scan --code abc123 [--id telegram:123]");
188
188
  const result = await eventScan({ code: f.code, device_id: f.id || null });
189
189
  if (result.count === 0) return console.log("\nšŸŸļø No participants yet.\n");
190
- console.log(`\nšŸŸļø ${result.count} people in this event:\n`);
190
+ console.log(`\nšŸŸļø ${result.count} joined, ${result.checked_in_count || 0} checked in:\n`);
191
191
  result.profiles.forEach((p) => {
192
- console.log(` ${p.emoji} ${p.name}`);
192
+ const badge = p.checked_in ? " āœ…" : "";
193
+ console.log(` ${p.emoji} ${p.name}${badge}`);
193
194
  if (p.line1) console.log(` ${p.line1}`);
194
195
  console.log(` ref: ${p.ref}\n`);
195
196
  });
package/lib/core.js CHANGED
@@ -527,9 +527,11 @@ export async function eventScan({ code, device_id, supabaseUrl, supabaseKey }) {
527
527
 
528
528
  const others = data || [];
529
529
  const _refMap = {};
530
+ let checkedInCount = 0;
530
531
  const profiles = others.map((p, i) => {
531
532
  const ref = String(i + 1);
532
533
  _refMap[ref] = p.device_id;
534
+ if (p.checked_in) checkedInCount++;
533
535
  return {
534
536
  ref,
535
537
  name: p.display_name || "åŒæå",
@@ -537,6 +539,7 @@ export async function eventScan({ code, device_id, supabaseUrl, supabaseKey }) {
537
539
  line1: p.line1,
538
540
  line2: p.line2,
539
541
  line3: p.line3,
542
+ checked_in: !!p.checked_in,
540
543
  source: "event",
541
544
  };
542
545
  });
@@ -548,6 +551,7 @@ export async function eventScan({ code, device_id, supabaseUrl, supabaseKey }) {
548
551
 
549
552
  return {
550
553
  count: profiles.length,
554
+ checked_in_count: checkedInCount,
551
555
  profiles,
552
556
  _ref_map: _refMap,
553
557
  event: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antenna-fyi",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "Antenna — nearby people discovery. CLI + MCP server + OpenClaw skill & plugin, all in one package.",
5
5
  "type": "module",
6
6
  "bin": {