Who is waiting, who has not answered, what is new

Three questions about the people you talk to, each one a single command.

Pick the question you have. Each one is a single command. The examples were produced on a made-up WhatsApp of a travel agent, in the Asia/Bangkok time zone; dates and times are those of the day they were produced. Your own chats appear instead.

Who is waiting for me?

One-to-one chats whose last message is theirs (see Quickstart, step 4 for what that includes). Only people waiting 2 hours or more. If everyone on your list has waited longer than that, the list does not change.

nj wp waiting --at-least 2h
Terminal
  3h 10m  Sarah Cohen · unread
          them: Can you send the flight times for the 14th?
  5h 20m  ⁨יעל אברהם⁩‎ · unread
          them: ⁨שלום, יש מקום פנוי לטיסה לאילת ביום שלישי?⁩‎
      1d  James Carter · unread · archived
          them: Hi again, we want to book the same hotel for Easter
3 people waiting for your answer in the last 7d. For longer: nj wp waiting --within 30d

"Waiting" means a one-to-one chat whose last message is theirs. Namjai does not read what the message says, so a closing "Thanks!" from them counts as waiting, and a question you answered with "will check" does not. Groups are left out; nj wp new shows groups with unread messages.

The samples were made in the Asia/Bangkok time zone at one moment. Your dates, times and ages follow your Mac and the moment you run the command.

The number on the left: time since their last message.

Who has not answered me?

One-to-one chats whose last message is yours, with no reply for 24 hours or more. Groups are left out.

nj wp unanswered
Terminal
      2d  Michael Brooks
          you: Sent you the quote for 4 people, 7 nights. Valid until Friday
      2d  Emily Turner
          you: [audio]
      2d  ⁨אורי מזרחי⁩‎
          you: ⁨שלחתי לך שתי אפשרויות, מה דעתך?⁩‎
3 people have not answered you in the last 7d. For longer: nj wp unanswered --within 30d

The number on the left: time since your last message.

[audio] means the last message was a voice note or audio file, not text. To look back further than 7 days, add --within 30d:

nj wp unanswered --within 30d
Terminal
      2d  Michael Brooks
          you: Sent you the quote for 4 people, 7 nights. Valid until Friday
      2d  Emily Turner
          you: [audio]
      2d  ⁨אורי מזרחי⁩‎
          you: ⁨שלחתי לך שתי אפשרויות, מה דעתך?⁩‎
      2w  Daniel Reed
          you: Following up on the Rome quote. Shall I hold the rooms?
4 people have not answered you in the last 30d. For everything: nj wp unanswered --within 0

2w means 2 weeks.

What is new?

Every chat with unread messages, newest first.

nj wp new
Terminal
     18m  Laura Kim · unread
          them: Hi, is the Tokyo tour in April still available?
     26m  Phuket trip, March · group · unread
          them: Which day is the boat trip?
     47m  Dana Levi · unread
          them: And can we get a late checkout?
  3h 10m  Sarah Cohen · unread
          them: Can you send the flight times for the 14th?
  5h 20m  ⁨יעל אברהם⁩‎ · unread
          them: ⁨שלום, יש מקום פנוי לטיסה לאילת ביום שלישי?⁩‎
      1d  James Carter · unread · archived
          them: Hi again, we want to book the same hotel for Easter
6 chats

The number on the left: time since the last message in that chat. Groups appear here, marked group.