rulesync 3.30.0 → 3.32.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 +37 -2
  2. package/dist/index.cjs +1177 -732
  3. package/dist/index.js +1173 -728
  4. package/package.json +7 -7
package/README.md CHANGED
@@ -139,11 +139,11 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
139
139
  |------------------------|:-----:|:------:|:-----:|:--------:|:---------:|:------:|
140
140
  | AGENTS.md | ✅ | | | 🎮 | 🎮 | 🎮 |
141
141
  | Claude Code | ✅ 🌏 | ✅ | ✅ 🌏 📦 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
142
- | Codex CLI | ✅ 🌏 | | 🌏 | 🌏 | 🎮 | 🎮 |
142
+ | Codex CLI | ✅ 🌏 | | 🌏 | 🌏 | 🎮 | 🌏 |
143
143
  | Gemini CLI | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | 🎮 | 🎮 |
144
144
  | GitHub Copilot | ✅ | | ✅ | ✅ | 🎮 | 🎮 |
145
145
  | Cursor | ✅ | ✅ | ✅ | ✅ 🌏 | 🎮 | 🎮 |
146
- | OpenCode | ✅ | | ✅ | | | |
146
+ | OpenCode | ✅ | | ✅ | ✅ 🌏 | | |
147
147
  | Cline | ✅ | ✅ | ✅ | | | |
148
148
  | Roo Code | ✅ | ✅ | ✅ | ✅ | 🎮 | |
149
149
  | Qwen Code | ✅ | ✅ | | | | |
@@ -183,6 +183,13 @@ You can use global mode via Rulesync by enabling `--global` option.
183
183
  ### 🎮 **Simulate Commands and Subagents**
184
184
  Simulated commands and subagents allow you to generate simulated commands and subagents for copilot, cursor and codexcli. This is useful for shortening your prompts.
185
185
 
186
+ ## Case Studies
187
+
188
+ Rulesync is trusted by leading companies and recognized by the industry:
189
+
190
+ - **Anthropic Official Customer Story**: [Classmethod Inc. - Improving AI coding tool consistency with Rulesync](https://claude.com/customers/classmethod)
191
+ - **Asoview Inc.**: [Adopting Rulesync for unified AI development rules](https://tech.asoview.co.jp/entry/2025/12/06/100000)
192
+
186
193
  ## Quick Commands
187
194
 
188
195
  ```bash
@@ -266,6 +273,34 @@ Example:
266
273
  }
267
274
  ```
268
275
 
276
+ ### Target Order and File Conflicts
277
+
278
+ When multiple targets write to the same output file, **the last target in the array wins**. This is the "last-wins" behavior.
279
+
280
+ For example, both `agentsmd` and `opencode` generate `AGENTS.md`:
281
+
282
+ ```jsonc
283
+ {
284
+ // opencode wins because it comes last
285
+ "targets": ["agentsmd", "opencode"],
286
+ "features": ["rules"]
287
+ }
288
+ ```
289
+
290
+ In this case:
291
+ 1. `agentsmd` generates `AGENTS.md` first
292
+ 2. `opencode` generates `AGENTS.md` second, overwriting the previous file
293
+
294
+ If you want `agentsmd`'s output instead, reverse the order:
295
+
296
+ ```jsonc
297
+ {
298
+ // agentsmd wins because it comes last
299
+ "targets": ["opencode", "agentsmd"],
300
+ "features": ["rules"]
301
+ }
302
+ ```
303
+
269
304
  ## Each File Format
270
305
 
271
306
  ### `rulesync/rules/*.md`