rulesync 4.1.0 → 4.2.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 +19 -5
- package/dist/index.cjs +639 -346
- package/dist/index.js +638 -345
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -132,9 +132,9 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
|
|
|
132
132
|
| Claude Code | ✅ 🌏 | ✅ | ✅ 🌏 📦 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
|
|
133
133
|
| Codex CLI | ✅ 🌏 | | 🌏 | 🌏 | 🎮 | 🌏 |
|
|
134
134
|
| Gemini CLI | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | 🎮 | 🎮 |
|
|
135
|
-
| GitHub Copilot | ✅ | | ✅ | ✅ |
|
|
135
|
+
| GitHub Copilot | ✅ | | ✅ | ✅ | ✅ | ✅ |
|
|
136
136
|
| Cursor | ✅ | ✅ | ✅ | ✅ 🌏 | 🎮 | 🎮 |
|
|
137
|
-
| OpenCode | ✅ | | ✅ | ✅ 🌏 |
|
|
137
|
+
| OpenCode | ✅ | | ✅ | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
|
|
138
138
|
| Cline | ✅ | ✅ | ✅ | | | |
|
|
139
139
|
| Roo Code | ✅ | ✅ | ✅ | ✅ | 🎮 | |
|
|
140
140
|
| Qwen Code | ✅ | ✅ | | | | |
|
|
@@ -172,7 +172,7 @@ Apply consistent rules across all AI tools, improving code quality and developme
|
|
|
172
172
|
You can use global mode via Rulesync by enabling `--global` option.
|
|
173
173
|
|
|
174
174
|
### 🎮 **Simulate Commands and Subagents**
|
|
175
|
-
Simulated commands and subagents allow you to generate simulated commands and subagents for
|
|
175
|
+
Simulated commands and subagents allow you to generate simulated commands and subagents for cursor and codexcli. This is useful for shortening your prompts.
|
|
176
176
|
|
|
177
177
|
## Case Studies
|
|
178
178
|
|
|
@@ -358,6 +358,20 @@ description: >- # subagent description
|
|
|
358
358
|
fix a bug. This agent can be called by the user explicitly only.
|
|
359
359
|
claudecode: # for claudecode-specific parameters
|
|
360
360
|
model: inherit # opus, sonnet, haiku or inherit
|
|
361
|
+
copilot: # for GitHub Copilot specific parameters
|
|
362
|
+
tools:
|
|
363
|
+
- web/fetch # agent/runSubagent is always included automatically
|
|
364
|
+
opencode: # for OpenCode-specific parameters
|
|
365
|
+
mode: subagent # must be set so OpenCode treats the agent as a subagent
|
|
366
|
+
model: anthropic/claude-sonnet-4-20250514
|
|
367
|
+
temperature: 0.1
|
|
368
|
+
tools:
|
|
369
|
+
write: false
|
|
370
|
+
edit: false
|
|
371
|
+
bash: false
|
|
372
|
+
permission:
|
|
373
|
+
bash:
|
|
374
|
+
"git diff": allow
|
|
361
375
|
---
|
|
362
376
|
|
|
363
377
|
You are the planner for any tasks.
|
|
@@ -503,10 +517,10 @@ Currently, supports rules and commands generation for Claude Code. Import for gl
|
|
|
503
517
|
|
|
504
518
|
## Simulate Commands, Subagents and Skills
|
|
505
519
|
|
|
506
|
-
Simulated commands, subagents and skills allow you to generate simulated features for
|
|
520
|
+
Simulated commands, subagents and skills allow you to generate simulated features for cursor, codexcli and etc. This is useful for shortening your prompts.
|
|
507
521
|
|
|
508
522
|
1. Prepare `.rulesync/commands/*.md`, `.rulesync/subagents/*.md` and `.rulesync/skills/*/SKILL.md` for your purposes.
|
|
509
|
-
2. Generate simulated commands, subagents and skills for specific tools that are included in
|
|
523
|
+
2. Generate simulated commands, subagents and skills for specific tools that are included in cursor, codexcli and etc.
|
|
510
524
|
```bash
|
|
511
525
|
npx rulesync generate \
|
|
512
526
|
--targets copilot,cursor,codexcli \
|