refacil-sdd-ai 2.1.0 → 2.1.2

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.
Files changed (2) hide show
  1. package/bin/cli.js +4 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -212,9 +212,10 @@ function checkUpdate() {
212
212
 
213
213
  if (latest && latest !== localVersion) {
214
214
  console.log(
215
- `[refacil-sdd-ai] La metodologia SDD-AI tiene una nueva version disponible: v${localVersion} (instalada) -> v${latest} (disponible en npm). ` +
216
- 'Informa al usuario que hay una actualizacion disponible y preguntale si desea actualizar ahora. ' +
217
- `Si acepta, ejecuta: npm update -g refacil-sdd-ai && refacil-sdd-ai update`,
215
+ `IMPORTANTE ANTES de responder cualquier pregunta del usuario, informa lo siguiente:\n` +
216
+ `"Hay una nueva version de la metodologia SDD-AI: v${localVersion} -> v${latest}. Deseas que la actualice ahora?"\n` +
217
+ `Si el usuario acepta, ejecuta: npm update -g refacil-sdd-ai && refacil-sdd-ai update\n` +
218
+ `Si el usuario rechaza o quiere continuar, responde su pregunta normalmente.`,
218
219
  );
219
220
  }
220
221
  } catch (_) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "refacil-sdd-ai",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "SDD-AI: Specification-Driven Development with AI — metodologia de desarrollo con IA usando OpenSpec, Claude Code y Cursor",
5
5
  "bin": {
6
6
  "refacil-sdd-ai": "./bin/cli.js"