@industry-theme/agent-panels 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"SkillCard.d.ts","sourceRoot":"","sources":["../../../../src/panels/skills/components/SkillCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAEjE,UAAU,cAAc;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAkDD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA+Q9C,CAAC"}
1
+ {"version":3,"file":"SkillCard.d.ts","sourceRoot":"","sources":["../../../../src/panels/skills/components/SkillCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AAEjE,UAAU,cAAc;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAkDD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA0R9C,CAAC"}
@@ -2677,9 +2677,18 @@ const SkillCard = ({
2677
2677
  onClick,
2678
2678
  isSelected = false
2679
2679
  }) => {
2680
- var _a, _b, _c, _d, _e2, _f, _g, _h;
2680
+ var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l;
2681
2681
  const { theme: theme2 } = useTheme();
2682
2682
  const sourceConfig = getSourceConfig(skill.source);
2683
+ if (skill.name === "brand guidelines") {
2684
+ console.log("[SkillCard] brand guidelines metadata:", {
2685
+ hasMetadata: !!skill.metadata,
2686
+ metadata: skill.metadata,
2687
+ owner: (_a = skill.metadata) == null ? void 0 : _a.owner,
2688
+ repo: (_b = skill.metadata) == null ? void 0 : _b.repo,
2689
+ condition: !!(((_c = skill.metadata) == null ? void 0 : _c.owner) && ((_d = skill.metadata) == null ? void 0 : _d.repo))
2690
+ });
2691
+ }
2683
2692
  return /* @__PURE__ */ jsxs(
2684
2693
  "div",
2685
2694
  {
@@ -2770,7 +2779,7 @@ const SkillCard = ({
2770
2779
  ]
2771
2780
  }
2772
2781
  ),
2773
- ((_a = skill.metadata) == null ? void 0 : _a.owner) && ((_b = skill.metadata) == null ? void 0 : _b.repo) && /* @__PURE__ */ jsxs(
2782
+ ((_e2 = skill.metadata) == null ? void 0 : _e2.owner) && ((_f = skill.metadata) == null ? void 0 : _f.repo) && /* @__PURE__ */ jsxs(
2774
2783
  "div",
2775
2784
  {
2776
2785
  style: {
@@ -2885,10 +2894,10 @@ Installed: ${skill.metadata.installedAt ? new Date(skill.metadata.installedAt).t
2885
2894
  color: theme2.colors.primary,
2886
2895
  fontWeight: 500
2887
2896
  },
2888
- title: `Scripts: ${(_c = skill.scriptFiles) == null ? void 0 : _c.join(", ")}`,
2897
+ title: `Scripts: ${(_g = skill.scriptFiles) == null ? void 0 : _g.join(", ")}`,
2889
2898
  children: [
2890
2899
  /* @__PURE__ */ jsx(Code, { size: 12 }),
2891
- /* @__PURE__ */ jsx("span", { children: ((_d = skill.scriptFiles) == null ? void 0 : _d.length) || 0 })
2900
+ /* @__PURE__ */ jsx("span", { children: ((_h = skill.scriptFiles) == null ? void 0 : _h.length) || 0 })
2892
2901
  ]
2893
2902
  }
2894
2903
  ),
@@ -2907,10 +2916,10 @@ Installed: ${skill.metadata.installedAt ? new Date(skill.metadata.installedAt).t
2907
2916
  color: theme2.colors.secondary,
2908
2917
  fontWeight: 500
2909
2918
  },
2910
- title: `References: ${(_e2 = skill.referenceFiles) == null ? void 0 : _e2.join(", ")}`,
2919
+ title: `References: ${(_i = skill.referenceFiles) == null ? void 0 : _i.join(", ")}`,
2911
2920
  children: [
2912
2921
  /* @__PURE__ */ jsx(BookOpen, { size: 12 }),
2913
- /* @__PURE__ */ jsx("span", { children: ((_f = skill.referenceFiles) == null ? void 0 : _f.length) || 0 })
2922
+ /* @__PURE__ */ jsx("span", { children: ((_j = skill.referenceFiles) == null ? void 0 : _j.length) || 0 })
2914
2923
  ]
2915
2924
  }
2916
2925
  ),
@@ -2929,10 +2938,10 @@ Installed: ${skill.metadata.installedAt ? new Date(skill.metadata.installedAt).t
2929
2938
  color: theme2.colors.accent,
2930
2939
  fontWeight: 500
2931
2940
  },
2932
- title: `Assets: ${(_g = skill.assetFiles) == null ? void 0 : _g.join(", ")}`,
2941
+ title: `Assets: ${(_k = skill.assetFiles) == null ? void 0 : _k.join(", ")}`,
2933
2942
  children: [
2934
2943
  /* @__PURE__ */ jsx(Package, { size: 12 }),
2935
- /* @__PURE__ */ jsx("span", { children: ((_h = skill.assetFiles) == null ? void 0 : _h.length) || 0 })
2944
+ /* @__PURE__ */ jsx("span", { children: ((_l = skill.assetFiles) == null ? void 0 : _l.length) || 0 })
2936
2945
  ]
2937
2946
  }
2938
2947
  )