rulesync 8.29.0 → 8.30.1
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 +11 -7
- package/dist/{chunk-QKQNZ6C3.js → chunk-DF7KWJTN.js} +4663 -1691
- package/dist/cli/index.cjs +5095 -2095
- package/dist/cli/index.js +36 -8
- package/dist/index.cjs +4683 -1711
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
stringifyFrontmatter,
|
|
90
90
|
toPosixPath,
|
|
91
91
|
writeFileContent
|
|
92
|
-
} from "../chunk-
|
|
92
|
+
} from "../chunk-DF7KWJTN.js";
|
|
93
93
|
|
|
94
94
|
// src/cli/index.ts
|
|
95
95
|
import { Command } from "commander";
|
|
@@ -1282,7 +1282,7 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1282
1282
|
{ target: "common", feature: "general", entry: "**/AGENTS.local.md" },
|
|
1283
1283
|
// AGENTS.md
|
|
1284
1284
|
{
|
|
1285
|
-
target: ["agentsmd", "amp", "antigravity-ide", "pi", "vibe", "warp"],
|
|
1285
|
+
target: ["agentsmd", "amp", "antigravity-cli", "antigravity-ide", "pi", "vibe", "warp"],
|
|
1286
1286
|
feature: "rules",
|
|
1287
1287
|
entry: "**/AGENTS.md"
|
|
1288
1288
|
},
|
|
@@ -1296,16 +1296,15 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1296
1296
|
{ target: "amp", feature: "rules", entry: "**/.agents/memories/" },
|
|
1297
1297
|
{ target: "amp", feature: "skills", entry: "**/.agents/skills/" },
|
|
1298
1298
|
// Antigravity (IDE + CLI, Antigravity 2.0)
|
|
1299
|
-
// Both targets share the `.agents/` project tree
|
|
1300
|
-
//
|
|
1301
|
-
//
|
|
1299
|
+
// Both targets share the `.agents/` project tree and both write a root
|
|
1300
|
+
// `AGENTS.md` (handled by the shared AGENTS.md entry above). Global-scope
|
|
1301
|
+
// paths (under the home directory, e.g. `~/.gemini/GEMINI.md`) are
|
|
1302
1302
|
// intentionally not gitignored.
|
|
1303
1303
|
{
|
|
1304
1304
|
target: ["antigravity-ide", "antigravity-cli"],
|
|
1305
1305
|
feature: "rules",
|
|
1306
1306
|
entry: "**/.agents/rules/"
|
|
1307
1307
|
},
|
|
1308
|
-
{ target: "antigravity-cli", feature: "rules", entry: "**/GEMINI.md" },
|
|
1309
1308
|
{ target: "antigravity-cli", feature: "ignore", entry: "**/.geminiignore" },
|
|
1310
1309
|
{
|
|
1311
1310
|
target: "antigravity-ide",
|
|
@@ -1455,11 +1454,19 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1455
1454
|
{ target: "goose", feature: "rules", entry: "**/.goosehints" },
|
|
1456
1455
|
{ target: "goose", feature: "rules", entry: "**/.goose/" },
|
|
1457
1456
|
{ target: "goose", feature: "ignore", entry: "**/.gooseignore" },
|
|
1457
|
+
// Goose recipes: commands map to top-level recipes (`.goose/recipes/*.yaml`)
|
|
1458
|
+
// and subagents to sub-recipes (`.goose/recipes/subagents/*.yaml`). These are
|
|
1459
|
+
// already covered by the broad `**/.goose/` rules entry above, but tagging
|
|
1460
|
+
// them per-feature keeps coverage correct under feature-filtered gitignore.
|
|
1461
|
+
{ target: "goose", feature: "commands", entry: "**/.goose/recipes/" },
|
|
1462
|
+
{ target: "goose", feature: "subagents", entry: "**/.goose/recipes/subagents/" },
|
|
1458
1463
|
// Goose lifecycle hooks plugin (.agents/plugins/<name>/hooks/hooks.json)
|
|
1459
1464
|
{ target: "goose", feature: "hooks", entry: "**/.agents/plugins/" },
|
|
1460
1465
|
// Goose reads MCP "extensions" only from the global user config
|
|
1461
1466
|
// (`~/.config/goose/config.yaml`), which lives under the home directory and is
|
|
1462
1467
|
// not gitignored at the project level (mirrors Cline's global-only MCP).
|
|
1468
|
+
// Grok Build
|
|
1469
|
+
{ target: "grokcli", feature: "general", entry: "**/.grok/config.toml" },
|
|
1463
1470
|
// GitHub Copilot
|
|
1464
1471
|
{
|
|
1465
1472
|
target: ["copilot", "copilotcli"],
|
|
@@ -1516,6 +1523,15 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1516
1523
|
{ target: "kiro", feature: "subagents", entry: "**/.kiro/agents/" },
|
|
1517
1524
|
{ target: "kiro", feature: "mcp", entry: "**/.kiro/settings/mcp.json" },
|
|
1518
1525
|
{ target: "kiro", feature: "ignore", entry: "**/.aiignore" },
|
|
1526
|
+
// Kiro IDE and CLI write to the same `.kiro/` tree as the legacy `kiro` alias.
|
|
1527
|
+
// (Kiro IDE subagents are Markdown under `.kiro/agents/`, the CLI's are JSON —
|
|
1528
|
+
// both covered by the shared `**/.kiro/agents/` entry.)
|
|
1529
|
+
{ target: ["kiro-cli", "kiro-ide"], feature: "rules", entry: "**/.kiro/steering/" },
|
|
1530
|
+
{ target: ["kiro-cli", "kiro-ide"], feature: "commands", entry: "**/.kiro/prompts/" },
|
|
1531
|
+
{ target: ["kiro-cli", "kiro-ide"], feature: "skills", entry: "**/.kiro/skills/" },
|
|
1532
|
+
{ target: ["kiro-cli", "kiro-ide"], feature: "subagents", entry: "**/.kiro/agents/" },
|
|
1533
|
+
{ target: ["kiro-cli", "kiro-ide"], feature: "mcp", entry: "**/.kiro/settings/mcp.json" },
|
|
1534
|
+
{ target: ["kiro-cli", "kiro-ide"], feature: "ignore", entry: "**/.aiignore" },
|
|
1519
1535
|
// Keep this after ignore entries like "**/.aiignore" so the exception remains effective.
|
|
1520
1536
|
{ target: "common", feature: "general", entry: "!.rulesync/.aiignore" },
|
|
1521
1537
|
// OpenCode
|
|
@@ -1535,8 +1551,12 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1535
1551
|
{ target: "pi", feature: "skills", entry: "**/.pi/skills/" },
|
|
1536
1552
|
// Qwen Code
|
|
1537
1553
|
{ target: "qwencode", feature: "rules", entry: "**/QWEN.md" },
|
|
1554
|
+
{ target: "qwencode", feature: "commands", entry: "**/.qwen/commands/" },
|
|
1555
|
+
{ target: "qwencode", feature: "subagents", entry: "**/.qwen/agents/" },
|
|
1556
|
+
{ target: "qwencode", feature: "skills", entry: "**/.qwen/skills/" },
|
|
1538
1557
|
{ target: "qwencode", feature: "ignore", entry: "**/.qwenignore" },
|
|
1539
1558
|
{ target: "qwencode", feature: "general", entry: "**/.qwen/memories/" },
|
|
1559
|
+
// mcp + hooks both write to `.qwen/settings.json`, shared with permissions.
|
|
1540
1560
|
{ target: "qwencode", feature: "permissions", entry: "**/.qwen/settings.json" },
|
|
1541
1561
|
// Replit
|
|
1542
1562
|
{ target: "replit", feature: "rules", entry: "**/replit.md" },
|
|
@@ -1545,7 +1565,7 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1545
1565
|
{ target: "roo", feature: "skills", entry: "**/.roo/skills/" },
|
|
1546
1566
|
{ target: "roo", feature: "ignore", entry: "**/.rooignore" },
|
|
1547
1567
|
{ target: "roo", feature: "mcp", entry: "**/.roo/mcp.json" },
|
|
1548
|
-
{ target: "roo", feature: "subagents", entry: "**/.
|
|
1568
|
+
{ target: "roo", feature: "subagents", entry: "**/.roomodes" },
|
|
1549
1569
|
// Rovodev
|
|
1550
1570
|
{
|
|
1551
1571
|
target: "rovodev",
|
|
@@ -1580,12 +1600,20 @@ var GITIGNORE_ENTRY_REGISTRY = [
|
|
|
1580
1600
|
{ target: "devin", feature: "hooks", entry: "**/.windsurf/hooks.json" },
|
|
1581
1601
|
{ target: "devin", feature: "skills", entry: "**/.devin/skills/" },
|
|
1582
1602
|
{ target: "devin", feature: "skills", entry: "**/.codeium/windsurf/skills/" },
|
|
1603
|
+
// Devin Local custom subagent profiles: `.devin/agents/<name>/AGENT.md`
|
|
1604
|
+
// (project). The global path `~/.config/devin/agents/` lives under the home
|
|
1605
|
+
// directory and is not gitignored at the project level.
|
|
1606
|
+
{ target: "devin", feature: "subagents", entry: "**/.devin/agents/" },
|
|
1583
1607
|
// Vibe
|
|
1584
1608
|
{ target: "vibe", feature: "ignore", entry: "**/.vibeignore" },
|
|
1585
1609
|
{ target: "vibe", feature: "skills", entry: "**/.vibe/skills/" },
|
|
1586
1610
|
{ target: "vibe", feature: "subagents", entry: "**/.vibe/agents/" },
|
|
1587
1611
|
{ target: "vibe", feature: "mcp", entry: "**/.vibe/config.toml" },
|
|
1588
1612
|
{ target: "vibe", feature: "permissions", entry: "**/.vibe/config.toml" },
|
|
1613
|
+
// Experimental hooks live in `.vibe/hooks.toml`; the `enable_experimental_hooks`
|
|
1614
|
+
// flag is merged into the shared `.vibe/config.toml` (already covered above).
|
|
1615
|
+
{ target: "vibe", feature: "hooks", entry: "**/.vibe/hooks.toml" },
|
|
1616
|
+
{ target: "vibe", feature: "hooks", entry: "**/.vibe/config.toml" },
|
|
1589
1617
|
// Warp
|
|
1590
1618
|
// Warp reads project rules only from the root `AGENTS.md` (handled by the
|
|
1591
1619
|
// shared AGENTS.md entry above); it does not read `.warp/memories/`, so no
|
|
@@ -6616,7 +6644,7 @@ function wrapCommand({
|
|
|
6616
6644
|
}
|
|
6617
6645
|
|
|
6618
6646
|
// src/cli/index.ts
|
|
6619
|
-
var getVersion = () => "8.
|
|
6647
|
+
var getVersion = () => "8.30.1";
|
|
6620
6648
|
function wrapCommand2(name, errorCode, handler) {
|
|
6621
6649
|
return wrapCommand({ name, errorCode, handler, getVersion });
|
|
6622
6650
|
}
|