rulesync 3.25.0 → 3.26.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.
package/README.md CHANGED
@@ -148,7 +148,7 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
148
148
  | Qwen Code | ✅ | ✅ | | | | |
149
149
  | Kiro IDE | ✅ | ✅ | | | | |
150
150
  | Amazon Q Developer CLI | ✅ | | ✅ | | | |
151
- | JetBrains Junie | ✅ | ✅ | | | | |
151
+ | JetBrains Junie | ✅ | ✅ || | | |
152
152
  | AugmentCode | ✅ | ✅ | | | | |
153
153
  | Windsurf | ✅ | ✅ | | | | |
154
154
  | Warp | ✅ | | | | | |
package/dist/index.cjs CHANGED
@@ -1731,11 +1731,11 @@ var CommandsProcessor = class extends FeatureProcessor {
1731
1731
  const rulesyncCommandPaths = await findFilesByGlobs(
1732
1732
  (0, import_node_path14.join)(RulesyncCommand.getSettablePaths().relativeDirPath, "*.md")
1733
1733
  );
1734
- const rulesyncCommands = (await Promise.allSettled(
1734
+ const rulesyncCommands = await Promise.all(
1735
1735
  rulesyncCommandPaths.map(
1736
1736
  (path3) => RulesyncCommand.fromFile({ relativeFilePath: (0, import_node_path14.basename)(path3) })
1737
1737
  )
1738
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
1738
+ );
1739
1739
  logger.info(`Successfully loaded ${rulesyncCommands.length} rulesync commands`);
1740
1740
  return rulesyncCommands;
1741
1741
  }
@@ -1773,7 +1773,7 @@ var CommandsProcessor = class extends FeatureProcessor {
1773
1773
  const commandFilePaths = await findFilesByGlobs(
1774
1774
  (0, import_node_path14.join)(this.baseDir, relativeDirPath, `*.${extension}`)
1775
1775
  );
1776
- const toolCommands = (await Promise.allSettled(
1776
+ const toolCommands = await Promise.all(
1777
1777
  commandFilePaths.map((path3) => {
1778
1778
  switch (toolTarget) {
1779
1779
  case "agentsmd":
@@ -1819,7 +1819,7 @@ var CommandsProcessor = class extends FeatureProcessor {
1819
1819
  throw new Error(`Unsupported tool target: ${toolTarget}`);
1820
1820
  }
1821
1821
  })
1822
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
1822
+ );
1823
1823
  logger.info(`Successfully loaded ${toolCommands.length} ${relativeDirPath} commands`);
1824
1824
  return toolCommands;
1825
1825
  }
@@ -5030,17 +5030,11 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5030
5030
  const rulesyncSkillsDirPath = (0, import_node_path49.join)(this.baseDir, paths.relativeDirPath);
5031
5031
  const dirPaths = await findFilesByGlobs((0, import_node_path49.join)(rulesyncSkillsDirPath, "*"), { type: "dir" });
5032
5032
  const dirNames = dirPaths.map((path3) => (0, import_node_path49.basename)(path3));
5033
- const results = await Promise.allSettled(
5033
+ const rulesyncSkills = await Promise.all(
5034
5034
  dirNames.map(
5035
5035
  (dirName) => RulesyncSkill.fromDir({ baseDir: this.baseDir, dirName, global: this.global })
5036
5036
  )
5037
5037
  );
5038
- const rulesyncSkills = [];
5039
- for (const result of results) {
5040
- if (result.status === "fulfilled") {
5041
- rulesyncSkills.push(result.value);
5042
- }
5043
- }
5044
5038
  logger.info(`Successfully loaded ${rulesyncSkills.length} rulesync skills`);
5045
5039
  return rulesyncSkills;
5046
5040
  }
@@ -5077,7 +5071,7 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5077
5071
  const skillsDirPath = (0, import_node_path49.join)(this.baseDir, paths.relativeDirPath);
5078
5072
  const dirPaths = await findFilesByGlobs((0, import_node_path49.join)(skillsDirPath, "*"), { type: "dir" });
5079
5073
  const dirNames = dirPaths.map((path3) => (0, import_node_path49.basename)(path3));
5080
- const toolSkills = (await Promise.allSettled(
5074
+ const toolSkills = await Promise.all(
5081
5075
  dirNames.map(
5082
5076
  (dirName) => ClaudecodeSkill.fromDir({
5083
5077
  baseDir: this.baseDir,
@@ -5085,7 +5079,7 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5085
5079
  global: this.global
5086
5080
  })
5087
5081
  )
5088
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
5082
+ );
5089
5083
  logger.info(`Successfully loaded ${toolSkills.length} ${paths.relativeDirPath} skills`);
5090
5084
  return toolSkills;
5091
5085
  }
@@ -5097,14 +5091,14 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5097
5091
  const skillsDirPath = (0, import_node_path49.join)(this.baseDir, paths.relativeDirPath);
5098
5092
  const dirPaths = await findFilesByGlobs((0, import_node_path49.join)(skillsDirPath, "*"), { type: "dir" });
5099
5093
  const dirNames = dirPaths.map((path3) => (0, import_node_path49.basename)(path3));
5100
- const toolSkills = (await Promise.allSettled(
5094
+ const toolSkills = await Promise.all(
5101
5095
  dirNames.map(
5102
5096
  (dirName) => SkillClass.fromDir({
5103
5097
  baseDir: this.baseDir,
5104
5098
  dirName
5105
5099
  })
5106
5100
  )
5107
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
5101
+ );
5108
5102
  logger.info(`Successfully loaded ${toolSkills.length} ${paths.relativeDirPath} skills`);
5109
5103
  return toolSkills;
5110
5104
  }
@@ -5902,7 +5896,7 @@ var SubagentsProcessor = class extends FeatureProcessor {
5902
5896
  fromFile
5903
5897
  }) {
5904
5898
  const paths = await findFilesByGlobs((0, import_node_path59.join)(this.baseDir, relativeDirPath, "*.md"));
5905
- const subagents = (await Promise.allSettled(paths.map((path3) => fromFile((0, import_node_path59.basename)(path3))))).filter((r) => r.status === "fulfilled").map((r) => r.value);
5899
+ const subagents = await Promise.all(paths.map((path3) => fromFile((0, import_node_path59.basename)(path3))));
5906
5900
  logger.info(`Successfully loaded ${subagents.length} ${relativeDirPath} subagents`);
5907
5901
  return subagents;
5908
5902
  }
@@ -8748,6 +8742,7 @@ var gitignoreCommand = async () => {
8748
8742
  "**/.vscode/mcp.json",
8749
8743
  // Junie
8750
8744
  "**/.junie/guidelines.md",
8745
+ "**/.junie/mcp.json",
8751
8746
  // Kiro
8752
8747
  "**/.kiro/steering/",
8753
8748
  "**/.aiignore",
@@ -9968,7 +9963,7 @@ async function mcpCommand({ version }) {
9968
9963
  }
9969
9964
 
9970
9965
  // src/cli/index.ts
9971
- var getVersion = () => "3.25.0";
9966
+ var getVersion = () => "3.26.0";
9972
9967
  var main = async () => {
9973
9968
  const program = new import_commander.Command();
9974
9969
  const version = getVersion();
package/dist/index.js CHANGED
@@ -1708,11 +1708,11 @@ var CommandsProcessor = class extends FeatureProcessor {
1708
1708
  const rulesyncCommandPaths = await findFilesByGlobs(
1709
1709
  join12(RulesyncCommand.getSettablePaths().relativeDirPath, "*.md")
1710
1710
  );
1711
- const rulesyncCommands = (await Promise.allSettled(
1711
+ const rulesyncCommands = await Promise.all(
1712
1712
  rulesyncCommandPaths.map(
1713
1713
  (path3) => RulesyncCommand.fromFile({ relativeFilePath: basename11(path3) })
1714
1714
  )
1715
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
1715
+ );
1716
1716
  logger.info(`Successfully loaded ${rulesyncCommands.length} rulesync commands`);
1717
1717
  return rulesyncCommands;
1718
1718
  }
@@ -1750,7 +1750,7 @@ var CommandsProcessor = class extends FeatureProcessor {
1750
1750
  const commandFilePaths = await findFilesByGlobs(
1751
1751
  join12(this.baseDir, relativeDirPath, `*.${extension}`)
1752
1752
  );
1753
- const toolCommands = (await Promise.allSettled(
1753
+ const toolCommands = await Promise.all(
1754
1754
  commandFilePaths.map((path3) => {
1755
1755
  switch (toolTarget) {
1756
1756
  case "agentsmd":
@@ -1796,7 +1796,7 @@ var CommandsProcessor = class extends FeatureProcessor {
1796
1796
  throw new Error(`Unsupported tool target: ${toolTarget}`);
1797
1797
  }
1798
1798
  })
1799
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
1799
+ );
1800
1800
  logger.info(`Successfully loaded ${toolCommands.length} ${relativeDirPath} commands`);
1801
1801
  return toolCommands;
1802
1802
  }
@@ -5007,17 +5007,11 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5007
5007
  const rulesyncSkillsDirPath = join47(this.baseDir, paths.relativeDirPath);
5008
5008
  const dirPaths = await findFilesByGlobs(join47(rulesyncSkillsDirPath, "*"), { type: "dir" });
5009
5009
  const dirNames = dirPaths.map((path3) => basename13(path3));
5010
- const results = await Promise.allSettled(
5010
+ const rulesyncSkills = await Promise.all(
5011
5011
  dirNames.map(
5012
5012
  (dirName) => RulesyncSkill.fromDir({ baseDir: this.baseDir, dirName, global: this.global })
5013
5013
  )
5014
5014
  );
5015
- const rulesyncSkills = [];
5016
- for (const result of results) {
5017
- if (result.status === "fulfilled") {
5018
- rulesyncSkills.push(result.value);
5019
- }
5020
- }
5021
5015
  logger.info(`Successfully loaded ${rulesyncSkills.length} rulesync skills`);
5022
5016
  return rulesyncSkills;
5023
5017
  }
@@ -5054,7 +5048,7 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5054
5048
  const skillsDirPath = join47(this.baseDir, paths.relativeDirPath);
5055
5049
  const dirPaths = await findFilesByGlobs(join47(skillsDirPath, "*"), { type: "dir" });
5056
5050
  const dirNames = dirPaths.map((path3) => basename13(path3));
5057
- const toolSkills = (await Promise.allSettled(
5051
+ const toolSkills = await Promise.all(
5058
5052
  dirNames.map(
5059
5053
  (dirName) => ClaudecodeSkill.fromDir({
5060
5054
  baseDir: this.baseDir,
@@ -5062,7 +5056,7 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5062
5056
  global: this.global
5063
5057
  })
5064
5058
  )
5065
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
5059
+ );
5066
5060
  logger.info(`Successfully loaded ${toolSkills.length} ${paths.relativeDirPath} skills`);
5067
5061
  return toolSkills;
5068
5062
  }
@@ -5074,14 +5068,14 @@ var SkillsProcessor = class extends DirFeatureProcessor {
5074
5068
  const skillsDirPath = join47(this.baseDir, paths.relativeDirPath);
5075
5069
  const dirPaths = await findFilesByGlobs(join47(skillsDirPath, "*"), { type: "dir" });
5076
5070
  const dirNames = dirPaths.map((path3) => basename13(path3));
5077
- const toolSkills = (await Promise.allSettled(
5071
+ const toolSkills = await Promise.all(
5078
5072
  dirNames.map(
5079
5073
  (dirName) => SkillClass.fromDir({
5080
5074
  baseDir: this.baseDir,
5081
5075
  dirName
5082
5076
  })
5083
5077
  )
5084
- )).filter((result) => result.status === "fulfilled").map((result) => result.value);
5078
+ );
5085
5079
  logger.info(`Successfully loaded ${toolSkills.length} ${paths.relativeDirPath} skills`);
5086
5080
  return toolSkills;
5087
5081
  }
@@ -5879,7 +5873,7 @@ var SubagentsProcessor = class extends FeatureProcessor {
5879
5873
  fromFile
5880
5874
  }) {
5881
5875
  const paths = await findFilesByGlobs(join57(this.baseDir, relativeDirPath, "*.md"));
5882
- const subagents = (await Promise.allSettled(paths.map((path3) => fromFile(basename16(path3))))).filter((r) => r.status === "fulfilled").map((r) => r.value);
5876
+ const subagents = await Promise.all(paths.map((path3) => fromFile(basename16(path3))));
5883
5877
  logger.info(`Successfully loaded ${subagents.length} ${relativeDirPath} subagents`);
5884
5878
  return subagents;
5885
5879
  }
@@ -8725,6 +8719,7 @@ var gitignoreCommand = async () => {
8725
8719
  "**/.vscode/mcp.json",
8726
8720
  // Junie
8727
8721
  "**/.junie/guidelines.md",
8722
+ "**/.junie/mcp.json",
8728
8723
  // Kiro
8729
8724
  "**/.kiro/steering/",
8730
8725
  "**/.aiignore",
@@ -9945,7 +9940,7 @@ async function mcpCommand({ version }) {
9945
9940
  }
9946
9941
 
9947
9942
  // src/cli/index.ts
9948
- var getVersion = () => "3.25.0";
9943
+ var getVersion = () => "3.26.0";
9949
9944
  var main = async () => {
9950
9945
  const program = new Command();
9951
9946
  const version = getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "3.25.0",
3
+ "version": "3.26.0",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",