fetchResourceContent downloads the resource's source repo and reads its manifest content. Failures return an empty string so install still creates the directory structure; the directory presence is what installed-status detection keys on. ItemPath points at the resource directory (skills/plugins) or
(item Item)
| 448 | // keys on. ItemPath points at the resource directory (skills/plugins) or the |
| 449 | // manifest file itself (agents/instructions) relative to the repo root. |
| 450 | func (svc *Service) fetchResourceContent(item Item) string { |
| 451 | content, _ := svc.fetchResourceManifest(item) |
| 452 | return content |
| 453 | } |
| 454 | |
| 455 | // fetchResourceManifest downloads the resource's source repo and reads its |
| 456 | // manifest, returning both the content and the manifest path relative to the |
no test coverage detected