Files
pipelines/internal/protocol/skills.go
T
alan a733a927f3 Finalize reviewed destination and skill changes
Preserve Settings as an independent navigation destination while landing the reviewed notification and skill-management updates. Keep the server and CLI skill contracts versioned and validated so the merged tree can be verified by the delivery gate.
2026-11-12 11:30:17 +00:00

25 lines
649 B
Go

package protocol
type SkillFile struct {
Path string `json:"path"`
Bytes []byte `json:"bytes"`
}
type SkillSummary struct {
Name string `json:"name"`
Description string `json:"description"`
LatestVersion int `json:"latest_version"`
Digest string `json:"digest"`
ImportedAt string `json:"imported_at"`
}
type SkillVersion struct {
SkillSummary
Version int `json:"version"`
SourcePath string `json:"source_path"`
Manifest []SkillFileMeta `json:"manifest"`
SkillMD string `json:"skill_md"`
}
type SkillFileMeta struct {
Path string `json:"path"`
Size int64 `json:"size"`
}