@erdoai/cli 0.149.2 → 0.151.0

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/dist/index.js +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6382,7 +6382,12 @@ var voiceCmd = program.command("voice").description("A voice agent's phone calls
6382
6382
  function contactLabel(contact) {
6383
6383
  if (!contact) return "-";
6384
6384
  const name = [contact.first_name, contact.last_name].filter(Boolean).join(" ");
6385
- const reach = contact.email || contact.phone;
6385
+ let reach = contact.email || contact.phone;
6386
+ if (contact.email && contact.email_check === "confirmed") {
6387
+ reach += " (confirmed)";
6388
+ } else if (contact.email && contact.email_check === "conflict") {
6389
+ reach += contact.email_alternative ? ` (spelled; also heard ${contact.email_alternative})` : " (spelled; heard differently)";
6390
+ }
6386
6391
  if (!name && !reach) return "none";
6387
6392
  return [name, reach].filter(Boolean).join(" \xB7 ");
6388
6393
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erdoai/cli",
3
- "version": "0.149.2",
3
+ "version": "0.151.0",
4
4
  "description": "Erdo CLI \u2014 drive datasets, pages, and evals from the terminal or CI",
5
5
  "type": "module",
6
6
  "bin": {