# Changelog ## 1.0.5 - Generate `.cursor/mcp.json` from the project brief (MCP presets, backend-specific servers, env placeholders only — no secrets in the repo). - Brief schema, validation, and resolver updates aligned with the current template set. - Refreshed bundled templates (rules, agents, hooks, skills, commands, onboarding, root tooling). ## 1.0.4 - Fix package-root detection for template resolution: walk up from the resolved `package:cursor_gen/...` file until `pubspec.yaml` is found (global installs were incorrectly using `lib/templates`). ## 1.0.3 - Resolve template bundle by sentinel file (`rules/universal/flutter-core.mdc.tmpl`); prefer package `templates/` first for global installs; exit with a clear error instead of writing placeholder-only output. - Generate repo-root `AGENTS.md` and `lefthook.yaml` from `templates/root/`. - Golden tests now `await` async golden comparison so repo-root goldens are written reliably. ## 1.0.2 - Wizard aligns with full brief schema; shared `kCursorTemplatesVersion` for lock file and generated brief. ## 1.0.1 - Fix default template resolution so generated projects use bundled templates instead of writing `Template not found` placeholders. - Include templates in the published package so hosted/global installs can generate real content. - Add a regression test for the generated `hooks/arch-guard.ts` content. - Improve installation docs for global `cursor_gen` usage. ## 1.0.0 - Initial published release of the `cursor_gen` CLI. - Generates `.cursor/` rules and related config from `project-brief.yaml`. - Supports validate, generate, refresh (preserve customizations), diff preview, wizard, and update checks.