zugzbot-sdd 1.5.20 β†’ 1.5.21

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/zugzbot.js +8 -0
  2. package/package.json +1 -1
package/bin/zugzbot.js CHANGED
@@ -252,6 +252,7 @@ function init() {
252
252
  fs.mkdirSync(path.join(INSTALL_DIR, ".openspec/changes"), { recursive: true })
253
253
  fs.mkdirSync(path.join(INSTALL_DIR, ".opencode/plugins"), { recursive: true })
254
254
  fs.mkdirSync(path.join(INSTALL_DIR, ".opencode/skills"), { recursive: true })
255
+ fs.mkdirSync(path.join(INSTALL_DIR, ".opencode/tools"), { recursive: true })
255
256
  green("Directorios creados")
256
257
 
257
258
  header("πŸ“ Creando archivos de configuraciΓ³n...")
@@ -325,6 +326,13 @@ function init() {
325
326
  green("Skills del Swarm copiadas")
326
327
  }
327
328
 
329
+ const sourceToolsDir = path.join(PKG_ROOT, ".opencode/tools")
330
+ const localToolsDir = path.join(INSTALL_DIR, ".opencode/tools")
331
+ if (fs.existsSync(sourceToolsDir)) {
332
+ copyRecursiveSync(sourceToolsDir, localToolsDir)
333
+ green("Herramientas del Swarm copiadas")
334
+ }
335
+
328
336
  console.log(`
329
337
  ╔══════════════════════════════════════════════════════════╗
330
338
  β•‘ βœ… Zugzbot SDD Plugin instalado correctamente! β•‘
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zugzbot-sdd",
3
- "version": "1.5.20",
3
+ "version": "1.5.21",
4
4
  "description": "Zugzbot SDD Swarm - Spec-Driven Development Harness for OpenCode",
5
5
  "main": "index.js",
6
6
  "type": "module",