mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
- Import isCursorModel to detect Cursor models - For Cursor: embed systemPrompt in userPrompt with explicit instructions - Add "DO NOT write any files" directive for Cursor models - Prevents Cursor from writing plan to files instead of returning JSON - Matches pattern used by github validation (validate-issue.ts) Cursor doesn't support systemPrompt separation like Claude SDK, so we need to combine prompts and add explicit instructions to prevent it from using Write/Edit tools and creating files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>