similarbuild 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "similarbuild",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Visual migration framework for Claude Code — clone a live page, get a paste-ready WordPress/Elementor or Shopify section file, validated and auto-corrected.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -110,6 +110,10 @@ This concat is a convenience for "paste the whole page body at once" workflows.
110
110
  in the order matching the folder index (01, 02, 03, ...).
111
111
  ```
112
112
 
113
+ ## Output language
114
+
115
+ All user-facing artifacts (console summary, status messages, error messages, paste instructions) MUST be written in **Português (Brasil)** unless the user explicitly requests another language. Framework internals (script logs, JSON output from .mjs validators) stay in English.
116
+
113
117
  ## Non-negotiables
114
118
 
115
119
  - **One inspect per page, then sections from crops.** Don't re-inspect every section.
@@ -154,6 +154,10 @@ When the page's body section list overlaps with the global header/footer (i.e. t
154
154
  Decisions: {output_folder}/{project-slug}/.sb-memory/decisions.md
155
155
  ```
156
156
 
157
+ ## Output language
158
+
159
+ All user-facing artifacts (PASTE-INSTRUCTIONS.md, decisions.md, console summary, status messages, error messages, user-facing questions) MUST be written in **Português (Brasil)** unless the user explicitly requests another language. The framework's internal code (comments, validator output JSON, log lines from .mjs scripts) stays in English by design — only the prose the user reads is PT-BR.
160
+
157
161
  ## Non-negotiables
158
162
 
159
163
  1. **Mobile-first always.** Viewport 390×844 default.
@@ -167,6 +167,10 @@ Produces `diff.json` (pixel diff%, structured diffs) and `diff-map.png` (red-ove
167
167
  | Loop hits max iterations with `diff% > threshold` | Ship best attempt + warning. The user can manually edit section.html or retry. |
168
168
  | Composer flags fabrication detected | Loop continues; diff.json passes the fabrication info back as fixHint. |
169
169
 
170
+ ## Output language
171
+
172
+ All user-facing artifacts (Step 7 print summary, status messages, error messages, TODO comments inside section.html) MUST be written in **Português (Brasil)** unless the user explicitly requests another language. Framework internals (script logs, JSON output from .mjs validators) stay in English. Code identifiers (CSS classes, HTML attributes, JS variables) stay in English regardless.
173
+
170
174
  ## Non-negotiables (carried from prior iterations)
171
175
 
172
176
  1. **Pixel parity over architecture.** The reference.png is the ground truth. The diff.json is the verdict. Specifications are descriptive, never authoritative.