hopdeck 1.5.1 → 1.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Cambios
2
2
 
3
+ ## 1.5.2
4
+
5
+ ### Arreglado
6
+ - En Windows, al salir de Hopdeck se detienen los chats abiertos en el terminal integrado, evitando que procesos de Codex queden ejecutándose.
7
+
3
8
  ## 1.5.1
4
9
 
5
10
  ### Arreglado
package/LICENSE CHANGED
File without changes
package/README.en.md CHANGED
File without changes
package/README.md CHANGED
File without changes
package/SECURITY.md CHANGED
File without changes
File without changes
package/bin/hopdeck.js CHANGED
@@ -1867,7 +1867,21 @@ function embedResize() {
1867
1867
  render();
1868
1868
  }
1869
1869
 
1870
- function embedKillAll() { for (const sess of E.sessions.values()) { try { sess.p.kill(); } catch { /* */ } } }
1870
+ function embedKillAll() {
1871
+ if (WIN) {
1872
+ // node-pty enumerates console processes asynchronously before killing them. quit()
1873
+ // exits immediately, so that enumeration may never finish and leave ConPTY open.
1874
+ // Stop all owned process trees before releasing the PTYs and exiting the hub.
1875
+ const pids = [...E.sessions.values()].map((sess) => sess.p.pid).filter((pid) => Number.isInteger(pid) && pid > 0);
1876
+ if (pids.length) {
1877
+ try {
1878
+ cp.spawnSync('taskkill.exe', [...pids.flatMap((pid) => ['/PID', String(pid)]), '/T', '/F'],
1879
+ { stdio: 'ignore', windowsHide: true, timeout: 5000 });
1880
+ } catch { /* still release the PTYs below */ }
1881
+ }
1882
+ }
1883
+ for (const sess of E.sessions.values()) { try { sess.p.kill(); } catch { /* */ } }
1884
+ }
1871
1885
 
1872
1886
  // Redibujado diferencial: solo se reescriben las filas que cambiaron desde el último cuadro.
1873
1887
  let lastRows = [], forceFull = true;
File without changes
package/lib/deepsearch.js CHANGED
File without changes
package/lib/executable.js CHANGED
File without changes
package/lib/git.js CHANGED
File without changes
package/lib/history.js CHANGED
File without changes
package/lib/i18n.js CHANGED
File without changes
package/lib/images.js CHANGED
File without changes
package/lib/keys.js CHANGED
File without changes
package/lib/mascot.js CHANGED
File without changes
package/lib/provider.js CHANGED
File without changes
package/lib/sixel.js CHANGED
File without changes
package/lib/stats.js CHANGED
File without changes
package/lib/style.js CHANGED
File without changes
package/lib/text.js CHANGED
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hopdeck",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Selector visual de proyectos y conversaciones para Claude Code y Codex CLI, en la terminal: salta entre proyectos sin hacer cd.",
5
5
  "author": "fabriciodev26",
6
6
  "license": "MIT",