Gitea/Forgjo Skills Support #20

Merged
Chris Farhood merged 4 commits from dev into local 2026-06-10 16:06:15 +00:00
Showing only changes of commit 59dc05bdbc - Show all commits
+10 -1
View File
@@ -398,7 +398,16 @@ function deriveCanonicalSkillKey(
const owner = normalizeSkillSlug(asString(metadata?.owner));
const repo = normalizeSkillSlug(asString(metadata?.repo));
if ((input.sourceType === "github" || input.sourceType === "skills_sh" || sourceKind === "github" || sourceKind === "skills_sh") && owner && repo) {
if (
(input.sourceType === "github"
|| input.sourceType === "skills_sh"
|| input.sourceType === "gitea"
|| sourceKind === "github"
|| sourceKind === "skills_sh"
|| sourceKind === "gitea")
&& owner
&& repo
) {
return `${owner}/${repo}/${slug}`;
}