cursor_gen 1.0.5
cursor_gen: ^1.0.5 copied to clipboard
A CLI tool that generates project-specific Cursor AI configurations for Flutter projects.
Changelog #
1.0.5 #
- Generate
.cursor/mcp.jsonfrom 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 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.