rulesync 8.25.0 → 8.27.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 +6 -6
- package/dist/{chunk-YJH5W5OM.js → chunk-4YKAF3LH.js} +6413 -3893
- package/dist/cli/index.cjs +5793 -3250
- package/dist/cli/index.js +39 -16
- package/dist/index.cjs +6486 -3966
- package/dist/index.d.cts +87 -3
- package/dist/index.d.ts +87 -3
- package/dist/index.js +1 -1
- package/package.json +1 -2
package/dist/cli/index.js
CHANGED
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
stringifyFrontmatter,
|
|
80
80
|
toPosixPath,
|
|
81
81
|
writeFileContent
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-4YKAF3LH.js";
|
|
83
83
|
|
|
84
84
|
// src/cli/index.ts
|
|
85
85
|
import { Command } from "commander";
|
|
@@ -1271,8 +1271,16 @@ 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
|
+
{ target: ["agentsmd", "amp", "pi", "warp"], feature: "rules", entry: "**/AGENTS.md" },
|
|
1275
1275
|
{ target: "agentsmd", feature: "rules", entry: "**/.agents/" },
|
|
1276
|
+
// Amp
|
|
1277
|
+
// Amp reads project rules from a root `AGENTS.md` (handled by the shared
|
|
1278
|
+
// AGENTS.md entry above) plus `.agents/memories/*.md` non-root rules. Agent
|
|
1279
|
+
// Skills come from the shared `.agents/skills/` project tree. The
|
|
1280
|
+
// `.amp/settings.json` permissions file is a user-managed file (like other
|
|
1281
|
+
// tools' settings.json), so it is intentionally not gitignored.
|
|
1282
|
+
{ target: "amp", feature: "rules", entry: "**/.agents/memories/" },
|
|
1283
|
+
{ target: "amp", feature: "skills", entry: "**/.agents/skills/" },
|
|
1276
1284
|
// Antigravity (IDE + CLI, Antigravity 2.0)
|
|
1277
1285
|
// Both targets share the `.agents/` project tree; the CLI additionally
|
|
1278
1286
|
// writes a root `GEMINI.md`. Global-scope paths (under the home directory)
|
|
@@ -1307,8 +1315,14 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1307
1315
|
{ target: "augmentcode", feature: "rules", entry: "**/.augment/rules/" },
|
|
1308
1316
|
{ target: "augmentcode", feature: "rules", entry: "**/.augment-guidelines" },
|
|
1309
1317
|
{ target: "augmentcode", feature: "commands", entry: "**/.augment/commands/" },
|
|
1318
|
+
{ target: "augmentcode", feature: "subagents", entry: "**/.augment/agents/" },
|
|
1319
|
+
{ target: "augmentcode", feature: "skills", entry: "**/.augment/skills/" },
|
|
1310
1320
|
{ target: "augmentcode", feature: "ignore", entry: "**/.augmentignore" },
|
|
1311
1321
|
{ target: "augmentcode", feature: "permissions", entry: "**/.augment/settings.json" },
|
|
1322
|
+
{ target: "augmentcode", feature: "hooks", entry: "**/.augment/settings.json" },
|
|
1323
|
+
// settings.json is shared with permissions/hooks; re-tag it under `mcp` so
|
|
1324
|
+
// target+feature filtering still resolves the file for MCP runs.
|
|
1325
|
+
{ target: "augmentcode", feature: "mcp", entry: "**/.augment/settings.json" },
|
|
1312
1326
|
// Claude Code
|
|
1313
1327
|
{ target: "claudecode", feature: "rules", entry: "**/CLAUDE.md" },
|
|
1314
1328
|
{ target: "claudecode", feature: "rules", entry: "**/CLAUDE.local.md" },
|
|
@@ -1334,7 +1348,10 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1334
1348
|
{ target: "cline", feature: "rules", entry: "**/.clinerules/" },
|
|
1335
1349
|
{ target: "cline", feature: "commands", entry: "**/.clinerules/workflows/" },
|
|
1336
1350
|
{ target: "cline", feature: "ignore", entry: "**/.clineignore" },
|
|
1337
|
-
|
|
1351
|
+
// Cline reads MCP only from a global settings file
|
|
1352
|
+
// (`~/.cline/data/settings/cline_mcp_settings.json`), which lives under the
|
|
1353
|
+
// home directory and is not gitignored at the project level.
|
|
1354
|
+
{ target: "cline", feature: "subagents", entry: "**/.cline/agents/" },
|
|
1338
1355
|
{ target: "cline", feature: "permissions", entry: "**/.cline/command-permissions.json" },
|
|
1339
1356
|
// Codex CLI
|
|
1340
1357
|
{ target: "codexcli", feature: "ignore", entry: "**/.codexignore" },
|
|
@@ -1353,8 +1370,9 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1353
1370
|
{ target: "cursor", feature: "permissions", entry: "**/.cursor/" },
|
|
1354
1371
|
{ target: "cursor", feature: "hooks", entry: "**/.cursor/" },
|
|
1355
1372
|
// deepagents-cli
|
|
1373
|
+
// All rule content is folded into the single `.deepagents/AGENTS.md`; there is
|
|
1374
|
+
// no `.deepagents/memories/` directory.
|
|
1356
1375
|
{ target: "deepagents", feature: "rules", entry: "**/.deepagents/AGENTS.md" },
|
|
1357
|
-
{ target: "deepagents", feature: "rules", entry: "**/.deepagents/memories/" },
|
|
1358
1376
|
{ target: "deepagents", feature: "mcp", entry: "**/.deepagents/.mcp.json" },
|
|
1359
1377
|
{ target: "deepagents", feature: "skills", entry: "**/.deepagents/skills/" },
|
|
1360
1378
|
{
|
|
@@ -1383,8 +1401,8 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1383
1401
|
{ target: "factorydroid", feature: "mcp", entry: "**/.factory/mcp.json" },
|
|
1384
1402
|
{
|
|
1385
1403
|
target: "factorydroid",
|
|
1386
|
-
feature: "
|
|
1387
|
-
entry: "**/.factory/
|
|
1404
|
+
feature: "hooks",
|
|
1405
|
+
entry: "**/.factory/hooks.json"
|
|
1388
1406
|
},
|
|
1389
1407
|
// Gemini CLI
|
|
1390
1408
|
{ target: "geminicli", feature: "rules", entry: "**/GEMINI.md" },
|
|
@@ -1397,6 +1415,8 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1397
1415
|
{ target: "goose", feature: "rules", entry: "**/.goosehints" },
|
|
1398
1416
|
{ target: "goose", feature: "rules", entry: "**/.goose/" },
|
|
1399
1417
|
{ target: "goose", feature: "ignore", entry: "**/.gooseignore" },
|
|
1418
|
+
// Goose lifecycle hooks plugin (.agents/plugins/<name>/hooks/hooks.json)
|
|
1419
|
+
{ target: "goose", feature: "hooks", entry: "**/.agents/plugins/" },
|
|
1400
1420
|
// GitHub Copilot
|
|
1401
1421
|
{
|
|
1402
1422
|
target: ["copilot", "copilotcli"],
|
|
@@ -1430,7 +1450,7 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1430
1450
|
{ target: "copilotcli", feature: "hooks", entry: "**/.copilot/hooks/" },
|
|
1431
1451
|
// Junie
|
|
1432
1452
|
{ target: "junie", feature: "rules", entry: "**/.junie/guidelines.md" },
|
|
1433
|
-
{ target: "junie", feature: "mcp", entry: "**/.junie/mcp.json" },
|
|
1453
|
+
{ target: "junie", feature: "mcp", entry: "**/.junie/mcp/mcp.json" },
|
|
1434
1454
|
{ target: "junie", feature: "skills", entry: "**/.junie/skills/" },
|
|
1435
1455
|
{ target: "junie", feature: "subagents", entry: "**/.junie/agents/" },
|
|
1436
1456
|
// Kilo Code
|
|
@@ -1438,7 +1458,7 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1438
1458
|
{ target: "kilo", feature: "skills", entry: "**/.kilo/skills/" },
|
|
1439
1459
|
{ target: "kilo", feature: "commands", entry: "**/.kilo/workflows/" },
|
|
1440
1460
|
{ target: "kilo", feature: "mcp", entry: "**/.kilo/mcp.json" },
|
|
1441
|
-
{ target: "kilo", feature: "ignore", entry: "**/.
|
|
1461
|
+
{ target: "kilo", feature: "ignore", entry: "**/.kilocodeignore" },
|
|
1442
1462
|
// No `**/kilo.jsonc` entry: structurally identical to `opencode.jsonc` (no
|
|
1443
1463
|
// entry). The Kilo translator preserves non-permissions Kilo settings on
|
|
1444
1464
|
// round-trip, so the file is intended to be checked in by the user — adding
|
|
@@ -1469,6 +1489,7 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1469
1489
|
{ target: "pi", feature: "skills", entry: "**/.pi/skills/" },
|
|
1470
1490
|
// Qwen Code
|
|
1471
1491
|
{ target: "qwencode", feature: "rules", entry: "**/QWEN.md" },
|
|
1492
|
+
{ target: "qwencode", feature: "ignore", entry: "**/.qwenignore" },
|
|
1472
1493
|
{ target: "qwencode", feature: "general", entry: "**/.qwen/memories/" },
|
|
1473
1494
|
{ target: "qwencode", feature: "permissions", entry: "**/.qwen/settings.json" },
|
|
1474
1495
|
// Replit
|
|
@@ -1503,13 +1524,15 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1503
1524
|
{ target: "takt", feature: "general", entry: "**/.takt/tasks/" },
|
|
1504
1525
|
{ target: "takt", feature: "general", entry: "**/.takt/.cache/" },
|
|
1505
1526
|
{ target: "takt", feature: "general", entry: "**/.takt/config.yaml" },
|
|
1506
|
-
//
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
{ target: "
|
|
1510
|
-
{ target: "
|
|
1511
|
-
{ target: "
|
|
1512
|
-
{ target: "
|
|
1527
|
+
// Devin (Devin Desktop). Since the rebrand (v3.0.12, 2026-06-02), project
|
|
1528
|
+
// rules/workflows/skills live under `.devin/`; MCP and hooks keep their
|
|
1529
|
+
// `.devin/` paths and the global skills path is unchanged.
|
|
1530
|
+
{ target: "devin", feature: "rules", entry: "**/.devin/rules/" },
|
|
1531
|
+
{ target: "devin", feature: "commands", entry: "**/.devin/workflows/" },
|
|
1532
|
+
{ target: "devin", feature: "mcp", entry: "**/.windsurf/mcp_config.json" },
|
|
1533
|
+
{ target: "devin", feature: "hooks", entry: "**/.windsurf/hooks.json" },
|
|
1534
|
+
{ target: "devin", feature: "skills", entry: "**/.devin/skills/" },
|
|
1535
|
+
{ target: "devin", feature: "skills", entry: "**/.codeium/windsurf/skills/" },
|
|
1513
1536
|
// Warp
|
|
1514
1537
|
// `/init` now writes `AGENTS.md` (handled by the shared AGENTS.md entry above).
|
|
1515
1538
|
{ target: "warp", feature: "rules", entry: "**/.warp/" },
|
|
@@ -6539,7 +6562,7 @@ function wrapCommand({
|
|
|
6539
6562
|
}
|
|
6540
6563
|
|
|
6541
6564
|
// src/cli/index.ts
|
|
6542
|
-
var getVersion = () => "8.
|
|
6565
|
+
var getVersion = () => "8.27.0";
|
|
6543
6566
|
function wrapCommand2(name, errorCode, handler) {
|
|
6544
6567
|
return wrapCommand({ name, errorCode, handler, getVersion });
|
|
6545
6568
|
}
|