synthesisui 0.16.265 → 0.16.266
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/commands/connect.js +7 -1
- package/package.json +1 -1
package/dist/commands/connect.js
CHANGED
|
@@ -225,10 +225,16 @@ export async function connect(opts) {
|
|
|
225
225
|
* Custou tempo de gente de verdade: 20/08, `codelevel-monorepo`. Rodou `connect`, conferiu o
|
|
226
226
|
* `CLAUDE.md`, achou o bloco vazio, e não havia nada dizendo que faltava um comando. Lacuna
|
|
227
227
|
* silenciosa é o que faz um produto correto parecer quebrado.
|
|
228
|
+
*
|
|
229
|
+
* E SÃO DOIS CAMINHOS, não um. A primeira versão desta mensagem mandava `add <slug>` e só - o que
|
|
230
|
+
* desorienta justamente quem acabou de rodar `connect` num projeto que AINDA NÃO TEM sistema, que é
|
|
231
|
+
* a primeira corrida e o caso mais comum. Para essa pessoa o passo seguinte é a skill que este mesmo
|
|
232
|
+
* comando acabou de instalar, e não um comando de terminal. Quem já tem sistema na plataforma é o
|
|
233
|
+
* outro caso, e ele também é dito.
|
|
228
234
|
*/
|
|
229
235
|
const anyInstalled = (await installedSlugs(root).catch(() => [])).length > 0;
|
|
230
236
|
if (!anyInstalled)
|
|
231
|
-
console.log(body("· no design system installed here yet -
|
|
237
|
+
console.log(body("· no design system installed here yet - the agent has no index, and memory has nothing to belong to.\n This repo has none yet: ask the agent for `/sui-init`, or `/sui-import-ds` to turn this project into one.\n You already have one: `synthesisui list` shows them, `synthesisui add <slug>` brings it in."));
|
|
232
238
|
/**
|
|
233
239
|
* O QUE ESTE CLI REESCREVEU NA PASTA DO SISTEMA - dito primeiro, porque é o que a pessoa não sabia
|
|
234
240
|
* que estava devendo. Ela rodou `connect` para atualizar a fiação; os arquivos do install estarem
|
package/package.json
CHANGED