Skip to content

Creer v0.2 — templates, preview, GitHub, overwrite, chat - #4

Draft
seven0070 wants to merge 2 commits into
mainfrom
cursor/creer-v0.2-upgrades-4a94
Draft

Creer v0.2 — templates, preview, GitHub, overwrite, chat#4
seven0070 wants to merge 2 commits into
mainfrom
cursor/creer-v0.2-upgrades-4a94

Conversation

@seven0070

Copy link
Copy Markdown
Owner

Summary

Implements Creer v0.2 on top of the v0.1 foundation: curated templates, plan preview, per-file overwrite protection, GitHub repo create/push, and /creer chat-style entry.

Backend

  • GET /templates — 5 curated stacks (fastapi, express, nextjs, python-cli, static-site)
  • POST /plan — plan-only (template path works without OpenAI key)
  • POST /generate — accepts optional template_id + confirmed plan
  • POST /github/create-repo — Bearer token GitHub repo creation
  • Stronger validation: file count, size limits, path safety

Extension

  • Plan markdown preview + confirm before generate/write (creer.previewBeforeWrite)
  • Template QuickPick or AI-only plan
  • Per-file conflicts: Overwrite all / Skip existing / Cancel
  • Optional GitHub create + push (creer.createGitHubRepo, creer.githubToken)
  • Commands: Creer: Create New Repo, Creer: Create from Chat Prompt (/creer …)
  • Chat participant @creer (when Chat API available)
  • Path-safe writes + execFile for git (no shell injection)

Docs

  • README updated for v0.2
  • PLAN.md marks v0.2 done; lists v0.3 next

Test plan

  • uvicorn main:app --reload --port 8000/health shows 0.2.0
  • curl /templates returns 5 templates
  • POST /plan with template_id: fastapi-minimal works without API key
  • Extension F5 → Create New Repo → pick template → confirm preview → files written
  • Re-run into existing folder → overwrite/skip choices work
  • With GitHub token + createGitHubRepo, remote is created and pushed
  • Chat prompt command strips /creer prefix
Open in Web Open in Cursor 

cursoragent and others added 2 commits August 8, 2026 08:14
Scaffold AI repo generation end-to-end: planner/generator API with
path validation, TypeScript extension command to write files into the
workspace with optional git init, and a PLAN.md for v0.2 priorities.

Co-authored-by: Sanath S Patil <sanathpatil8861@gmail.com>
Backend: curated templates, /plan + /templates, stronger validation,
optional GitHub repo create API. Extension: plan preview before write,
per-file overwrite protection, GitHub push flow, /creer chat entry and
@creer participant, with path-safe writes and shell-safe git exec.

Co-authored-by: Sanath S Patil <sanathpatil8861@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants