rulesync 9.6.3 → 9.8.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 CHANGED
@@ -24,10 +24,20 @@ A Node.js CLI tool that automatically generates configuration files for various
24
24
 
25
25
  ```bash
26
26
  npm install -g rulesync
27
- # or
27
+ ```
28
+
29
+ Or install from our Homebrew tap (macOS and Linux):
30
+
31
+ ```bash
32
+ brew tap dyoshikawa/rulesync https://github.com/dyoshikawa/rulesync
28
33
  brew install rulesync
29
34
  ```
30
35
 
36
+ The tap lives inside this repository, so it does not have a `homebrew-` prefix.
37
+ The two-argument `brew tap <name> <url>` form is therefore required — the
38
+ shorthand `brew install dyoshikawa/rulesync/rulesync` without tapping first does
39
+ not work.
40
+
31
41
  ### Single Binary
32
42
 
33
43
  ```bash
@@ -85,7 +95,7 @@ The tables below show whether each tool supports a given feature (✅ = supporte
85
95
  | GitHub Copilot CLI | ✅ | | ✅ | | ✅ | ✅ | ✅ | |
86
96
  | Goose | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
87
97
  | Hermes Agent | ✅ | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
88
- | Grok CLI | ✅ | | ✅ | | ✅ | ✅ | | ✅ |
98
+ | Grok CLI | ✅ | | ✅ | | ✅ | ✅ || ✅ |
89
99
  | Cursor | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
90
100
  | deepagents-cli | ✅ | | ✅ | | ✅ | ✅ | ✅ | |
91
101
  | Factory Droid | ✅ | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_import = require("../import-DnpMhZOY.cjs");
2
+ const require_import = require("../import-l0o1jVdc.cjs");
3
3
  let commander = require("commander");
4
4
  let zod_mini = require("zod/mini");
5
5
  let node_path = require("node:path");
@@ -1774,29 +1774,18 @@ globs: ["**/*"]
1774
1774
  content: `{
1775
1775
  "$schema": "${require_import.RULESYNC_MCP_SCHEMA_URL}",
1776
1776
  "mcpServers": {
1777
- "serena": {
1778
- "type": "stdio",
1779
- "command": "uvx",
1780
- "args": [
1781
- "--from",
1782
- "git+https://github.com/oraios/serena",
1783
- "serena",
1784
- "start-mcp-server",
1785
- "--context",
1786
- "ide-assistant",
1787
- "--enable-web-dashboard",
1788
- "false",
1789
- "--project",
1790
- "."
1791
- ],
1777
+ "deepwiki": {
1778
+ "type": "http",
1779
+ "url": "https://mcp.deepwiki.com/mcp",
1792
1780
  "env": {}
1793
1781
  },
1794
- "context7": {
1782
+ "rulesync": {
1795
1783
  "type": "stdio",
1796
- "command": "npx",
1784
+ "command": "pnpm",
1797
1785
  "args": [
1798
- "-y",
1799
- "@upstash/context7-mcp"
1786
+ "dlx",
1787
+ "rulesync",
1788
+ "mcp"
1800
1789
  ],
1801
1790
  "env": {}
1802
1791
  }
@@ -6461,7 +6450,7 @@ function wrapCommand$1({ name, errorCode, handler, getVersion, loggerFactory = c
6461
6450
  }
6462
6451
  //#endregion
6463
6452
  //#region src/cli/index.ts
6464
- const getVersion = () => "9.6.3";
6453
+ const getVersion = () => "9.8.0";
6465
6454
  function wrapCommand(name, errorCode, handler) {
6466
6455
  return wrapCommand$1({
6467
6456
  name,
package/dist/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as removeTempDirectory, A as RulesyncCommand, B as checkPathTraversal, C as RulesyncHooks, Ct as RULESYNC_RULES_RELATIVE_DIR_PATH, D as CLAUDECODE_MEMORIES_DIR_NAME, Dt as formatError, E as CLAUDECODE_LOCAL_RULE_FILE_NAME, Et as RULESYNC_SUBAGENTS_RELATIVE_DIR_PATH, F as findControlCharacter, G as findFilesByGlobs, H as directoryExists, I as ConsoleLogger, J as isSymlink, K as getFileSize, L as JsonLogger, M as stringifyFrontmatter, N as loadYaml, O as CLAUDECODE_SETTINGS_LOCAL_FILE_NAME, Ot as ALL_FEATURES, P as ConfigResolver, Q as removeFile, R as CLIError, S as HooksProcessor, St as RULESYNC_RELATIVE_DIR_PATH, T as CLAUDECODE_DIR, Tt as RULESYNC_SOURCES_LOCK_RELATIVE_FILE_PATH, U as ensureDir, V as createTempDirectory, W as fileExists, X as readFileContent, Y as listDirectoryFiles, Z as removeDirectory, _ as RulesyncPermissions, _t as RULESYNC_MCP_RELATIVE_FILE_PATH, a as convertFromTool, at as MAX_FILE_SIZE, b as IgnoreProcessor, bt as RULESYNC_PERMISSIONS_FILE_NAME, c as RulesyncRuleFrontmatterSchema, ct as RULESYNC_COMMANDS_RELATIVE_DIR_PATH, d as RulesyncSubagentFrontmatterSchema, dt as RULESYNC_CURATED_SKILLS_RELATIVE_DIR_PATH, et as toPosixPath, f as SkillsProcessor, ft as RULESYNC_HOOKS_FILE_NAME, g as SKILL_FILE_NAME$1, gt as RULESYNC_MCP_FILE_NAME, h as RulesyncSkillFrontmatterSchema, ht as RULESYNC_LOCAL_CONFIG_RELATIVE_FILE_PATH, i as getProcessorRegistryEntry, it as ToolTargetSchema, j as RulesyncCommandFrontmatterSchema, k as CLAUDECODE_SKILLS_DIR_PATH, kt as ALL_FEATURES_WITH_WILDCARD, l as SubagentsProcessor, lt as RULESYNC_CONFIG_RELATIVE_FILE_PATH, m as RulesyncSkill, mt as RULESYNC_IGNORE_RELATIVE_FILE_PATH, n as checkRulesyncDirExists, nt as ALL_TOOL_TARGETS, o as RulesProcessor, ot as RULESYNC_AIIGNORE_FILE_NAME, p as getLocalSkillDirNames, pt as RULESYNC_HOOKS_RELATIVE_FILE_PATH, q as getHomeDirectory, r as generate, rt as ALL_TOOL_TARGETS_WITH_WILDCARD, s as RulesyncRule, st as RULESYNC_AIIGNORE_RELATIVE_FILE_PATH, t as importFromTool, tt as writeFileContent, u as RulesyncSubagent, ut as RULESYNC_CONFIG_SCHEMA_URL, v as McpProcessor, vt as RULESYNC_MCP_SCHEMA_URL, w as CommandsProcessor, wt as RULESYNC_SKILLS_RELATIVE_DIR_PATH, x as RulesyncIgnore, xt as RULESYNC_PERMISSIONS_RELATIVE_FILE_PATH, y as RulesyncMcp, yt as RULESYNC_OVERVIEW_FILE_NAME, z as ErrorCodes } from "../import-A1yGuzwv.js";
2
+ import { $ as removeTempDirectory, A as RulesyncCommand, B as checkPathTraversal, C as RulesyncHooks, Ct as RULESYNC_RULES_RELATIVE_DIR_PATH, D as CLAUDECODE_MEMORIES_DIR_NAME, Dt as formatError, E as CLAUDECODE_LOCAL_RULE_FILE_NAME, Et as RULESYNC_SUBAGENTS_RELATIVE_DIR_PATH, F as findControlCharacter, G as findFilesByGlobs, H as directoryExists, I as ConsoleLogger, J as isSymlink, K as getFileSize, L as JsonLogger, M as stringifyFrontmatter, N as loadYaml, O as CLAUDECODE_SETTINGS_LOCAL_FILE_NAME, Ot as ALL_FEATURES, P as ConfigResolver, Q as removeFile, R as CLIError, S as HooksProcessor, St as RULESYNC_RELATIVE_DIR_PATH, T as CLAUDECODE_DIR, Tt as RULESYNC_SOURCES_LOCK_RELATIVE_FILE_PATH, U as ensureDir, V as createTempDirectory, W as fileExists, X as readFileContent, Y as listDirectoryFiles, Z as removeDirectory, _ as RulesyncPermissions, _t as RULESYNC_MCP_RELATIVE_FILE_PATH, a as convertFromTool, at as MAX_FILE_SIZE, b as IgnoreProcessor, bt as RULESYNC_PERMISSIONS_FILE_NAME, c as RulesyncRuleFrontmatterSchema, ct as RULESYNC_COMMANDS_RELATIVE_DIR_PATH, d as RulesyncSubagentFrontmatterSchema, dt as RULESYNC_CURATED_SKILLS_RELATIVE_DIR_PATH, et as toPosixPath, f as SkillsProcessor, ft as RULESYNC_HOOKS_FILE_NAME, g as SKILL_FILE_NAME$1, gt as RULESYNC_MCP_FILE_NAME, h as RulesyncSkillFrontmatterSchema, ht as RULESYNC_LOCAL_CONFIG_RELATIVE_FILE_PATH, i as getProcessorRegistryEntry, it as ToolTargetSchema, j as RulesyncCommandFrontmatterSchema, k as CLAUDECODE_SKILLS_DIR_PATH, kt as ALL_FEATURES_WITH_WILDCARD, l as SubagentsProcessor, lt as RULESYNC_CONFIG_RELATIVE_FILE_PATH, m as RulesyncSkill, mt as RULESYNC_IGNORE_RELATIVE_FILE_PATH, n as checkRulesyncDirExists, nt as ALL_TOOL_TARGETS, o as RulesProcessor, ot as RULESYNC_AIIGNORE_FILE_NAME, p as getLocalSkillDirNames, pt as RULESYNC_HOOKS_RELATIVE_FILE_PATH, q as getHomeDirectory, r as generate, rt as ALL_TOOL_TARGETS_WITH_WILDCARD, s as RulesyncRule, st as RULESYNC_AIIGNORE_RELATIVE_FILE_PATH, t as importFromTool, tt as writeFileContent, u as RulesyncSubagent, ut as RULESYNC_CONFIG_SCHEMA_URL, v as McpProcessor, vt as RULESYNC_MCP_SCHEMA_URL, w as CommandsProcessor, wt as RULESYNC_SKILLS_RELATIVE_DIR_PATH, x as RulesyncIgnore, xt as RULESYNC_PERMISSIONS_RELATIVE_FILE_PATH, y as RulesyncMcp, yt as RULESYNC_OVERVIEW_FILE_NAME, z as ErrorCodes } from "../import-Dioh9ca8.js";
3
3
  import { Command } from "commander";
4
4
  import { nonnegative, optional, refine, z } from "zod/mini";
5
5
  import * as path$1 from "node:path";
@@ -1772,29 +1772,18 @@ globs: ["**/*"]
1772
1772
  content: `{
1773
1773
  "$schema": "${RULESYNC_MCP_SCHEMA_URL}",
1774
1774
  "mcpServers": {
1775
- "serena": {
1776
- "type": "stdio",
1777
- "command": "uvx",
1778
- "args": [
1779
- "--from",
1780
- "git+https://github.com/oraios/serena",
1781
- "serena",
1782
- "start-mcp-server",
1783
- "--context",
1784
- "ide-assistant",
1785
- "--enable-web-dashboard",
1786
- "false",
1787
- "--project",
1788
- "."
1789
- ],
1775
+ "deepwiki": {
1776
+ "type": "http",
1777
+ "url": "https://mcp.deepwiki.com/mcp",
1790
1778
  "env": {}
1791
1779
  },
1792
- "context7": {
1780
+ "rulesync": {
1793
1781
  "type": "stdio",
1794
- "command": "npx",
1782
+ "command": "pnpm",
1795
1783
  "args": [
1796
- "-y",
1797
- "@upstash/context7-mcp"
1784
+ "dlx",
1785
+ "rulesync",
1786
+ "mcp"
1798
1787
  ],
1799
1788
  "env": {}
1800
1789
  }
@@ -6459,7 +6448,7 @@ function wrapCommand$1({ name, errorCode, handler, getVersion, loggerFactory = c
6459
6448
  }
6460
6449
  //#endregion
6461
6450
  //#region src/cli/index.ts
6462
- const getVersion = () => "9.6.3";
6451
+ const getVersion = () => "9.8.0";
6463
6452
  function wrapCommand(name, errorCode, handler) {
6464
6453
  return wrapCommand$1({
6465
6454
  name,