service_manager: BindStrategy::Mycelium engine support (hero_router self-bind) #97

Open
opened 2026-05-07 19:12:39 +00:00 by mik-tf · 0 comments
Owner

Tracked from #90.

The upstream service_router.nu resolves a mycelium IPv6 address when present and binds the UI on [<mycelium-v6>]:<port> via --address/--ui-port. Falls back to loopback when mycelium is unreachable.

The v2 hero_router::start defaults to --port 9988 on loopback. Mycelium auto-detect is not implemented.

Fix: query the running mycelium daemon (via mycelium_sdk if available, or read ~/hero/var/sockets/mycelium/rpc.sock) to get the local IPv6 address, then add --address <addr> --ui-port <p> to the script when it resolves.

Limitation: in hero_router.rs.

Tracked from #90. The upstream `service_router.nu` resolves a mycelium IPv6 address when present and binds the UI on `[<mycelium-v6>]:<port>` via `--address`/`--ui-port`. Falls back to loopback when mycelium is unreachable. The v2 `hero_router::start` defaults to `--port 9988` on loopback. Mycelium auto-detect is not implemented. **Fix**: query the running mycelium daemon (via `mycelium_sdk` if available, or read `~/hero/var/sockets/mycelium/rpc.sock`) to get the local IPv6 address, then add `--address <addr> --ui-port <p>` to the script when it resolves. `Limitation:` in hero_router.rs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_router#97
No description provided.