;
+}
+
+function TemplatePackages({
+ manifest,
+ kind,
+}: {
+ manifest: TemplateManifest;
+ kind: "skill" | "plugin";
+}) {
+ const packages = manifest.packages?.filter((entry) => entry.kind === kind) ?? [];
+ if (!packages.length)
+ return (
+
+ No {kind === "skill" ? "skills" : "plugins"} are included in this Template.
+
+ );
+ return (
+
+ {packages.map((entry) => (
+
+ {entry.ref}
+
+ Version {entry.version} · {entry.source}
+
+
+ ))}
+
+ );
+}
+
+function TemplateAutomations({ manifest }: { manifest: TemplateManifest }) {
+ if (!manifest.cronJobs?.length)
+ return No automations are included in this Template.;
+ return (
+