rulesync 7.2.0 → 7.3.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 +50 -25
- package/dist/chunk-NRNUPCXY.js +15081 -0
- package/dist/cli/index.cjs +18933 -0
- package/dist/cli/index.d.cts +1 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +3955 -0
- package/dist/index.cjs +2009 -5649
- package/dist/index.d.cts +274 -1
- package/dist/index.d.ts +274 -1
- package/dist/index.js +35 -18690
- package/package.json +17 -5
package/README.md
CHANGED
|
@@ -149,33 +149,34 @@ rulesync generate --targets "*" --features "*"
|
|
|
149
149
|
|
|
150
150
|
Rulesync supports both **generation** and **import** for All of the major AI coding tools:
|
|
151
151
|
|
|
152
|
-
| Tool | rules | ignore | mcp | commands | subagents | skills | hooks |
|
|
153
|
-
| ------------------ | :---: | :----: | :---: | :------: | :-------: | :----: | :---: |
|
|
154
|
-
| AGENTS.md | ✅ | | | 🎮 | 🎮 | 🎮 | |
|
|
155
|
-
| AgentsSkills | | | | | | ✅ | |
|
|
156
|
-
| Claude Code | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ |
|
|
157
|
-
| Codex CLI | ✅ 🌏 | |
|
|
158
|
-
| Gemini CLI | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | 🎮 | ✅ 🌏 | |
|
|
159
|
-
| GitHub Copilot | ✅ | | ✅ | ✅ | ✅ | ✅ | |
|
|
160
|
-
| Cursor | ✅ | ✅ | ✅ | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ |
|
|
161
|
-
| Factory Droid | ✅ 🌏 | | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | |
|
|
162
|
-
| OpenCode | ✅ | |
|
|
163
|
-
| Cline | ✅ | ✅ | ✅ | ✅ 🌏 | | | |
|
|
164
|
-
| Kilo Code | ✅ 🌏 | ✅ | ✅ | ✅ 🌏 | | ✅ 🌏 | |
|
|
165
|
-
| Roo Code | ✅ | ✅ | ✅ | ✅ | 🎮 | ✅ 🌏 | |
|
|
166
|
-
| Qwen Code | ✅ | ✅ | | | | | |
|
|
167
|
-
| Kiro | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
|
|
168
|
-
| Google Antigravity | ✅ | | | ✅ | | ✅ 🌏 | |
|
|
169
|
-
| JetBrains Junie | ✅ | ✅ | ✅ | | | | |
|
|
170
|
-
| AugmentCode | ✅ | ✅ | | | | | |
|
|
171
|
-
| Windsurf | ✅ | ✅ | | | | | |
|
|
172
|
-
| Warp | ✅ | | | | | | |
|
|
173
|
-
| Replit | ✅ | | | | | ✅ | |
|
|
174
|
-
| Zed | | ✅ | | | | | |
|
|
152
|
+
| Tool | --targets | rules | ignore | mcp | commands | subagents | skills | hooks |
|
|
153
|
+
| ------------------ | ------------ | :---: | :----: | :---: | :------: | :-------: | :----: | :---: |
|
|
154
|
+
| AGENTS.md | agentsmd | ✅ | | | 🎮 | 🎮 | 🎮 | |
|
|
155
|
+
| AgentsSkills | agentsskills | | | | | | ✅ | |
|
|
156
|
+
| Claude Code | claudecode | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ |
|
|
157
|
+
| Codex CLI | codexcli | ✅ 🌏 | | 🌏 🔧 | 🌏 | 🎮 | ✅ 🌏 | |
|
|
158
|
+
| Gemini CLI | geminicli | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | 🎮 | ✅ 🌏 | |
|
|
159
|
+
| GitHub Copilot | copilot | ✅ | | ✅ | ✅ | ✅ | ✅ | |
|
|
160
|
+
| Cursor | cursor | ✅ | ✅ | ✅ | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ |
|
|
161
|
+
| Factory Droid | factorydroid | ✅ 🌏 | | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | |
|
|
162
|
+
| OpenCode | opencode | ✅ | | ✅ 🔧 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
|
|
163
|
+
| Cline | cline | ✅ | ✅ | ✅ | ✅ 🌏 | | | |
|
|
164
|
+
| Kilo Code | kilo | ✅ 🌏 | ✅ | ✅ | ✅ 🌏 | | ✅ 🌏 | |
|
|
165
|
+
| Roo Code | roo | ✅ | ✅ | ✅ | ✅ | 🎮 | ✅ 🌏 | |
|
|
166
|
+
| Qwen Code | qwencode | ✅ | ✅ | | | | | |
|
|
167
|
+
| Kiro | kiro | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
|
|
168
|
+
| Google Antigravity | antigravity | ✅ | | | ✅ | | ✅ 🌏 | |
|
|
169
|
+
| JetBrains Junie | junie | ✅ | ✅ | ✅ | | | | |
|
|
170
|
+
| AugmentCode | augmentcode | ✅ | ✅ | | | | | |
|
|
171
|
+
| Windsurf | windsurf | ✅ | ✅ | | | | | |
|
|
172
|
+
| Warp | warp | ✅ | | | | | | |
|
|
173
|
+
| Replit | replit | ✅ | | | | | ✅ | |
|
|
174
|
+
| Zed | zed | | ✅ | | | | | |
|
|
175
175
|
|
|
176
176
|
- ✅: Supports project mode
|
|
177
177
|
- 🌏: Supports global mode
|
|
178
178
|
- 🎮: Supports simulated commands/subagents/skills (Project mode only)
|
|
179
|
+
- 🔧: Supports MCP tool config (`enabledTools`/`disabledTools`)
|
|
179
180
|
|
|
180
181
|
## Why Rulesync?
|
|
181
182
|
|
|
@@ -544,7 +545,10 @@ Example:
|
|
|
544
545
|
"claudecode": {
|
|
545
546
|
"hooks": {
|
|
546
547
|
"notification": [
|
|
547
|
-
{
|
|
548
|
+
{
|
|
549
|
+
"matcher": "permission_prompt",
|
|
550
|
+
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/notify.sh"
|
|
551
|
+
}
|
|
548
552
|
]
|
|
549
553
|
}
|
|
550
554
|
},
|
|
@@ -598,7 +602,7 @@ copilot: # for GitHub Copilot specific parameters
|
|
|
598
602
|
tools:
|
|
599
603
|
- web/fetch # agent/runSubagent is always included automatically
|
|
600
604
|
opencode: # for OpenCode-specific parameters
|
|
601
|
-
mode: subagent #
|
|
605
|
+
mode: subagent # (optional, defaults to "subagent") OpenCode agent mode
|
|
602
606
|
model: anthropic/claude-sonnet-4-20250514
|
|
603
607
|
temperature: 0.1
|
|
604
608
|
tools:
|
|
@@ -687,6 +691,27 @@ Example:
|
|
|
687
691
|
}
|
|
688
692
|
```
|
|
689
693
|
|
|
694
|
+
#### MCP Tool Config (`enabledTools` / `disabledTools`)
|
|
695
|
+
|
|
696
|
+
You can control which individual tools from an MCP server are enabled or disabled using `enabledTools` and `disabledTools` arrays per server.
|
|
697
|
+
|
|
698
|
+
```json
|
|
699
|
+
{
|
|
700
|
+
"mcpServers": {
|
|
701
|
+
"serena": {
|
|
702
|
+
"type": "stdio",
|
|
703
|
+
"command": "uvx",
|
|
704
|
+
"args": ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server"],
|
|
705
|
+
"enabledTools": ["search_symbols", "find_references"],
|
|
706
|
+
"disabledTools": ["rename_symbol"]
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
```
|
|
711
|
+
|
|
712
|
+
- `enabledTools`: An array of tool names that should be explicitly enabled for this server.
|
|
713
|
+
- `disabledTools`: An array of tool names that should be explicitly disabled for this server.
|
|
714
|
+
|
|
690
715
|
### `.rulesync/.aiignore` or `.rulesyncignore`
|
|
691
716
|
|
|
692
717
|
Rulesync supports a single ignore list that can live in either location below:
|