44b5d814d4
- Updated cursor_templates_version in project-brief.yaml to 1.0.4 for reproducibility. - Enhanced CHANGELOG with fixes and features for version 1.0.4, including improved template resolution for global installs. - Updated pubspec.yaml and VERSION file to reflect the new version. - Added new templates for AGENTS.md and lefthook.yaml to the generator. - Adjusted tests to include new root-level files in the output. This release addresses template resolution issues and introduces new repo-level configuration files.
1.3 KiB
1.3 KiB
Changelog
1.0.4
- Fix package-root detection for template resolution: walk up from the resolved
package:cursor_gen/...file untilpubspec.yamlis found (global installs were incorrectly usinglib/templates).
1.0.3
- Resolve template bundle by sentinel file (
rules/universal/flutter-core.mdc.tmpl); prefer packagetemplates/first for global installs; exit with a clear error instead of writing placeholder-only output. - Generate repo-root
AGENTS.mdandlefthook.yamlfromtemplates/root/. - Golden tests now
awaitasync golden comparison so repo-root goldens are written reliably.
1.0.2
- Wizard aligns with full brief schema; shared
kCursorTemplatesVersionfor lock file and generated brief.
1.0.1
- Fix default template resolution so generated projects use bundled templates instead of writing
Template not foundplaceholders. - Include templates in the published package so hosted/global installs can generate real content.
- Add a regression test for the generated
hooks/arch-guard.tscontent. - Improve installation docs for global
cursor_genusage.
1.0.0
- Initial published release of the
cursor_genCLI. - Generates
.cursor/rules and related config fromproject-brief.yaml. - Supports validate, generate, refresh (preserve customizations), diff preview, wizard, and update checks.