Spaces:
Sleeping
Sleeping
Commit History
-
feat: add Intelligent Workflow Elements tab, Dockerfile, presets, and patches installer
cc14d64 -
Stop empty asset rows truncating copied image files
An extractor asset entry carries no inline data — the file is copied straight from the source tree. The inline-data loop then wrote its empty string over that copy, so every image shipped as 0 bytes. Skip rows with no data, and assert byte-for-byte equality in the test rather than mere existence. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NPdssCDjaqfwBevbZRgf1J35cdbc1 -
Import a built site folder as a YOOtheme child theme
Adds the second front door: upload a static site (HTML, CSS, images) as a folder or a zip and get an installable child theme back. - Extractor infers the token graph from usage rather than names, because real stylesheets call their variables --blue, not --brand-primary: body background is the surface, the most-used non-neutral section background is the brand, the commonest radius is the card radius, shadows sort into the small/medium/large scale. - Images are copied into the child theme's assets/ and url() references are flattened to match; the site's own CSS ships as css/theme.css for the layout and component rules no Less variable can express. - Zip uploads are extracted with path traversal blocked and a 60 MB cap. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NPdssCDjaqfwBevbZRgf1J080e771 -
Rebuild as the YOOtheme Style Generator
Replaces the freeform UIkit/YOOtheme chat generator with a design-system translator: tokens in, YOOtheme Pro child theme out. - app.py drives the bridge engine (bridge/bin/fyoo) instead of asking an LLM for markup. The model now only drafts *tokens*; the Less is always compiled deterministically, so the preview here matches what the site compiles. - bridge/ is a vendored copy of the Figma to YOOtheme Style Bridge engine (PHP, framework-free) — the same code the Joomla component runs. Regenerate with sync-bridge.sh; do not edit in place. - UI: upload/paste tokens.json or draft from a brand brief, review the token -> semantic role -> YOOtheme variable mapping, preview on real UIkit components, download the installable child theme. - Switch to the docker SDK for php-cli; drop torch, playwright and transformers from requirements (none were used). - Remove index.html/main.js/style.css: an alternate frontend the Gradio SDK never served. Co-Authored-By: Claude Opus 5 <norepl…9ec9295