rulesync 7.16.0 → 7.18.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 +1 -1
- package/dist/{chunk-E5YWRHGW.js → chunk-JP3BFD7L.js} +868 -713
- package/dist/cli/index.cjs +1172 -1017
- package/dist/cli/index.js +6 -2
- package/dist/index.cjs +896 -743
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -14,12 +14,14 @@ import {
|
|
|
14
14
|
RULESYNC_AIIGNORE_RELATIVE_FILE_PATH,
|
|
15
15
|
RULESYNC_COMMANDS_RELATIVE_DIR_PATH,
|
|
16
16
|
RULESYNC_CONFIG_RELATIVE_FILE_PATH,
|
|
17
|
+
RULESYNC_CONFIG_SCHEMA_URL,
|
|
17
18
|
RULESYNC_CURATED_SKILLS_RELATIVE_DIR_PATH,
|
|
18
19
|
RULESYNC_HOOKS_FILE_NAME,
|
|
19
20
|
RULESYNC_HOOKS_RELATIVE_FILE_PATH,
|
|
20
21
|
RULESYNC_IGNORE_RELATIVE_FILE_PATH,
|
|
21
22
|
RULESYNC_MCP_FILE_NAME,
|
|
22
23
|
RULESYNC_MCP_RELATIVE_FILE_PATH,
|
|
24
|
+
RULESYNC_MCP_SCHEMA_URL,
|
|
23
25
|
RULESYNC_OVERVIEW_FILE_NAME,
|
|
24
26
|
RULESYNC_RELATIVE_DIR_PATH,
|
|
25
27
|
RULESYNC_RULES_RELATIVE_DIR_PATH,
|
|
@@ -63,7 +65,7 @@ import {
|
|
|
63
65
|
removeTempDirectory,
|
|
64
66
|
stringifyFrontmatter,
|
|
65
67
|
writeFileContent
|
|
66
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-JP3BFD7L.js";
|
|
67
69
|
|
|
68
70
|
// src/cli/index.ts
|
|
69
71
|
import { Command } from "commander";
|
|
@@ -1384,6 +1386,7 @@ async function createConfigFile() {
|
|
|
1384
1386
|
path2,
|
|
1385
1387
|
JSON.stringify(
|
|
1386
1388
|
{
|
|
1389
|
+
$schema: RULESYNC_CONFIG_SCHEMA_URL,
|
|
1387
1390
|
targets: ["copilot", "cursor", "claudecode", "codexcli"],
|
|
1388
1391
|
features: ["rules", "ignore", "mcp", "commands", "subagents", "skills", "hooks"],
|
|
1389
1392
|
baseDirs: ["."],
|
|
@@ -1441,6 +1444,7 @@ globs: ["**/*"]
|
|
|
1441
1444
|
const sampleMcpFile = {
|
|
1442
1445
|
filename: "mcp.json",
|
|
1443
1446
|
content: `{
|
|
1447
|
+
"$schema": "${RULESYNC_MCP_SCHEMA_URL}",
|
|
1444
1448
|
"mcpServers": {
|
|
1445
1449
|
"serena": {
|
|
1446
1450
|
"type": "stdio",
|
|
@@ -4145,7 +4149,7 @@ async function updateCommand(currentVersion, options) {
|
|
|
4145
4149
|
}
|
|
4146
4150
|
|
|
4147
4151
|
// src/cli/index.ts
|
|
4148
|
-
var getVersion = () => "7.
|
|
4152
|
+
var getVersion = () => "7.18.0";
|
|
4149
4153
|
var main = async () => {
|
|
4150
4154
|
const program = new Command();
|
|
4151
4155
|
const version = getVersion();
|