rulesync 8.26.0 → 8.28.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
@@ -79,7 +79,7 @@ import {
79
79
  stringifyFrontmatter,
80
80
  toPosixPath,
81
81
  writeFileContent
82
- } from "../chunk-XKXN32Q2.js";
82
+ } from "../chunk-3N62MMXU.js";
83
83
 
84
84
  // src/cli/index.ts
85
85
  import { Command } from "commander";
@@ -1271,21 +1271,32 @@ var GITIGNORE_ENTRY_REGISTRY = [
1271
1271
  // This prevents accidental commits when a user disables the rovodev target.
1272
1272
  { target: "common", feature: "general", entry: "**/AGENTS.local.md" },
1273
1273
  // AGENTS.md
1274
- { target: ["agentsmd", "pi", "warp"], feature: "rules", entry: "**/AGENTS.md" },
1274
+ {
1275
+ target: ["agentsmd", "amp", "antigravity-ide", "pi", "warp"],
1276
+ feature: "rules",
1277
+ entry: "**/AGENTS.md"
1278
+ },
1275
1279
  { target: "agentsmd", feature: "rules", entry: "**/.agents/" },
1276
1280
  // Amp
1277
- // Amp reads Agent Skills from the shared `.agents/skills/` project tree.
1281
+ // Amp reads project rules from a root `AGENTS.md` (handled by the shared
1282
+ // AGENTS.md entry above) plus `.agents/memories/*.md` non-root rules. Agent
1283
+ // Skills come from the shared `.agents/skills/` project tree. The
1284
+ // `.amp/settings.json` permissions file is a user-managed file (like other
1285
+ // tools' settings.json), so it is intentionally not gitignored.
1286
+ { target: "amp", feature: "rules", entry: "**/.agents/memories/" },
1278
1287
  { target: "amp", feature: "skills", entry: "**/.agents/skills/" },
1279
1288
  // Antigravity (IDE + CLI, Antigravity 2.0)
1280
- // Both targets share the `.agents/` project tree; the CLI additionally
1281
- // writes a root `GEMINI.md`. Global-scope paths (under the home directory)
1282
- // are intentionally not gitignored.
1289
+ // Both targets share the `.agents/` project tree; the IDE additionally writes
1290
+ // a root `AGENTS.md` (handled by the shared AGENTS.md entry above) and the CLI
1291
+ // a root `GEMINI.md`. Global-scope paths (under the home directory) are
1292
+ // intentionally not gitignored.
1283
1293
  {
1284
1294
  target: ["antigravity-ide", "antigravity-cli"],
1285
1295
  feature: "rules",
1286
1296
  entry: "**/.agents/rules/"
1287
1297
  },
1288
1298
  { target: "antigravity-cli", feature: "rules", entry: "**/GEMINI.md" },
1299
+ { target: "antigravity-cli", feature: "ignore", entry: "**/.geminiignore" },
1289
1300
  {
1290
1301
  target: "antigravity-ide",
1291
1302
  feature: "commands",
@@ -1310,9 +1321,14 @@ var GITIGNORE_ENTRY_REGISTRY = [
1310
1321
  { target: "augmentcode", feature: "rules", entry: "**/.augment/rules/" },
1311
1322
  { target: "augmentcode", feature: "rules", entry: "**/.augment-guidelines" },
1312
1323
  { target: "augmentcode", feature: "commands", entry: "**/.augment/commands/" },
1324
+ { target: "augmentcode", feature: "subagents", entry: "**/.augment/agents/" },
1325
+ { target: "augmentcode", feature: "skills", entry: "**/.augment/skills/" },
1313
1326
  { target: "augmentcode", feature: "ignore", entry: "**/.augmentignore" },
1314
1327
  { target: "augmentcode", feature: "permissions", entry: "**/.augment/settings.json" },
1315
1328
  { target: "augmentcode", feature: "hooks", entry: "**/.augment/settings.json" },
1329
+ // settings.json is shared with permissions/hooks; re-tag it under `mcp` so
1330
+ // target+feature filtering still resolves the file for MCP runs.
1331
+ { target: "augmentcode", feature: "mcp", entry: "**/.augment/settings.json" },
1316
1332
  // Claude Code
1317
1333
  { target: "claudecode", feature: "rules", entry: "**/CLAUDE.md" },
1318
1334
  { target: "claudecode", feature: "rules", entry: "**/CLAUDE.local.md" },
@@ -1338,11 +1354,14 @@ var GITIGNORE_ENTRY_REGISTRY = [
1338
1354
  { target: "cline", feature: "rules", entry: "**/.clinerules/" },
1339
1355
  { target: "cline", feature: "commands", entry: "**/.clinerules/workflows/" },
1340
1356
  { target: "cline", feature: "ignore", entry: "**/.clineignore" },
1341
- { target: "cline", feature: "mcp", entry: "**/.cline/mcp.json" },
1357
+ // Cline reads MCP only from a global settings file
1358
+ // (`~/.cline/data/settings/cline_mcp_settings.json`), which lives under the
1359
+ // home directory and is not gitignored at the project level.
1360
+ { target: "cline", feature: "subagents", entry: "**/.cline/agents/" },
1342
1361
  { target: "cline", feature: "permissions", entry: "**/.cline/command-permissions.json" },
1343
1362
  // Codex CLI
1344
1363
  { target: "codexcli", feature: "ignore", entry: "**/.codexignore" },
1345
- { target: "codexcli", feature: "skills", entry: "**/.codex/skills/" },
1364
+ { target: "codexcli", feature: "skills", entry: "**/.agents/skills/" },
1346
1365
  { target: "codexcli", feature: "subagents", entry: "**/.codex/agents/" },
1347
1366
  { target: "codexcli", feature: "general", entry: "**/.codex/memories/" },
1348
1367
  { target: "codexcli", feature: "general", entry: "**/.codex/config.toml" },
@@ -1357,8 +1376,9 @@ var GITIGNORE_ENTRY_REGISTRY = [
1357
1376
  { target: "cursor", feature: "permissions", entry: "**/.cursor/" },
1358
1377
  { target: "cursor", feature: "hooks", entry: "**/.cursor/" },
1359
1378
  // deepagents-cli
1379
+ // All rule content is folded into the single `.deepagents/AGENTS.md`; there is
1380
+ // no `.deepagents/memories/` directory.
1360
1381
  { target: "deepagents", feature: "rules", entry: "**/.deepagents/AGENTS.md" },
1361
- { target: "deepagents", feature: "rules", entry: "**/.deepagents/memories/" },
1362
1382
  { target: "deepagents", feature: "mcp", entry: "**/.deepagents/.mcp.json" },
1363
1383
  { target: "deepagents", feature: "skills", entry: "**/.deepagents/skills/" },
1364
1384
  {
@@ -1387,8 +1407,8 @@ var GITIGNORE_ENTRY_REGISTRY = [
1387
1407
  { target: "factorydroid", feature: "mcp", entry: "**/.factory/mcp.json" },
1388
1408
  {
1389
1409
  target: "factorydroid",
1390
- feature: "general",
1391
- entry: "**/.factory/settings.json"
1410
+ feature: "hooks",
1411
+ entry: "**/.factory/hooks.json"
1392
1412
  },
1393
1413
  // Gemini CLI
1394
1414
  { target: "geminicli", feature: "rules", entry: "**/GEMINI.md" },
@@ -1403,6 +1423,9 @@ var GITIGNORE_ENTRY_REGISTRY = [
1403
1423
  { target: "goose", feature: "ignore", entry: "**/.gooseignore" },
1404
1424
  // Goose lifecycle hooks plugin (.agents/plugins/<name>/hooks/hooks.json)
1405
1425
  { target: "goose", feature: "hooks", entry: "**/.agents/plugins/" },
1426
+ // Goose reads MCP "extensions" only from the global user config
1427
+ // (`~/.config/goose/config.yaml`), which lives under the home directory and is
1428
+ // not gitignored at the project level (mirrors Cline's global-only MCP).
1406
1429
  // GitHub Copilot
1407
1430
  {
1408
1431
  target: ["copilot", "copilotcli"],
@@ -1436,7 +1459,7 @@ var GITIGNORE_ENTRY_REGISTRY = [
1436
1459
  { target: "copilotcli", feature: "hooks", entry: "**/.copilot/hooks/" },
1437
1460
  // Junie
1438
1461
  { target: "junie", feature: "rules", entry: "**/.junie/guidelines.md" },
1439
- { target: "junie", feature: "mcp", entry: "**/.junie/mcp.json" },
1462
+ { target: "junie", feature: "mcp", entry: "**/.junie/mcp/mcp.json" },
1440
1463
  { target: "junie", feature: "skills", entry: "**/.junie/skills/" },
1441
1464
  { target: "junie", feature: "subagents", entry: "**/.junie/agents/" },
1442
1465
  // Kilo Code
@@ -1515,6 +1538,7 @@ var GITIGNORE_ENTRY_REGISTRY = [
1515
1538
  // `.devin/` paths and the global skills path is unchanged.
1516
1539
  { target: "devin", feature: "rules", entry: "**/.devin/rules/" },
1517
1540
  { target: "devin", feature: "commands", entry: "**/.devin/workflows/" },
1541
+ { target: "devin", feature: "ignore", entry: "**/.devinignore" },
1518
1542
  { target: "devin", feature: "mcp", entry: "**/.windsurf/mcp_config.json" },
1519
1543
  { target: "devin", feature: "hooks", entry: "**/.windsurf/hooks.json" },
1520
1544
  { target: "devin", feature: "skills", entry: "**/.devin/skills/" },
@@ -2888,7 +2912,7 @@ function relativeInstallDirFor(params) {
2888
2912
  case "cursor":
2889
2913
  return join8(".cursor", "skills");
2890
2914
  case "codex":
2891
- return join8(".codex", "skills");
2915
+ return join8(".agents", "skills");
2892
2916
  case "gemini":
2893
2917
  return join8(".gemini", "skills");
2894
2918
  case "antigravity":
@@ -6548,7 +6572,7 @@ function wrapCommand({
6548
6572
  }
6549
6573
 
6550
6574
  // src/cli/index.ts
6551
- var getVersion = () => "8.26.0";
6575
+ var getVersion = () => "8.28.0";
6552
6576
  function wrapCommand2(name, errorCode, handler) {
6553
6577
  return wrapCommand({ name, errorCode, handler, getVersion });
6554
6578
  }