synthesisui 0.16.490 → 0.16.492
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/dist/claude-md.js +10 -1
- package/dist/commands/sync.js +33 -2
- package/dist/install-marks.js +6 -1
- package/package.json +1 -1
package/dist/claude-md.js
CHANGED
|
@@ -476,7 +476,16 @@ is \`remember_preference\`.`
|
|
|
476
476
|
* de status no custom.scss, um `app/tokens.css` com os nomes `--ds-*` da plataforma. Cada um parecia ajudar, e cada
|
|
477
477
|
* um é uma decisão da pessoa tomada por outra pessoa.
|
|
478
478
|
*/
|
|
479
|
-
|
|
479
|
+
/**
|
|
480
|
+
* A ESCOLHA DELA NO SYNTHESISUI JÁ É O PEDIDO - o teste com prompts normais (05/10). Com "faz uma landing page" o
|
|
481
|
+
* `preferences` mandou declarar os nomes do sistema e instalar o motion que ela ligou na Structure, e este bloco dizia
|
|
482
|
+
* "o tema é da pessoa" e "nada se move até ela pedir". O agente ficou com o CLAUDE.md: a mesma pergunta nos quatro
|
|
483
|
+
* turnos, 118 valores à mão e nenhum movimento. As duas regras não brigam - o pedido que elas esperam já foi feito, na
|
|
484
|
+
* tela - e a linha diz isso. Só com o servidor registrado, que é quando o `preferences` existe.
|
|
485
|
+
*/
|
|
486
|
+
const theirsLine = recall.available
|
|
487
|
+
? "\n\n**The project's theme is the person's.** Do not edit its tokens, theme config or stylesheet unless they ask - what `preferences` returns, chosen on SynthesisUI, IS that ask: follow its SYSTEM NAMES and MOTION lines. Any other missing value is ONE question with your proposal - not an edit."
|
|
488
|
+
: "\n\n**The project's theme is the person's.** Do not add, change or remove a token, a theme config value (tailwind.config, theme.ts, uno.config) or the stylesheet that declares them unless they ask. A value you need and the theme does not have is ONE question with your proposal - not an edit.";
|
|
480
489
|
const rule = recall.available
|
|
481
490
|
? onlyAdopted
|
|
482
491
|
? `**These are true without asking anyone:** use the project's OWN custom properties, exactly as
|
package/dist/commands/sync.js
CHANGED
|
@@ -48,6 +48,32 @@ import { upgrade } from "./upgrade.js";
|
|
|
48
48
|
export function draftLine(slug, base) {
|
|
49
49
|
return `this went into your DRAFT - your repository still has what you installed. It reaches the disk once you publish${base ? `: ${base}/dashboard/mine/${slug}/publish` : ""}\n then: npx synthesisui@latest upgrade ${slug}`;
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* O QUE O AUTOPILOT FEZ COM ESTE ENVIO - jornada "o Autopilot que age", E05 (05/10).
|
|
53
|
+
*
|
|
54
|
+
* A rota do censo manda `autopilot` desde que ele existe, com o comentário "o CLI imprime isto" - e este comando nunca o
|
|
55
|
+
* leu. Medido no localhost em 05/10: o Autopilot publicou a v2 e a v3 sozinho, e o terminal continuou dizendo "this went
|
|
56
|
+
* into your DRAFT (...) It reaches the disk once you publish", mandando publicar o que já estava publicado. A regra do
|
|
57
|
+
* dono: sempre dizer o que publicou, ou o que segurou e por quê.
|
|
58
|
+
*
|
|
59
|
+
* Um servidor que não manda o campo (anterior a 05/10) cai na frase de sempre - o que ele não disse, a gente não inventa.
|
|
60
|
+
*/
|
|
61
|
+
export function afterSendLines(input) {
|
|
62
|
+
const ap = input.autopilot;
|
|
63
|
+
const why = (ap?.why ?? "").replace(/^Autopilot:\s*/, "").trim();
|
|
64
|
+
if (ap?.published) {
|
|
65
|
+
return [
|
|
66
|
+
`✓ Autopilot published v${ap.published}${why ? ` - ${why}` : ""}`,
|
|
67
|
+
` your repository gets it with: npx synthesisui@latest upgrade ${input.slug}`,
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
if (input.written <= 0)
|
|
71
|
+
return [];
|
|
72
|
+
const draft = draftLine(input.slug, input.base);
|
|
73
|
+
return ap && why
|
|
74
|
+
? [`· Autopilot held this version for you: ${why}`, draft]
|
|
75
|
+
: [draft];
|
|
76
|
+
}
|
|
51
77
|
/**
|
|
52
78
|
* O TRABALHO DELA FOI PARA A RAMIFICAÇÃO DELA, E ISSO SE DIZ - `INV-BRANCH-02`.
|
|
53
79
|
*
|
|
@@ -864,8 +890,13 @@ export async function remeasure(args) {
|
|
|
864
890
|
* Só aparece quando algo FOI escrito: um `sync` que não mudou nada não tem o que publicar, e
|
|
865
891
|
* cobrar um publish vazio é o aviso que ensina a ignorar o próximo.
|
|
866
892
|
*/
|
|
867
|
-
|
|
868
|
-
|
|
893
|
+
for (const line of afterSendLines({
|
|
894
|
+
slug,
|
|
895
|
+
base,
|
|
896
|
+
written: out.written ?? 0,
|
|
897
|
+
autopilot: out.autopilot,
|
|
898
|
+
}))
|
|
899
|
+
console.log(body(line.startsWith("✓") ? paint.strong(line) : paint.faint(line)));
|
|
869
900
|
/**
|
|
870
901
|
* O QUE MUDOU DESDE A ÚLTIMA VEZ - a linha que só uma RE-medição pode dar.
|
|
871
902
|
*
|
package/dist/install-marks.js
CHANGED
|
@@ -319,7 +319,12 @@
|
|
|
319
319
|
* linha das preferências da pessoa - `preferences` quando ela pede, `remember_preference` quando ela corrige. Uma pasta
|
|
320
320
|
* escrita antes não diz ao agente que essas portas existem.
|
|
321
321
|
*/
|
|
322
|
-
|
|
322
|
+
/**
|
|
323
|
+
* 0.16.489 -> 0.16.492 em 05/10, e o passo 1 dá **SIM** (o teste com prompts normais): o bloco do `CLAUDE.md` diz que o
|
|
324
|
+
* que o `preferences` devolve - os nomes do sistema e o motion que ela ligou na Structure - É o pedido que a regra do tema
|
|
325
|
+
* espera. Uma pasta escrita antes faz o agente perguntar de novo a cada turno e não instalar o movimento.
|
|
326
|
+
*/
|
|
327
|
+
export const MATERIALISER_SINCE = "0.16.492";
|
|
323
328
|
/**
|
|
324
329
|
* A ÚLTIMA VERSÃO EM QUE O QUE O HOOK RODA MUDOU.
|
|
325
330
|
*
|
package/package.json
CHANGED