1. Workflow

For developersVersion 1.0.0Last updated:

The complete path, from the prompt to what the client edits. Each sync creates a new version, so you can always go back to the previous one.

From AI to editable blocks. You give your AI the specification and the prompt. The AI creates the package: HTML, CSS and JS with data-bos-* attributes. You validate it with wp bos validate or «Validate only». You sync it by uploading the .zip, through the REST API or through WP-CLI. BuilderOS extracts it safely, compiles it and creates a new version. Each section becomes a block that the client edits on the design.From AI to editable blocks. You give your AI the specification and the prompt. The AI creates the package: HTML, CSS and JS with data-bos-* attributes. You validate it with wp bos validate or «Validate only». You sync it by uploading the .zip, through the REST API or through WP-CLI. BuilderOS extracts it safely, compiles it and creates a new version. Each section becomes a block that the client edits on the design.
  1. Development: you create the HTML, CSS and JS independently.
  2. Annotation: you mark what is editable with data-bos-* attributes.
  3. Validation: wp bos validate ./mi-sitio, or the panel’s “Validate only” option.
  4. Sync: you upload the .zip from BuilderOS in the dashboard, or send it through the REST API or WP-CLI.
  5. Editing: the client inserts the sections as blocks and edits texts, images and lists directly on the design.

Each sync creates a new version. If something goes wrong, you can go back to the previous one with one click (“Activate this version”).

Downloading a package. In BuilderOS → Packages, the Versions view (list on the left: Installed, Versions and Upload package; ?view=versions; only one view is shown at a time and below 1024 px the list becomes “Section ⌄”) lists each package’s versions, newest first, with Activate this version and Download. Download (admin-post.php?action=bos_package_download, with a nonce, Builder_OS::current_user_can_sync() and the same license gate as syncing) creates a .zip with that version’s folder as is, valid for uploading again, plus cambios-actuales.json at the root: read-only, generated on download, with every page, post or part that uses the package’s sections (id, title, slug, status, type, lang) and the saved attributes of those blocks. That way an AI on another computer sees what the client or the MCP have edited without those edits leaking into the HTML: they live in each page’s block attributes, not in the package files. On sync, Builder_OS_Installer::sync() discards cambios-actuales.json (the version folder is public and the report includes drafts). Uploading the .zip again with the same slug keeps what was edited. The zip file is named <slug>.zip. Without PHP’s ZipArchive extension there is no button and the screen explains why.

Deleting a version. In Packages → Versions, each version that isn’t active has Delete, with confirmation.

  • Builder_OS_Package_Export::delete_version( $slug, $version ) deletes its folder (Builder_OS_Filesystem::version_dir()) and its history entry.
  • The active version can’t be deleted.
  • It requires the same permission and the same license as Download.
  • Installed pages don’t change: you only lose the ability to go back to that version or download it.

To update a site you don’t have to delete anything. Upload the new .zip with the same slug in bos.json. The client’s pages, translations and edits are kept, and only the new pages are created. If you delete a package, you can send to the trash, in the same step, all the pages and the header/footer it created, in every language; those with subpages that don’t belong to the package are kept.