Documentation
¶
Overview ¶
Package resolve provides cross-worktree service discovery. It looks up another project's allocated port from the registry, respecting link overrides and falling back to same-branch matching.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
Resolver resolves cross-worktree URLs from the registry. It checks link overrides first, then falls back to same-branch matching.
func (*Resolver) Resolve ¶
Resolve returns the base URL (http://127.0.0.1:PORT) for a project. Without an explicit branch, it checks link overrides then falls back to the current worktree's branch. Returns an error if the target is not allocated.
Click to show internal directories.
Click to hide internal directories.