rulesync 7.22.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/dist/cli/index.js CHANGED
@@ -70,7 +70,7 @@ import {
70
70
  removeTempDirectory,
71
71
  stringifyFrontmatter,
72
72
  writeFileContent
73
- } from "../chunk-4WYBBN4I.js";
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
- { target: "common", feature: "general", entry: `${RULESYNC_CURATED_SKILLS_RELATIVE_DIR_PATH}/` },
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
- { target: "claudecode", feature: "rules", entry: "**/.claude/CLAUDE.local.md" },
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
- { target: "claudecode", feature: "general", entry: "**/.claude/settings.local.json" },
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/" },
@@ -1187,13 +1200,40 @@ var GITIGNORE_ENTRY_REGISTRY = [
1187
1200
  // Cursor
1188
1201
  { target: "cursor", feature: "rules", entry: "**/.cursor/" },
1189
1202
  { target: "cursor", feature: "ignore", entry: "**/.cursorignore" },
1203
+ // deepagents-cli
1204
+ { target: "deepagents", feature: "rules", entry: "**/.deepagents/AGENTS.md" },
1205
+ { target: "deepagents", feature: "rules", entry: "**/.deepagents/memories/" },
1206
+ { target: "deepagents", feature: "mcp", entry: "**/.deepagents/.mcp.json" },
1207
+ { target: "deepagents", feature: "skills", entry: "**/.deepagents/skills/" },
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
+ },
1190
1218
  // Factory Droid
1191
1219
  { target: "factorydroid", feature: "rules", entry: "**/.factory/rules/" },
1192
- { target: "factorydroid", feature: "commands", entry: "**/.factory/commands/" },
1193
- { target: "factorydroid", feature: "subagents", entry: "**/.factory/droids/" },
1220
+ {
1221
+ target: "factorydroid",
1222
+ feature: "commands",
1223
+ entry: "**/.factory/commands/"
1224
+ },
1225
+ {
1226
+ target: "factorydroid",
1227
+ feature: "subagents",
1228
+ entry: "**/.factory/droids/"
1229
+ },
1194
1230
  { target: "factorydroid", feature: "skills", entry: "**/.factory/skills/" },
1195
1231
  { target: "factorydroid", feature: "mcp", entry: "**/.factory/mcp.json" },
1196
- { target: "factorydroid", feature: "general", entry: "**/.factory/settings.json" },
1232
+ {
1233
+ target: "factorydroid",
1234
+ feature: "general",
1235
+ entry: "**/.factory/settings.json"
1236
+ },
1197
1237
  // Gemini CLI
1198
1238
  { target: "geminicli", feature: "rules", entry: "**/GEMINI.md" },
1199
1239
  { target: "geminicli", feature: "commands", entry: "**/.gemini/commands/" },
@@ -1206,7 +1246,11 @@ var GITIGNORE_ENTRY_REGISTRY = [
1206
1246
  { target: "goose", feature: "rules", entry: "**/.goose/" },
1207
1247
  { target: "goose", feature: "ignore", entry: "**/.gooseignore" },
1208
1248
  // GitHub Copilot
1209
- { target: "copilot", feature: "rules", entry: "**/.github/copilot-instructions.md" },
1249
+ {
1250
+ target: "copilot",
1251
+ feature: "rules",
1252
+ entry: "**/.github/copilot-instructions.md"
1253
+ },
1210
1254
  { target: "copilot", feature: "rules", entry: "**/.github/instructions/" },
1211
1255
  { target: "copilot", feature: "commands", entry: "**/.github/prompts/" },
1212
1256
  { target: "copilot", feature: "subagents", entry: "**/.github/agents/" },
@@ -1214,7 +1258,11 @@ var GITIGNORE_ENTRY_REGISTRY = [
1214
1258
  { target: "copilot", feature: "hooks", entry: "**/.github/hooks/" },
1215
1259
  { target: "copilot", feature: "mcp", entry: "**/.vscode/mcp.json" },
1216
1260
  // GitHub Copilot CLI
1217
- { target: "copilotcli", feature: "mcp", entry: "**/.copilot/mcp-config.json" },
1261
+ {
1262
+ target: "copilotcli",
1263
+ feature: "mcp",
1264
+ entry: "**/.copilot/mcp-config.json"
1265
+ },
1218
1266
  // Junie
1219
1267
  { target: "junie", feature: "rules", entry: "**/.junie/guidelines.md" },
1220
1268
  { target: "junie", feature: "mcp", entry: "**/.junie/mcp.json" },
@@ -1250,6 +1298,15 @@ var GITIGNORE_ENTRY_REGISTRY = [
1250
1298
  { target: "roo", feature: "ignore", entry: "**/.rooignore" },
1251
1299
  { target: "roo", feature: "mcp", entry: "**/.roo/mcp.json" },
1252
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/" },
1253
1310
  // Warp
1254
1311
  { target: "warp", feature: "rules", entry: "**/.warp/" },
1255
1312
  { target: "warp", feature: "rules", entry: "**/WARP.md" }
@@ -4372,7 +4429,7 @@ function wrapCommand({
4372
4429
  }
4373
4430
 
4374
4431
  // src/cli/index.ts
4375
- var getVersion = () => "7.22.0";
4432
+ var getVersion = () => "7.24.0";
4376
4433
  function wrapCommand2(name, errorCode, handler) {
4377
4434
  return wrapCommand({ name, errorCode, handler, getVersion });
4378
4435
  }