ai-rulez 4.19.0 → 4.20.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.
Files changed (2) hide show
  1. package/README.md +12 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -241,6 +241,13 @@ command = "npx"
241
241
  args = ["-y", "ai-rulez@latest", "mcp"]
242
242
  ```
243
243
 
244
+ Or let `generate` add it for you. With `[mcp] self_server = true` the entry is merged into the project `.mcp.json`, pinned to the running ai-rulez version, without touching hand-authored servers or `.claude/settings.json`:
245
+
246
+ ```toml
247
+ [mcp]
248
+ self_server = true
249
+ ```
250
+
244
251
  ## Installation
245
252
 
246
253
  No install needed — `npx ai-rulez@latest <command>` works out of the box. Pick a permanent option below:
@@ -309,7 +316,7 @@ Add to `.pre-commit-config.yaml`:
309
316
  ```yaml
310
317
  repos:
311
318
  - repo: https://github.com/Goldziher/ai-rulez
312
- rev: v4.19.0
319
+ rev: v4.20.1
313
320
  hooks:
314
321
  - id: ai-rulez-recursive # generate outputs across the repo
315
322
  - id: ai-rulez-validate # dry-run validation
@@ -330,7 +337,7 @@ repository needs. This requires AI-Rulez 4.9.0+ and Poly 0.14.0+:
330
337
  [[hooks.sources]]
331
338
  id = "ai-rulez"
332
339
  git = "https://github.com/Goldziher/ai-rulez.git"
333
- revision = "v4.19.0"
340
+ revision = "v4.20.1"
334
341
  hooks = ["ai-rulez-recursive", "ai-rulez-plugin-verify"]
335
342
  ```
336
343
 
@@ -364,6 +371,9 @@ pre-commit:
364
371
  run: ai-rulez generate --recursive
365
372
  ```
366
373
 
374
+ In a monorepo, `ai-rulez generate --recursive` and `ai-rulez validate --recursive` (`-r`) process every nested
375
+ `.ai-rulez/` root, report all failures, and exit non-zero if any root failed.
376
+
367
377
  Or run `ai-rulez init --setup-hooks` while initializing a repo to wire hooks in automatically.
368
378
  </details>
369
379
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-rulez",
3
- "version": "4.19.0",
3
+ "version": "4.20.1",
4
4
  "description": "Complete AI development workflow for 14 AI coding tools. Ships with builtin rules, agents, and conventions. Generate native configs for Claude, Cursor, Copilot, Windsurf, Gemini, Codex and more from a single source.",
5
5
  "keywords": [
6
6
  "agents",