rulesync 0.60.0 → 0.61.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 +0 -2
- package/dist/{chunk-YGX4XO3M.js → chunk-2KYIOT5S.js} +14 -0
- package/dist/{chunk-GJ3NMGAT.js → chunk-3ZLMXJTX.js} +1 -1
- package/dist/chunk-74TYZWHJ.js +12 -0
- package/dist/{chunk-2TFEIJOG.js → chunk-C5LFJFPS.js} +1 -1
- package/dist/chunk-DA3XULAD.js +12 -0
- package/dist/{chunk-ZOVBWPWK.js → chunk-ICMPPX55.js} +1 -1
- package/dist/{chunk-7Q5JNJJW.js → chunk-LRYVNLH5.js} +1 -1
- package/dist/{chunk-5BYJMDCI.js → chunk-U63N3YDS.js} +1 -1
- package/dist/{claudecode-W56JJONQ.js → claudecode-XKHMZT7R.js} +2 -2
- package/dist/{cline-SEVFH54V.js → cline-FNWPJ7K4.js} +2 -2
- package/dist/{codexcli-Q34DZAEO.js → codexcli-FDFHY66P.js} +2 -2
- package/dist/{cursor-PT2RUL4U.js → cursor-WWHUW5AD.js} +2 -2
- package/dist/{geminicli-AUNY2MDS.js → geminicli-7TIDQ62D.js} +2 -2
- package/dist/index.cjs +183 -165
- package/dist/index.js +171 -159
- package/dist/{junie-YL5UL6FE.js → junie-VMNDWBNB.js} +2 -2
- package/dist/{windsurf-RLTNFHLL.js → windsurf-KOSK4MZJ.js} +2 -2
- package/package.json +1 -2
- package/dist/chunk-55OU7KJU.js +0 -17
- package/dist/chunk-QP2BI4DF.js +0 -17
package/README.md
CHANGED
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
A Node.js CLI tool that automatically generates configuration files for various AI development tools from unified AI rule files (`.rulesync/*.md`). Also imports existing AI tool configurations into the unified format.
|
|
7
7
|
|
|
8
|
-
**English** | [日本語](./README.ja.md)
|
|
9
|
-
|
|
10
8
|
## Installation
|
|
11
9
|
|
|
12
10
|
```bash
|
|
@@ -230,6 +230,18 @@ function generateMcpFromRegistry(tool, config) {
|
|
|
230
230
|
}
|
|
231
231
|
return generateMcpConfig(config, generatorConfig);
|
|
232
232
|
}
|
|
233
|
+
function createMcpGenerator(toolName) {
|
|
234
|
+
return {
|
|
235
|
+
generateMcp: (config) => {
|
|
236
|
+
return generateMcpFromRegistry(toolName, config);
|
|
237
|
+
},
|
|
238
|
+
generateMcpConfiguration: (mcpServers, baseDir = "") => {
|
|
239
|
+
return generateMcpConfigurationFilesFromRegistry(toolName, mcpServers, baseDir);
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
var cursorMcpGenerator = createMcpGenerator("cursor");
|
|
244
|
+
var clineMcpGenerator = createMcpGenerator("cline");
|
|
233
245
|
function generateMcpConfigurationFilesFromRegistry(tool, mcpServers, baseDir = "") {
|
|
234
246
|
const generatorConfig = MCP_GENERATOR_REGISTRY[tool];
|
|
235
247
|
if (!generatorConfig) {
|
|
@@ -288,5 +300,7 @@ export {
|
|
|
288
300
|
generateMcpConfigurationFiles,
|
|
289
301
|
configWrappers,
|
|
290
302
|
generateMcpFromRegistry,
|
|
303
|
+
cursorMcpGenerator,
|
|
304
|
+
clineMcpGenerator,
|
|
291
305
|
generateMcpConfigurationFilesFromRegistry
|
|
292
306
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clineMcpGenerator
|
|
3
|
+
} from "./chunk-2KYIOT5S.js";
|
|
4
|
+
|
|
5
|
+
// src/generators/mcp/cline.ts
|
|
6
|
+
var generateClineMcp = clineMcpGenerator.generateMcp;
|
|
7
|
+
var generateClineMcpConfiguration = clineMcpGenerator.generateMcpConfiguration;
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
generateClineMcp,
|
|
11
|
+
generateClineMcpConfiguration
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cursorMcpGenerator
|
|
3
|
+
} from "./chunk-2KYIOT5S.js";
|
|
4
|
+
|
|
5
|
+
// src/generators/mcp/cursor.ts
|
|
6
|
+
var generateCursorMcp = cursorMcpGenerator.generateMcp;
|
|
7
|
+
var generateCursorMcpConfiguration = cursorMcpGenerator.generateMcpConfiguration;
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
generateCursorMcp,
|
|
11
|
+
generateCursorMcpConfiguration
|
|
12
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateGeminiCliMcp,
|
|
3
3
|
generateGeminiCliMcpConfiguration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-LRYVNLH5.js";
|
|
5
|
+
import "./chunk-2KYIOT5S.js";
|
|
6
6
|
import "./chunk-AUUSMVCT.js";
|
|
7
7
|
export {
|
|
8
8
|
generateGeminiCliMcp,
|