stackhelx 1.1.0__tar.gz → 1.1.1__tar.gz

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 (63) hide show
  1. {stackhelx-1.1.0 → stackhelx-1.1.1}/CHANGELOG.md +10 -1
  2. {stackhelx-1.1.0 → stackhelx-1.1.1}/PKG-INFO +2 -2
  3. {stackhelx-1.1.0 → stackhelx-1.1.1}/README.md +1 -1
  4. stackhelx-1.1.1/stackhelx/__init__.py +2 -0
  5. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/web/app.css +24 -3
  6. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/web/app.js +0 -22
  7. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/web/index.html +8 -4
  8. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/conftest.py +1 -0
  9. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_mcp.py +1 -1
  10. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_server.py +2 -2
  11. stackhelx-1.1.0/stackhelx/__init__.py +0 -2
  12. {stackhelx-1.1.0 → stackhelx-1.1.1}/.github/workflows/ci.yml +0 -0
  13. {stackhelx-1.1.0 → stackhelx-1.1.1}/.github/workflows/release.yml +0 -0
  14. {stackhelx-1.1.0 → stackhelx-1.1.1}/.gitignore +0 -0
  15. {stackhelx-1.1.0 → stackhelx-1.1.1}/AGENTS.md +0 -0
  16. {stackhelx-1.1.0 → stackhelx-1.1.1}/CLAUDE.md +0 -0
  17. {stackhelx-1.1.0 → stackhelx-1.1.1}/LICENSE +0 -0
  18. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/comandos.md +0 -0
  19. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/deteccion.md +0 -0
  20. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/interfaz.md +0 -0
  21. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/pendientes.md +0 -0
  22. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/plan-expansion.md +0 -0
  23. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/plan-lenguajes.md +0 -0
  24. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/plan-siguiente.md +0 -0
  25. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/stack-yaml.md +0 -0
  26. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/superpowers/plans/2026-08-08-partir-readme.md +0 -0
  27. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/superpowers/plans/2026-08-08-release-1-0-1.md +0 -0
  28. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/superpowers/plans/2026-08-18-campo-url.md +0 -0
  29. {stackhelx-1.1.0 → stackhelx-1.1.1}/docs/superpowers/specs/2026-07-29-autodeteccion-design.md +0 -0
  30. {stackhelx-1.1.0 → stackhelx-1.1.1}/pyproject.toml +0 -0
  31. {stackhelx-1.1.0 → stackhelx-1.1.1}/scripts/check_docs.py +0 -0
  32. {stackhelx-1.1.0 → stackhelx-1.1.1}/scripts/check_metadata.py +0 -0
  33. {stackhelx-1.1.0 → stackhelx-1.1.1}/stack.example.yaml +0 -0
  34. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/__main__.py +0 -0
  35. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/browse.py +0 -0
  36. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/cli.py +0 -0
  37. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/config.py +0 -0
  38. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/detect.py +0 -0
  39. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/docker.py +0 -0
  40. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/doctor.py +0 -0
  41. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/guardrails.py +0 -0
  42. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/history.py +0 -0
  43. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/mcp.py +0 -0
  44. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/ports.py +0 -0
  45. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/registry.py +0 -0
  46. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/runner.py +0 -0
  47. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/scripts.py +0 -0
  48. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/server.py +0 -0
  49. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/tunnel.py +0 -0
  50. {stackhelx-1.1.0 → stackhelx-1.1.1}/stackhelx/web/tokens.css +0 -0
  51. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_browse.py +0 -0
  52. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_cli.py +0 -0
  53. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_config.py +0 -0
  54. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_conftest.py +0 -0
  55. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_detect.py +0 -0
  56. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_guardrails.py +0 -0
  57. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_history.py +0 -0
  58. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_ports.py +0 -0
  59. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_registry.py +0 -0
  60. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_runner.py +0 -0
  61. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_scripts.py +0 -0
  62. {stackhelx-1.1.0 → stackhelx-1.1.1}/tests/test_tunnel.py +0 -0
  63. {stackhelx-1.1.0 → stackhelx-1.1.1}/uv.lock +0 -0
