rulesync 2.0.0 → 2.0.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/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![CI](https://github.com/dyoshikawa/rulesync/actions/workflows/ci.yml/badge.svg)](https://github.com/dyoshikawa/rulesync/actions/workflows/ci.yml)
4
4
  [![npm version](https://img.shields.io/npm/v/rulesync)](https://www.npmjs.com/package/rulesync)
5
5
  [![npm downloads](https://img.shields.io/npm/dt/rulesync)](https://www.npmjs.com/package/rulesync)
6
+ [![DeepWiki](https://img.shields.io/badge/DeepWiki-dyoshikawa%2Frulesync-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)](https://deepwiki.com/dyoshikawa/rulesync)
6
7
 
7
8
  A Node.js CLI tool that automatically generates configuration files for various AI development tools from unified AI rule files. Features selective generation, comprehensive import/export capabilities, and supports major AI development tools with rules, commands, MCP, ignore files, and subagents. Uses the recommended `.rulesync/rules/*.md` structure, with full backward compatibility for legacy `.rulesync/*.md` layouts.
8
9
 
@@ -73,8 +74,9 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
73
74
  | Windsurf | ✅ | ✅ | | | |
74
75
  | Warp | ✅ | | | | |
75
76
 
76
- 🌏: Supports global(means user scope) mode (Experimental Feature)
77
- 🎮: Simulated Commands/Subagents (Experimental Feature)
77
+ ✅: Supports project mode
78
+ 🌏: Supports global mode (Experimental Feature)
79
+ 🎮: Supports Simulated Commands/Subagents (Experimental Feature)
78
80
 
79
81
  ## Why Rulesync?
80
82
 
@@ -94,7 +96,7 @@ Avoid lock-in completely. If you decide to stop using Rulesync, you can continue
94
96
  Apply consistent rules across all AI tools, improving code quality and development experience for the entire team.
95
97
 
96
98
  ### 🌏 **Global Mode**
97
- You can use global(also, called as user scope) mode via Rulesync by enabling `--experimental-global` option.
99
+ You can use global mode via Rulesync by enabling `--experimental-global` option.
98
100
 
99
101
  ### 🎮 **Simulated Commands and Subagents**
100
102
  Simulated commands and subagents are experimental features that allow you to generate simulated commands and subagents for copilot, cursor and codexcli. This is useful for shortening your prompts.
@@ -279,7 +281,7 @@ credentials/
279
281
 
280
282
  ## Global Mode(Experimental Feature)
281
283
 
282
- You can use global(also, called as user scope) mode via Rulesync by enabling `--experimental-global` option.
284
+ You can use global mode via Rulesync by enabling `--experimental-global` option. It can also be called as user scope mode.
283
285
 
284
286
  Currently, only supports rules generation. Import for global files is still not supported.
285
287
 
package/dist/index.cjs CHANGED
@@ -1740,7 +1740,7 @@ var ClaudecodeIgnore = class _ClaudecodeIgnore extends ToolIgnore {
1740
1740
  ...existingJsonValue,
1741
1741
  permissions: {
1742
1742
  ...existingJsonValue.permissions,
1743
- deny: (0, import_es_toolkit.uniq)([...existingJsonValue.permissions?.deny ?? [], ...deniedValues].sort())
1743
+ deny: (0, import_es_toolkit.uniq)([...existingJsonValue.permissions?.deny ?? [], ...deniedValues].toSorted())
1744
1744
  }
1745
1745
  };
1746
1746
  return new _ClaudecodeIgnore({
@@ -6592,7 +6592,7 @@ globs: ["**/*"]
6592
6592
  }
6593
6593
 
6594
6594
  // src/cli/index.ts
6595
- var getVersion = () => "2.0.0";
6595
+ var getVersion = () => "2.0.1";
6596
6596
  var main = async () => {
6597
6597
  const program = new import_commander.Command();
6598
6598
  const version = getVersion();
package/dist/index.js CHANGED
@@ -1717,7 +1717,7 @@ var ClaudecodeIgnore = class _ClaudecodeIgnore extends ToolIgnore {
1717
1717
  ...existingJsonValue,
1718
1718
  permissions: {
1719
1719
  ...existingJsonValue.permissions,
1720
- deny: uniq([...existingJsonValue.permissions?.deny ?? [], ...deniedValues].sort())
1720
+ deny: uniq([...existingJsonValue.permissions?.deny ?? [], ...deniedValues].toSorted())
1721
1721
  }
1722
1722
  };
1723
1723
  return new _ClaudecodeIgnore({
@@ -6569,7 +6569,7 @@ globs: ["**/*"]
6569
6569
  }
6570
6570
 
6571
6571
  // src/cli/index.ts
6572
- var getVersion = () => "2.0.0";
6572
+ var getVersion = () => "2.0.1";
6573
6573
  var main = async () => {
6574
6574
  const program = new Command();
6575
6575
  const version = getVersion();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulesync",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Unified AI rules management CLI tool that generates configuration files for various AI development tools",
5
5
  "keywords": [
6
6
  "ai",
@@ -49,34 +49,34 @@
49
49
  "zod": "4.1.11"
50
50
  },
51
51
  "devDependencies": {
52
- "@anthropic-ai/claude-code": "1.0.124",
52
+ "@anthropic-ai/claude-agent-sdk": "0.1.1",
53
53
  "@biomejs/biome": "2.2.4",
54
54
  "@eslint/js": "9.36.0",
55
55
  "@secretlint/secretlint-rule-preset-recommend": "11.2.4",
56
56
  "@tsconfig/node24": "24.0.1",
57
57
  "@types/js-yaml": "4.0.9",
58
58
  "@types/micromatch": "4.0.9",
59
- "@types/node": "24.5.2",
60
- "@typescript/native-preview": "7.0.0-dev.20250924.1",
59
+ "@types/node": "24.6.1",
60
+ "@typescript/native-preview": "7.0.0-dev.20250930.1",
61
61
  "@vitest/coverage-v8": "3.2.4",
62
62
  "cspell": "9.2.1",
63
63
  "eslint": "9.36.0",
64
64
  "eslint-plugin-import": "2.32.0",
65
65
  "eslint-plugin-no-type-assertion": "1.3.0",
66
- "eslint-plugin-oxlint": "1.18.0",
67
- "eslint-plugin-strict-dependencies": "1.3.24",
66
+ "eslint-plugin-oxlint": "1.19.0",
67
+ "eslint-plugin-strict-dependencies": "1.3.26",
68
68
  "eslint-plugin-zod-import": "0.3.0",
69
- "knip": "5.64.0",
70
- "lint-staged": "16.2.0",
69
+ "knip": "5.64.1",
70
+ "lint-staged": "16.2.3",
71
71
  "o3-search-mcp": "0.0.9",
72
- "oxlint": "1.18.0",
72
+ "oxlint": "1.19.0",
73
73
  "secretlint": "11.2.4",
74
74
  "simple-git-hooks": "2.13.1",
75
75
  "sort-package-json": "3.4.0",
76
76
  "tsup": "8.5.0",
77
- "tsx": "4.20.5",
78
- "typescript": "5.9.2",
79
- "typescript-eslint": "8.44.1",
77
+ "tsx": "4.20.6",
78
+ "typescript": "5.9.3",
79
+ "typescript-eslint": "8.45.0",
80
80
  "vitest": "3.2.4"
81
81
  },
82
82
  "engines": {