The banner re-derived the token from ~/.fusion/settings.json. That is simply the wrong source: on a real run the file contained no daemonToken while the dashboard's own banner, two lines above, printed a working one — so the tunnel claimed no token existed next to a token that plainly did. The dashboard already holds the resolved token at the point where it reports its bound port, so it now reports both over the same IPC message and the wrapper prefers that over anything it could derive. The env/settings lookup survives only for targets that report nothing, such as an explicit --tunnel=PORT aimed at a server the dev child knows nothing about. The token crosses the existing parent/child channel only; it is never logged or sent onward. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
12 KiB
12 KiB