feat(ui): expose full overlay IP on Status page

The /api/v1/admin endpoint only returns the /64 subnet. Users were
copy-pasting the subnet straight into Compose Message and getting
HTTP 422 from the daemon (\"invalid IP address syntax\"). The full
host part (lower 64 bits) is logged once at boot:

    INFO mycelium: Node overlay IP: 43d:956e:7877:d933:eecc:b305:21ff:77f9

Capture it from stdout, surface as a new daemonStatus.overlayIp
field, and render it on Status above the subnet card with the hint
\"use this when sending messages\".

The line carries ANSI colour escapes from tracing's compact format,
so push_log strips SGR sequences before scanning. Hand-rolled to
avoid pulling a regex crate.

Also rebuilds the .deb release artifact.
This commit is contained in:
syoul
2026-04-26 02:11:42 +02:00
parent 3bf3cd162b
commit 0c9277f687
7 changed files with 85 additions and 2 deletions

View File

@@ -1 +1 @@
a5df5c25c2fb13ff7d3486c6214371dac540ccaa70094e02e458bfd0b5e6b367 release/mycellium-ui_0.1.0_amd64.deb
acab8758c4ba7f3894e5e9bce28cbd759b8ec7e08a1ee00f54f6fdcac75a4221 release/mycellium-ui_0.1.0_amd64.deb

Binary file not shown.