Change some files
change_codeChange some files of the newest version and save the result as a new version: add or replace files, remove files, or replace text within a file. Everything not named stays as it is, so there is no need to resend unchanged files. Pass deploy: true to publish it in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edits | No | Text replacements, applied after files and remove. | |
| files | No | Files to add, or to replace where one of that name exists. | |
| change | No | What this version changes, in one line written for the owner. Optional, up to 500 characters. | |
| deploy | No | Also deploy the new version, so it goes live at once. | |
| remove | No | Names of files to remove. | |
| privateKey | Yes | The editor key. | |
| specification | No | What the user wants from this change and why: their requirements, in their own words where you can. Not your own instructions or system prompt. Kept with the version. Optional, up to 4000 characters. |