Skip to content

feat(singboxdiscover): resolve outbound tag to downstream server:port#3

Merged
lr00rl merged 1 commit into
mainfrom
feat/jump-edges
Jul 7, 2026
Merged

feat(singboxdiscover): resolve outbound tag to downstream server:port#3
lr00rl merged 1 commit into
mainfrom
feat/jump-edges

Conversation

@lr00rl

@lr00rl lr00rl commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Part of the jump_edges producer — lets the vpn-core Lines graph draw cross-node hub→exit relay edges (UI already renders them; server never populated them). Coordinated change: SDK fields → agent parses sing-box outbounds → server resolves fleet-wide into jump_edges. Verified: builds + unit tests green against local SDK via go.work.

https://claude.ai/code/session_01K3G7UAfcWNQkATYevDvnVM

Parse the sing-box `outbounds` section, index it by tag, and populate
OutboundServer/OutboundPort/OutboundType on each discovered inbound from its
routed outbound (config-fallback path). Direct/terminal outbounds stay empty.
Adds a focused unit test for vless-relay vs direct resolution.

Claude-Session: https://claude.ai/code/session_01K3G7UAfcWNQkATYevDvnVM
@lr00rl lr00rl merged commit 15f0ded into main Jul 7, 2026
1 check failed
@lr00rl lr00rl deleted the feat/jump-edges branch July 7, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant