cell0-os 1.1.4 β 1.1.5
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 +56 -217
- package/bin/cell0.mjs +448 -0
- package/package.json +8 -10
- package/LICENSE +0 -31
- package/install.sh +0 -732
- package/npm/README.md +0 -86
- package/npm/bin/cell0.mjs +0 -202
package/README.md
CHANGED
|
@@ -1,247 +1,86 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Cell 0 OS β npm Global Install
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<strong>The Sovereign Edge Operating System</strong><br>
|
|
5
|
-
<em>Self-governing. Self-improving. Post-quantum secure.</em>
|
|
6
|
-
</p>
|
|
3
|
+
OpenClaw-style npm installation for Cell 0 OS β the Sovereign Edge Operating System.
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
<img src="https://img.shields.io/badge/version-1.1.3-blue.svg" alt="Version">
|
|
10
|
-
<img src="https://img.shields.io/badge/license-GPL%20v3.0-green.svg" alt="License">
|
|
11
|
-
<img src="https://img.shields.io/badge/tests-passing-brightgreen.svg" alt="Tests">
|
|
12
|
-
<img src="https://img.shields.io/badge/docker-ready-2496ed.svg?logo=docker" alt="Docker">
|
|
13
|
-
<img src="https://img.shields.io/badge/kubernetes-ready-326CE5.svg?logo=kubernetes" alt="Kubernetes">
|
|
14
|
-
</p>
|
|
15
|
-
|
|
16
|
-
<p align="center">
|
|
17
|
-
<a href="https://kulluai.com">Website</a> β’
|
|
18
|
-
<a href="#installation">Install</a> β’
|
|
19
|
-
<a href="#features">Features</a> β’
|
|
20
|
-
<a href="#channels">Channels</a> β’
|
|
21
|
-
<a href="#security">Security</a> β’
|
|
22
|
-
<a href="#contributing">Contribute</a>
|
|
23
|
-
</p>
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## π Quick Start
|
|
28
|
-
|
|
29
|
-
### npm (Recommended)
|
|
5
|
+
## Quick Start
|
|
30
6
|
|
|
31
7
|
```bash
|
|
8
|
+
# Install Node.js >= 22, then:
|
|
32
9
|
npm install -g cell0-os@latest
|
|
33
|
-
cell0 onboard --install-daemon
|
|
34
|
-
cell0 gateway --port 18800
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Visit http://localhost:18800 to access your Cell0 dashboard.
|
|
38
|
-
|
|
39
|
-
### Docker Compose
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
git clone https://github.com/YigremTamiru/cell0-os.git
|
|
43
|
-
cd cell0-os
|
|
44
|
-
docker compose up -d
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Kubernetes
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
helm repo add cell0 https://charts.kulluai.com
|
|
51
|
-
helm install cell0 cell0/cell0-os \
|
|
52
|
-
--namespace cell0-system \
|
|
53
|
-
--create-namespace
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
## β¨ What's New in v1.1.3
|
|
59
|
-
|
|
60
|
-
### π‘οΈ Security Fixes
|
|
61
|
-
- β
**SQL Injection Prevention** - All queries parameterized
|
|
62
|
-
- β
**Pickle RCE Fix** - Replaced with marshal+JSON serialization
|
|
63
|
-
- β
**Path Traversal Fix** - Secure Path.resolve() validation
|
|
64
|
-
- β
**npm Package Hardening** - Secure global installation
|
|
65
|
-
|
|
66
|
-
### π± 6 Channel Drivers
|
|
67
|
-
- β
**Telegram** - Native bot API
|
|
68
|
-
- β
**Discord** - Gateway integration
|
|
69
|
-
- β
**WhatsApp Web** - QR-based pairing
|
|
70
|
-
- β
**Slack** - Socket Mode + Events API
|
|
71
|
-
- β
**Signal** - signal-cli REST bridge
|
|
72
|
-
- β
**iMessage** - BlueBubbles integration
|
|
73
|
-
|
|
74
|
-
### π Production Ready
|
|
75
|
-
- β
**Kubernetes** - Full manifests + Helm charts
|
|
76
|
-
- β
**Monitoring** - Prometheus + Grafana foundation
|
|
77
|
-
- β
**API Auth** - JWT, API keys, OAuth2, mTLS
|
|
78
|
-
- β
**Website** - https://kulluai.com live
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## π Security Architecture
|
|
83
|
-
|
|
84
|
-
### Post-Quantum Cryptography (12 Layers)
|
|
85
|
-
|
|
86
|
-
| Layer | Systems | Status |
|
|
87
|
-
|-------|---------|--------|
|
|
88
|
-
| **Classical** | AES-256-GCM, ChaCha20-Poly1305, SHA3-256/512 | β
|
|
|
89
|
-
| **Modern** | Ed25519, X25519, BLS12-381 | β
|
|
|
90
|
-
| **Post-Quantum** | CRYSTALS-Kyber-1024, CRYSTALS-Dilithium-5 | β
|
|
|
91
|
-
| **Signatures** | SPHINCS+, FALCON-1024, XMSS | β
|
|
|
92
|
-
| **Quantum** | BB84 QKD ready | β
|
|
|
93
|
-
| **ZKP** | zk-STARK (transparent, post-quantum) | β
|
|
|
94
|
-
|
|
95
|
-
### Sovereign Security Model
|
|
96
10
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
- **12-layer cryptographic lock** β Quantum-resistant by design
|
|
100
|
-
- **Local-first** β Your data never leaves your machine
|
|
101
|
-
- **Capability-based security** β Fine-grained token access
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## π± Supported Channels
|
|
106
|
-
|
|
107
|
-
| Channel | Mode | Features |
|
|
108
|
-
|---------|------|----------|
|
|
109
|
-
| Telegram | Native | Bots, groups, media |
|
|
110
|
-
| Discord | Gateway | DMs, servers, threads |
|
|
111
|
-
| WhatsApp | Web QR | QR pairing, no phone needed |
|
|
112
|
-
| Slack | Socket+Events | Blocks, threads, files |
|
|
113
|
-
| Signal | Bridge | Encrypted, groups |
|
|
114
|
-
| iMessage | BlueBubbles | macOS integration |
|
|
11
|
+
# Onboard and install daemon (macOS launchd / Linux systemd)
|
|
12
|
+
cell0 onboard --install-daemon
|
|
115
13
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
CELL0_ENABLE_TELEGRAM=true
|
|
119
|
-
CELL0_ENABLE_DISCORD=true
|
|
120
|
-
CELL0_ENABLE_WHATSAPP=true
|
|
121
|
-
CELL0_ENABLE_SLACK=true
|
|
122
|
-
CELL0_ENABLE_SIGNAL=true
|
|
123
|
-
CELL0_ENABLE_IMESSAGE=true
|
|
14
|
+
# Or run gateway in foreground
|
|
15
|
+
cell0 gateway --port 18800 --verbose
|
|
124
16
|
```
|
|
125
17
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
## π₯οΈ Installation Experience
|
|
18
|
+
## Commands
|
|
129
19
|
|
|
130
|
-
|
|
20
|
+
| Command | Description |
|
|
21
|
+
|---------|-------------|
|
|
22
|
+
| `cell0 onboard [--install-daemon]` | Run onboarding wizard |
|
|
23
|
+
| `cell0 gateway [--port 18800]` | Run gateway in foreground |
|
|
24
|
+
| `cell0 status` | Check system status |
|
|
25
|
+
| `cell0 start` | Start Cell 0 daemon |
|
|
26
|
+
| `cell0 stop` | Stop Cell 0 daemon |
|
|
27
|
+
| `cell0 configure` | Run configuration wizard |
|
|
28
|
+
| `cell0 doctor` | Diagnose system issues |
|
|
29
|
+
| `cell0 logs [--follow]` | View system logs |
|
|
30
|
+
| `cell0 daemon <install\|uninstall\|status\|restart>` | Manage background daemon |
|
|
31
|
+
| `cell0 message send --message "..."` | Send a message |
|
|
32
|
+
| `cell0 agent --message "..."` | Talk to the assistant |
|
|
33
|
+
| `cell0 chat` | Start interactive chat |
|
|
131
34
|
|
|
132
|
-
|
|
35
|
+
## How It Works
|
|
133
36
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
? Select LLM Provider: (Use arrow keys)
|
|
138
|
-
β― Moonshot (Kimi)
|
|
139
|
-
OpenAI (GPT-4)
|
|
140
|
-
Anthropic (Claude)
|
|
141
|
-
Ollama (Local)
|
|
142
|
-
|
|
143
|
-
? Select Channels: (Press <space> to select)
|
|
144
|
-
β―β Telegram
|
|
145
|
-
β Discord
|
|
146
|
-
β WhatsApp Web
|
|
147
|
-
β Slack
|
|
148
|
-
```
|
|
37
|
+
1. The `cell0` npm binary checks if Cell 0 is installed
|
|
38
|
+
2. If not, it downloads and runs `https://kulluai.com/install.sh`
|
|
39
|
+
3. Then it delegates all commands to the Python-based `cell0ctl` CLI
|
|
149
40
|
|
|
150
|
-
|
|
41
|
+
## Requirements
|
|
151
42
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
43
|
+
- **Node.js**: >= 22 (for the npm wrapper)
|
|
44
|
+
- **Python**: >= 3.10 (for Cell 0 runtime)
|
|
45
|
+
- **Git**: For cloning the repository
|
|
46
|
+
- **bash**: For running the installer
|
|
155
47
|
|
|
156
|
-
|
|
48
|
+
## Platform Support
|
|
157
49
|
|
|
158
|
-
|
|
50
|
+
- **macOS**: Uses `launchd` for daemon management
|
|
51
|
+
- **Linux**: Uses `systemd --user` for daemon management
|
|
159
52
|
|
|
160
|
-
|
|
53
|
+
## First Run
|
|
161
54
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
β βββββββββββΌββββββββββββΌββββββββββββββ β
|
|
168
|
-
β Telegram β MCIC β 12-Layer Cryptoβ
|
|
169
|
-
β Discord β Kernel β Post-Quantum β
|
|
170
|
-
β WhatsApp β COL β Sovereign β
|
|
171
|
-
β Slack β Orch β Zero-Trust β
|
|
172
|
-
β Signal β β β
|
|
173
|
-
β iMessage β β β
|
|
174
|
-
βββββββββββββββββββββββββββββββββββββββββββ
|
|
175
|
-
```
|
|
55
|
+
On first execution, Cell 0 will:
|
|
56
|
+
1. Clone the repository to `~/cell0`
|
|
57
|
+
2. Create a Python virtual environment at `~/.cell0/venv`
|
|
58
|
+
3. Install all dependencies
|
|
59
|
+
4. Run the configuration wizard
|
|
176
60
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
```yaml
|
|
180
|
-
# Production-ready with HPA, PDB, backups
|
|
181
|
-
apiVersion: apps/v1
|
|
182
|
-
kind: Deployment
|
|
183
|
-
metadata:
|
|
184
|
-
name: cell0-os
|
|
185
|
-
spec:
|
|
186
|
-
replicas: 5
|
|
187
|
-
strategy:
|
|
188
|
-
rollingUpdate:
|
|
189
|
-
maxSurge: 25%
|
|
190
|
-
maxUnavailable: 10%
|
|
191
|
-
```
|
|
61
|
+
## Environment Variables
|
|
192
62
|
|
|
193
|
-
|
|
63
|
+
| Variable | Description | Default |
|
|
64
|
+
|----------|-------------|---------|
|
|
65
|
+
| `CELL0_HOME` | Installation directory | `~/cell0` |
|
|
66
|
+
| `CELL0_STATE_DIR` | State/config directory | `~/.cell0` |
|
|
67
|
+
| `CELL0_VENV` | Python virtualenv path | `~/.cell0/venv` |
|
|
68
|
+
| `CELL0_BIN_DIR` | CLI binary location | `~/.local/bin` |
|
|
194
69
|
|
|
195
|
-
##
|
|
196
|
-
|
|
197
|
-
- **Prometheus** metrics at `/metrics`
|
|
198
|
-
- **Grafana** dashboards pre-configured
|
|
199
|
-
- **Health checks** at `/api/health`
|
|
200
|
-
- **Structured logging** with JSON format
|
|
201
|
-
- **Distributed tracing** ready
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## π οΈ Development
|
|
70
|
+
## Development
|
|
206
71
|
|
|
207
72
|
```bash
|
|
208
|
-
# Clone
|
|
73
|
+
# Clone the repo
|
|
209
74
|
git clone https://github.com/YigremTamiru/cell0-os.git
|
|
210
75
|
cd cell0-os
|
|
211
76
|
|
|
212
|
-
#
|
|
213
|
-
|
|
214
|
-
source venv/bin/activate
|
|
215
|
-
pip install -r requirements.txt
|
|
77
|
+
# Link for local development
|
|
78
|
+
npm link
|
|
216
79
|
|
|
217
|
-
#
|
|
218
|
-
cell0
|
|
80
|
+
# Now you can test 'cell0' command locally
|
|
81
|
+
cell0 status
|
|
219
82
|
```
|
|
220
83
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
## π Documentation
|
|
224
|
-
|
|
225
|
-
- [Installation Guide](INSTALLATION_GUIDE.md)
|
|
226
|
-
- [API Reference](docs/API_REFERENCE.md)
|
|
227
|
-
- [Security Audit](SECURITY_AUDIT_REPORT.md)
|
|
228
|
-
- [v1.2.0 Roadmap](ROADMAP_v1.2.0.md)
|
|
229
|
-
|
|
230
|
-
---
|
|
231
|
-
|
|
232
|
-
## π€ Contributing
|
|
233
|
-
|
|
234
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
## π License
|
|
239
|
-
|
|
240
|
-
GPL v3.0 β See [LICENSE](LICENSE)
|
|
241
|
-
|
|
242
|
-
---
|
|
84
|
+
## License
|
|
243
85
|
|
|
244
|
-
|
|
245
|
-
<strong>The glass has melted. The water is warm.</strong><br>
|
|
246
|
-
<em>βΎοΈπ‘οΈπ«</em>
|
|
247
|
-
</p>
|
|
86
|
+
GPL-3.0-only
|