@ingeniomaps/cauce 0.8.0 → 0.8.1

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/CHANGELOG.md CHANGED
@@ -8,6 +8,15 @@ esa operación sea confiable en vez de sólo cómoda: acá se lee qué cambió a
8
8
  un cambio en el protocolo, en las reglas del sistema o en un guard es visible para el usuario y sube
9
9
  minor aunque no toque una sola línea de código.
10
10
 
11
+ ## [0.8.1] - 2026-08-15
12
+
13
+ ### Corregido
14
+
15
+ - `integration enable` no falla si el andamiaje ya está. Habilitar no es inicializar: una instancia
16
+ que lo arrastra de una versión anterior —o que ya tiene snapshots— sólo quiere el interruptor, y
17
+ recibía un error pidiéndole un directorio vacío. Ahora repone lo que falte, conserva lo que haya y
18
+ enciende el registro.
19
+
11
20
  ## [0.8.0] - 2026-08-15
12
21
 
13
22
  ### Cambiado
package/engine/cli/ops.js CHANGED
@@ -694,7 +694,9 @@ async function integration(action, rootArg, provider, key) {
694
694
  fail(`integrations/config.json ilegible: ${error.message}`)
695
695
  }
696
696
  if (!config.providers || !config.providers[provider]) fail(`${provider} no está en integrations/config.json.`)
697
- copyTemplate(source, path.join(root, 'integrations', provider), {}, process.argv.includes('--force'))
697
+ // Habilitar no es inicializar: repone lo que falte y conserva lo que ya esté. Una instancia que
698
+ // trae el andamiaje de una versión anterior —o que ya tiene snapshots— sólo quiere el interruptor.
699
+ copyTemplate(source, path.join(root, 'integrations', provider), {}, true)
698
700
  config.providers[provider].enabled = true
699
701
  F.atomicWriteJson(registry, config)
700
702
  console.log(`✓ ${provider}: habilitado. Completá integrations/${provider}/config.json antes de sincronizar.`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ingeniomaps/cauce",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Sistema portable de planificación y ejecución verificable para cualquier proyecto",
5
5
  "type": "commonjs",
6
6
  "bin": {