feat(photon): persist and display user phone numbers in status

Store operator and assigned iMessage numbers in `auth.json` after
setup, and surface them in `hermes photon status`. When numbers are
missing, status auto-refreshes from the dashboard without provisioning
new lines.
This commit is contained in:
underthestars-zhy 2026-06-08 20:57:12 -07:00 committed by Teknium
parent 2130ef68b3
commit b58ff93459
4 changed files with 230 additions and 3 deletions

View file

@ -162,7 +162,10 @@ Send an iMessage to your assigned number and Hermes will reply.
hermes photon status
```
Prints:
Prints saved credentials, sidecar health, your registered number, and the
assigned iMessage line Hermes uses. When a Photon token and dashboard project
are available, `status` refreshes missing number rows from the dashboard
without provisioning new lines.
```
Photon iMessage status
@ -171,6 +174,8 @@ Photon iMessage status
dashboard project : 3c90c3cc-0d44-4b50-...
spectrum project id : sp-...
project secret : ✓ stored
my number : +15551234567
assigned number : +16282679185
node binary : /usr/bin/node
sidecar deps : ✓ installed
```