rulesync 0.70.0 → 0.72.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 +37 -4
- package/dist/index.cjs +1622 -473
- package/dist/index.js +1613 -464
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -60,10 +60,10 @@ rulesync supports both **generation** and **import** for All of the major AI cod
|
|
|
60
60
|
|------------------------|:-----:|:------:|:-----:|:--------:|:---------:|
|
|
61
61
|
| AGENTS.md | ✅ | | | | |
|
|
62
62
|
| Claude Code | ✅ | | ✅ | ✅ | ✅ |
|
|
63
|
-
| Codex CLI | ✅ | ✅ | |
|
|
63
|
+
| Codex CLI | ✅ | ✅ | | 🎮 | 🎮 |
|
|
64
64
|
| Gemini CLI | ✅ | ✅ | | ✅ | |
|
|
65
|
-
| GitHub Copilot | ✅ | | ✅ |
|
|
66
|
-
| Cursor | ✅ | ✅ | ✅ |
|
|
65
|
+
| GitHub Copilot | ✅ | | ✅ | 🎮 | 🎮 |
|
|
66
|
+
| Cursor | ✅ | ✅ | ✅ | 🎮 | 🎮 |
|
|
67
67
|
| OpenCode | ✅ | | | | |
|
|
68
68
|
| Cline | ✅ | ✅ | ✅ | | |
|
|
69
69
|
| Roo Code | ✅ | ✅ | ✅ | ✅ | |
|
|
@@ -73,6 +73,10 @@ rulesync supports both **generation** and **import** for All of the major AI cod
|
|
|
73
73
|
| JetBrains Junie | ✅ | ✅ | | | |
|
|
74
74
|
| AugmentCode | ✅ | ✅ | | | |
|
|
75
75
|
| Windsurf | ✅ | ✅ | | | |
|
|
76
|
+
| Warp | ✅ | | | | |
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
🎮: Simulated Commands/Subagents (Experimental Feature)
|
|
76
80
|
|
|
77
81
|
## Why rulesync?
|
|
78
82
|
|
|
@@ -91,6 +95,9 @@ Avoid lock-in completely. If you decide to stop using rulesync, you can continue
|
|
|
91
95
|
### 🎯 **Consistency Across Tools**
|
|
92
96
|
Apply consistent rules across all AI tools, improving code quality and development experience for the entire team.
|
|
93
97
|
|
|
98
|
+
### 🎮 **Simulated Commands and Subagents**
|
|
99
|
+
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.
|
|
100
|
+
|
|
94
101
|
## Quick Commands
|
|
95
102
|
|
|
96
103
|
```bash
|
|
@@ -110,6 +117,9 @@ npx rulesync generate --targets claudecode --features rules,subagents
|
|
|
110
117
|
# Generate only rules (no MCP, ignore files, commands, or subagents)
|
|
111
118
|
npx rulesync generate --targets "*" --features rules
|
|
112
119
|
|
|
120
|
+
# Generate simulated commands and subagents with experimental features
|
|
121
|
+
npx rulesync generate --targets copilot,cursor,codexcli --features commands,subagents --experimental-simulate-commands --experimental-simulate-subagents
|
|
122
|
+
|
|
113
123
|
# Add generated files to .gitignore
|
|
114
124
|
npx rulesync gitignore
|
|
115
125
|
```
|
|
@@ -136,7 +146,11 @@ Example:
|
|
|
136
146
|
"delete": true,
|
|
137
147
|
|
|
138
148
|
// Verbose output
|
|
139
|
-
"verbose": false
|
|
149
|
+
"verbose": false,
|
|
150
|
+
|
|
151
|
+
// Experimental features
|
|
152
|
+
"experimentalSimulateCommands": false,
|
|
153
|
+
"experimentalSimulateSubagents": false
|
|
140
154
|
}
|
|
141
155
|
```
|
|
142
156
|
|
|
@@ -253,6 +267,25 @@ tmp/
|
|
|
253
267
|
credentials/
|
|
254
268
|
```
|
|
255
269
|
|
|
270
|
+
## Simulate Commands and Subagents
|
|
271
|
+
|
|
272
|
+
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.
|
|
273
|
+
|
|
274
|
+
1. Prepare `.rulesync/commands/*.md` and `.rulesync/subagents/*.md` for your purposes.
|
|
275
|
+
2. Generate simulated commands and subagents for specific tools that are included in copilot, cursor and codexcli.
|
|
276
|
+
```bash
|
|
277
|
+
npx rulesync generate --targets copilot,cursor,codexcli --features commands,subagents --experimental-simulate-commands --experimental-simulate-subagents
|
|
278
|
+
```
|
|
279
|
+
3. Use simulated commands and subagents in your prompts.
|
|
280
|
+
- Prompt examples:
|
|
281
|
+
```txt
|
|
282
|
+
# Execute simulated commands. By the way, `s/` stands for `simulate/`.
|
|
283
|
+
s/your-command
|
|
284
|
+
|
|
285
|
+
# Execute simulated subagents
|
|
286
|
+
Call your-subagent to achieve something.
|
|
287
|
+
```
|
|
288
|
+
|
|
256
289
|
## License
|
|
257
290
|
|
|
258
291
|
MIT License
|