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.
- package/bin/zugzbot.js +8 -0
- 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! β
|