rulesync 0.71.0 → 0.73.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 +4 -3
- package/dist/index.cjs +1 -8
- package/dist/index.js +1 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,7 @@ 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 | ✅ | | | | |
|
|
76
77
|
|
|
77
78
|
|
|
78
79
|
🎮: Simulated Commands/Subagents (Experimental Feature)
|
|
@@ -272,9 +273,9 @@ Simulated commands and subagents are experimental features that allow you to gen
|
|
|
272
273
|
|
|
273
274
|
1. Prepare `.rulesync/commands/*.md` and `.rulesync/subagents/*.md` for your purposes.
|
|
274
275
|
2. Generate simulated commands and subagents for specific tools that are included in copilot, cursor and codexcli.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
```bash
|
|
277
|
+
npx rulesync generate --targets copilot,cursor,codexcli --features commands,subagents --experimental-simulate-commands --experimental-simulate-subagents
|
|
278
|
+
```
|
|
278
279
|
3. Use simulated commands and subagents in your prompts.
|
|
279
280
|
- Prompt examples:
|
|
280
281
|
```txt
|
package/dist/index.cjs
CHANGED
|
@@ -5656,13 +5656,6 @@ async function importCommand(options) {
|
|
|
5656
5656
|
const config = await ConfigResolver.resolve(options);
|
|
5657
5657
|
logger.setVerbose(config.getVerbose());
|
|
5658
5658
|
const tool = config.getTargets()[0];
|
|
5659
|
-
const simulatedOnlyTools = ["copilot", "cursor", "codexcli"];
|
|
5660
|
-
if (simulatedOnlyTools.includes(tool)) {
|
|
5661
|
-
logger.error(
|
|
5662
|
-
`Cannot import ${tool}: it only supports generation (simulated commands/subagents)`
|
|
5663
|
-
);
|
|
5664
|
-
process.exit(1);
|
|
5665
|
-
}
|
|
5666
5659
|
let rulesCreated = 0;
|
|
5667
5660
|
if (config.getFeatures().includes("rules")) {
|
|
5668
5661
|
if (RulesProcessor.getToolTargets().includes(tool)) {
|
|
@@ -5836,7 +5829,7 @@ var getVersion = async () => {
|
|
|
5836
5829
|
const packageJson = await readJsonFile(packageJsonPath);
|
|
5837
5830
|
return packageJson.version;
|
|
5838
5831
|
} catch {
|
|
5839
|
-
return "0.
|
|
5832
|
+
return "0.73.0";
|
|
5840
5833
|
}
|
|
5841
5834
|
};
|
|
5842
5835
|
var main = async () => {
|
package/dist/index.js
CHANGED
|
@@ -5633,13 +5633,6 @@ async function importCommand(options) {
|
|
|
5633
5633
|
const config = await ConfigResolver.resolve(options);
|
|
5634
5634
|
logger.setVerbose(config.getVerbose());
|
|
5635
5635
|
const tool = config.getTargets()[0];
|
|
5636
|
-
const simulatedOnlyTools = ["copilot", "cursor", "codexcli"];
|
|
5637
|
-
if (simulatedOnlyTools.includes(tool)) {
|
|
5638
|
-
logger.error(
|
|
5639
|
-
`Cannot import ${tool}: it only supports generation (simulated commands/subagents)`
|
|
5640
|
-
);
|
|
5641
|
-
process.exit(1);
|
|
5642
|
-
}
|
|
5643
5636
|
let rulesCreated = 0;
|
|
5644
5637
|
if (config.getFeatures().includes("rules")) {
|
|
5645
5638
|
if (RulesProcessor.getToolTargets().includes(tool)) {
|
|
@@ -5812,7 +5805,7 @@ var getVersion = async () => {
|
|
|
5812
5805
|
const packageJson = await readJsonFile(packageJsonPath);
|
|
5813
5806
|
return packageJson.version;
|
|
5814
5807
|
} catch {
|
|
5815
|
-
return "0.
|
|
5808
|
+
return "0.73.0";
|
|
5816
5809
|
}
|
|
5817
5810
|
};
|
|
5818
5811
|
var main = async () => {
|