@meltstudio/meltctl 5.16.0 → 5.17.0

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/index.js +10 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7450,7 +7450,7 @@ var CLI_VERSION;
7450
7450
  var init_version = __esm({
7451
7451
  "src/utils/version.ts"() {
7452
7452
  "use strict";
7453
- CLI_VERSION = "5.16.0";
7453
+ CLI_VERSION = "5.17.0";
7454
7454
  }
7455
7455
  });
7456
7456
 
@@ -42622,6 +42622,10 @@ async function getClient() {
42622
42622
  // src/commands/skills.ts
42623
42623
  var MARKER_FILE = ".melt-skills.json";
42624
42624
  function getSkillsRoot() {
42625
+ const configDir = process.env["CLAUDE_CONFIG_DIR"];
42626
+ if (configDir) {
42627
+ return path5.join(configDir, "skills");
42628
+ }
42625
42629
  return path5.join(os5.homedir(), ".claude", "skills");
42626
42630
  }
42627
42631
  function getSkillsRoots() {
@@ -42733,7 +42737,7 @@ async function skillsInstallCommand(opts) {
42733
42737
  );
42734
42738
  process.exit(1);
42735
42739
  }
42736
- const roots = getSkillsRoots();
42740
+ const roots = opts.path ? [path5.resolve(opts.path)] : getSkillsRoots();
42737
42741
  const stale = opts.force ? roots : roots.filter((root) => readMarker(root)?.version !== manifest.version);
42738
42742
  if (stale.length === 0) {
42739
42743
  console.log(
@@ -56052,7 +56056,7 @@ ${source_default.dim(" /melt-dev-security-audit Run a security posture audit
56052
56056
  ${source_default.dim(" /melt-dev-help Answer questions about the development playbook")}
56053
56057
 
56054
56058
  ${source_default.bold("Setup")}
56055
- ${source_default.dim(" skills install Install the dev skills (/melt-dev-*) into Claude Code (+ Cursor)")}
56059
+ ${source_default.dim(" skills install Install the dev skills (/melt-dev-*) into Claude Code (+ Cursor; respects CLAUDE_CONFIG_DIR, or --path <dir>)")}
56056
56060
 
56057
56061
  ${source_default.bold("Admin Commands")} ${source_default.dim("(used by skills and team managers):")}
56058
56062
  ${source_default.dim(" audit submit [file] Submit an audit report")}
@@ -56093,7 +56097,9 @@ program2.command("mcp").description(
56093
56097
  await mcpCommand();
56094
56098
  });
56095
56099
  var skills = program2.command("skills").description("install the Melt dev skills (/melt-dev-*) into Claude Code");
56096
- skills.command("install").description("install the Melt dev skills into ~/.claude/skills/ (re-run to update)").option("--force", "reinstall even if already up to date").action(async (options) => {
56100
+ skills.command("install").description(
56101
+ "install the Melt dev skills into ~/.claude/skills/ (re-run to update; respects CLAUDE_CONFIG_DIR)"
56102
+ ).option("--force", "reinstall even if already up to date").option("--path <dir>", "install into this directory only (overrides CLAUDE_CONFIG_DIR)").action(async (options) => {
56097
56103
  await skillsInstallCommand(options);
56098
56104
  });
56099
56105
  var project = program2.command("project").description("manage project configuration").addHelpText(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltstudio/meltctl",
3
- "version": "5.16.0",
3
+ "version": "5.17.0",
4
4
  "description": "AI-first development tooling for Melt teams — companion CLI for the org-distributed Claude Code dev skills",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",