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 +5 -0
- package/LICENSE +0 -0
- package/README.en.md +0 -0
- package/README.md +0 -0
- package/SECURITY.md +0 -0
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/bin/hopdeck.js +15 -1
- package/lib/codex-history.js +0 -0
- package/lib/deepsearch.js +0 -0
- package/lib/executable.js +0 -0
- package/lib/git.js +0 -0
- package/lib/history.js +0 -0
- package/lib/i18n.js +0 -0
- package/lib/images.js +0 -0
- package/lib/keys.js +0 -0
- package/lib/mascot.js +0 -0
- package/lib/provider.js +0 -0
- package/lib/sixel.js +0 -0
- package/lib/stats.js +0 -0
- package/lib/style.js +0 -0
- package/lib/text.js +0 -0
- package/lib/windows-terminal.js +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
File without changes
|
package/bin/hopdeck.js
CHANGED
|
@@ -1867,7 +1867,21 @@ function embedResize() {
|
|
|
1867
1867
|
render();
|
|
1868
1868
|
}
|
|
1869
1869
|
|
|
1870
|
-
function embedKillAll() {
|
|
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;
|
package/lib/codex-history.js
CHANGED
|
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
|
package/lib/windows-terminal.js
CHANGED
|
File without changes
|
package/package.json
CHANGED