The Turtini IDE — code your Turtini-connected app in the browser

The Turtini IDE is a full code editor in your browser — connected to a GitHub repo, with live preview, an AI chat agent that can read and edit code, and a one-click deploy to your Turtini-hosted domain. Think Lovable or Bolt, except it's wired straight into your Turtini org's data, integrations, and modules.

The IDE shell, left to right:
• File tree — directory listing of the connected repo, with dirty markers for unsaved buffers
• Monaco editor — the actual code editing surface (same engine as VS Code), with syntax highlighting + diff view
• Chat panel — talk to the AI agent in plain English; it reads code, suggests edits, applies them on confirm
• Preview pane — live render of your app at a private preview URL; refreshes automatically when you save

Getting in:
1. Builder & Sites → IDE tab (or /ide)
2. Pick a repo from the list of repos your connected GitHub account can read
3. Wait a few seconds while the session boots — the repo is cloned into a sandboxed runner, your turtini-dev token is installed, and the preview URL is provisioned

What gets persisted:
• Every dirty buffer is autosaved to the session every few seconds
• Closing the tab doesn't lose work — reopen the IDE and pick up where you left off
• Saved files only commit to the repo when you click "Commit & push" (you control the commit message)

The chat agent:
The chat panel runs Claude with read+write access to the session's filesystem. You can ask things like "rename this hook to useTurtiniSession", "add a 404 page", or "wire this form up to the Turtini SDK's createContact endpoint" — the agent reads the relevant files, proposes a diff, and applies it on confirm. Token usage is metered to your Turtini usage at a 15% margin.

Deploying:
Once your code passes "look at the preview, click around" testing, click "Deploy". The IDE pushes the latest commits to GitHub, runs your repo's build, and uploads the output to your Turtini-hosted static-site bucket. It's typically live at your connected domain in under a minute.