don-cheli-sdd 1.19.0 → 1.19.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 +6 -0
- package/README.es.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- package/VERSION +1 -1
- package/package.json +1 -1
- package/scripts/.claude/don-cheli/VERSION +1 -1
- package/scripts/.claude/don-cheli/scripts/instalar.sh +1 -1
- package/scripts/generar-config.sh +69 -1
- package/scripts/instalar.sh +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ Todos los cambios notables en Don Cheli SDD Framework.
|
|
|
4
4
|
|
|
5
5
|
Formato basado en [Conventional Commits](https://www.conventionalcommits.org/).
|
|
6
6
|
|
|
7
|
+
## [1.19.1](https://github.com/doncheli/don-cheli-sdd/compare/v1.19.0...v1.19.1) (2026-04-03)
|
|
8
|
+
|
|
9
|
+
### Correcciones
|
|
10
|
+
|
|
11
|
+
* **opencode:** agregar generación de config para skills.paths ([8583f98](https://github.com/doncheli/don-cheli-sdd/commit/8583f983904ebe19cc4348ef7b8a364d4507ea7e))
|
|
12
|
+
|
|
7
13
|
## [1.19.0](https://github.com/doncheli/don-cheli-sdd/compare/v1.18.0...v1.19.0) (2026-04-02)
|
|
8
14
|
|
|
9
15
|
### Nuevas Funcionalidades
|
package/README.es.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="#-instalación"><img src="https://img.shields.io/badge/instalación-2_minutos-brightgreen" alt="Install"></a>
|
|
15
|
-
<img src="https://img.shields.io/badge/versión-1.19.
|
|
15
|
+
<img src="https://img.shields.io/badge/versión-1.19.1-blue" alt="Version">
|
|
16
16
|
<img src="https://img.shields.io/badge/licencia-Apache%202.0-green" alt="License">
|
|
17
17
|
<img src="https://img.shields.io/badge/idiomas-ES%20|%20EN%20|%20PT-red" alt="Languages">
|
|
18
18
|
<img src="https://img.shields.io/badge/comandos-85+-purple" alt="Commands">
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="#-installation"><img src="https://img.shields.io/badge/install-2_minutes-brightgreen" alt="Install"></a>
|
|
15
|
-
<img src="https://img.shields.io/badge/version-1.19.
|
|
15
|
+
<img src="https://img.shields.io/badge/version-1.19.1-blue" alt="Version">
|
|
16
16
|
<img src="https://img.shields.io/badge/license-Apache%202.0-green" alt="License">
|
|
17
17
|
<img src="https://img.shields.io/badge/languages-ES%20|%20EN%20|%20PT-red" alt="Languages">
|
|
18
18
|
<img src="https://img.shields.io/badge/commands-85+-purple" alt="Commands">
|
package/README.pt.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="#-instalação"><img src="https://img.shields.io/badge/instalação-2_minutos-brightgreen" alt="Install"></a>
|
|
15
|
-
<img src="https://img.shields.io/badge/versão-1.19.
|
|
15
|
+
<img src="https://img.shields.io/badge/versão-1.19.1-blue" alt="Version">
|
|
16
16
|
<img src="https://img.shields.io/badge/licença-Apache%202.0-green" alt="License">
|
|
17
17
|
<img src="https://img.shields.io/badge/idiomas-ES%20|%20EN%20|%20PT-red" alt="Languages">
|
|
18
18
|
<img src="https://img.shields.io/badge/comandos-85+-purple" alt="Commands">
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.19.
|
|
1
|
+
1.19.1
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.19.
|
|
1
|
+
1.19.1
|
|
@@ -56,6 +56,9 @@ generar_configs() {
|
|
|
56
56
|
continue)
|
|
57
57
|
_gen_continue "$install_dir" "$framework_home" "$locale"
|
|
58
58
|
;;
|
|
59
|
+
opencode)
|
|
60
|
+
_gen_opencode "$install_dir" "$framework_home" "$locale"
|
|
61
|
+
;;
|
|
59
62
|
*)
|
|
60
63
|
echo -e " ${YELLOW}⚠${NC} Unknown tool: '$tool' — skipping" >&2
|
|
61
64
|
;;
|
|
@@ -238,7 +241,7 @@ _gen_continue() {
|
|
|
238
241
|
cat > "$dir/.continue/config/don-cheli.json" 2>/dev/null << 'CONTEOF' || true
|
|
239
242
|
{
|
|
240
243
|
"name": "don-cheli-sdd",
|
|
241
|
-
"version": "1.19.
|
|
244
|
+
"version": "1.19.1",
|
|
242
245
|
"description": "Don Cheli SDD Framework",
|
|
243
246
|
"rules": [
|
|
244
247
|
"All production code requires tests (TDD: RED → GREEN → REFACTOR)",
|
|
@@ -251,3 +254,68 @@ _gen_continue() {
|
|
|
251
254
|
CONTEOF
|
|
252
255
|
fi
|
|
253
256
|
}
|
|
257
|
+
|
|
258
|
+
# ─────────────────────────────────────────────
|
|
259
|
+
# OpenCode → ~/.config/opencode/config.json
|
|
260
|
+
# ─────────────────────────────────────────────
|
|
261
|
+
_gen_opencode() {
|
|
262
|
+
local dir="$1" home="$2" locale="$3"
|
|
263
|
+
|
|
264
|
+
echo -e " ${GREEN:-}✓${NC:-} OpenCode → ~/.config/opencode/config.json"
|
|
265
|
+
|
|
266
|
+
local opencode_config="$HOME/.config/opencode/config.json"
|
|
267
|
+
local skills_path="${home}/.agent/skills"
|
|
268
|
+
local tmp_config
|
|
269
|
+
|
|
270
|
+
# Ensure opencode config directory exists
|
|
271
|
+
mkdir -p "$(dirname "$opencode_config")" 2>/dev/null || true
|
|
272
|
+
|
|
273
|
+
# If config doesn't exist, create it
|
|
274
|
+
if [ ! -f "$opencode_config" ]; then
|
|
275
|
+
cat > "$opencode_config" << 'OPENCODECONFIG'
|
|
276
|
+
{
|
|
277
|
+
"$schema": "https://opencode.ai/config.json",
|
|
278
|
+
"autoupdate": true,
|
|
279
|
+
"permission": {
|
|
280
|
+
"external_directory": {}
|
|
281
|
+
},
|
|
282
|
+
"skills": {
|
|
283
|
+
"paths": []
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
OPENCODECONFIG
|
|
287
|
+
echo -e " ${GREEN:-}✓${NC:-} Created new opencode config"
|
|
288
|
+
fi
|
|
289
|
+
|
|
290
|
+
# Use jq if available for robust JSON editing
|
|
291
|
+
if command -v jq &>/dev/null; then
|
|
292
|
+
# Add external_directory permission
|
|
293
|
+
jq '(.permission.external_directory // {}) |= if has("/root/.claude/**") then . else . + {"/root/.claude/**": "allow"} end' "$opencode_config" > "${opencode_config}.tmp" && mv "${opencode_config}.tmp" "$opencode_config"
|
|
294
|
+
|
|
295
|
+
# Add skills path
|
|
296
|
+
jq ".skills.paths += [\"${skills_path}\"] | .skills.paths = (.skills.paths | unique)" "$opencode_config" > "${opencode_config}.tmp" && mv "${opencode_config}.tmp" "$opencode_config"
|
|
297
|
+
|
|
298
|
+
echo -e " ${GREEN:-}✓${NC:-} Config updated with jq"
|
|
299
|
+
else
|
|
300
|
+
# Fallback: append to paths array manually (less robust)
|
|
301
|
+
if ! grep -q "${skills_path}" "$opencode_config" 2>/dev/null; then
|
|
302
|
+
# Simple append to paths array (last element stays as empty array)
|
|
303
|
+
sed -i "s/\"paths\": \[\]/\"paths\": [\"${skills_path}\"]/" "$opencode_config" 2>/dev/null || true
|
|
304
|
+
fi
|
|
305
|
+
|
|
306
|
+
if ! grep -q '"/root/.claude' "$opencode_config" 2>/dev/null; then
|
|
307
|
+
# Simple append to external_directory (might create invalid JSON)
|
|
308
|
+
sed -i 's/"external_directory": {}/"external_directory": { "\/root\/.claude\/**": "allow" }/' "$opencode_config" 2>/dev/null || true
|
|
309
|
+
fi
|
|
310
|
+
|
|
311
|
+
echo -e " ${YELLOW:-}⚠${NC:-} jq not found, used fallback sed (less reliable)"
|
|
312
|
+
fi
|
|
313
|
+
|
|
314
|
+
# Verify final config
|
|
315
|
+
if [ -f "$opencode_config" ]; then
|
|
316
|
+
echo -e " ${GREEN:-}✓${NC:-} Config saved to ${opencode_config}"
|
|
317
|
+
echo -e " ${GREEN:-}✓${NC:-} Skills path: ${skills_path}"
|
|
318
|
+
else
|
|
319
|
+
echo -e " ${YELLOW:-}⚠${NC:-} Failed to write config"
|
|
320
|
+
fi
|
|
321
|
+
}
|