panex 0.9.2 → 0.9.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
@@ -4,13 +4,13 @@ A terminal UI for running multiple processes in parallel. Like Turborepo's TUI,
4
4
 
5
5
  ```
6
6
  ┌──────────────┬──────────────────────────────────────────────┐
7
- PROCESSES OUTPUT: api
7
+ │ api
8
+ │ ▶ api ● │ │
9
+ │ web ● │ Server listening on http://localhost:3001 │
10
+ │ mobile ● │ {"level":30,"msg":"request completed"} │
8
11
  │ │ │
9
- │ ▶ api ● │ Server listening on http://localhost:3001 │
10
- │ web ● │ {"level":30,"msg":"request completed"} │
11
- │ mobile ● │ │
12
12
  ├──────────────┴──────────────────────────────────────────────┤
13
- │ [↑↓] select [enter] focus [r] restart [q] quit
13
+ │ [↑↓] select [enter] focus [r] restart [q] quit
14
14
  └─────────────────────────────────────────────────────────────┘
15
15
  ```
16
16
 
@@ -21,20 +21,18 @@ A terminal UI for running multiple processes in parallel. Like Turborepo's TUI,
21
21
  - **Zero config** - Just pass commands as arguments
22
22
  - **Cross-platform** - macOS, Linux, Windows
23
23
 
24
- ## Installation
24
+ ## Requirements
25
25
 
26
- ```bash
27
- # npm
28
- npm install -g panex
26
+ **Bun runtime is required.** Panex uses Bun's built-in PTY support for interactive processes.
29
27
 
30
- # or run directly
31
- npx panex "npm run api" "npm run web"
28
+ ## Installation
32
29
 
33
- # bun
30
+ ```bash
31
+ # Run directly with bunx
34
32
  bunx panex "bun run api" "bun run web"
35
33
 
36
- # pnpm
37
- pnpm add -g panex
34
+ # Or install globally
35
+ bun add -g panex
38
36
  ```
39
37
 
40
38
  ## Usage
@@ -51,28 +49,28 @@ panex -n api,web,mobile "npm run api" "npm run web" "npm run mobile"
51
49
 
52
50
  ### Keyboard Shortcuts
53
51
 
54
- | Key | Action |
55
- |-----|--------|
56
- | `↑/↓` or `j/k` | Navigate process list |
57
- | `Enter` | Focus process (interactive mode) |
58
- | `Esc` | Exit focus mode |
59
- | `r` | Restart selected process |
60
- | `x` | Kill selected process |
61
- | `a` | Restart all processes |
62
- | `q` | Quit panex |
63
- | `?` | Show help |
64
- | `g/G` | Scroll to top/bottom |
65
- | `PgUp/PgDn` | Scroll output |
52
+ | Key | Action |
53
+ | -------------- | -------------------------------- |
54
+ | `↑/↓` or `j/k` | Navigate process list |
55
+ | `Enter` | Focus process (interactive mode) |
56
+ | `Esc` | Exit focus mode |
57
+ | `r` | Restart selected process |
58
+ | `x` | Kill selected process |
59
+ | `A` | Restart all processes |
60
+ | `q` | Quit panex |
61
+ | `?` | Show help |
62
+ | `g/G` | Scroll to top/bottom |
63
+ | `PgUp/PgDn` | Scroll output |
66
64
 
67
65
  ## Why panex?
68
66
 
69
- | Feature | panex | concurrently | mprocs | turbo |
70
- |---------|-------|--------------|--------|-------|
71
- | Split-pane TUI | ✅ | ❌ | ✅ | ✅ |
72
- | PTY support (QR codes) | ✅ | ❌ | ✅ | ✅ |
73
- | Zero config | ✅ | ✅ | ❌ | ❌ |
74
- | npm install | ✅ | ✅ | ❌ | ✅ |
75
- | No monorepo required | ✅ | ✅ | ✅ | ❌ |
67
+ | Feature | panex | concurrently | mprocs | turbo |
68
+ | ---------------------- | ----- | ------------ | ------ | ----- |
69
+ | Split-pane TUI | ✅ | ❌ | ✅ | ✅ |
70
+ | PTY support (QR codes) | ✅ | ❌ | ✅ | ✅ |
71
+ | Zero config | ✅ | ✅ | ❌ | ❌ |
72
+ | npm install | ✅ | ✅ | ❌ | ✅ |
73
+ | No monorepo required | ✅ | ✅ | ✅ | ❌ |
76
74
 
77
75
  ## Development
78
76
 
@@ -104,7 +102,7 @@ node dist/cli.js "echo test"
104
102
 
105
103
  - TypeScript + Bun
106
104
  - blessed (TUI framework)
107
- - node-pty (PTY support for interactive processes)
105
+ - Bun.spawn with terminal (PTY support)
108
106
  - commander (CLI parsing)
109
107
  - tsup (build tool)
110
108