@iceinvein/agent-skills 0.1.18 → 0.1.19
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.
- package/dist/cli/index.js +7 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -922,8 +922,8 @@ async function promptActivation(skillName, modes) {
|
|
|
922
922
|
How should ${skillName} activate in Claude Code?
|
|
923
923
|
`);
|
|
924
924
|
const labels = {
|
|
925
|
-
session: `Per-session
|
|
926
|
-
global: "Global
|
|
925
|
+
session: `Per-session - invoke manually with /${skillName}`,
|
|
926
|
+
global: "Global - auto-activate every session (adds SessionStart hook)"
|
|
927
927
|
};
|
|
928
928
|
for (let i = 0;i < modes.length; i++) {
|
|
929
929
|
console.log(` ${i + 1}) ${labels[modes[i]]}`);
|
|
@@ -1132,7 +1132,11 @@ async function main() {
|
|
|
1132
1132
|
console.error(`Error: ${result.error}`);
|
|
1133
1133
|
process.exit(1);
|
|
1134
1134
|
}
|
|
1135
|
-
|
|
1135
|
+
if (result.from === result.to) {
|
|
1136
|
+
console.log(`\u2298 '${skillName}' is already up to date (v${result.to})`);
|
|
1137
|
+
} else {
|
|
1138
|
+
console.log(`\u2713 Updated '${skillName}' from v${result.from} to v${result.to}`);
|
|
1139
|
+
}
|
|
1136
1140
|
break;
|
|
1137
1141
|
}
|
|
1138
1142
|
case "list": {
|