@martinffx/atelier 1.2.0 → 1.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.1](https://github.com/martinffx/atelier/compare/v1.2.0...v1.2.1) (2026-05-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **cli:** correct skills directory path and add legacy config migration ([14f9611](https://github.com/martinffx/atelier/commit/14f9611bf4d8876844ef86ccc3fce55b203f2bed))
9
+ * register missing skills in marketplace.json ([06da766](https://github.com/martinffx/atelier/commit/06da76647ed7c6721a2bc283f9bbd1c212b08456))
10
+ * register missing skills in marketplace.json ([9f48099](https://github.com/martinffx/atelier/commit/9f48099e0be5de184c6200105e9b0b839fbcda1a))
11
+
3
12
  ## [1.2.0](https://github.com/martinffx/atelier/compare/v1.1.0...v1.2.0) (2026-05-23)
4
13
 
5
14
 
package/dist/atelier.js CHANGED
@@ -25704,8 +25704,7 @@ function deepMerge(target, source) {
25704
25704
  return result;
25705
25705
  }
25706
25706
  function writePluginJs(config, basePath) {
25707
- const skillsPath = config.skills_path || "~/.agents/skills/atelier";
25708
- const skillsDir = `${skillsPath}/atelier`;
25707
+ const skillsDir = config.skills_path || "~/.agents/skills";
25709
25708
  const plugin = `export default {
25710
25709
  config: {
25711
25710
  skillsDir: ${JSON.stringify(skillsDir)},
@@ -25747,13 +25746,12 @@ function writeCommandFiles(config, basePath) {
25747
25746
  } catch (err) {
25748
25747
  throw new FileWriteError(commandsDir, err instanceof Error ? err.message : String(err));
25749
25748
  }
25750
- let skillsBasePath = config.skills_path || "~/.agents/skills/atelier";
25751
- if (skillsBasePath.startsWith("~/")) {
25752
- skillsBasePath = join2(homedir(), skillsBasePath.slice(2));
25753
- } else if (!skillsBasePath.startsWith("/")) {
25754
- skillsBasePath = join2(process.cwd(), skillsBasePath);
25749
+ let skillsDir = config.skills_path || "~/.agents/skills";
25750
+ if (skillsDir.startsWith("~/")) {
25751
+ skillsDir = join2(homedir(), skillsDir.slice(2));
25752
+ } else if (!skillsDir.startsWith("/")) {
25753
+ skillsDir = join2(process.cwd(), skillsDir);
25755
25754
  }
25756
- const skillsDir = join2(skillsBasePath, "atelier");
25757
25755
  if (!existsSync3(skillsDir)) {
25758
25756
  return;
25759
25757
  }
@@ -29816,6 +29814,9 @@ function readConfig(path = CONFIG_PATH) {
29816
29814
  throw new InvalidConfigError(`Invalid JSON in ${path}: ${err instanceof Error ? err.message : String(err)}`);
29817
29815
  }
29818
29816
  const config = validateConfig(parsed);
29817
+ if (config.skills_path === "~/.agents/skills/atelier") {
29818
+ config.skills_path = "~/.agents/skills";
29819
+ }
29819
29820
  const known = new Set(["recon", "oracle", "architect"]);
29820
29821
  config.agents = config.agents.filter((a) => known.has(a.template));
29821
29822
  for (const name of known) {
@@ -29856,7 +29857,7 @@ function getDefaultConfig(harness, provider) {
29856
29857
  version: CURRENT_VERSION,
29857
29858
  harness,
29858
29859
  skills_source: "martinffx/atelier",
29859
- skills_path: "~/.agents/skills/atelier",
29860
+ skills_path: "~/.agents/skills",
29860
29861
  agents
29861
29862
  };
29862
29863
  if (harness === "opencode") {
@@ -29933,7 +29934,7 @@ function escapeShellArg(arg) {
29933
29934
  return `'${arg.replace(/'/g, "'\\''")}'`;
29934
29935
  }
29935
29936
  function writeHookScript(config, basePath) {
29936
- const skillsPath = config.skills_path || "~/.agents/skills/atelier";
29937
+ const skillsPath = config.skills_path || "~/.agents/skills";
29937
29938
  const safeSkillsPath = escapeShellArg(skillsPath);
29938
29939
  const script = `#!/bin/bash
29939
29940
  # Atelier session-start hook
@@ -29941,8 +29942,8 @@ function writeHookScript(config, basePath) {
29941
29942
 
29942
29943
  SKILLS_DIR=${safeSkillsPath}
29943
29944
 
29944
- if [ -d "$SKILLS_DIR/atelier" ]; then
29945
- echo '{"additionalContext": {"skillsDir": "'"$SKILLS_DIR"'/atelier"}}'
29945
+ if [ -d "$SKILLS_DIR" ]; then
29946
+ echo '{"additionalContext": {"skillsDir": "'"$SKILLS_DIR"'}}'
29946
29947
  else
29947
29948
  echo '{"additionalContext": {}}'
29948
29949
  fi
@@ -32560,7 +32561,7 @@ function isHarness(value) {
32560
32561
  return value === "claude" || value === "opencode";
32561
32562
  }
32562
32563
  function getSkillsPath(project) {
32563
- return project ? "./.agents/skills/atelier" : "~/.agents/skills/atelier";
32564
+ return project ? "./.agents/skills" : "~/.agents/skills";
32564
32565
  }
32565
32566
  function getConfigBasePath(options2) {
32566
32567
  return options2.cwd || (options2.project ? process.cwd() : homedir3());
@@ -32911,8 +32912,8 @@ Files to write:`);
32911
32912
  } else {
32912
32913
  generateOpenCode(config, harnessBasePath);
32913
32914
  }
32914
- console.log("Atelier updated.");
32915
- console.log("Skills not updated. Run `npx skills update martinffx/atelier` if needed.");
32915
+ console.log("Atelier updated (agents, hooks, and commands).");
32916
+ console.log("Skills are managed separately. Run `npx skills update martinffx/atelier` to update skills.");
32916
32917
  }
32917
32918
  function buildFileList2(config, basePath) {
32918
32919
  const files = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@martinffx/atelier",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Personal development toolkit - spec-driven development, code quality, deep thinking, and ecosystem patterns",
5
5
  "type": "module",
6
6
  "bin": {