Detect platform + owner/repo from the origin remote URL.
Convenience wrapper around detect_platform_from_remote_named for
callers that don’t need to choose which remote to inspect.
Same as detect_platform_from_remote but takes the remote name
explicitly. Used by the platform-management commands
(pipeline, job, package, release) to support managing a
project mirrored across multiple platforms — e.g. gitorii itself
has origin → gitlab and github-paskidev → github, and a user
may want to query either via --remote NAME.
0.8.0 — fuller detect that also returns the API base URL the
rest of torii should hit. Tries the platforms.toml registry
first (so self-hosted instances get their custom URL); falls
back to the builtin per-platform default. Returns None if the
remote doesn’t resolve to any known platform.