4runr-os 2.1.49 โ 2.1.51
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 +256 -65
- package/SETUP.md +85 -85
- package/USER-PRIVACY.md +81 -81
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/system-verify.d.ts.map +1 -1
- package/dist/system-verify.js +9 -64
- package/dist/system-verify.js.map +1 -1
- package/images/.gitkeep +4 -0
- package/images/README.md +30 -0
- package/images/screenshot-boot.png +0 -0
- package/images/screenshot.png +0 -0
- package/mk3-tui/Cargo.toml +16 -16
- package/mk3-tui/bin/mk3-tui.js +63 -63
- package/mk3-tui/src/app/render_scheduler.rs +103 -103
- package/mk3-tui/src/io/mod.rs +66 -66
- package/mk3-tui/src/io/protocol.rs +15 -15
- package/mk3-tui/src/io/stdio.rs +32 -32
- package/mk3-tui/src/io/ws.rs +32 -32
- package/mk3-tui/src/ui/boot.rs +150 -150
- package/mk3-tui/src/ui/layout.rs +36 -14
- package/mk3-tui/src/ui/mod.rs +4 -4
- package/mk3-tui/src/ui/safe_viewport.rs +235 -235
- package/package.json +46 -18
- package/scripts/cleanup-build-artifacts.js +101 -101
- package/scripts/postinstall-mk3.js +64 -64
- package/scripts/setup.js +390 -390
- package/mk3-tui/Cargo.lock +0 -1105
- package/mk3-tui/binaries/linux-x64/mk3-tui +0 -0
package/README.md
CHANGED
|
@@ -1,65 +1,256 @@
|
|
|
1
|
-
# 4Runr OS
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- **
|
|
55
|
-
- **
|
|
56
|
-
|
|
57
|
-
**
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
# 4Runr OS
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
**Production-ready terminal interface for managing AI agents with real-time monitoring, safety controls, and enterprise features.**
|
|
10
|
+
|
|
11
|
+
[Installation](#-installation) โข [Features](#-features) โข [Documentation](#-documentation) โข [Support](#-support)
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## ๐ธ Screenshots
|
|
18
|
+
|
|
19
|
+
### Boot Screen
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
*Initialization screen showing system startup and readiness status.*
|
|
24
|
+
|
|
25
|
+
### Main Interface
|
|
26
|
+
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
*Full terminal interface showing system status, operations log, resources, and capabilities.*
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## ๐ Quick Start
|
|
34
|
+
|
|
35
|
+
### Installation
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm install -g 4runr-os
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Usage
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
4r
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**That's it!** The terminal interface launches automatically.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## โจ Features
|
|
52
|
+
|
|
53
|
+
### ๐จ Modern Terminal Interface
|
|
54
|
+
- **Rust + Ratatui** - High-performance, native terminal UI
|
|
55
|
+
- **Real-time Updates** - Live monitoring of agent runs, system resources, and network status
|
|
56
|
+
- **Beautiful Design** - Clean, professional interface with 4Runr brand colors
|
|
57
|
+
- **Cross-platform** - Works on Windows, macOS, and Linux
|
|
58
|
+
|
|
59
|
+
### ๐ Enterprise Safety Features
|
|
60
|
+
- **Shield System** - PII detection, injection blocking, hallucination checks
|
|
61
|
+
- **Sentinel Monitoring** - Real-time safety monitoring and alerting
|
|
62
|
+
- **Policy Enforcement** - Configurable safety policies and controls
|
|
63
|
+
- **Audit Logging** - Complete audit trail of all operations
|
|
64
|
+
|
|
65
|
+
### ๐ Real-time Monitoring
|
|
66
|
+
- **System Status** - CPU, memory, network monitoring
|
|
67
|
+
- **Agent Operations** - Live log streaming and status updates
|
|
68
|
+
- **Gateway Health** - Connection status and metrics
|
|
69
|
+
- **Resource Tracking** - Active runs, connections, and capabilities
|
|
70
|
+
|
|
71
|
+
### ๐ Auto-Update System
|
|
72
|
+
- **Automatic Updates** - Checks for and installs new versions automatically
|
|
73
|
+
- **Configurable** - Enable/disable auto-updates via config command
|
|
74
|
+
- **Zero Downtime** - Updates happen seamlessly in the background
|
|
75
|
+
|
|
76
|
+
### ๐ ๏ธ Developer Experience
|
|
77
|
+
- **Zero Configuration** - Works out of the box
|
|
78
|
+
- **Pre-built Binaries** - No Rust or build tools required
|
|
79
|
+
- **Fast Startup** - Optimized for quick launch times
|
|
80
|
+
- **Comprehensive Logging** - Detailed logs for debugging
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## ๐ Commands
|
|
85
|
+
|
|
86
|
+
### Global Commands
|
|
87
|
+
|
|
88
|
+
| Command | Description |
|
|
89
|
+
|---------|-------------|
|
|
90
|
+
| `4r` | Launch the 4Runr OS terminal interface (recommended) |
|
|
91
|
+
| `4runr` | Alias for `4r` |
|
|
92
|
+
| `4runr-os` | Alias for `4r` |
|
|
93
|
+
| `4runr-setup` | Run initial setup wizard |
|
|
94
|
+
|
|
95
|
+
### In-Terminal Commands
|
|
96
|
+
|
|
97
|
+
Once the TUI is running, you can use these commands:
|
|
98
|
+
|
|
99
|
+
- `help` - Show all available commands
|
|
100
|
+
- `config` - Manage configuration settings
|
|
101
|
+
- `status` - Show system status
|
|
102
|
+
- `agents` - List available agents
|
|
103
|
+
- `runs` - View agent run history
|
|
104
|
+
- `exit` or `Ctrl+C` - Exit the terminal
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## โ๏ธ Configuration
|
|
109
|
+
|
|
110
|
+
### Auto-Update Settings
|
|
111
|
+
|
|
112
|
+
Control automatic updates from within the OS:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
4r
|
|
116
|
+
# Then in the terminal:
|
|
117
|
+
config auto-update disable # Disable automatic updates
|
|
118
|
+
config auto-update enable # Enable automatic updates
|
|
119
|
+
config auto-update status # Check current setting
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Environment Variables
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
# Disable auto-update (still checks for updates)
|
|
126
|
+
NO_AUTO_UPDATE=1 4r
|
|
127
|
+
|
|
128
|
+
# Disable update check entirely
|
|
129
|
+
NO_UPDATE_CHECK=1 4r
|
|
130
|
+
|
|
131
|
+
# Set custom gateway URL
|
|
132
|
+
GATEWAY_URL=http://your-gateway:3001 4r
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Configuration File
|
|
136
|
+
|
|
137
|
+
Settings are saved in `~/.4runr/config.json` and persist across sessions.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## ๐ฆ Requirements
|
|
142
|
+
|
|
143
|
+
- **Node.js** 18.0.0 or higher
|
|
144
|
+
- **npm** (comes with Node.js)
|
|
145
|
+
|
|
146
|
+
**No Rust or build tools needed!** Pre-built binaries are included for:
|
|
147
|
+
- Windows (x64)
|
|
148
|
+
- macOS (x64, ARM64)
|
|
149
|
+
- Linux (x64, ARM64)
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## ๐๏ธ Architecture
|
|
154
|
+
|
|
155
|
+
4Runr OS is built with:
|
|
156
|
+
|
|
157
|
+
- **Frontend**: Rust + Ratatui for the terminal interface
|
|
158
|
+
- **Backend**: Node.js for orchestration and gateway communication
|
|
159
|
+
- **Communication**: HTTP/SSE for real-time updates
|
|
160
|
+
- **Safety**: Built-in Shield and Sentinel systems
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
โโโโโโโโโโโโโโโโโโโ
|
|
164
|
+
โ 4Runr OS โ โ Terminal Interface (Rust + Ratatui)
|
|
165
|
+
โ (TUI) โ
|
|
166
|
+
โโโโโโโโโโฌโโโโโโโโโ
|
|
167
|
+
โ HTTP/SSE
|
|
168
|
+
โผ
|
|
169
|
+
โโโโโโโโโโโโโโโโโโโ
|
|
170
|
+
โ 4Runr Gateway โ โ API Gateway (Node.js)
|
|
171
|
+
โ (Backend) โ
|
|
172
|
+
โโโโโโโโโโโโโโโโโโโ
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## ๐ Documentation
|
|
178
|
+
|
|
179
|
+
- **[Setup Guide](./SETUP.md)** - Detailed setup instructions and troubleshooting
|
|
180
|
+
- **[User Privacy](./USER-PRIVACY.md)** - Privacy policy and data handling
|
|
181
|
+
- **[Easy Usage](./EASY-USAGE.md)** - Quick reference guide
|
|
182
|
+
- **[Contributing](./CONTRIBUTING-CLI.md)** - How to contribute to the project
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## ๐ง Troubleshooting
|
|
187
|
+
|
|
188
|
+
### "mk3-tui binary not found"
|
|
189
|
+
|
|
190
|
+
The package will try to auto-install it. If that fails:
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
npm install -g 4runr-os-mk3
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### "4r: command not found"
|
|
197
|
+
|
|
198
|
+
Make sure npm global bin is in your PATH:
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
# Check PATH
|
|
202
|
+
echo $PATH | grep npm
|
|
203
|
+
|
|
204
|
+
# Add to PATH if needed (add to ~/.bashrc or ~/.zshrc)
|
|
205
|
+
export PATH=$PATH:$(npm config get prefix)/bin
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Terminal too small
|
|
209
|
+
|
|
210
|
+
The TUI requires a minimum terminal size of 80x24. Resize your terminal window.
|
|
211
|
+
|
|
212
|
+
### Connection issues
|
|
213
|
+
|
|
214
|
+
Check your gateway URL:
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
# Test gateway connection
|
|
218
|
+
curl http://your-gateway:3001/health
|
|
219
|
+
|
|
220
|
+
# Set gateway URL
|
|
221
|
+
export GATEWAY_URL=http://your-gateway:3001
|
|
222
|
+
4r
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## ๐ค Support
|
|
228
|
+
|
|
229
|
+
- **Issues**: [GitHub Issues](https://github.com/KyanBergeron4Runr/4Runr-AI-Agent-OS/issues)
|
|
230
|
+
- **Documentation**: [Full Documentation](./SETUP.md)
|
|
231
|
+
- **Website**: [4Runr.com](https://4runr.com)
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## ๐ License
|
|
236
|
+
|
|
237
|
+
MIT License - see [LICENSE](../LICENSE) file for details.
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## ๐ Acknowledgments
|
|
242
|
+
|
|
243
|
+
Built with:
|
|
244
|
+
- [Ratatui](https://github.com/ratatui-org/ratatui) - Terminal UI library
|
|
245
|
+
- [Rust](https://www.rust-lang.org/) - Systems programming language
|
|
246
|
+
- [Node.js](https://nodejs.org/) - JavaScript runtime
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
<div align="center">
|
|
251
|
+
|
|
252
|
+
**Made with โค๏ธ by the 4Runr Team**
|
|
253
|
+
|
|
254
|
+
[โฌ Back to Top](#4runr-os)
|
|
255
|
+
|
|
256
|
+
</div>
|
package/SETUP.md
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
# 4Runr OS - Quick Setup Guide
|
|
2
|
-
|
|
3
|
-
## One-Time Setup
|
|
4
|
-
|
|
5
|
-
**Step 1: Install**
|
|
6
|
-
```bash
|
|
7
|
-
npm install -g 4runr-os
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
**Step 2: Run Setup (Auto-detects and fixes everything)**
|
|
11
|
-
```bash
|
|
12
|
-
4runr-setup
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
Or if that doesn't work:
|
|
16
|
-
```bash
|
|
17
|
-
npm run -g setup
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
**That's it!** The setup script will:
|
|
21
|
-
- โ
Check Node.js and npm
|
|
22
|
-
- โ
Install Rust if needed
|
|
23
|
-
- โ
Fix Windows MSVC linker issues automatically
|
|
24
|
-
- โ
Build mk3-tui binary
|
|
25
|
-
- โ
Verify everything is ready
|
|
26
|
-
|
|
27
|
-
## Daily Use
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
4r
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
**Done!** Just `4r` every time. It will verify everything is ready before launching.
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## After Setup
|
|
38
|
-
|
|
39
|
-
Once installed, just run:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
4r
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
That's all you need! The `4r` command will:
|
|
46
|
-
- โ
Launch the 4Runr OS terminal interface
|
|
47
|
-
- โ
Auto-update when new versions are available
|
|
48
|
-
- โ
Work immediately (no additional setup needed)
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Troubleshooting
|
|
53
|
-
|
|
54
|
-
### "4r: command not found"
|
|
55
|
-
|
|
56
|
-
Make sure npm global bin is in your PATH:
|
|
57
|
-
|
|
58
|
-
**Windows:**
|
|
59
|
-
```powershell
|
|
60
|
-
# Add to PATH (add to your PowerShell profile)
|
|
61
|
-
$env:Path += ";$env:APPDATA\npm"
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
**Linux/macOS:**
|
|
65
|
-
```bash
|
|
66
|
-
# Add to PATH (add to ~/.bashrc or ~/.zshrc)
|
|
67
|
-
export PATH=$PATH:$(npm config get prefix)/bin
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### "mk3-tui binary not found"
|
|
71
|
-
|
|
72
|
-
This shouldn't happen if binaries are included in the package. If you see this:
|
|
73
|
-
|
|
74
|
-
1. Make sure you have the latest version: `npm install -g 4runr-os@latest`
|
|
75
|
-
2. If still happening, the package will try to build from source automatically (requires Rust)
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## That's It!
|
|
80
|
-
|
|
81
|
-
- **One-time setup**: `npm install -g 4runr-os`
|
|
82
|
-
- **Daily use**: `4r`
|
|
83
|
-
|
|
84
|
-
No other commands needed! ๐
|
|
85
|
-
|
|
1
|
+
# 4Runr OS - Quick Setup Guide
|
|
2
|
+
|
|
3
|
+
## One-Time Setup
|
|
4
|
+
|
|
5
|
+
**Step 1: Install**
|
|
6
|
+
```bash
|
|
7
|
+
npm install -g 4runr-os
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
**Step 2: Run Setup (Auto-detects and fixes everything)**
|
|
11
|
+
```bash
|
|
12
|
+
4runr-setup
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Or if that doesn't work:
|
|
16
|
+
```bash
|
|
17
|
+
npm run -g setup
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**That's it!** The setup script will:
|
|
21
|
+
- โ
Check Node.js and npm
|
|
22
|
+
- โ
Install Rust if needed
|
|
23
|
+
- โ
Fix Windows MSVC linker issues automatically
|
|
24
|
+
- โ
Build mk3-tui binary
|
|
25
|
+
- โ
Verify everything is ready
|
|
26
|
+
|
|
27
|
+
## Daily Use
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
4r
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Done!** Just `4r` every time. It will verify everything is ready before launching.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## After Setup
|
|
38
|
+
|
|
39
|
+
Once installed, just run:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
4r
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
That's all you need! The `4r` command will:
|
|
46
|
+
- โ
Launch the 4Runr OS terminal interface
|
|
47
|
+
- โ
Auto-update when new versions are available
|
|
48
|
+
- โ
Work immediately (no additional setup needed)
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Troubleshooting
|
|
53
|
+
|
|
54
|
+
### "4r: command not found"
|
|
55
|
+
|
|
56
|
+
Make sure npm global bin is in your PATH:
|
|
57
|
+
|
|
58
|
+
**Windows:**
|
|
59
|
+
```powershell
|
|
60
|
+
# Add to PATH (add to your PowerShell profile)
|
|
61
|
+
$env:Path += ";$env:APPDATA\npm"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Linux/macOS:**
|
|
65
|
+
```bash
|
|
66
|
+
# Add to PATH (add to ~/.bashrc or ~/.zshrc)
|
|
67
|
+
export PATH=$PATH:$(npm config get prefix)/bin
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### "mk3-tui binary not found"
|
|
71
|
+
|
|
72
|
+
This shouldn't happen if binaries are included in the package. If you see this:
|
|
73
|
+
|
|
74
|
+
1. Make sure you have the latest version: `npm install -g 4runr-os@latest`
|
|
75
|
+
2. If still happening, the package will try to build from source automatically (requires Rust)
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## That's It!
|
|
80
|
+
|
|
81
|
+
- **One-time setup**: `npm install -g 4runr-os`
|
|
82
|
+
- **Daily use**: `4r`
|
|
83
|
+
|
|
84
|
+
No other commands needed! ๐
|
|
85
|
+
|
package/USER-PRIVACY.md
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
# User Privacy & System Cleanliness
|
|
2
|
-
|
|
3
|
-
## What We Install
|
|
4
|
-
|
|
5
|
-
4runr-os **only installs what's necessary** and **respects your system**:
|
|
6
|
-
|
|
7
|
-
### โ
What Gets Installed (Only if Missing)
|
|
8
|
-
|
|
9
|
-
1. **Rust** (optional)
|
|
10
|
-
- Only if not already installed
|
|
11
|
-
- **User must install manually** (we provide instructions, don't auto-install)
|
|
12
|
-
- Required for building mk3-tui binary
|
|
13
|
-
|
|
14
|
-
2. **MinGW/MSYS2** (Windows only, optional)
|
|
15
|
-
- Only if MSVC linker not available
|
|
16
|
-
- Only if not already installed
|
|
17
|
-
- Used for Rust GNU toolchain on Windows
|
|
18
|
-
|
|
19
|
-
3. **mk3-tui Binary**
|
|
20
|
-
- Built from source included in package
|
|
21
|
-
- Only if pre-built binary not available
|
|
22
|
-
- Stored in package directory (not system directories)
|
|
23
|
-
|
|
24
|
-
### โ
What We Never Do
|
|
25
|
-
|
|
26
|
-
- โ Never install system-wide software without user consent
|
|
27
|
-
- โ Never modify system PATH permanently without asking
|
|
28
|
-
- โ Never download large files unnecessarily
|
|
29
|
-
- โ Never leave temporary files on your system
|
|
30
|
-
- โ Never modify registry or system settings
|
|
31
|
-
- โ Never auto-install Rust (user must do it manually)
|
|
32
|
-
|
|
33
|
-
### ๐งน Automatic Cleanup
|
|
34
|
-
|
|
35
|
-
The package automatically cleans up:
|
|
36
|
-
|
|
37
|
-
1. **Build Artifacts** (after building)
|
|
38
|
-
- Removes Rust debug builds (~200-300MB saved)
|
|
39
|
-
- Removes incremental compilation artifacts
|
|
40
|
-
- Keeps only the final release binary
|
|
41
|
-
|
|
42
|
-
2. **Old Versions** (during updates)
|
|
43
|
-
- Removes old npm package versions (keeps last 2)
|
|
44
|
-
- Prevents disk space overflow from version history
|
|
45
|
-
|
|
46
|
-
3. **No Temporary Files**
|
|
47
|
-
- All operations use existing directories
|
|
48
|
-
- No temp files created or left behind
|
|
49
|
-
|
|
50
|
-
### ๐ฆ Package Contents
|
|
51
|
-
|
|
52
|
-
The npm package includes:
|
|
53
|
-
- โ
Compiled TypeScript (dist/)
|
|
54
|
-
- โ
Rust source code (for building if needed)
|
|
55
|
-
- โ
Setup scripts (for one-time setup)
|
|
56
|
-
- โ Build artifacts (excluded via .npmignore)
|
|
57
|
-
- โ Source TypeScript (excluded - only dist/ included)
|
|
58
|
-
- โ Development files
|
|
59
|
-
|
|
60
|
-
### ๐ What We Touch
|
|
61
|
-
|
|
62
|
-
**User's System:**
|
|
63
|
-
- โ
npm global install directory (standard npm location)
|
|
64
|
-
- โ
PATH environment variable (session-only, unless user approves permanent)
|
|
65
|
-
- โ System directories (we never touch system files)
|
|
66
|
-
- โ Registry/configuration files (Windows)
|
|
67
|
-
- โ User's home directory (except standard npm locations)
|
|
68
|
-
|
|
69
|
-
**User's Data:**
|
|
70
|
-
- โ
Configuration file: `~/.4runr/config.json` (for user preferences)
|
|
71
|
-
- โ User's files or documents (never accessed)
|
|
72
|
-
- โ Browser data or history (never accessed)
|
|
73
|
-
- โ Personal information (never collected)
|
|
74
|
-
|
|
75
|
-
### ๐ก๏ธ Privacy Guarantee
|
|
76
|
-
|
|
77
|
-
- No telemetry or tracking
|
|
78
|
-
- No data collection
|
|
79
|
-
- No external network calls (except npm registry for updates)
|
|
80
|
-
- All operations are local
|
|
81
|
-
|
|
1
|
+
# User Privacy & System Cleanliness
|
|
2
|
+
|
|
3
|
+
## What We Install
|
|
4
|
+
|
|
5
|
+
4runr-os **only installs what's necessary** and **respects your system**:
|
|
6
|
+
|
|
7
|
+
### โ
What Gets Installed (Only if Missing)
|
|
8
|
+
|
|
9
|
+
1. **Rust** (optional)
|
|
10
|
+
- Only if not already installed
|
|
11
|
+
- **User must install manually** (we provide instructions, don't auto-install)
|
|
12
|
+
- Required for building mk3-tui binary
|
|
13
|
+
|
|
14
|
+
2. **MinGW/MSYS2** (Windows only, optional)
|
|
15
|
+
- Only if MSVC linker not available
|
|
16
|
+
- Only if not already installed
|
|
17
|
+
- Used for Rust GNU toolchain on Windows
|
|
18
|
+
|
|
19
|
+
3. **mk3-tui Binary**
|
|
20
|
+
- Built from source included in package
|
|
21
|
+
- Only if pre-built binary not available
|
|
22
|
+
- Stored in package directory (not system directories)
|
|
23
|
+
|
|
24
|
+
### โ
What We Never Do
|
|
25
|
+
|
|
26
|
+
- โ Never install system-wide software without user consent
|
|
27
|
+
- โ Never modify system PATH permanently without asking
|
|
28
|
+
- โ Never download large files unnecessarily
|
|
29
|
+
- โ Never leave temporary files on your system
|
|
30
|
+
- โ Never modify registry or system settings
|
|
31
|
+
- โ Never auto-install Rust (user must do it manually)
|
|
32
|
+
|
|
33
|
+
### ๐งน Automatic Cleanup
|
|
34
|
+
|
|
35
|
+
The package automatically cleans up:
|
|
36
|
+
|
|
37
|
+
1. **Build Artifacts** (after building)
|
|
38
|
+
- Removes Rust debug builds (~200-300MB saved)
|
|
39
|
+
- Removes incremental compilation artifacts
|
|
40
|
+
- Keeps only the final release binary
|
|
41
|
+
|
|
42
|
+
2. **Old Versions** (during updates)
|
|
43
|
+
- Removes old npm package versions (keeps last 2)
|
|
44
|
+
- Prevents disk space overflow from version history
|
|
45
|
+
|
|
46
|
+
3. **No Temporary Files**
|
|
47
|
+
- All operations use existing directories
|
|
48
|
+
- No temp files created or left behind
|
|
49
|
+
|
|
50
|
+
### ๐ฆ Package Contents
|
|
51
|
+
|
|
52
|
+
The npm package includes:
|
|
53
|
+
- โ
Compiled TypeScript (dist/)
|
|
54
|
+
- โ
Rust source code (for building if needed)
|
|
55
|
+
- โ
Setup scripts (for one-time setup)
|
|
56
|
+
- โ Build artifacts (excluded via .npmignore)
|
|
57
|
+
- โ Source TypeScript (excluded - only dist/ included)
|
|
58
|
+
- โ Development files
|
|
59
|
+
|
|
60
|
+
### ๐ What We Touch
|
|
61
|
+
|
|
62
|
+
**User's System:**
|
|
63
|
+
- โ
npm global install directory (standard npm location)
|
|
64
|
+
- โ
PATH environment variable (session-only, unless user approves permanent)
|
|
65
|
+
- โ System directories (we never touch system files)
|
|
66
|
+
- โ Registry/configuration files (Windows)
|
|
67
|
+
- โ User's home directory (except standard npm locations)
|
|
68
|
+
|
|
69
|
+
**User's Data:**
|
|
70
|
+
- โ
Configuration file: `~/.4runr/config.json` (for user preferences)
|
|
71
|
+
- โ User's files or documents (never accessed)
|
|
72
|
+
- โ Browser data or history (never accessed)
|
|
73
|
+
- โ Personal information (never collected)
|
|
74
|
+
|
|
75
|
+
### ๐ก๏ธ Privacy Guarantee
|
|
76
|
+
|
|
77
|
+
- No telemetry or tracking
|
|
78
|
+
- No data collection
|
|
79
|
+
- No external network calls (except npm registry for updates)
|
|
80
|
+
- All operations are local
|
|
81
|
+
|