cell0-os 1.1.3 β 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 -216
- package/bin/cell0.mjs +448 -0
- package/package.json +7 -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,246 +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.2-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.2
|
|
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
|
-
|
|
65
|
-
### π± 6 Channel Drivers
|
|
66
|
-
- β
**Telegram** - Native bot API
|
|
67
|
-
- β
**Discord** - Gateway integration
|
|
68
|
-
- β
**WhatsApp Web** - QR-based pairing
|
|
69
|
-
- β
**Slack** - Socket Mode + Events API
|
|
70
|
-
- β
**Signal** - signal-cli REST bridge
|
|
71
|
-
- β
**iMessage** - BlueBubbles integration
|
|
72
|
-
|
|
73
|
-
### π Production Ready
|
|
74
|
-
- β
**Kubernetes** - Full manifests + Helm charts
|
|
75
|
-
- β
**Monitoring** - Prometheus + Grafana foundation
|
|
76
|
-
- β
**API Auth** - JWT, API keys, OAuth2, mTLS
|
|
77
|
-
- β
**Website** - https://kulluai.com live
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
## π Security Architecture
|
|
82
|
-
|
|
83
|
-
### Post-Quantum Cryptography (12 Layers)
|
|
84
|
-
|
|
85
|
-
| Layer | Systems | Status |
|
|
86
|
-
|-------|---------|--------|
|
|
87
|
-
| **Classical** | AES-256-GCM, ChaCha20-Poly1305, SHA3-256/512 | β
|
|
|
88
|
-
| **Modern** | Ed25519, X25519, BLS12-381 | β
|
|
|
89
|
-
| **Post-Quantum** | CRYSTALS-Kyber-1024, CRYSTALS-Dilithium-5 | β
|
|
|
90
|
-
| **Signatures** | SPHINCS+, FALCON-1024, XMSS | β
|
|
|
91
|
-
| **Quantum** | BB84 QKD ready | β
|
|
|
92
|
-
| **ZKP** | zk-STARK (transparent, post-quantum) | β
|
|
|
93
|
-
|
|
94
|
-
### Sovereign Security Model
|
|
95
10
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
- **12-layer cryptographic lock** β Quantum-resistant by design
|
|
99
|
-
- **Local-first** β Your data never leaves your machine
|
|
100
|
-
- **Capability-based security** β Fine-grained token access
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
## π± Supported Channels
|
|
105
|
-
|
|
106
|
-
| Channel | Mode | Features |
|
|
107
|
-
|---------|------|----------|
|
|
108
|
-
| Telegram | Native | Bots, groups, media |
|
|
109
|
-
| Discord | Gateway | DMs, servers, threads |
|
|
110
|
-
| WhatsApp | Web QR | QR pairing, no phone needed |
|
|
111
|
-
| Slack | Socket+Events | Blocks, threads, files |
|
|
112
|
-
| Signal | Bridge | Encrypted, groups |
|
|
113
|
-
| iMessage | BlueBubbles | macOS integration |
|
|
11
|
+
# Onboard and install daemon (macOS launchd / Linux systemd)
|
|
12
|
+
cell0 onboard --install-daemon
|
|
114
13
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
CELL0_ENABLE_TELEGRAM=true
|
|
118
|
-
CELL0_ENABLE_DISCORD=true
|
|
119
|
-
CELL0_ENABLE_WHATSAPP=true
|
|
120
|
-
CELL0_ENABLE_SLACK=true
|
|
121
|
-
CELL0_ENABLE_SIGNAL=true
|
|
122
|
-
CELL0_ENABLE_IMESSAGE=true
|
|
14
|
+
# Or run gateway in foreground
|
|
15
|
+
cell0 gateway --port 18800 --verbose
|
|
123
16
|
```
|
|
124
17
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
## π₯οΈ Installation Experience
|
|
18
|
+
## Commands
|
|
128
19
|
|
|
129
|
-
|
|
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 |
|
|
130
34
|
|
|
131
|
-
|
|
35
|
+
## How It Works
|
|
132
36
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
? Select LLM Provider: (Use arrow keys)
|
|
137
|
-
β― Moonshot (Kimi)
|
|
138
|
-
OpenAI (GPT-4)
|
|
139
|
-
Anthropic (Claude)
|
|
140
|
-
Ollama (Local)
|
|
141
|
-
|
|
142
|
-
? Select Channels: (Press <space> to select)
|
|
143
|
-
β―β Telegram
|
|
144
|
-
β Discord
|
|
145
|
-
β WhatsApp Web
|
|
146
|
-
β Slack
|
|
147
|
-
```
|
|
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
|
|
148
40
|
|
|
149
|
-
|
|
41
|
+
## Requirements
|
|
150
42
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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
|
|
154
47
|
|
|
155
|
-
|
|
48
|
+
## Platform Support
|
|
156
49
|
|
|
157
|
-
|
|
50
|
+
- **macOS**: Uses `launchd` for daemon management
|
|
51
|
+
- **Linux**: Uses `systemd --user` for daemon management
|
|
158
52
|
|
|
159
|
-
|
|
53
|
+
## First Run
|
|
160
54
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
β βββββββββββΌββββββββββββΌββββββββββββββ β
|
|
167
|
-
β Telegram β MCIC β 12-Layer Cryptoβ
|
|
168
|
-
β Discord β Kernel β Post-Quantum β
|
|
169
|
-
β WhatsApp β COL β Sovereign β
|
|
170
|
-
β Slack β Orch β Zero-Trust β
|
|
171
|
-
β Signal β β β
|
|
172
|
-
β iMessage β β β
|
|
173
|
-
βββββββββββββββββββββββββββββββββββββββββββ
|
|
174
|
-
```
|
|
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
|
|
175
60
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
```yaml
|
|
179
|
-
# Production-ready with HPA, PDB, backups
|
|
180
|
-
apiVersion: apps/v1
|
|
181
|
-
kind: Deployment
|
|
182
|
-
metadata:
|
|
183
|
-
name: cell0-os
|
|
184
|
-
spec:
|
|
185
|
-
replicas: 5
|
|
186
|
-
strategy:
|
|
187
|
-
rollingUpdate:
|
|
188
|
-
maxSurge: 25%
|
|
189
|
-
maxUnavailable: 10%
|
|
190
|
-
```
|
|
61
|
+
## Environment Variables
|
|
191
62
|
|
|
192
|
-
|
|
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` |
|
|
193
69
|
|
|
194
|
-
##
|
|
195
|
-
|
|
196
|
-
- **Prometheus** metrics at `/metrics`
|
|
197
|
-
- **Grafana** dashboards pre-configured
|
|
198
|
-
- **Health checks** at `/api/health`
|
|
199
|
-
- **Structured logging** with JSON format
|
|
200
|
-
- **Distributed tracing** ready
|
|
201
|
-
|
|
202
|
-
---
|
|
203
|
-
|
|
204
|
-
## π οΈ Development
|
|
70
|
+
## Development
|
|
205
71
|
|
|
206
72
|
```bash
|
|
207
|
-
# Clone
|
|
73
|
+
# Clone the repo
|
|
208
74
|
git clone https://github.com/YigremTamiru/cell0-os.git
|
|
209
75
|
cd cell0-os
|
|
210
76
|
|
|
211
|
-
#
|
|
212
|
-
|
|
213
|
-
source venv/bin/activate
|
|
214
|
-
pip install -r requirements.txt
|
|
77
|
+
# Link for local development
|
|
78
|
+
npm link
|
|
215
79
|
|
|
216
|
-
#
|
|
217
|
-
cell0
|
|
80
|
+
# Now you can test 'cell0' command locally
|
|
81
|
+
cell0 status
|
|
218
82
|
```
|
|
219
83
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
## π Documentation
|
|
223
|
-
|
|
224
|
-
- [Installation Guide](INSTALLATION_GUIDE.md)
|
|
225
|
-
- [API Reference](docs/API_REFERENCE.md)
|
|
226
|
-
- [Security Audit](SECURITY_AUDIT_REPORT.md)
|
|
227
|
-
- [v1.2.0 Roadmap](ROADMAP_v1.2.0.md)
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
|
-
## π€ Contributing
|
|
232
|
-
|
|
233
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
234
|
-
|
|
235
|
-
---
|
|
236
|
-
|
|
237
|
-
## π License
|
|
238
|
-
|
|
239
|
-
GPL v3.0 β See [LICENSE](LICENSE)
|
|
240
|
-
|
|
241
|
-
---
|
|
84
|
+
## License
|
|
242
85
|
|
|
243
|
-
|
|
244
|
-
<strong>The glass has melted. The water is warm.</strong><br>
|
|
245
|
-
<em>βΎοΈπ‘οΈπ«</em>
|
|
246
|
-
</p>
|
|
86
|
+
GPL-3.0-only
|