@@ -4,6 +4,15 @@ Formato de [Keep a Changelog](https://keepachangelog.com/es/1.1.0/).
4
4
  Versionado semántico: la superficie pública son los comandos del CLI, el
5
5
  esquema de `stack.yaml` y las rutas de la API local.
6
6
 
7
+ ## [1.1.1] - 2026-09-24
8
+
9
+ ### Corregido y Mejorado
10
+
11
+ - **Corrección de Rutas Frecuentes en el Explorador (`app.css`):** Se adaptó el contenedor `.picker__frequent-chips` con `flex-wrap: wrap` y supresión nativa de barras de scroll (`scrollbar-width: none; ::-webkit-scrollbar { display: none }`), eliminando la barra gris horizontal que se superponía sobre el texto de las rutas en Windows.
12
+ - **Limpieza del Modal de Selección (`index.html`, `app.js`):** Se purgó el botón superfluo "Abrir en Explorador" (`data-picker="os-folder"`) y su listener, dejando el pie enfocado exclusivamente en navegación interna y selección con "Usar esta carpeta".
13
+ - **Soporte y Descubrimiento de Drag & Drop (`index.html`, `app.css`):** Se añadió pista visual accesible (`.enroll__hint`) en la etiqueta del formulario de registro y se actualizó el placeholder del input para comunicar explícitamente que se pueden soltar carpetas de proyectos directamente.
14
+ - **Feedback Inicial de Carga (`index.html`, `app.css`):** Se incorporó el mensaje `<p class="index__loading">Cargando proyectos…</p>` dentro de `#projects` mientras `aria-busy="true"` para dar retroalimentación honesta antes de la primera respuesta del servidor.
15
+
7
16
  ## [1.1.0] - 2026-09-18
8
17
 
9
18
  ### Añadido y Mejorado
@@ -567,7 +576,7 @@ Primera versión publicada. Lo que sigue es el alcance completo, no un diff.
567
576
  [1.4.0]: https://github.com/TicoraX/PortMaster/releases/tag/v1.4.0
568
577
  [1.3.0]: https://github.com/TicoraX/PortMaster/releases/tag/v1.3.0
569
578
  [1.2.0]: https://github.com/TicoraX/PortMaster/releases/tag/v1.2.0
570
- [1.1.1]: https://github.com/TicoraX/PortMaster/releases/tag/v1.1.1
579
+ [1.1.1]: https://github.com/TicoraX/StackHelx/releases/tag/v1.1.1
571
580
  [1.1.0]: https://github.com/TicoraX/StackHelx/releases/tag/v1.1.0
572
581
  [1.0.1]: https://github.com/TicoraX/StackHelx/releases/tag/v1.0.1
573
582
  [1.0.0]: https://github.com/TicoraX/StackHelx/releases/tag/v1.0.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: stackhelx
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Orquestador de entornos de desarrollo locales: puertos, Docker, backend y frontend con un solo comando
5
5
  Project-URL: Homepage, https://github.com/TicoraX/StackHelx
6
6
  Project-URL: Repository, https://github.com/TicoraX/StackHelx
@@ -60,7 +60,7 @@ Description-Content-Type: text/markdown
60
60
  # StackHelx
61
61
 
62
62
  [![pypi](https://img.shields.io/pypi/v/stackhelx?logo=pypi&logoColor=white)](https://pypi.org/project/stackhelx/)
63
- [![tests](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml)
63
+ [![tests](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml/badge.svg?branch=main&cache=none)](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml)
64
64
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
65
65
  [![python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](pyproject.toml)
66
66
 
@@ -1,7 +1,7 @@
1
1
  # StackHelx
2
2
 
3
3
  [![pypi](https://img.shields.io/pypi/v/stackhelx?logo=pypi&logoColor=white)](https://pypi.org/project/stackhelx/)
4
- [![tests](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml)
4
+ [![tests](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml/badge.svg?branch=main&cache=none)](https://github.com/TicoraX/StackHelx/actions/workflows/ci.yml)
5
5
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
6
  [![python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](pyproject.toml)
7
7
 
@@ -0,0 +1,2 @@
1
+ __version__ = "1.1.1"
2
+
@@ -285,6 +285,13 @@ body {
285
285
  gap: var(--space-md);
286
286
  }
287
287
 
288
+ .index__loading {
289
+ font-size: var(--text-sm);
290
+ color: var(--color-ink-3);
291
+ padding: var(--space-md) 0;
292
+ font-style: italic;
293
+ }
294
+
288
295
  .project {
289
296
  border: var(--rule) solid var(--color-rule-strong);
290
297
  border-radius: var(--radius);
@@ -1044,6 +1051,12 @@ body {
1044
1051
  margin-bottom: var(--space-sm);
1045
1052
  }
1046
1053
 
1054
+ .enroll__hint {
1055
+ font-weight: normal;
1056
+ color: var(--color-ink-3);
1057
+ margin-inline-start: var(--space-xs);
1058
+ }
1059
+
1047
1060
  .enroll__row {
1048
1061
  display: flex;
1049
1062
  flex-wrap: wrap;
@@ -1146,24 +1159,32 @@ body {
1146
1159
 
1147
1160
  .picker__frequent {
1148
1161
  display: flex;
1149
- align-items: center;
1162
+ align-items: flex-start;
1150
1163
  gap: var(--space-xs);
1151
1164
  padding: 0.35rem var(--space-md);
1152
1165
  background: var(--color-paper-2);
1153
1166
  border-bottom: var(--rule) solid var(--color-rule);
1154
- overflow-x: auto;
1155
1167
  }
1156
1168
 
1157
1169
  .picker__frequent-label {
1158
1170
  font-size: var(--text-xs);
1159
1171
  color: var(--color-ink-3);
1160
1172
  white-space: nowrap;
1173
+ padding-top: 0.15rem;
1174
+ flex: none;
1161
1175
  }
1162
1176
 
1163
1177
  .picker__frequent-chips {
1164
1178
  display: flex;
1165
1179
  gap: var(--space-xs);
1166
- flex-wrap: nowrap;
1180
+ flex-wrap: wrap;
1181
+ max-block-size: 3.5rem;
1182
+ overflow-y: auto;
1183
+ scrollbar-width: none;
1184
+ }
1185
+
1186
+ .picker__frequent-chips::-webkit-scrollbar {
1187
+ display: none;
1167
1188
  }
1168
1189
 
1169
1190
  .picker__chip {
@@ -1995,28 +1995,6 @@ ui.picker.querySelector('[data-picker="close"]').addEventListener("click", () =>
1995
1995
  ui.picker.close();
1996
1996
  });
1997
1997
 
1998
- const osFolderBtn = ui.picker.querySelector('[data-picker="os-folder"]');
1999
- if (osFolderBtn) {
2000
- osFolderBtn.addEventListener("click", (event) => {
2001
- const targetPath = here.path || ui.path.value.trim();
2002
- if (!targetPath) {
2003
- flash("No hay una carpeta seleccionada para abrir", "neutral");
2004
- return;
2005
- }
2006
- act(event.currentTarget, async () => {
2007
- try {
2008
- await api("/api/open-folder", {
2009
- method: "POST",
2010
- body: JSON.stringify({ path: targetPath }),
2011
- });
2012
- flash(`Explorador abierto en ${targetPath}`, "neutral");
2013
- } catch (err) {
2014
- flash(`Error al abrir explorador: ${err.message}`, "bad");
2015
- }
2016
- });
2017
- });
2018
- }
2019
-
2020
1998
  const backBtn = ui.picker.querySelector('[data-picker="back"]');
2021
1999
  if (backBtn) {
2022
2000
  backBtn.addEventListener("click", () => {
@@ -66,7 +66,9 @@
66
66
  </div>
67
67
  </div>
68
68
 
69
- <div id="projects" class="index" aria-busy="true"></div>
69
+ <div id="projects" class="index" aria-busy="true">
70
+ <p class="index__loading">Cargando proyectos…</p>
71
+ </div>
70
72
 
71
73
  <nav class="pager" id="pager" aria-label="Paginas de proyectos" hidden>
72
74
  <button class="btn" type="button" data-page="prev">Anterior</button>
@@ -108,7 +110,10 @@
108
110
  </section>
109
111
 
110
112
  <form class="enroll" id="enroll">
111
- <label class="enroll__label" for="path">Registrar un proyecto</label>
113
+ <label class="enroll__label" for="path">
114
+ Registrar un proyecto
115
+ <span class="enroll__hint">· o arrastrá una carpeta acá</span>
116
+ </label>
112
117
  <div class="enroll__row">
113
118
  <input
114
119
  class="enroll__input"
@@ -118,7 +123,7 @@
118
123
  list="path-suggestions"
119
124
  autocomplete="off"
120
125
  spellcheck="false"
121
- placeholder="A:\Proyectos\mi-app"
126
+ placeholder="A:\Proyectos\mi-app (o arrastrá la carpeta acá)"
122
127
  required
123
128
  />
124
129
  <datalist id="path-suggestions"></datalist>
@@ -235,7 +240,6 @@
235
240
  <div class="picker__nav">
236
241
  <button class="btn" type="button" data-picker="back" disabled>Volver</button>
237
242
  <button class="btn" type="button" data-picker="up">Arriba</button>
238
- <button class="btn btn--quiet" type="button" data-picker="os-folder" title="Abrir esta carpeta en el explorador de archivos del sistema">Abrir en Explorador</button>
239
243
  </div>
240
244
  <button class="btn btn--primary" type="button" data-picker="pick">Usar esta carpeta</button>
241
245
  </div>
@@ -70,6 +70,7 @@ def free_ports():
70
70
  if candidato in numeros:
71
71
  continue
72
72
  sock = socket.socket()
73
+ sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
73
74
  try:
74
75
  sock.bind(("127.0.0.1", candidato))
75
76
  except OSError:
@@ -65,7 +65,7 @@ def test_mcp_free_port_cierra_al_dueno_del_puerto(free_ports):
65
65
  """
66
66
  (port,) = free_ports(1)
67
67
  code = (
68
- "import socket, time; s = socket.socket(); "
68
+ "import socket, time; s = socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1); "
69
69
  f"s.bind(('127.0.0.1', {port})); s.listen(); time.sleep(60)"
70
70
  )
71
71
  proc = subprocess.Popen([sys.executable, "-c", code])
@@ -17,7 +17,7 @@ from stackhelx import config, detect, docker, ports, registry, server
17
17
  TOKEN = "token-de-prueba-suficientemente-largo"
18
18
  SERVER = (
19
19
  "import socket, time; "
20
- "s = socket.socket(); s.bind(('127.0.0.1', {port})); s.listen(); "
20
+ "s = socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1); s.bind(('127.0.0.1', {port})); s.listen(); "
21
21
  "print('arriba', flush=True); time.sleep(60)"
22
22
  )
23
23
 
@@ -873,7 +873,7 @@ def test_health_delata_al_servicio_que_se_murio_solo(client, tmp_path, free_port
873
873
  root = tmp_path / "efimero"
874
874
  root.mkdir()
875
875
  corto = (
876
- "import socket, time; s = socket.socket(); "
876
+ "import socket, time; s = socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1); "
877
877
  f"s.bind(('127.0.0.1', {port})); s.listen(); "
878
878
  "print('arriba', flush=True); time.sleep(2)"
879
879
  )
@@ -1,2 +0,0 @@
1
- __version__ = "1.1.0"
2
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes