rulesync 0.64.0 → 0.65.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 +7 -1
- package/dist/{amazonqcli-WVGYACHI.js → amazonqcli-MW7XTVPN.js} +2 -2
- package/dist/{augmentcode-DTHPPXWO.js → augmentcode-WCZCL7VR.js} +2 -2
- package/dist/{chunk-KKWJVA56.js → chunk-4NWMCTN5.js} +1 -1
- package/dist/{chunk-DMTCLQ4T.js → chunk-6AXPFPKI.js} +1 -1
- package/dist/{chunk-EID75W45.js → chunk-6SLEITCQ.js} +1 -1
- package/dist/{chunk-YPJW7Z5M.js → chunk-DM2B7XUB.js} +1 -1
- package/dist/{chunk-JX55DU6Y.js → chunk-FL5BF6JM.js} +1 -1
- package/dist/{chunk-TBXG53FV.js → chunk-GIAQWZQ4.js} +1 -1
- package/dist/{chunk-E2J3UBBK.js → chunk-I4NVS7GE.js} +1 -1
- package/dist/{chunk-6LSN7HSJ.js → chunk-JXOLLTNV.js} +14 -1
- package/dist/{chunk-HHJIL3YZ.js → chunk-LTWEI4PW.js} +1 -1
- package/dist/{chunk-LYVES5YR.js → chunk-M2AUM37M.js} +1 -0
- package/dist/{chunk-4NAQ5HL4.js → chunk-N6DASHJL.js} +1 -1
- package/dist/chunk-TX2CE4RR.js +17 -0
- package/dist/{chunk-TQOL7OKY.js → chunk-UGY5ALND.js} +1 -1
- package/dist/{chunk-LURFNGH4.js → chunk-VRWNZTGW.js} +1 -1
- package/dist/{chunk-FVPZQEWP.js → chunk-YC2BC7Z2.js} +1 -1
- package/dist/{claudecode-SSYLLUXX.js → claudecode-RZSJPPBU.js} +3 -3
- package/dist/{cline-5EUGKNZ6.js → cline-JTWWBQQ4.js} +3 -3
- package/dist/{codexcli-IGM2ADYK.js → codexcli-ATMFGRJR.js} +3 -3
- package/dist/{copilot-HSQO7ZCJ.js → copilot-H3CLGKDP.js} +2 -2
- package/dist/{cursor-ZB3XNGBK.js → cursor-ZUN5RZU6.js} +3 -3
- package/dist/{geminicli-FNRKH5GX.js → geminicli-Q5HPIQCU.js} +3 -3
- package/dist/index.cjs +297 -111
- package/dist/index.js +286 -133
- package/dist/{junie-3YGOSOGF.js → junie-JCLVC3MI.js} +3 -3
- package/dist/{kiro-B6WZNLY4.js → kiro-CNF6433S.js} +2 -2
- package/dist/{opencode-SZETJ62M.js → opencode-EBS3CED2.js} +2 -2
- package/dist/qwencode-JIT6KW7E.js +10 -0
- package/dist/{roo-KLTWVAKE.js → roo-KBTRH4TZ.js} +3 -3
- package/dist/{windsurf-IZEKUAID.js → windsurf-ZAAWL6JJ.js} +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,6 +47,7 @@ npx rulesync import --claudecode # From CLAUDE.md
|
|
|
47
47
|
npx rulesync import --cursor # From .cursorrules
|
|
48
48
|
npx rulesync import --copilot # From .github/copilot-instructions.md
|
|
49
49
|
npx rulesync import --amazonqcli # From .amazonq/rules/*.md
|
|
50
|
+
npx rulesync import --qwencode # From QWEN.md
|
|
50
51
|
npx rulesync import --opencode # From AGENTS.md
|
|
51
52
|
|
|
52
53
|
# Import to legacy structure (for existing projects)
|
|
@@ -54,6 +55,7 @@ npx rulesync import --claudecode --legacy
|
|
|
54
55
|
npx rulesync import --cursor --legacy
|
|
55
56
|
npx rulesync import --copilot --legacy
|
|
56
57
|
npx rulesync import --amazonqcli --legacy
|
|
58
|
+
npx rulesync import --qwencode --legacy
|
|
57
59
|
npx rulesync import --opencode --legacy
|
|
58
60
|
|
|
59
61
|
# Generate unified configurations
|
|
@@ -62,7 +64,7 @@ npx rulesync generate
|
|
|
62
64
|
|
|
63
65
|
## Supported Tools
|
|
64
66
|
|
|
65
|
-
rulesync supports both **generation** and **import** for **
|
|
67
|
+
rulesync supports both **generation** and **import** for **13 AI development tools**:
|
|
66
68
|
|
|
67
69
|
- **GitHub Copilot Custom Instructions** (`.github/copilot-instructions.md` + `.github/instructions/*.instructions.md`)
|
|
68
70
|
- **Cursor Project Rules** (`.cursor/rules/*.mdc` + `.cursorrules`)
|
|
@@ -74,6 +76,7 @@ rulesync supports both **generation** and **import** for **12 AI development too
|
|
|
74
76
|
- **AugmentCode Rules** (`.augment/rules/*.md`)
|
|
75
77
|
- **Roo Code Rules** (`.roo/rules/*.md` + `.roo/instructions.md`)
|
|
76
78
|
- **Gemini CLI** (`GEMINI.md` + `.gemini/memories/*.md` + **Custom Slash Commands** `.gemini/commands/*.md`)
|
|
79
|
+
- **Qwen Code** (`QWEN.md` + `.qwen/memories/*.md` + **Git-Aware Filtering** instead of traditional ignore files + `.qwen/settings.json` **MCP Configuration**)
|
|
77
80
|
- **JetBrains Junie Guidelines** (`.junie/guidelines.md`)
|
|
78
81
|
- **Kiro IDE Custom Steering Documents** (`.kiro/steering/*.md`) + **AI Ignore Files** (`.aiignore`)
|
|
79
82
|
- **Windsurf AI Code Editor** (`.windsurf/rules/*.md` + `.windsurf/mcp.json` + `.codeiumignore`)
|
|
@@ -123,10 +126,12 @@ npx rulesync add typescript-rules --legacy
|
|
|
123
126
|
# Import existing configurations (to .rulesync/rules/ by default)
|
|
124
127
|
npx rulesync import --cursor
|
|
125
128
|
npx rulesync import --amazonqcli
|
|
129
|
+
npx rulesync import --qwencode
|
|
126
130
|
|
|
127
131
|
# Import to legacy location (for existing projects)
|
|
128
132
|
npx rulesync import --cursor --legacy
|
|
129
133
|
npx rulesync import --amazonqcli --legacy
|
|
134
|
+
npx rulesync import --qwencode --legacy
|
|
130
135
|
|
|
131
136
|
# Validate rules
|
|
132
137
|
npx rulesync validate
|
|
@@ -164,6 +169,7 @@ npx rulesync gitignore
|
|
|
164
169
|
- **[Kiro IDE](./docs/tools/kiro.md)** - Custom steering documents
|
|
165
170
|
- **[AugmentCode](./docs/tools/augmentcode.md)** - Rule types and configuration
|
|
166
171
|
- **[Roo Code](./docs/tools/roo.md)** - Instructions and rules
|
|
172
|
+
- **[Qwen Code](./docs/tools/qwencode.md)** - Memory system with git-aware filtering
|
|
167
173
|
|
|
168
174
|
### ⚡ Features
|
|
169
175
|
- **[Custom Slash Commands](./docs/features/custom-commands.md)** - Create unified commands for Claude Code and Gemini CLI
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateAugmentcodeMcp,
|
|
3
3
|
generateAugmentcodeMcpConfiguration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-I4NVS7GE.js";
|
|
5
|
+
import "./chunk-M2AUM37M.js";
|
|
6
6
|
export {
|
|
7
7
|
generateAugmentcodeMcp,
|
|
8
8
|
generateAugmentcodeMcpConfiguration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shouldIncludeServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M2AUM37M.js";
|
|
4
4
|
|
|
5
5
|
// src/constants/schemas.ts
|
|
6
6
|
var SCHEMA_URLS = {
|
|
@@ -294,6 +294,19 @@ var MCP_GENERATOR_REGISTRY = {
|
|
|
294
294
|
$schema: SCHEMA_URLS.OPENCODE,
|
|
295
295
|
mcp: servers
|
|
296
296
|
})
|
|
297
|
+
},
|
|
298
|
+
qwencode: {
|
|
299
|
+
target: "qwencode",
|
|
300
|
+
configPaths: [".qwen/settings.json"],
|
|
301
|
+
serverTransform: (server) => {
|
|
302
|
+
const { targets: _, ...serverConfig } = server;
|
|
303
|
+
const qwenServer = { ...serverConfig };
|
|
304
|
+
if (server.env) {
|
|
305
|
+
qwenServer.env = server.env;
|
|
306
|
+
}
|
|
307
|
+
return qwenServer;
|
|
308
|
+
},
|
|
309
|
+
configWrapper: configWrappers.mcpServers
|
|
297
310
|
}
|
|
298
311
|
};
|
|
299
312
|
function generateMcpFromRegistry(tool, config) {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
generateMcpConfigurationFilesFromRegistry,
|
|
3
|
+
generateMcpFromRegistry
|
|
4
|
+
} from "./chunk-JXOLLTNV.js";
|
|
5
|
+
|
|
6
|
+
// src/generators/mcp/qwencode.ts
|
|
7
|
+
function generateQwenCodeMcp(config) {
|
|
8
|
+
return generateMcpFromRegistry("qwencode", config);
|
|
9
|
+
}
|
|
10
|
+
function generateQwenCodeMcpConfiguration(mcpServers, baseDir = "") {
|
|
11
|
+
return generateMcpConfigurationFilesFromRegistry("qwencode", mcpServers, baseDir);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
generateQwenCodeMcp,
|
|
16
|
+
generateQwenCodeMcpConfiguration
|
|
17
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateClaudeMcp,
|
|
3
3
|
generateClaudeMcpConfiguration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-YC2BC7Z2.js";
|
|
5
|
+
import "./chunk-JXOLLTNV.js";
|
|
6
|
+
import "./chunk-M2AUM37M.js";
|
|
7
7
|
export {
|
|
8
8
|
generateClaudeMcp,
|
|
9
9
|
generateClaudeMcpConfiguration
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateClineMcp,
|
|
3
3
|
generateClineMcpConfiguration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-FL5BF6JM.js";
|
|
5
|
+
import "./chunk-JXOLLTNV.js";
|
|
6
|
+
import "./chunk-M2AUM37M.js";
|
|
7
7
|
export {
|
|
8
8
|
generateClineMcp,
|
|
9
9
|
generateClineMcpConfiguration
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateCodexMcp,
|
|
3
3
|
generateCodexMcpConfiguration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-UGY5ALND.js";
|
|
5
|
+
import "./chunk-JXOLLTNV.js";
|
|
6
|
+
import "./chunk-M2AUM37M.js";
|
|
7
7
|
export {
|
|
8
8
|
generateCodexMcp,
|
|
9
9
|
generateCodexMcpConfiguration
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateCursorMcp,
|
|
3
3
|
generateCursorMcpConfiguration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-GIAQWZQ4.js";
|
|
5
|
+
import "./chunk-JXOLLTNV.js";
|
|
6
|
+
import "./chunk-M2AUM37M.js";
|
|
7
7
|
export {
|
|
8
8
|
generateCursorMcp,
|
|
9
9
|
generateCursorMcpConfiguration
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateGeminiCliMcp,
|
|
3
3
|
generateGeminiCliMcpConfiguration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-6AXPFPKI.js";
|
|
5
|
+
import "./chunk-JXOLLTNV.js";
|
|
6
|
+
import "./chunk-M2AUM37M.js";
|
|
7
7
|
export {
|
|
8
8
|
generateGeminiCliMcp,
|
|
9
9
|
generateGeminiCliMcpConfiguration
|