feat: add gitea skill discovery

This commit is contained in:
2026-05-13 16:20:37 +08:00
parent 187c14122e
commit 81ed974603
3 changed files with 280 additions and 0 deletions

View File

@@ -46,3 +46,23 @@ type InstalledTarget struct {
type State struct {
Skills []SkillState `json:"skills"`
}
type RemoteSkill struct {
Name string `json:"name"`
FullName string `json:"fullName"`
Description string `json:"description"`
CloneURL string `json:"cloneURL"`
SSHURL string `json:"sshURL"`
DefaultBranch string `json:"defaultBranch"`
UpdatedAt string `json:"updatedAt"`
IsDownloaded bool `json:"isDownloaded"`
Status string `json:"status"`
Error string `json:"error"`
}
type TestConnectionResult struct {
OK bool `json:"ok"`
Message string `json:"message"`
Username string `json:"username"`
Org string `json:"org"`
}