@dotrino/terminal-agent 0.33.0 → 0.34.1
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/bin/terminal.js +6 -10
- package/package.json +2 -2
package/bin/terminal.js
CHANGED
|
@@ -438,14 +438,12 @@ function interactive (conn, first, dir) {
|
|
|
438
438
|
}
|
|
439
439
|
if (m.type === 'meta') { onInfo(m.console); return }
|
|
440
440
|
if (m.type === 'exit') {
|
|
441
|
-
// LA
|
|
442
|
-
//
|
|
443
|
-
//
|
|
444
|
-
// NUNCA crea una nueva (
|
|
445
|
-
//
|
|
446
|
-
|
|
447
|
-
// cualquier terminal.
|
|
448
|
-
if (m.closedBy === 'other') {
|
|
441
|
+
// LA CONSOLA SE CERRÓ, la cierre quien la cierre (otra pantalla, el panel, o `exit` tecleado
|
|
442
|
+
// aquí): cerrar una consola nunca cierra la ventana (dueño, 2026-10-08). Pasa a una consola
|
|
443
|
+
// que YA existe: primero una que no mire nadie; si todas se miran, la primera igual.
|
|
444
|
+
// NUNCA crea una nueva (para no llenarse de consolas que nadie mira): si la máquina se quedó
|
|
445
|
+
// sin ninguna, la ventana se queda SIN consola (`empty`) y lo dice.
|
|
446
|
+
{
|
|
449
447
|
const closed = consoleId
|
|
450
448
|
consoleId = null
|
|
451
449
|
ready = false // lo que se teclee mientras tanto espera a la consola que venga
|
|
@@ -460,8 +458,6 @@ function interactive (conn, first, dir) {
|
|
|
460
458
|
})
|
|
461
459
|
return
|
|
462
460
|
}
|
|
463
|
-
finish(m.code || 0)
|
|
464
|
-
return
|
|
465
461
|
}
|
|
466
462
|
if (m.type === 'fail') {
|
|
467
463
|
// FALLÓ UN CAMBIO DE CONSOLA (la que se pidió ya no existe: el panel de la app iba un
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotrino/terminal-agent",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.1",
|
|
4
4
|
"description": "Dotrino Terminal: las ventanas de esta máquina (dotrino-terminal) y su agente, que deja abrir esas mismas consolas desde los otros aparatos de tu cuenta, cifrado punto a punto.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@dotrino/identity": "0.107.2",
|
|
31
31
|
"@dotrino/proxy-client": "0.30.3",
|
|
32
|
-
"@dotrino/remote-agent": "0.18.
|
|
32
|
+
"@dotrino/remote-agent": "0.18.1",
|
|
33
33
|
"@dotrino/update": "0.5.1",
|
|
34
34
|
"@dotrino/vault": "0.82.1",
|
|
35
35
|
"@xterm/addon-serialize": "0.13.0",
|