synthesisui 0.16.148 → 0.16.150

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.
@@ -672,10 +672,20 @@ export async function doctor(opts) {
672
672
  * today the honest answer was that nobody knew.
673
673
  */
674
674
  if (hasSystem && measurable && scopes.length === 0) {
675
+ /**
676
+ * E A CONTAGEM DE COINCIDÊNCIAS VAI JUNTO - ver `crossFamily` em `scan.ts`.
677
+ *
678
+ * É a única classe de bug NOSSO que a plataforma não tinha como ver: ela nasce no casamento entre
679
+ * um valor dele e o nome de um token nosso, então só a máquina dele mede. Zero também é resposta -
680
+ * a biblioteca dele deu 0 de 76 no mesmo dia em que o app deu 14 de 129.
681
+ */
682
+ const crossFamily = d.findings.filter((f) => f.crossFamily).length;
675
683
  await appendEvent(root, {
676
684
  kind: "doctor",
677
685
  at: new Date().toISOString(),
678
686
  coverage: d.coverage,
687
+ named: d.named,
688
+ ...(crossFamily > 0 ? { crossFamily } : {}),
679
689
  });
680
690
  }
681
691
  if (hasSystem && scopes.length === 0) {
@@ -50,6 +50,9 @@ export async function repoStateOf(projectRoot, slug, cli) {
50
50
  ...(typeof doctor?.phantoms === "number"
51
51
  ? { drifts: doctor.phantoms }
52
52
  : {}),
53
+ ...(typeof doctor?.crossFamily === "number"
54
+ ? { crossFamily: doctor.crossFamily }
55
+ : {}),
53
56
  };
54
57
  /** Só o `cli` não é estado: sem nada do repo, não há o que reportar. */
55
58
  return Object.keys(payload).length > 1 ? payload : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.16.148",
3
+ "version": "0.16.150",
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": {