Skip to content

html2wp 1.0.0-gamma.2

Choose a tag to compare

@iOSDevSK iOSDevSK released this 25 Sep 05:47
· 10 commits to main since this release

html2wp 1.0.0-gamma.2: changes after delivery are made in the live theme, never by a new build.

Once a conversion is delivered, every change you ask for is made in the installed theme and shows in the preview within seconds. It never starts the conversion again.

  • Changes after delivery (H2WP_MODE=change)
    • The AI edits only the installed theme's files: templates, parts, the site CSS, assets and page sources. It never edits the site's source, and it never runs prerender, the Astro build or the service conversion.
    • apply-change.py replaces the theme in the running preview with WordPress's own theme update, then refreshes the pages that changed. A page you already edited yourself in the preview keeps your text; the AI tells you when that blocks a change.
    • The AI checks the touched pages at 1440 and 390 px before it answers. Each change is logged in workspace/changes.json, with a count of the changes since the last ZIP.
    • Anything the theme files cannot change, the AI says plainly.
  • Guard: once a project is delivered, starting a conversion stage, and rewriting the delivered result, are both refused. A new conversion starts only from the app's "Start over from the original" (progress.sh mode <flash|full> --new), which replaces the theme and drops the changes made after delivery.
  • Get ZIP (package-theme.py, no AI): packages the current live theme as the next revision (<slug>-<version>-r<N>.zip). If nothing changed since the last ZIP, you get the existing ZIP back. A ZIP packaged after changes is marked as not checked again.

Everything in 1.0.0-gamma.1 is unchanged. Server: api.html2wp.dev 0.2.5.