rulesync 7.23.0 → 7.24.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 +27 -26
- package/dist/{chunk-GAWAOFCL.js → chunk-A4FZT3JT.js} +1703 -813
- package/dist/cli/index.cjs +2209 -1269
- package/dist/cli/index.js +64 -14
- package/dist/index.cjs +1880 -990
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
removeTempDirectory,
|
|
71
71
|
stringifyFrontmatter,
|
|
72
72
|
writeFileContent
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-A4FZT3JT.js";
|
|
74
74
|
|
|
75
75
|
// src/cli/index.ts
|
|
76
76
|
import { Command } from "commander";
|
|
@@ -79,7 +79,7 @@ import { Command } from "commander";
|
|
|
79
79
|
var parseCommaSeparatedList = (value) => value.split(",").map((s) => s.trim()).filter(Boolean);
|
|
80
80
|
|
|
81
81
|
// src/lib/fetch.ts
|
|
82
|
-
import { join } from "path";
|
|
82
|
+
import { join, posix } from "path";
|
|
83
83
|
import { Semaphore } from "es-toolkit/promise";
|
|
84
84
|
|
|
85
85
|
// src/lib/github-client.ts
|
|
@@ -761,7 +761,7 @@ async function collectFeatureFiles(params) {
|
|
|
761
761
|
);
|
|
762
762
|
const results = await Promise.all(
|
|
763
763
|
tasks.map(async ({ featurePath }) => {
|
|
764
|
-
const fullPath = basePath === "." || basePath === "" ? featurePath : join(basePath, featurePath);
|
|
764
|
+
const fullPath = basePath === "." || basePath === "" ? featurePath : posix.join(basePath, featurePath);
|
|
765
765
|
const collected = [];
|
|
766
766
|
try {
|
|
767
767
|
if (featurePath.includes(".")) {
|
|
@@ -1150,10 +1150,15 @@ import { join as join2 } from "path";
|
|
|
1150
1150
|
// src/cli/commands/gitignore-entries.ts
|
|
1151
1151
|
var GITIGNORE_ENTRY_REGISTRY = [
|
|
1152
1152
|
// Common / general
|
|
1153
|
-
{
|
|
1153
|
+
{
|
|
1154
|
+
target: "common",
|
|
1155
|
+
feature: "general",
|
|
1156
|
+
entry: `${RULESYNC_CURATED_SKILLS_RELATIVE_DIR_PATH}/`
|
|
1157
|
+
},
|
|
1154
1158
|
{ target: "common", feature: "general", entry: ".rulesync/rules/*.local.md" },
|
|
1155
1159
|
{ target: "common", feature: "general", entry: "rulesync.local.jsonc" },
|
|
1156
1160
|
{ target: "common", feature: "general", entry: "!.rulesync/.aiignore" },
|
|
1161
|
+
{ target: "common", feature: "general", entry: "**/AGENTS.local.md" },
|
|
1157
1162
|
// AGENTS.md
|
|
1158
1163
|
{ target: "agentsmd", feature: "rules", entry: "**/AGENTS.md" },
|
|
1159
1164
|
{ target: "agentsmd", feature: "rules", entry: "**/.agents/" },
|
|
@@ -1165,14 +1170,22 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1165
1170
|
{ target: "claudecode", feature: "rules", entry: "**/CLAUDE.md" },
|
|
1166
1171
|
{ target: "claudecode", feature: "rules", entry: "**/CLAUDE.local.md" },
|
|
1167
1172
|
{ target: "claudecode", feature: "rules", entry: "**/.claude/CLAUDE.md" },
|
|
1168
|
-
{
|
|
1173
|
+
{
|
|
1174
|
+
target: "claudecode",
|
|
1175
|
+
feature: "rules",
|
|
1176
|
+
entry: "**/.claude/CLAUDE.local.md"
|
|
1177
|
+
},
|
|
1169
1178
|
{ target: "claudecode", feature: "rules", entry: "**/.claude/rules/" },
|
|
1170
1179
|
{ target: "claudecode", feature: "commands", entry: "**/.claude/commands/" },
|
|
1171
1180
|
{ target: "claudecode", feature: "subagents", entry: "**/.claude/agents/" },
|
|
1172
1181
|
{ target: "claudecode", feature: "skills", entry: "**/.claude/skills/" },
|
|
1173
1182
|
{ target: "claudecode", feature: "mcp", entry: "**/.mcp.json" },
|
|
1174
1183
|
{ target: "claudecode", feature: "general", entry: "**/.claude/memories/" },
|
|
1175
|
-
{
|
|
1184
|
+
{
|
|
1185
|
+
target: "claudecode",
|
|
1186
|
+
feature: "general",
|
|
1187
|
+
entry: "**/.claude/settings.local.json"
|
|
1188
|
+
},
|
|
1176
1189
|
// Cline
|
|
1177
1190
|
{ target: "cline", feature: "rules", entry: "**/.clinerules/" },
|
|
1178
1191
|
{ target: "cline", feature: "commands", entry: "**/.clinerules/workflows/" },
|
|
@@ -1192,15 +1205,35 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1192
1205
|
{ target: "deepagents", feature: "rules", entry: "**/.deepagents/memories/" },
|
|
1193
1206
|
{ target: "deepagents", feature: "mcp", entry: "**/.deepagents/.mcp.json" },
|
|
1194
1207
|
{ target: "deepagents", feature: "skills", entry: "**/.deepagents/skills/" },
|
|
1195
|
-
{
|
|
1196
|
-
|
|
1208
|
+
{
|
|
1209
|
+
target: "deepagents",
|
|
1210
|
+
feature: "subagents",
|
|
1211
|
+
entry: "**/.deepagents/agents/"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
target: "deepagents",
|
|
1215
|
+
feature: "hooks",
|
|
1216
|
+
entry: "**/.deepagents/hooks.json"
|
|
1217
|
+
},
|
|
1197
1218
|
// Factory Droid
|
|
1198
1219
|
{ target: "factorydroid", feature: "rules", entry: "**/.factory/rules/" },
|
|
1199
|
-
{
|
|
1200
|
-
|
|
1220
|
+
{
|
|
1221
|
+
target: "factorydroid",
|
|
1222
|
+
feature: "commands",
|
|
1223
|
+
entry: "**/.factory/commands/"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
target: "factorydroid",
|
|
1227
|
+
feature: "subagents",
|
|
1228
|
+
entry: "**/.factory/droids/"
|
|
1229
|
+
},
|
|
1201
1230
|
{ target: "factorydroid", feature: "skills", entry: "**/.factory/skills/" },
|
|
1202
1231
|
{ target: "factorydroid", feature: "mcp", entry: "**/.factory/mcp.json" },
|
|
1203
|
-
{
|
|
1232
|
+
{
|
|
1233
|
+
target: "factorydroid",
|
|
1234
|
+
feature: "general",
|
|
1235
|
+
entry: "**/.factory/settings.json"
|
|
1236
|
+
},
|
|
1204
1237
|
// Gemini CLI
|
|
1205
1238
|
{ target: "geminicli", feature: "rules", entry: "**/GEMINI.md" },
|
|
1206
1239
|
{ target: "geminicli", feature: "commands", entry: "**/.gemini/commands/" },
|
|
@@ -1213,7 +1246,11 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1213
1246
|
{ target: "goose", feature: "rules", entry: "**/.goose/" },
|
|
1214
1247
|
{ target: "goose", feature: "ignore", entry: "**/.gooseignore" },
|
|
1215
1248
|
// GitHub Copilot
|
|
1216
|
-
{
|
|
1249
|
+
{
|
|
1250
|
+
target: "copilot",
|
|
1251
|
+
feature: "rules",
|
|
1252
|
+
entry: "**/.github/copilot-instructions.md"
|
|
1253
|
+
},
|
|
1217
1254
|
{ target: "copilot", feature: "rules", entry: "**/.github/instructions/" },
|
|
1218
1255
|
{ target: "copilot", feature: "commands", entry: "**/.github/prompts/" },
|
|
1219
1256
|
{ target: "copilot", feature: "subagents", entry: "**/.github/agents/" },
|
|
@@ -1221,7 +1258,11 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1221
1258
|
{ target: "copilot", feature: "hooks", entry: "**/.github/hooks/" },
|
|
1222
1259
|
{ target: "copilot", feature: "mcp", entry: "**/.vscode/mcp.json" },
|
|
1223
1260
|
// GitHub Copilot CLI
|
|
1224
|
-
{
|
|
1261
|
+
{
|
|
1262
|
+
target: "copilotcli",
|
|
1263
|
+
feature: "mcp",
|
|
1264
|
+
entry: "**/.copilot/mcp-config.json"
|
|
1265
|
+
},
|
|
1225
1266
|
// Junie
|
|
1226
1267
|
{ target: "junie", feature: "rules", entry: "**/.junie/guidelines.md" },
|
|
1227
1268
|
{ target: "junie", feature: "mcp", entry: "**/.junie/mcp.json" },
|
|
@@ -1257,6 +1298,15 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1257
1298
|
{ target: "roo", feature: "ignore", entry: "**/.rooignore" },
|
|
1258
1299
|
{ target: "roo", feature: "mcp", entry: "**/.roo/mcp.json" },
|
|
1259
1300
|
{ target: "roo", feature: "subagents", entry: "**/.roo/subagents/" },
|
|
1301
|
+
// Rovodev
|
|
1302
|
+
{
|
|
1303
|
+
target: "rovodev",
|
|
1304
|
+
feature: "general",
|
|
1305
|
+
entry: "**/.rovodev/AGENTS.md"
|
|
1306
|
+
},
|
|
1307
|
+
{ target: "rovodev", feature: "subagents", entry: "**/.rovodev/subagents/" },
|
|
1308
|
+
{ target: "rovodev", feature: "skills", entry: "**/.rovodev/skills/" },
|
|
1309
|
+
{ target: "rovodev", feature: "skills", entry: "**/.agents/skills/" },
|
|
1260
1310
|
// Warp
|
|
1261
1311
|
{ target: "warp", feature: "rules", entry: "**/.warp/" },
|
|
1262
1312
|
{ target: "warp", feature: "rules", entry: "**/WARP.md" }
|
|
@@ -4379,7 +4429,7 @@ function wrapCommand({
|
|
|
4379
4429
|
}
|
|
4380
4430
|
|
|
4381
4431
|
// src/cli/index.ts
|
|
4382
|
-
var getVersion = () => "7.
|
|
4432
|
+
var getVersion = () => "7.24.0";
|
|
4383
4433
|
function wrapCommand2(name, errorCode, handler) {
|
|
4384
4434
|
return wrapCommand({ name, errorCode, handler, getVersion });
|
|
4385
4435
|
}
|