@mentiko/pty-mgr 1.2.3 → 1.2.4

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/README.md CHANGED
@@ -19,15 +19,23 @@ Compiles to a single self-contained binary via `bun build --compile`.
19
19
  ### Binary (no dependencies)
20
20
 
21
21
  ```
22
- curl -fsSL https://raw.githubusercontent.com/maarco/pty-mgr/main/install.sh | sh
22
+ curl -fsSL https://raw.githubusercontent.com/kollaborai/pty-mgr/main/install.sh | sh
23
23
  ```
24
24
 
25
25
  Installs to `~/.pty-mgr/bin/` and adds to PATH. Works on Linux and macOS (x64, arm64).
26
26
 
27
+ ### NPM package
28
+
29
+ ```
30
+ npm install -g @mentiko/pty-mgr
31
+ ```
32
+
33
+ Installs the wrapper plus the platform binary for your OS/arch.
34
+
27
35
  ### Bun package (for library use)
28
36
 
29
37
  ```
30
- bun add pty-mgr
38
+ bun add @mentiko/pty-mgr
31
39
  ```
32
40
 
33
41
  Requires [Bun](https://bun.sh) runtime.
@@ -37,7 +45,7 @@ Requires [Bun](https://bun.sh) runtime.
37
45
  ### As a library
38
46
 
39
47
  ```js
40
- import { PtyManager } from 'pty-mgr';
48
+ import { PtyManager } from '@mentiko/pty-mgr';
41
49
 
42
50
  const mgr = new PtyManager();
43
51
  mgr.spawn('my-session', 'zsh', [], { cols: 120, rows: 30 });
@@ -136,7 +144,7 @@ $ p attach my-app-1 # jump back into agent 1
136
144
  ### Programmatic (parallel agents)
137
145
 
138
146
  ```js
139
- import { PtyManager } from 'pty-mgr';
147
+ import { PtyManager } from '@mentiko/pty-mgr';
140
148
 
141
149
  const mgr = new PtyManager();
142
150
 
@@ -32,7 +32,7 @@ import { dirname, join } from "node:path";
32
32
  import { createWriteStream, mkdirSync, existsSync, readSync } from "node:fs";
33
33
 
34
34
  // replaced by --define at build time
35
- export const VERSION = "1.2.3";
35
+ export const VERSION = "1.2.4";
36
36
  import xterm from "@xterm/headless";
37
37
  import { SerializeAddon } from "@xterm/addon-serialize";
38
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentiko/pty-mgr",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "PTY session manager with terminal emulation for programmatic session control.",
5
5
  "type": "module",
6
6
  "main": "lib/pty-manager.mjs",
@@ -26,10 +26,10 @@
26
26
  "@xterm/headless": "^6.0.0"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@mentiko/pty-mgr-linux-x64": "1.2.3",
30
- "@mentiko/pty-mgr-linux-arm64": "1.2.3",
31
- "@mentiko/pty-mgr-darwin-x64": "1.2.3",
32
- "@mentiko/pty-mgr-darwin-arm64": "1.2.3"
29
+ "@mentiko/pty-mgr-linux-x64": "1.2.4",
30
+ "@mentiko/pty-mgr-linux-arm64": "1.2.4",
31
+ "@mentiko/pty-mgr-darwin-x64": "1.2.4",
32
+ "@mentiko/pty-mgr-darwin-arm64": "1.2.4"
33
33
  },
34
34
  "engines": {
35
35
  "bun": ">=1.0"