@playlist-tech/enterprise-skills 1.5.7-enterprise.2 → 1.5.7-enterprise.4

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +11 -6
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -3013,7 +3013,7 @@ async function tryBlobInstall(ownerRepo, options = {}) {
3013
3013
  tree
3014
3014
  };
3015
3015
  }
3016
- var version$1 = "1.5.7-enterprise.2";
3016
+ var version$1 = "1.5.7-enterprise.4";
3017
3017
  const isCancelled$1 = (value) => typeof value === "symbol";
3018
3018
  async function getSourceVisibility(source) {
3019
3019
  const ownerRepo = parseOwnerRepo(source);
@@ -3881,21 +3881,23 @@ async function runAdd(args, options = {}) {
3881
3881
  });
3882
3882
  }
3883
3883
  spinner.stop("Installation complete");
3884
+ let hooksWired = false;
3884
3885
  for (const skill of selectedSkills) {
3885
3886
  const skillName = getSkillDisplayName(skill);
3886
3887
  const skillRef = ownerRepoRaw ? `${ownerRepoRaw}/${skillName}` : skillName;
3887
3888
  for (const agentName of targetAgents) try {
3888
- await wireUserPromptHook({
3889
+ if (await wireUserPromptHook({
3889
3890
  skillName,
3890
3891
  skillRef,
3891
3892
  agent: agentName
3892
- });
3893
+ })) hooksWired = true;
3893
3894
  } catch {}
3894
3895
  try {
3895
3896
  if (installGlobally) await addHookRef(skillRef, { global: true });
3896
3897
  else await addHookRef(skillRef, { projectPath: process.cwd() });
3897
3898
  } catch {}
3898
3899
  }
3900
+ if (hooksWired) console.log("Hooks were written as part of install — you may need to trust them and restart your AI tools before they take effect.");
3899
3901
  console.log();
3900
3902
  const successful = results.filter((r) => r.success);
3901
3903
  const failed = results.filter((r) => !r.success);
@@ -3913,7 +3915,8 @@ async function runAdd(args, options = {}) {
3913
3915
  skills: selectedSkills.map((s) => s.name).join(","),
3914
3916
  agents: targetAgents.join(","),
3915
3917
  ...installGlobally && { global: "1" },
3916
- skillFiles: JSON.stringify(skillFiles)
3918
+ skillFiles: JSON.stringify(skillFiles),
3919
+ sourceType: parsed.type
3917
3920
  });
3918
3921
  }
3919
3922
  if (successful.length > 0 && installGlobally && normalizedSource) {
@@ -5834,8 +5837,10 @@ async function runSetup() {
5834
5837
  console.log("Install Claude Code, Cursor, Codex, or GitHub Copilot and re-run skills setup.");
5835
5838
  return;
5836
5839
  }
5837
- if (configured > 0) console.log(`\nDone. ${configured} tool(s) configured, ${skipped} already set up.`);
5838
- else console.log("\nAll tools already set up.");
5840
+ if (configured > 0) {
5841
+ console.log(`\nDone. ${configured} tool(s) configured, ${skipped} already set up.`);
5842
+ console.log("Hooks were written as part of setup — you may need to trust them and restart your AI tools before they take effect.");
5843
+ } else console.log("\nAll tools already set up.");
5839
5844
  }
5840
5845
  async function runHooksRepair() {
5841
5846
  const home = homedir();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playlist-tech/enterprise-skills",
3
- "version": "1.5.7-enterprise.2",
3
+ "version": "1.5.7-enterprise.4",
4
4
  "description": "An enterprise-customizable fork of Vercel Labs' skills CLI for internal skill registries.",
5
5
  "type": "module",
6
6
  "bin": {