@dotrino/terminal-agent 0.8.1 → 0.9.0

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 (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -35,8 +35,11 @@ export { LABEL }
35
35
  export const LINK_POLL_MS = 2000
36
36
 
37
37
  export function loadPty () {
38
- // Binarios PREBUILT (Linux/macOS/Windows, sin toolchain), API idéntica a node-pty.
39
- try { return require('@homebridge/node-pty-prebuilt-multiarch') } catch (e) {
38
+ // node-pty (Microsoft, el de VS Code) ≥ 1.2 trae los binarios DENTRO del paquete para Linux,
39
+ // macOS y Windows: no compila ni descarga nada al instalarse (funciona con ignore-scripts).
40
+ // Antes: @homebridge/node-pty-prebuilt-multiarch, que los bajaba al instalar con
41
+ // prebuild-install, abandonado (npm avisaba «deprecated»).
42
+ try { return require('node-pty') } catch (e) {
40
43
  throw new Error('PTY module missing. Reinstall the agent: `npx @dotrino/terminal-agent` (' + e.message + ')')
41
44
  }
42
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotrino/terminal-agent",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
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,9 +29,9 @@
29
29
  "@dotrino/remote-agent": "0.12.1",
30
30
  "@dotrino/update": "0.2.2",
31
31
  "@dotrino/vault": "0.79.0",
32
- "@homebridge/node-pty-prebuilt-multiarch": "0.14.1-beta.2",
33
32
  "@xterm/addon-serialize": "0.13.0",
34
- "@xterm/headless": "5.5.0"
33
+ "@xterm/headless": "5.5.0",
34
+ "node-pty": "1.2.0-beta.15"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=20"