resolve_repo
Determine owner, repo, and base URL from git remotes (upstream, origin, others), stripping credentials from returned URLs. Call once at session start to establish repo context.
Instructions
Detect baseUrl/owner/repo from a git repository's remotes (SSH or HTTPS). Reads upstream first, then origin, then any other remote; all discovered remotes are returned, with userinfo stripped from every echoed URL so a credentialed remote never leaks its secret. path defaults to the current directory. Call ONCE at the start of a session to establish owner/repo for later calls instead of guessing. Errors if no parseable remote is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the git repository (defaults to current directory) |