Releases: OpenCodeIntel/saar
v0.6.0
v0.5.14
v0.5.13
v0.5.12
v0.5.11
v0.5.10
v0.5.9
v0.5.8 -- OPE-108: --include flag for monorepo subset analysis
Monorepos with 30+ packages now get focused AGENTS.md instead of a bloated one.
The problem: Trevor's effect-ts has 30+ packages. 'saar extract .' analyzed everything and produced an AGENTS.md mixing patterns from unrelated packages.
The fix:
# Analyse only two packages from a monorepo
saar extract ./effect-ts --include packages/effect packages/schema
# Nx workspace -- just the app you're working on
saar extract ./nx-workspace --include apps/my-app libs/shared-uiImplementation:
- Only the specified subdirectories are scanned for source files
- Team rules (CLAUDE.md, .cursorrules) always read from repo root
- Invalid paths warned and skipped, never crash
- Detection summary shows 'subset: packages/effect packages/schema' when active
- Absolute paths also supported
Tests: 499 passing (+3 new)
v0.5.7 -- Cursor .mdc format (OPE-143)
Cursor v2 .mdc rule format: rules load conditionally based on which file you're editing.
Bug fixed: --format cursor-mdc was crashing with AttributeError on any repo with TypeScript frontend. fp.data_fetching doesn't exist -- the correct field is fp.uses_react_query. Fixed.
Generated files for a FastAPI + React project:
.cursor/rules/core.mdc -- alwaysApply: true, project-wide rules
.cursor/rules/backend.mdc -- Python files only, auth/ORM/testing
.cursor/rules/frontend.mdc -- TS/TSX files only, React/shadcn/hooks
.cursor/rules/tests.mdc -- test files only
Auto-detection: when .cursor/ dir is present, saar extract . now generates .mdc files instead of flat .cursorrules automatically.
v0.5.6 -- auto-detect AI tools, no --format flag needed
OPE-141: saar now detects which AI tools you use and generates the right files automatically.
Before: users with Cursor had to know to run 'saar extract . --format cursorrules'
After: 'saar extract .' just works
Detection:
.cursor/ dir or .cursorrules present -> generates .cursorrules
CLAUDE.md present -> generates CLAUDE.md
.github/copilot-instructions.md present -> generates that file
Tests: 488 passing (+7 new)