auroq-os 1.2.4 → 1.2.5

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/auroq-os.js +10 -0
  2. package/package.json +1 -1
package/bin/auroq-os.js CHANGED
@@ -274,6 +274,16 @@ async function init() {
274
274
  }
275
275
  }
276
276
 
277
+ // Migrar squads/ → agents/ (versoes antigas usavam squads/)
278
+ const legacySquadsDir = path.join(targetDir, 'squads');
279
+ if (await fs.pathExists(legacySquadsDir)) {
280
+ const legacySquads = await fs.readdir(legacySquadsDir);
281
+ if (legacySquads.length > 0) {
282
+ log(`${DIM} Pasta squads/ antiga detectada com ${legacySquads.length} itens — removendo (agora tudo fica em agents/)${RESET}`);
283
+ await fs.remove(legacySquadsDir);
284
+ }
285
+ }
286
+
277
287
  let copied = 0;
278
288
  for (const file of frameworkFiles) {
279
289
  // Pular companion.md generico se ja tem personalizado
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auroq-os",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Auroq OS — Sistema Operacional de IA para Experts",
5
5
  "bin": {
6
6
  "auroq-os": "bin/auroq-os.js"