rulesync 4.1.1 → 4.3.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.
Files changed (4) hide show
  1. package/README.md +33 -19
  2. package/dist/index.cjs +1024 -568
  3. package/dist/index.js +1028 -572
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -133,8 +133,8 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
133
133
  | Codex CLI | ✅ 🌏 | | 🌏 | 🌏 | 🎮 | 🌏 |
134
134
  | Gemini CLI | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | 🎮 | 🎮 |
135
135
  | GitHub Copilot | ✅ | | ✅ | ✅ | ✅ | ✅ |
136
- | Cursor | ✅ | ✅ | ✅ | ✅ 🌏 | 🎮 | 🎮 |
137
- | OpenCode | ✅ | | ✅ | ✅ 🌏 | | ✅ 🌏 |
136
+ | Cursor | ✅ | ✅ | ✅ | ✅ 🌏 | 🎮 | |
137
+ | OpenCode | ✅ | | ✅ | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
138
138
  | Cline | ✅ | ✅ | ✅ | | | |
139
139
  | Roo Code | ✅ | ✅ | ✅ | ✅ | 🎮 | |
140
140
  | Qwen Code | ✅ | ✅ | | | | |
@@ -361,6 +361,17 @@ claudecode: # for claudecode-specific parameters
361
361
  copilot: # for GitHub Copilot specific parameters
362
362
  tools:
363
363
  - web/fetch # agent/runSubagent is always included automatically
364
+ opencode: # for OpenCode-specific parameters
365
+ mode: subagent # must be set so OpenCode treats the agent as a subagent
366
+ model: anthropic/claude-sonnet-4-20250514
367
+ temperature: 0.1
368
+ tools:
369
+ write: false
370
+ edit: false
371
+ bash: false
372
+ permission:
373
+ bash:
374
+ "git diff": allow
364
375
  ---
365
376
 
366
377
  You are the planner for any tasks.
@@ -680,10 +691,13 @@ Focus on the difference of MCP tools usage.
680
691
  So, in this case, approximately 92% reduction in MCP tools consumption!
681
692
  </details>
682
693
 
683
- ## Rulesync MCP Server (Experimental)
694
+ ## Rulesync MCP Server
684
695
 
685
696
  Rulesync provides an MCP (Model Context Protocol) server that enables AI agents to manage your Rulesync files. This allows AI agents to discover, read, create, update, and delete files dynamically.
686
697
 
698
+ > [!NOTE]
699
+ > The MCP server exposes the only one tool to minimize your agent's token usage. Approximately less than 1k tokens for the tool definition.
700
+
687
701
  ### Available Tools
688
702
 
689
703
  The Rulesync MCP server provides the following tools:
@@ -691,40 +705,40 @@ The Rulesync MCP server provides the following tools:
691
705
  <details>
692
706
  <summary>Rules Management</summary>
693
707
 
694
- - `listRules` - List all rule files
695
- - `getRule` - Get a specific rule file
696
- - `putRule` - Create or update a rule file
697
- - `deleteRule` - Delete a rule file
708
+ - `list` - List all rule files
709
+ - `get` - Get a specific rule file
710
+ - `put` - Create or update a rule file
711
+ - `delete` - Delete a rule file
698
712
 
699
713
  </details>
700
714
 
701
715
  <details>
702
716
  <summary>Commands Management</summary>
703
717
 
704
- - `listCommands` - List all command files
705
- - `getCommand` - Get a specific command file
706
- - `putCommand` - Create or update a command file
707
- - `deleteCommand` - Delete a command file
718
+ - `list` - List all command files
719
+ - `get` - Get a specific command file
720
+ - `put` - Create or update a command file
721
+ - `delete` - Delete a command file
708
722
 
709
723
  </details>
710
724
 
711
725
  <details>
712
726
  <summary>Subagents Management</summary>
713
727
 
714
- - `listSubagents` - List all subagent files
715
- - `getSubagent` - Get a specific subagent file
716
- - `putSubagent` - Create or update a subagent file
717
- - `deleteSubagent` - Delete a subagent file
728
+ - `list` - List all subagent files
729
+ - `get` - Get a specific subagent file
730
+ - `put` - Create or update a subagent file
731
+ - `delete` - Delete a subagent file
718
732
 
719
733
  </details>
720
734
 
721
735
  <details>
722
736
  <summary>Skills Management</summary>
723
737
 
724
- - `listSkills` - List all skill directories
725
- - `getSkill` - Get a specific skill (SKILL.md and other files)
726
- - `putSkill` - Create or update a skill directory
727
- - `deleteSkill` - Delete a skill directory
738
+ - `list` - List all skill directories
739
+ - `get` - Get a specific skill (SKILL.md and other files)
740
+ - `put` - Create or update a skill directory
741
+ - `delete` - Delete a skill directory
728
742
 
729
743
  </details>
730
744