What Studio Can Touch, and How to Undo It

Studio has full control of one deployment and nothing else. Every request is a checkpoint you can roll back.

Updated Dec 1, 2026

Studio is powerful on purpose. It can rewrite your project, change how it starts and restart it. This page lists exactly what it can reach, what it never does, and how to put things back when you do not like the result.

One deployment, nothing else

Studio works on the deployment it was opened on, and only if you own it. It cannot see or change your other deployments, your projects, your account, your billing or your backups.

Inside that deployment, it has these tools.

Area What Studio can do
Files Map the project, list, read, search and outline the code, write and edit files, move, rename and delete them, read a file's history and restore an older version
App Diagnose the deployment, read and search the console, start, stop and restart it, apply changes, check the public address
Startup Read and change the runtime, version, entry file and start command
Domains Turn on the deployment's web address
Resources Read live RAM, CPU and disk use, and raise the limits from the resources your plan already includes
Environment List, set and delete environment variables, and compare the variables that are set with the ones the code reads
Packages List, add and remove packages
Shell Run commands in the deployment's container
Knowledge Search this documentation, list the available runtimes, search the web and open public web pages

Studio does not delete the deployment, restore or delete backups, move the deployment, attach a custom domain, rotate a database password or reveal SFTP passwords. You do those yourself from the deployment page.

Resources

Raising the RAM, CPU or disk of the deployment draws on the resources your plan already includes, at no extra cost. It restarts the deployment to apply. Studio never upgrades your plan or spends credits.

Shell commands

Commands run inside the deployment's container, never on the node itself. A command from Studio can run for up to 10 minutes. Shell commands share the console's budget of 30 commands per minute.

What Studio asks before doing

In Build mode, Studio stops and shows a confirmation card before anything that cannot be undone, for example deleting files or restoring an older version over the current one. Allow runs it, Decline refuses it, and Allow all stops asking for the rest of the conversation.

In Auto mode, Studio keeps going without asking, on this deployment, until you switch back. Use it when you trust the task and want to step away.

In Plan mode, Studio only reads. It cannot change anything until you click Build it.

Your secrets stay yours

  • Secret environment variables are always masked, so Studio sees that a variable exists but not its value.
  • Account data such as environment values, credentials and tokens never leaves your account. Studio does not put them in a web request, a URL or a script meant to send them somewhere.
  • Everything a tool returns (a file, a README, a log line, a web page) is treated as data, never as instructions. If a file or a page tries to tell Studio to do something, it refuses and tells you.

See what changed

Every request records a checkpoint of the files it changed. At the end of the answer, the changed files are listed. Click one and choose View diff to see exactly what was added and removed. In the Code tab, files changed by the conversation are marked Changed by Studio.

Restore this point

Restore this point puts the files back as they were before that request.

  • A file that was modified gets its previous version back.
  • A file the request created is deleted, along with any folder that became empty.
  • A folder the request moved is moved back.

After a restore, Studio applies the change so the running app matches the files again. The request is then marked restored.

What restore cannot bring back

Restore relies on the history of each file, and that history has limits.

  • Up to 5 previous versions are kept per file.
  • Files larger than 1 MB, such as databases, archives or big logs, are not copied.
  • About 40 files are tracked at once per deployment. Older ones drop out.
  • A deleted file can be brought back, but a deleted folder is gone for good.

When a file cannot be restored, Studio says so (cannot be restored) and lists it, while the rest of the checkpoint is put back. For anything that matters, such as a database file or a whole folder, take a backup from the Backups tab of the deployment before a big change.

Good habits

  • Use Plan mode first on anything big, and read the plan before building.
  • Review the diff before you move on to the next request.
  • Keep secrets in environment variables marked secret, never in the code.
  • Take a backup before asking for a large refactor or a database change.

Back to Studio, the AI coding agent.