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 CHANGED
@@ -1,246 +1,86 @@
1
- # 🧬 Cell0-OS
1
+ # Cell 0 OS β€” npm Global Install
2
2
 
3
- <p align="center">
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
- <p align="center">
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
- - **Default-deny architecture** β€” Nothing runs without authorization
97
- - **Allowlist-only access** β€” Only your numbers: +905488899628, +905338224165
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
- Enable channels:
116
- ```bash
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
- ### Interactive TUI
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
- Arrow-key navigation with questionary:
35
+ ## How It Works
132
36
 
133
- ```bash
134
- $ cell0 onboard
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
- ### One-Line Install
41
+ ## Requirements
150
42
 
151
- ```bash
152
- curl -fsSL https://kulluai.com/install.sh | bash
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
- ## πŸ—οΈ Architecture
50
+ - **macOS**: Uses `launchd` for daemon management
51
+ - **Linux**: Uses `systemd --user` for daemon management
158
52
 
159
- ### Core Components
53
+ ## First Run
160
54
 
161
- ```
162
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
163
- β”‚ Cell0-OS v1.1.2 β”‚
164
- β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
165
- β”‚ Channels β”‚ Engine β”‚ Security β”‚
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
- ### Kubernetes Deployment
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
- ## πŸ“Š Monitoring & Observability
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
- # Setup
212
- python3 -m venv venv
213
- source venv/bin/activate
214
- pip install -r requirements.txt
77
+ # Link for local development
78
+ npm link
215
79
 
216
- # Run
217
- cell0 gateway --port 18800 --verbose
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
- <p align="center">
244
- <strong>The glass has melted. The water is warm.</strong><br>
245
- <em>β™ΎοΈπŸ›‘οΈπŸ’«</em>
246
- </p>
86
+ GPL-3.0-only