chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-02 13:42:23 +00:00
parent 371ee321e0
commit fcfd47602b
5 changed files with 98 additions and 38 deletions
+2 -1
View File
@@ -182,7 +182,8 @@ function buildRemote(input: { host: string; segments: string[]; remote?: string;
segments,
owner: segments.length === 2 ? segments[0] : undefined,
repo: segments[segments.length - 1],
remote: input.remote ?? (host === "github.com" ? githubRemote(repositoryPath) : `https://${host}/${repositoryPath}.git`),
remote:
input.remote ?? (host === "github.com" ? githubRemote(repositoryPath) : `https://${host}/${repositoryPath}.git`),
label: host === "github.com" && segments.length === 2 ? repositoryPath : `${host}/${repositoryPath}`,
protocol: input.protocol,
} satisfies RemoteReference