| 155 | /// A bundled custom agent definition, stitched at install time. |
| 156 | #[derive(Debug, Clone, Deserialize)] |
| 157 | pub struct AgentDefinition { |
| 158 | /// Frontmatter template file, relative to the plugin package root (e.g. |
| 159 | /// `"agents/atomic.md.frontmatter"`). Contains the YAML frontmatter block |
| 160 | /// and any vendor-specific preamble. |
| 161 | pub src: String, |
| 162 | /// Reference to the canonical body, in the form |
| 163 | /// `"atomic-skills:AGENTS.md"` (package-name-relative path). The |
| 164 | /// installer reads this from the skills cache. |
| 165 | pub body_from: String, |
| 166 | /// Destination in the vendor's agent slot (`~` expands to home). |
| 167 | pub slot: String, |
| 168 | } |
| 169 | |
| 170 | impl IntegrationManifest { |
| 171 | /// Load and validate the manifest from a package directory. |
nothing calls this directly
no outgoing calls
no test coverage detected