create-harness-btp 0.2.1 → 0.2.2
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/AI/VERSION +1 -1
- package/README.md +16 -14
- package/VERSION +1 -1
- package/package.json +1 -1
package/AI/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.2
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# harness-btp
|
|
2
2
|
|
|
3
|
-
[](https://github.com/horangelmillan/harness-btp/releases/tag/v0.2.2)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
[](https://github.com/horangelmillan/harness-btp)
|
|
6
6
|
[](https://github.com/horangelmillan/harness-btp)
|
|
@@ -55,7 +55,7 @@ El camino de 30 segundos en un proyecto nuevo. Elige tu shell:
|
|
|
55
55
|
PowerShell (Windows):
|
|
56
56
|
|
|
57
57
|
```powershell
|
|
58
|
-
npx -p degit degit horangelmillan/harness-btp#v0.2.
|
|
58
|
+
npx -p degit degit horangelmillan/harness-btp#v0.2.2 AI-tmp -- AI-tmp
|
|
59
59
|
powershell -ExecutionPolicy Bypass -File AI-tmp/install.ps1 -Dest .
|
|
60
60
|
Remove-Item -Recurse -Force AI-tmp
|
|
61
61
|
```
|
|
@@ -63,7 +63,7 @@ Remove-Item -Recurse -Force AI-tmp
|
|
|
63
63
|
bash (Linux, macOS o Git Bash):
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
|
-
npx -p degit degit horangelmillan/harness-btp#v0.2.
|
|
66
|
+
npx -p degit degit horangelmillan/harness-btp#v0.2.2 AI-tmp -- AI-tmp
|
|
67
67
|
sh AI-tmp/install.sh --dest .
|
|
68
68
|
rm -rf AI-tmp
|
|
69
69
|
```
|
|
@@ -79,7 +79,7 @@ Descarga solo lo necesario, sin historial git:
|
|
|
79
79
|
PowerShell:
|
|
80
80
|
|
|
81
81
|
```powershell
|
|
82
|
-
npx -p degit degit horangelmillan/harness-btp#v0.2.
|
|
82
|
+
npx -p degit degit horangelmillan/harness-btp#v0.2.2 AI-tmp -- AI-tmp
|
|
83
83
|
powershell -ExecutionPolicy Bypass -File AI-tmp/install.ps1 -Dest .
|
|
84
84
|
Remove-Item -Recurse -Force AI-tmp
|
|
85
85
|
```
|
|
@@ -87,7 +87,7 @@ Remove-Item -Recurse -Force AI-tmp
|
|
|
87
87
|
bash:
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
-
npx -p degit degit horangelmillan/harness-btp#v0.2.
|
|
90
|
+
npx -p degit degit horangelmillan/harness-btp#v0.2.2 AI-tmp -- AI-tmp
|
|
91
91
|
sh AI-tmp/install.sh --dest .
|
|
92
92
|
rm -rf AI-tmp
|
|
93
93
|
```
|
|
@@ -99,7 +99,7 @@ Clon superficial anclado al tag:
|
|
|
99
99
|
PowerShell:
|
|
100
100
|
|
|
101
101
|
```powershell
|
|
102
|
-
git clone --branch v0.2.
|
|
102
|
+
git clone --branch v0.2.2 --depth 1 https://github.com/horangelmillan/harness-btp AI-tmp
|
|
103
103
|
powershell -ExecutionPolicy Bypass -File AI-tmp/install.ps1 -Dest .
|
|
104
104
|
Remove-Item -Recurse -Force AI-tmp
|
|
105
105
|
```
|
|
@@ -107,7 +107,7 @@ Remove-Item -Recurse -Force AI-tmp
|
|
|
107
107
|
bash:
|
|
108
108
|
|
|
109
109
|
```bash
|
|
110
|
-
git clone --branch v0.2.
|
|
110
|
+
git clone --branch v0.2.2 --depth 1 https://github.com/horangelmillan/harness-btp AI-tmp
|
|
111
111
|
sh AI-tmp/install.sh --dest .
|
|
112
112
|
rm -rf AI-tmp
|
|
113
113
|
```
|
|
@@ -117,7 +117,7 @@ rm -rf AI-tmp
|
|
|
117
117
|
Sin descargas manuales (requiere publicar `create-harness-btp` en el registry). Igual en todos los SO:
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
|
-
pnpm dlx create-harness-btp@0.2.
|
|
120
|
+
pnpm dlx create-harness-btp@0.2.2 --dest .
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
### Qué hace el instalador
|
|
@@ -132,7 +132,7 @@ Salida típica en proyecto nuevo:
|
|
|
132
132
|
```text
|
|
133
133
|
CREATE: AI/
|
|
134
134
|
CREATE: AGENTS.md
|
|
135
|
-
OK: harness v0.2.
|
|
135
|
+
OK: harness v0.2.2 instalado
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
## Instalación asistida por agente
|
|
@@ -140,7 +140,7 @@ OK: harness v0.2.1 instalado
|
|
|
140
140
|
Si prefieres que tu agente lo instale por ti, pégale este bloque:
|
|
141
141
|
|
|
142
142
|
```text
|
|
143
|
-
Pégale esto a tu agente: Instala el harness BTP versión 0.2.
|
|
143
|
+
Pégale esto a tu agente: Instala el harness BTP versión 0.2.2 en la raíz del proyecto: 1) Lee el README del repo harness-btp (opción pnpm). 2) Ejecuta EXACTAMENTE pnpm dlx create-harness-btp@0.2.2 --dest . (sin --force salvo que AI/ ya exista y yo lo autorice; con --force verifica BACKUP primero). 3) PROHIBIDO pisar o borrar: AGENTS.md raíz existente, package.json, mta.yaml, lockfiles. 4) Verifica lo INSTALADO (no vale pnpm view): AI/VERSION debe decir 0.2.2. 5) Si migraste npm→pnpm con import+install+test en verde, borra package-lock.json. 6) Corre AI/scripts/check-prereqs y reporta faltantes. 7) Si hay placeholders por adaptar, dímelos antes de desplegar. 8) Al terminar, cierre limpio: no dejes servidores ni observadores corriendo — detén lo que hayas iniciado y verifica que no queden procesos parados en la carpeta; nunca intentes borrar una carpeta con procesos dentro, repórtamelos. Sin secretos en el reporte. Repórtame: comando, salida del instalador, contenido de AI/VERSION, git status y pendientes.
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
## Actualizar y desinstalar
|
|
@@ -150,7 +150,7 @@ Pégale esto a tu agente: Instala el harness BTP versión 0.2.1 en la raíz del
|
|
|
150
150
|
PowerShell:
|
|
151
151
|
|
|
152
152
|
```powershell
|
|
153
|
-
npx -p degit degit horangelmillan/harness-btp#v0.2.
|
|
153
|
+
npx -p degit degit horangelmillan/harness-btp#v0.2.2 AI-tmp -- AI-tmp
|
|
154
154
|
powershell -ExecutionPolicy Bypass -File AI-tmp/install.ps1 -Dest . -Force
|
|
155
155
|
Remove-Item -Recurse -Force AI-tmp
|
|
156
156
|
# tu versión anterior queda en AI.bak por si quieres comparar
|
|
@@ -159,7 +159,7 @@ Remove-Item -Recurse -Force AI-tmp
|
|
|
159
159
|
bash:
|
|
160
160
|
|
|
161
161
|
```bash
|
|
162
|
-
npx -p degit degit horangelmillan/harness-btp#v0.2.
|
|
162
|
+
npx -p degit degit horangelmillan/harness-btp#v0.2.2 AI-tmp -- AI-tmp
|
|
163
163
|
sh AI-tmp/install.sh --dest . --force
|
|
164
164
|
rm -rf AI-tmp
|
|
165
165
|
# tu versión anterior queda en AI.bak por si quieres comparar
|
|
@@ -211,7 +211,7 @@ harness-btp/
|
|
|
211
211
|
├── install.ps1 / install.sh # instaladores idempotentes (SKIP / CREATE / BACKUP / OK)
|
|
212
212
|
├── bin/ # ejecutable de create-harness-btp (pnpm dlx)
|
|
213
213
|
├── package.json # name create-harness-btp
|
|
214
|
-
└── VERSION # 0.2.
|
|
214
|
+
└── VERSION # 0.2.2
|
|
215
215
|
```
|
|
216
216
|
|
|
217
217
|
## Cómo lo descubre el agente
|
|
@@ -232,8 +232,9 @@ Tú no configuras nada: el agente se adapta solo.
|
|
|
232
232
|
| Líneas duplicadas en `.gitignore` | edición manual tras la fusión | el instalador fusiona sin duplicar; borra el duplicado a mano |
|
|
233
233
|
| `ExecutionPolicy` bloquea `install.ps1` | política de PowerShell | `powershell -ExecutionPolicy Bypass -File AI-tmp/install.ps1 -Dest .` (o usa `install.sh` en Git Bash) |
|
|
234
234
|
| `ABORT: opción desconocida` en `install.sh` | flag inexistente | `sh install.sh --help` lista `--dest`, `--force` |
|
|
235
|
-
| `degit` falla sin Node | `degit` corre sobre Node 18+ | instala Node o usa `git clone --branch v0.2.
|
|
235
|
+
| `degit` falla sin Node | `degit` corre sobre Node 18+ | instala Node o usa `git clone --branch v0.2.2` |
|
|
236
236
|
| Tu cliente no lee los agentes de `.opencode/` | layout específico de OpenCode | son un adapter opcional; el flujo está en `AI/AGENTS.md` + `AI/INICIO.md` |
|
|
237
|
+
| No se deja borrar la carpeta del proyecto ("Carpeta en uso") | procesos huérfanos parados dentro (shells/MCPs de una sesión ya cerrada) | resmon → CPU → Identificadores asociados → busca la carpeta y termina solo esos PIDs; nunca fueron del instalador (solo copia archivos y termina) |
|
|
237
238
|
|
|
238
239
|
## Compatibilidad
|
|
239
240
|
|
|
@@ -259,5 +260,6 @@ MIT. Haz lo que quieras con el harness; sin garantía.
|
|
|
259
260
|
|
|
260
261
|
## Changelog
|
|
261
262
|
|
|
263
|
+
- **v0.2.2** — anti-huérfanos: bloque de agente con regla de cierre limpio (no dejar servidores corriendo, no borrar carpetas con procesos dentro) + troubleshooting de carpeta bloqueada (resmon → Identificadores asociados).
|
|
262
264
|
- **v0.2.1** — trazabilidad y versión visible: `AI/VERSION` viaja en el paquete, los instaladores imprimen la versión (`OK: harness vX.Y.Z…`, `BACKUP` con vieja→nueva) y el workflow exige que `package.json`, `VERSION` y `AI/VERSION` coincidan. Comandos fijados a `@0.2.1` / `#v0.2.1` / `--branch v0.2.1`.
|
|
263
265
|
- **v0.2.0** — versión inicial: carpeta `AI/` parametrizada, instaladores idempotentes `install.ps1` / `install.sh`, `create-harness-btp` vía `pnpm dlx`, plantilla de puntero, docs de flujo / cf-safe / habilitación trial, plantilla de spec.
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-harness-btp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Instala el harness MVP SAP BTP como carpeta AI/ en cualquier proyecto",
|
|
5
5
|
"keywords": ["sap-btp", "opencode", "harness", "agents", "scaffolder", "create"],
|
|
6
6
|
"homepage": "https://github.com/horangelmillan/harness-btp#readme",
|