@alanwang-merit/meritdata-platform-skill-package 1.0.8 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alanwang-merit/meritdata-platform-skill-package",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -13,9 +13,12 @@ if (nodeModulesIndex === -1) {
13
13
  const projectRoot = currentPackagePath.substring(0, nodeModulesIndex);
14
14
 
15
15
  // 3. 定义需要复制的目录映射
16
+ // 同时生成 .claude 和 .agents 两个目录,每个目录下都包含 skills 和 rules
16
17
  const copyMappings = [
17
18
  { source: 'skills', target: '.claude/skills' },
18
- { source: 'rules', target: '.claude/rules' }
19
+ { source: 'rules', target: '.claude/rules' },
20
+ { source: 'skills', target: '.agents/skills' },
21
+ { source: 'rules', target: '.agents/rules' }
19
22
  ];
20
23
 
21
24
  // 4. 递归复制文件夹的函数