synthesisui 0.16.139 → 0.16.140

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.
@@ -65,9 +65,24 @@ const FRONTIERS = new Set(["component", "external"]);
65
65
  * its own box, because its styles already sit on the component's base.
66
66
  */
67
67
  const STRUCTURAL = /^(root|wrapper|base|el|outer)$/i;
68
- /** A pathological transcription of somebody's DOM, bounded. Six levels reaches
69
- * any real component; past that it is layout divs all the way down. */
70
- const MAX_DEPTH = 6;
68
+ /**
69
+ * A transcrição patológica do DOM de alguém, com teto - e o teto foi medido errado.
70
+ *
71
+ * "Seis níveis alcançam qualquer componente real; além disso são divs de layout até o fim" foi
72
+ * calibrado numa biblioteca de 36 componentes. Um app de 275 desmente: a leitura do
73
+ * `apps/web-dashboard` tem 64 nós além do 6, e a distribuição mostra que a cauda é fina e é
74
+ * CONTEÚDO (05/08):
75
+ *
76
+ * nível 0 1 2 3 4 5 6 7 8 9
77
+ * nós 923 935 871 609 405 231 139 50 12 2
78
+ *
79
+ * O que estava acontecendo com esses 64: `walk` retornava ali, então tudo abaixo do sexto nível era
80
+ * descartado em silêncio - a estrutura que o cliente escreveu, perdida sem uma linha de aviso.
81
+ *
82
+ * 10 cobre a população inteira com folga e mantém o teto contra recursão patológica, que é a razão
83
+ * de ele existir. Um número medido em vez de estimado.
84
+ */
85
+ const MAX_DEPTH = 10;
71
86
  /**
72
87
  * The same ceiling the sketch measured, for the same reason.
73
88
  *
@@ -1189,6 +1189,21 @@ three biggest items so they know whether it is worth opening now.
1189
1189
  found in their code, a token that is not ramp-shaped, a name the document refused. Read them
1190
1190
  and pass on the ones that matter.
1191
1191
 
1192
+ **And the notes now judge YOUR reading, which nothing did before.** \`validate_recipes\` looks at
1193
+ the \`anatomy\` inside a recipe; the anatomy you author travels in \`reading.components[X].anatomy\`,
1194
+ and until 05/08 no one looked at it - so a note may name findings the batch validator never saw.
1195
+ Two kinds, and both are yours to act on:
1196
+
1197
+ - **structure that does not survive the reader.** Nine of these landed on a real import, every one
1198
+ the same shape: a \`button\` holding a \`stack\`. Only \`row\` and \`stack\` arrange, so the children are
1199
+ hoisted out and become siblings - the nesting they wrote is gone. Fix it in the reading and send
1200
+ again; the note tells you the component and the path.
1201
+ - **references pointing at components the system does not contain.** 215 of 660 on that same
1202
+ import. This one is usually NOT a mistake of yours: their component composes something the gate
1203
+ left out, or something outside the scope that was measured. Say the number to the person and name
1204
+ the top few, because a specimen there draws the reference and nothing else - and if the missing
1205
+ piece is central to their system, the answer is a wider \`--scope\`, not a rewritten reading.
1206
+
1192
1207
  ### 6. Close the loop in their repo
1193
1208
 
1194
1209
  The system is only worth something once it governs the code it came from:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.16.139",
3
+ "version": "0.16.140",
4
4
  "description": "Bring SynthesisUI design systems into any project - tokens, typed components, whole pages and an agent-ready CLAUDE.md manifest.",
5
5
  "type": "module",
6
6
  "bin": {