specleap-framework 2.1.12 → 2.1.13
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 +17 -0
- package/README.md +41 -7
- package/SETUP.md +55 -8
- package/package.json +1 -1
- package/setup.sh +32 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.1.13] - 2026-05-01
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Confusion between the two install flows.** Reported by Styng during testing: with `git clone … && bash setup.sh`, the installer was not asking the carpeta-base / folder-name prompts that `bin/specleap` (the npx entry point) does ask. That looked like a regression but it's by design — the prompts live in `bin/specleap` (Node), not in `setup.sh` (bash). When the user clones with git they already chose where the code lives, and the second positional argument of `git clone` is the canonical way to set a custom folder name. The fix is making the difference obvious in docs and in runtime.
|
|
15
|
+
|
|
16
|
+
#### Changes
|
|
17
|
+
|
|
18
|
+
- `setup.sh` now prints a bilingual heads-up at the very start (before the language step) when the current folder is named `specleap-framework` (the `git clone` default) AND the script was invoked without `bin/specleap` having set `SPECLEAP_INSTALL_PATH`. The user gets a one-second pause, an explanation of how to clone with a custom name (`git clone <url> mi-proyecto`), and a [S/n] confirmation before continuing. If they cancel, the script exits 0 cleanly.
|
|
19
|
+
- `README.md`: rewrote the "Instalación Rápida" section as two clearly-labeled options (Opción A: vía npx — interactive prompts; Opción B: vía git clone — direct, name controlled by `git clone <url> <nombre>`) plus a comparison table so the reader picks intentionally.
|
|
20
|
+
- `SETUP.md`: replicated the same comparison upfront in the Quick Start section, with full examples for each path.
|
|
21
|
+
|
|
22
|
+
### Notes
|
|
23
|
+
|
|
24
|
+
- No code-path change in the actual installation logic. `bin/specleap` keeps its prompts; `setup.sh` runs the same setup it always ran. Only documentation and a single pre-check in `setup.sh` change.
|
|
25
|
+
- The pre-check in `setup.sh` is opt-out (Enter or `S` to continue), so users who really want a folder named `specleap-framework` aren't forced to do anything extra.
|
|
26
|
+
|
|
10
27
|
## [2.1.12] - 2026-04-30
|
|
11
28
|
|
|
12
29
|
### Added
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
SpecLeap convierte cualquier IDE con asistente de IA en un entorno de desarrollo spec-first. Combina un contrato de proyecto inmutable, agentes conversacionales especializados, 34 Agent Skills profesionales y un pipeline de validación en tres capas para entregar código consistente y probado sin improvisación.
|
|
22
22
|
|
|
23
|
-
**Versión actual:** 2.1.
|
|
23
|
+
**Versión actual:** 2.1.13 · **Licencia:** MIT · **Autor:** Styng Arias ([ConceptualCreative](https://conceptualcreative.com))
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
@@ -44,23 +44,57 @@ SpecLeap convierte cualquier IDE con asistente de IA en un entorno de desarrollo
|
|
|
44
44
|
|
|
45
45
|
## Instalación Rápida
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
Hay dos formas de instalar SpecLeap. Elige según tu preferencia:
|
|
48
|
+
|
|
49
|
+
### Opción A: Vía npm (instalación interactiva, recomendado)
|
|
48
50
|
|
|
49
51
|
```bash
|
|
50
52
|
npx specleap-framework@latest
|
|
51
53
|
```
|
|
52
54
|
|
|
53
|
-
|
|
55
|
+
El instalador te **pregunta dónde quieres la carpeta y con qué nombre** antes de copiar nada. Ideal si quieres un setup guiado paso a paso.
|
|
56
|
+
|
|
57
|
+
Ejemplo de lo que verás:
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
📁 ¿En qué carpeta base instalar SpecLeap?
|
|
61
|
+
Default: /Users/tu-usuario/Desktop
|
|
62
|
+
Carpeta base: ~/Downloads
|
|
63
|
+
|
|
64
|
+
📝 ¿Qué nombre quieres para la carpeta?
|
|
65
|
+
Default: specleap-framework
|
|
66
|
+
Nombre: mi-app-tienda
|
|
67
|
+
|
|
68
|
+
→ Resultado: /Users/tu-usuario/Downloads/mi-app-tienda/
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Opción B: Vía git clone (control directo, sin prompts)
|
|
54
72
|
|
|
55
73
|
```bash
|
|
56
|
-
git clone https://github.com/ConceptualCreative/specleap-framework.git
|
|
57
|
-
cd
|
|
74
|
+
git clone https://github.com/ConceptualCreative/specleap-framework.git mi-proyecto
|
|
75
|
+
cd mi-proyecto
|
|
58
76
|
bash setup.sh
|
|
59
77
|
```
|
|
60
78
|
|
|
61
|
-
|
|
79
|
+
Aquí **tú decides el nombre** pasándolo como segundo argumento de `git clone`. El setup arranca directo, sin preguntar carpeta/nombre porque ya estás dentro del repo donde quieres.
|
|
80
|
+
|
|
81
|
+
Si haces `git clone <url>` sin segundo argumento, la carpeta se llamará `specleap-framework` (default de git). El setup te avisará por si querías otro nombre.
|
|
82
|
+
|
|
83
|
+
### Diferencias rápidas
|
|
84
|
+
|
|
85
|
+
| | Vía npm | Vía git clone |
|
|
86
|
+
|---|---|---|
|
|
87
|
+
| **Pregunta carpeta y nombre** | ✅ Sí, interactivo | ❌ No, lo decides con `cd` y `git clone <url> <nombre>` |
|
|
88
|
+
| **Requiere Node.js** | ✅ Sí (≥ 18) | ⛔ No, solo Git + Bash |
|
|
89
|
+
| **Trae los archivos** | npm los descarga | git los clona del repo |
|
|
90
|
+
| **Ideal para** | Empezar rápido, no recordar el flujo de git | Devs que ya manejan git fluidamente |
|
|
91
|
+
|
|
92
|
+
A partir de aquí ambos flows son idénticos: el `setup.sh` solicita los tokens de GitHub y Asana, instala los 34 Agent Skills en `~/.skills/` y genera la estructura base. Tiempo total: 10 a 15 minutos.
|
|
93
|
+
|
|
94
|
+
**Requisitos previos:**
|
|
62
95
|
|
|
63
|
-
|
|
96
|
+
- Vía npm → Node.js ≥ 18, Git, Bash.
|
|
97
|
+
- Vía git clone → Git, Bash.
|
|
64
98
|
|
|
65
99
|
---
|
|
66
100
|
|
package/SETUP.md
CHANGED
|
@@ -2,23 +2,70 @@
|
|
|
2
2
|
|
|
3
3
|
## ⚡ Quick Start (5 minutos)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Hay **dos formas de instalar SpecLeap**. Elige la que prefieras según cómo te resulte más cómodo trabajar.
|
|
6
|
+
|
|
7
|
+
### Comparativa rápida
|
|
8
|
+
|
|
9
|
+
| | Opción A: vía npx | Opción B: vía git clone |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| **Pregunta carpeta y nombre** | ✅ Sí, prompt interactivo | ❌ No (lo decides con `cd` y `git clone <url> <nombre>`) |
|
|
12
|
+
| **Requiere** | Node.js ≥ 18, Git, Bash | Git, Bash |
|
|
13
|
+
| **Cuándo usar** | Quieres setup guiado | Manejas git fluidamente |
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
### Opción A: vía npx (recomendado para empezar)
|
|
6
18
|
|
|
7
19
|
```bash
|
|
8
|
-
|
|
9
|
-
|
|
20
|
+
cd ~/Downloads # o donde quieras que vaya el proyecto
|
|
21
|
+
npx specleap-framework@latest
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
El instalador te pregunta:
|
|
25
|
+
1. **Carpeta base** (default = donde estás).
|
|
26
|
+
2. **Nombre de la carpeta** (default = `specleap-framework`).
|
|
27
|
+
|
|
28
|
+
Después continúa con el setup normal (idioma, GitHub token, Asana token, skills, CodeRabbit).
|
|
29
|
+
|
|
30
|
+
**Ejemplo:**
|
|
31
|
+
|
|
10
32
|
```
|
|
33
|
+
📁 ¿En qué carpeta base instalar SpecLeap?
|
|
34
|
+
Default: /Users/tu-usuario/Downloads
|
|
35
|
+
Carpeta base: (Enter para usar default)
|
|
11
36
|
|
|
12
|
-
|
|
37
|
+
📝 ¿Qué nombre quieres para la carpeta?
|
|
38
|
+
Default: specleap-framework
|
|
39
|
+
Nombre: mi-app-tienda
|
|
40
|
+
|
|
41
|
+
→ Resultado final: /Users/tu-usuario/Downloads/mi-app-tienda/
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### Opción B: vía git clone
|
|
13
47
|
|
|
14
48
|
```bash
|
|
15
|
-
|
|
49
|
+
# Clona el repo con el nombre que tú quieras (segundo argumento de git clone)
|
|
50
|
+
git clone https://github.com/ConceptualCreative/specleap-framework.git mi-proyecto
|
|
51
|
+
cd mi-proyecto
|
|
52
|
+
bash setup.sh
|
|
16
53
|
```
|
|
17
54
|
|
|
18
|
-
**
|
|
55
|
+
Aquí **no hay prompts de carpeta o nombre** — ya estás dentro de `mi-proyecto/` que tú nombraste con git. El `setup.sh` arranca directo con la selección de idioma.
|
|
56
|
+
|
|
57
|
+
Si haces `git clone <url>` **sin segundo argumento**, la carpeta se llamará `specleap-framework` por defecto. El setup te avisará por si esperabas otro nombre y te ofrecerá cancelar.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
### Después del setup (ambas opciones)
|
|
62
|
+
|
|
63
|
+
**Qué hace `setup.sh`:**
|
|
19
64
|
- Selecciona idioma (Español/English)
|
|
20
|
-
-
|
|
21
|
-
-
|
|
65
|
+
- Pide tokens GitHub y Asana
|
|
66
|
+
- Instala los 34 Agent Skills en `~/.skills/`
|
|
67
|
+
- Configura CodeRabbit
|
|
68
|
+
- Crea estructura base + archivos de configuración
|
|
22
69
|
|
|
23
70
|
### Paso 3: Responder cuestionario
|
|
24
71
|
|
package/package.json
CHANGED
package/setup.sh
CHANGED
|
@@ -48,6 +48,38 @@ echo -e "${YELLOW} v2.0.0 — Instalador Profesional${NC}"
|
|
|
48
48
|
echo -e "${CYAN}${LINE}${NC}"
|
|
49
49
|
echo ""
|
|
50
50
|
|
|
51
|
+
# ============================================
|
|
52
|
+
# PRE-CHECK: Aviso si la carpeta se llama "specleap-framework"
|
|
53
|
+
# ============================================
|
|
54
|
+
# Si el usuario clonó con `git clone <url>` (sin segundo argumento), la
|
|
55
|
+
# carpeta se llamará "specleap-framework" por defecto. Le avisamos por si
|
|
56
|
+
# quería otro nombre, antes de empezar el setup interactivo.
|
|
57
|
+
# Solo aplica cuando setup.sh se ejecuta directamente (no via bin/specleap,
|
|
58
|
+
# que ya pregunta nombre interactivamente). Detectamos este caso por
|
|
59
|
+
# ausencia de la variable SPECLEAP_INSTALL_PATH (que solo la pone bin/specleap).
|
|
60
|
+
|
|
61
|
+
CURRENT_FOLDER_NAME="$(basename "$(pwd)")"
|
|
62
|
+
|
|
63
|
+
if [ -z "${SPECLEAP_INSTALL_PATH:-}" ] && [ "$CURRENT_FOLDER_NAME" = "specleap-framework" ]; then
|
|
64
|
+
echo "ℹ️ Esta carpeta se llama 'specleap-framework' (nombre por defecto de git clone)."
|
|
65
|
+
echo " This folder is named 'specleap-framework' (git clone default)."
|
|
66
|
+
echo ""
|
|
67
|
+
echo " Si querías otro nombre / If you wanted a different name:"
|
|
68
|
+
echo " 1) Cancela con Ctrl+C / Cancel with Ctrl+C"
|
|
69
|
+
echo " 2) Vuelve a ejecutar / Run again with:"
|
|
70
|
+
echo " git clone https://github.com/ConceptualCreative/specleap-framework.git mi-proyecto"
|
|
71
|
+
echo " cd mi-proyecto"
|
|
72
|
+
echo " bash setup.sh"
|
|
73
|
+
echo ""
|
|
74
|
+
read -p "¿Continuar con el nombre 'specleap-framework'? / Continue with 'specleap-framework'? [S/n]: " CONTINUE_DEFAULT
|
|
75
|
+
if [[ "$CONTINUE_DEFAULT" =~ ^[Nn]$ ]]; then
|
|
76
|
+
echo ""
|
|
77
|
+
echo "Cancelado por el usuario / Cancelled by user."
|
|
78
|
+
exit 0
|
|
79
|
+
fi
|
|
80
|
+
echo ""
|
|
81
|
+
fi
|
|
82
|
+
|
|
51
83
|
# ============================================
|
|
52
84
|
# PASO 1: Selección de Idioma
|
|
53
85
|
# ============================================
|