@industry-theme/agent-panels 0.1.7 → 0.1.8
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,
|
|
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"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -2677,18 +2677,9 @@ 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;
|
|
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
|
-
}
|
|
2692
2683
|
return /* @__PURE__ */ jsxs(
|
|
2693
2684
|
"div",
|
|
2694
2685
|
{
|
|
@@ -2779,7 +2770,7 @@ const SkillCard = ({
|
|
|
2779
2770
|
]
|
|
2780
2771
|
}
|
|
2781
2772
|
),
|
|
2782
|
-
((
|
|
2773
|
+
((_a = skill.metadata) == null ? void 0 : _a.owner) && ((_b = skill.metadata) == null ? void 0 : _b.repo) && /* @__PURE__ */ jsxs(
|
|
2783
2774
|
"div",
|
|
2784
2775
|
{
|
|
2785
2776
|
style: {
|
|
@@ -2788,10 +2779,10 @@ const SkillCard = ({
|
|
|
2788
2779
|
gap: "4px",
|
|
2789
2780
|
padding: "2px 6px",
|
|
2790
2781
|
borderRadius: theme2.radii[1],
|
|
2791
|
-
backgroundColor:
|
|
2792
|
-
border:
|
|
2782
|
+
backgroundColor: `${theme2.colors.textSecondary}15`,
|
|
2783
|
+
border: `1px solid ${theme2.colors.textSecondary}30`,
|
|
2793
2784
|
fontSize: theme2.fontSizes[0],
|
|
2794
|
-
color:
|
|
2785
|
+
color: theme2.colors.textSecondary,
|
|
2795
2786
|
fontWeight: 500,
|
|
2796
2787
|
fontFamily: theme2.fonts.monospace,
|
|
2797
2788
|
width: "fit-content"
|
|
@@ -2894,10 +2885,10 @@ Installed: ${skill.metadata.installedAt ? new Date(skill.metadata.installedAt).t
|
|
|
2894
2885
|
color: theme2.colors.primary,
|
|
2895
2886
|
fontWeight: 500
|
|
2896
2887
|
},
|
|
2897
|
-
title: `Scripts: ${(
|
|
2888
|
+
title: `Scripts: ${(_c = skill.scriptFiles) == null ? void 0 : _c.join(", ")}`,
|
|
2898
2889
|
children: [
|
|
2899
2890
|
/* @__PURE__ */ jsx(Code, { size: 12 }),
|
|
2900
|
-
/* @__PURE__ */ jsx("span", { children: ((
|
|
2891
|
+
/* @__PURE__ */ jsx("span", { children: ((_d = skill.scriptFiles) == null ? void 0 : _d.length) || 0 })
|
|
2901
2892
|
]
|
|
2902
2893
|
}
|
|
2903
2894
|
),
|
|
@@ -2916,10 +2907,10 @@ Installed: ${skill.metadata.installedAt ? new Date(skill.metadata.installedAt).t
|
|
|
2916
2907
|
color: theme2.colors.secondary,
|
|
2917
2908
|
fontWeight: 500
|
|
2918
2909
|
},
|
|
2919
|
-
title: `References: ${(
|
|
2910
|
+
title: `References: ${(_e2 = skill.referenceFiles) == null ? void 0 : _e2.join(", ")}`,
|
|
2920
2911
|
children: [
|
|
2921
2912
|
/* @__PURE__ */ jsx(BookOpen, { size: 12 }),
|
|
2922
|
-
/* @__PURE__ */ jsx("span", { children: ((
|
|
2913
|
+
/* @__PURE__ */ jsx("span", { children: ((_f = skill.referenceFiles) == null ? void 0 : _f.length) || 0 })
|
|
2923
2914
|
]
|
|
2924
2915
|
}
|
|
2925
2916
|
),
|
|
@@ -2938,10 +2929,10 @@ Installed: ${skill.metadata.installedAt ? new Date(skill.metadata.installedAt).t
|
|
|
2938
2929
|
color: theme2.colors.accent,
|
|
2939
2930
|
fontWeight: 500
|
|
2940
2931
|
},
|
|
2941
|
-
title: `Assets: ${(
|
|
2932
|
+
title: `Assets: ${(_g = skill.assetFiles) == null ? void 0 : _g.join(", ")}`,
|
|
2942
2933
|
children: [
|
|
2943
2934
|
/* @__PURE__ */ jsx(Package, { size: 12 }),
|
|
2944
|
-
/* @__PURE__ */ jsx("span", { children: ((
|
|
2935
|
+
/* @__PURE__ */ jsx("span", { children: ((_h = skill.assetFiles) == null ? void 0 : _h.length) || 0 })
|
|
2945
2936
|
]
|
|
2946
2937
|
}
|
|
2947
2938
|
)
|