fivocell 8.12.0 → 8.12.1
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 +568 -194
- package/dist/__tests__/cli-regression.test.js +2 -2
- package/dist/__tests__/cli-regression.test.js.map +1 -1
- package/dist/walls/05-community/share/cloud-connector.d.ts +90 -0
- package/dist/walls/05-community/share/cloud-connector.d.ts.map +1 -1
- package/dist/walls/05-community/share/cloud-connector.js +531 -0
- package/dist/walls/05-community/share/cloud-connector.js.map +1 -1
- package/dist/walls/07-runtime/cli/cli.js +3 -0
- package/dist/walls/07-runtime/cli/cli.js.map +1 -1
- package/dist/walls/07-runtime/cli/commands/cloud.d.ts.map +1 -1
- package/dist/walls/07-runtime/cli/commands/cloud.js +102 -10
- package/dist/walls/07-runtime/cli/commands/cloud.js.map +1 -1
- package/dist/walls/07-runtime/cli/commands/help.d.ts +1 -0
- package/dist/walls/07-runtime/cli/commands/help.d.ts.map +1 -1
- package/dist/walls/07-runtime/cli/commands/help.js +111 -90
- package/dist/walls/07-runtime/cli/commands/help.js.map +1 -1
- package/dist/walls/07-runtime/cli/commands/setup.d.ts.map +1 -1
- package/dist/walls/07-runtime/cli/commands/setup.js +40 -32
- package/dist/walls/07-runtime/cli/commands/setup.js.map +1 -1
- package/package.json +10 -1
- package/scripts/check-db.js +21 -0
- package/scripts/start-mcp.js +2 -0
package/README.md
CHANGED
|
@@ -1,194 +1,568 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
cell
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<a href="https://github.com/itsvinsoni/cell">
|
|
3
|
+
<img src="assets/Fivo-cell-readme-banner.png" alt="FivoCell" width="800" />
|
|
4
|
+
</a>
|
|
5
|
+
|
|
6
|
+
<h1>FivoCell</h1>
|
|
7
|
+
|
|
8
|
+
<p><strong>Your AI forgets. Cell doesn't.</strong><br/>
|
|
9
|
+
A permanent, local memory layer for every AI coding tool you use.</p>
|
|
10
|
+
|
|
11
|
+
<p>
|
|
12
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue" alt="License" /></a>
|
|
13
|
+
|
|
14
|
+
<img src="https://img.shields.io/badge/Mac%20%7C%20Windows%20%7C%20Linux-supported-lightgrey" alt="Platform" />
|
|
15
|
+
|
|
16
|
+
<img src="https://img.shields.io/badge/Node-%3E%3D18-green" alt="Node" />
|
|
17
|
+
|
|
18
|
+
<a href="https://www.npmjs.com/package/fivocell"><img src="https://img.shields.io/npm/v/fivocell" alt="npm" /></a>
|
|
19
|
+
|
|
20
|
+
<img src="https://img.shields.io/badge/npm%20audit-0%20vulnerabilities-success" alt="Security" />
|
|
21
|
+
</p>
|
|
22
|
+
|
|
23
|
+
<p>
|
|
24
|
+
<a href="#-quick-start">Quick Start</a> ·
|
|
25
|
+
<a href="#-features">Features</a> ·
|
|
26
|
+
<a href="#-comparison">Comparison</a> ·
|
|
27
|
+
<a href="#-architecture">Architecture</a> ·
|
|
28
|
+
<a href="#-supported-tools">Supported Tools</a> ·
|
|
29
|
+
<a href="#-contribute">Contribute</a>
|
|
30
|
+
</p>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🤔 What is FivoCell?
|
|
36
|
+
|
|
37
|
+
Every time you talk to an AI coding tool, it starts from **zero**. You re-explain your project, your stack, your style, and what you decided yesterday. Switch from Cursor to Claude Code? Start over. New chat? Start over. New day? Start over.
|
|
38
|
+
|
|
39
|
+
**FivoCell fixes this.** It is a small program that runs quietly on your computer and acts as a **permanent brain** for all your AI tools. Once running, any AI tool instantly knows:
|
|
40
|
+
|
|
41
|
+
<div align="center">
|
|
42
|
+
<table>
|
|
43
|
+
<tr><td>🧠 <strong>Your project</strong></td><td>stack, framework, structure</td></tr>
|
|
44
|
+
<tr><td>✍️ <strong>Your style</strong></td><td>naming, functions, error handling</td></tr>
|
|
45
|
+
<tr><td>📜 <strong>Your decisions</strong></td><td>"we chose SQLite because..."</td></tr>
|
|
46
|
+
<tr><td>⚠️ <strong>Your blind spots</strong></td><td>risky spots scanned automatically</td></tr>
|
|
47
|
+
<tr><td>🔁 <strong>Your history</strong></td><td>what you did last session, what comes next</td></tr>
|
|
48
|
+
</table>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
> **AI tools write code. FivoCell remembers everything else.**
|
|
52
|
+
|
|
53
|
+
<div align="center"><strong>100% local. Private by default. Works offline. No sign-up needed.</strong></div>
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## 💡 The Problem vs The Solution
|
|
58
|
+
|
|
59
|
+
<div align="center">
|
|
60
|
+
<table>
|
|
61
|
+
<tr>
|
|
62
|
+
<th></th>
|
|
63
|
+
<th>😫 AI Tools Alone</th>
|
|
64
|
+
<th>✅ With FivoCell</th>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td><strong>Project context</strong></td>
|
|
68
|
+
<td>Re-explain it every single session</td>
|
|
69
|
+
<td>Auto-injected when you type <code>@cell</code></td>
|
|
70
|
+
</tr>
|
|
71
|
+
<tr>
|
|
72
|
+
<td><strong>Memory across tools</strong></td>
|
|
73
|
+
<td>Each tool is isolated</td>
|
|
74
|
+
<td>One shared memory for all tools</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tr>
|
|
77
|
+
<td><strong>Code style</strong></td>
|
|
78
|
+
<td>You maintain manual rules files</td>
|
|
79
|
+
<td>Auto-detected and applied</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<td><strong>Risks and blind spots</strong></td>
|
|
83
|
+
<td>Hope the AI notices</td>
|
|
84
|
+
<td>all blind spots scanned for you</td>
|
|
85
|
+
</tr>
|
|
86
|
+
<tr>
|
|
87
|
+
<td><strong>Switching tools</strong></td>
|
|
88
|
+
<td>Context lost on every switch</td>
|
|
89
|
+
<td>Seamless handoff between tools</td>
|
|
90
|
+
</tr>
|
|
91
|
+
<tr>
|
|
92
|
+
<td><strong>Who you are</strong></td>
|
|
93
|
+
<td>Generic responses</td>
|
|
94
|
+
<td>Learns your personality (100 signals)</td>
|
|
95
|
+
</tr>
|
|
96
|
+
<tr>
|
|
97
|
+
<td><strong>Privacy</strong></td>
|
|
98
|
+
<td>Often cloud-dependent</td>
|
|
99
|
+
<td>Fully local, cloud is opt-in</td>
|
|
100
|
+
</tr>
|
|
101
|
+
</table>
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
Cursor ──────────┐
|
|
106
|
+
Claude Code ─────┤ ┌─────────────────────┐
|
|
107
|
+
Codex ───────────┤ │ FIVO CELL │
|
|
108
|
+
Antigravity ─────┼────────────────>│ Memory Layer │
|
|
109
|
+
Windsurf ────────┤ │ Daemon :9876 │
|
|
110
|
+
OpenCode ────────┤ │ 67 MCP Tools │
|
|
111
|
+
Any MCP tool ────┘ └──────────┬──────────┘
|
|
112
|
+
│
|
|
113
|
+
┌──────────────────┴──────────────────┐
|
|
114
|
+
│ │
|
|
115
|
+
▼ ▼
|
|
116
|
+
┌─────────────────┐ ┌─────────────────┐
|
|
117
|
+
│ SQLite (local) │ │ @cell in IDE │
|
|
118
|
+
│ Never forgets │ │ Full context │
|
|
119
|
+
│ Never resets │ │ Instant reply │
|
|
120
|
+
└─────────────────┘ └─────────────────┘
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## ⚡ Quick Start
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# 1. Install (one time)
|
|
129
|
+
npm i -g fivocell
|
|
130
|
+
|
|
131
|
+
# 2. Go to your project
|
|
132
|
+
cd your-project
|
|
133
|
+
cell run # setup + scan + start daemon, all at once
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Open **any** AI tool (Cursor, Claude Code, Windsurf) and type:
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
@cell how should I add auth to this app?
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
The AI replies with **full context** — your stack, style, decisions, and blind spots — without you explaining anything. ✨
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
cell status # check it's running
|
|
146
|
+
cell context # see exactly what the AI sees
|
|
147
|
+
cell vibe # see your developer personality
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 🚀 Features
|
|
153
|
+
|
|
154
|
+
### ⚙️ Core Commands
|
|
155
|
+
|
|
156
|
+
<div align="center">
|
|
157
|
+
<table>
|
|
158
|
+
<tr><th>Command</th><th>What it does</th><th>Category</th></tr>
|
|
159
|
+
<tr><td><code>cell run</code></td><td>Setup + scan + start, everything in one command</td><td>Setup</td></tr>
|
|
160
|
+
<tr><td><code>cell scan</code></td><td>Analyze codebase: stack, style, patterns, blind spots</td><td>Analysis</td></tr>
|
|
161
|
+
<tr><td><code>cell status</code></td><td>Daemon + project + database health at a glance</td><td>Monitor</td></tr>
|
|
162
|
+
<tr><td><code>cell start</code> / <code>cell stop</code></td><td>Turn the background memory daemon on or off</td><td>Daemon</td></tr>
|
|
163
|
+
<tr><td><code>cell sync</code></td><td>Push and pull intelligence (optional, opt-in)</td><td>Cloud</td></tr>
|
|
164
|
+
<tr><td><code>cell vibe</code></td><td>Your developer personality profile</td><td>Personality</td></tr>
|
|
165
|
+
<tr><td><code>cell doctor</code></td><td>Comprehensive health check</td><td>Health</td></tr>
|
|
166
|
+
<tr><td><code>cell -i</code></td><td>Interactive REPL, a ChatGPT-style terminal</td><td>REPL</td></tr>
|
|
167
|
+
</table>
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
> CLI commands organized across multiple categories. Run `cell help --all` to see them all.
|
|
171
|
+
|
|
172
|
+
### 🧠 Memory & Context
|
|
173
|
+
|
|
174
|
+
<div align="center">
|
|
175
|
+
<table>
|
|
176
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
177
|
+
<tr><td><strong>@cell Context</strong></td><td>Type <code>@cell</code> in any IDE. Project, blind spots, predictions and session get injected automatically</td></tr>
|
|
178
|
+
<tr><td><strong>Supreme Context</strong></td><td>3 engines (Bridge + Continuity + Predictor) for true cross-session memory</td></tr>
|
|
179
|
+
<tr><td><strong>Permanent Memory</strong></td><td>Events stored in local SQLite. Decisions, errors, fixes, patterns</td></tr>
|
|
180
|
+
<tr><td><strong>Session Memory</strong></td><td>Every session recorded: files touched, decisions made, approaches tried</td></tr>
|
|
181
|
+
<tr><td><strong>Cell Index</strong></td><td><code>.cell/INDEX.md</code> — fast context lookup with ~89% data reduction</td></tr>
|
|
182
|
+
<tr><td><strong>Memory Search</strong></td><td>Instant FTS5 full-text search across all your history</td></tr>
|
|
183
|
+
<tr><td><strong>Handoff</strong></td><td>AI-to-AI context transfer. Bridge capture keeps context across tools</td></tr>
|
|
184
|
+
</table>
|
|
185
|
+
</div>
|
|
186
|
+
|
|
187
|
+
#### Supreme Context — 3 Engines
|
|
188
|
+
|
|
189
|
+
<div align="center">
|
|
190
|
+
<table>
|
|
191
|
+
<tr><th>Engine</th><th>What it does</th></tr>
|
|
192
|
+
<tr><td><strong>Bridge</strong></td><td>Captures session summary at end. Auto-injects at next start. 9 fields: summary, key decisions, open questions, failed approaches, working approaches, last thought, files in focus, vibe snapshot, predicted next steps. Sessions tracked over time.</td></tr>
|
|
193
|
+
<tr><td><strong>Continuity</strong></td><td>Cross-session thread. Auto-detects intent: bug fix, feature dev, refactor, test, docs, release. Never asks "what are we building?"</td></tr>
|
|
194
|
+
<tr><td><strong>Predictor</strong></td><td>Predicts files AI will need, errors that may recur, decisions needing revisit. Provides beachhead action.</td></tr>
|
|
195
|
+
</table>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
### 🎭 Vibe — Developer Personality
|
|
199
|
+
|
|
200
|
+
<div align="center">
|
|
201
|
+
<table>
|
|
202
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
203
|
+
<tr><td><strong>Personality Signals</strong></td><td>Across multiple groups: language, tone, code style, workflow, decision making</td></tr>
|
|
204
|
+
<tr><td><strong>Identity Detection</strong></td><td>Auto-detects your developer archetype</td></tr>
|
|
205
|
+
<tr><td><strong>AI Guide</strong></td><td>Generates rules telling AI tools "how to behave" with you</td></tr>
|
|
206
|
+
<tr><td><strong>Live Enforcement</strong></td><td>Watcher flags rule violations automatically</td></tr>
|
|
207
|
+
<tr><td><strong>Cross-Signal Pairs</strong></td><td>Detects combined behaviors (e.g., direct and concise communication)</td></tr>
|
|
208
|
+
<tr><td><strong>Contradiction Resolution</strong></td><td>Ships fast for features, perfects for security — context-dependent</td></tr>
|
|
209
|
+
</table>
|
|
210
|
+
</div>
|
|
211
|
+
|
|
212
|
+
**The Signal Groups:** Language Preference · Response Structure · Communication Tone · Code Change Style · Workflow · Decision Making · Speed vs Quality · AI Trust · Project Behavior · Emotional Nuance · Prompt Thinking · Session Rhythm
|
|
213
|
+
|
|
214
|
+
> **Example AI Guide:** Be direct — start with answer, then explain. Use Hinglish: Hindi for concepts, English for code. Keep changes under 50 lines. Start with audit before proposing. Never rewrite unless asked.
|
|
215
|
+
|
|
216
|
+
### 🔍 Code Intelligence
|
|
217
|
+
|
|
218
|
+
<div align="center">
|
|
219
|
+
<table>
|
|
220
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
221
|
+
<tr><td><strong>Code Scanner</strong></td><td>Walks project files and analyzes all code structure and stack details</td></tr>
|
|
222
|
+
<tr><td><strong>Blind Spots</strong></td><td>Detects common issues: null safety, code quality, error handling, performance, and validation</td></tr>
|
|
223
|
+
<tr><td><strong>Stack Detection</strong></td><td>Language, framework, DB, ORM, test runner — all auto-detected</td></tr>
|
|
224
|
+
<tr><td><strong>Style Pull</strong></td><td>Detects project-specific naming styles, imports, and error-handling patterns</td></tr>
|
|
225
|
+
<tr><td><strong>Git Intelligence</strong></td><td>Git hooks auto-learn on every commit. Tracks patterns and repeat mistakes</td></tr>
|
|
226
|
+
<tr><td><strong>Trust Score</strong></td><td>Code quality scored with multi-category breakdown</td></tr>
|
|
227
|
+
</table>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
### 📡 MCP — Multi-IDE Support
|
|
231
|
+
|
|
232
|
+
<div align="center">
|
|
233
|
+
<table>
|
|
234
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
235
|
+
<tr><td><strong>Multiple IDEs Auto-Configured</strong></td><td>Cursor, Windsurf, Antigravity, Codex/Copilot, OpenCode</td></tr>
|
|
236
|
+
<tr><td><strong>Rich MCP Tools</strong></td><td>Comprehensive set of tools covering sessions, context, memory, vibe, team collaboration, and cloud sync</td></tr>
|
|
237
|
+
<tr><td><strong>Honest Detection</strong></td><td>Only IDEs you actually have installed are configured</td></tr>
|
|
238
|
+
<tr><td><strong>Auto-Configure</strong></td><td><code>cell mcp-config</code> — one command registers all your IDEs</td></tr>
|
|
239
|
+
</table>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
### 👁️ File Watcher
|
|
243
|
+
|
|
244
|
+
<div align="center">
|
|
245
|
+
<table>
|
|
246
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
247
|
+
<tr><td><strong>Live Events</strong></td><td>Captures file changes in real-time</td></tr>
|
|
248
|
+
<tr><td><strong>Vibe Update</strong></td><td>Watcher keeps your personality profile fresh</td></tr>
|
|
249
|
+
<tr><td><strong>TCP Bridge</strong></td><td>Port 9877, dedicated socket for editor events</td></tr>
|
|
250
|
+
<tr><td><strong>Auto-Learn</strong></td><td>Git hooks trigger auto-learning on every commit</td></tr>
|
|
251
|
+
</table>
|
|
252
|
+
</div>
|
|
253
|
+
|
|
254
|
+
### ☁️ Cloud Sync — Opt-In Only
|
|
255
|
+
|
|
256
|
+
<div align="center">
|
|
257
|
+
<table>
|
|
258
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
259
|
+
<tr><td><strong>Privacy-First</strong></td><td>Only anonymized patterns leave your machine. Never secrets, paths, or code</td></tr>
|
|
260
|
+
<tr><td><strong>Opt-In Scope</strong></td><td>Granular categories — you choose what syncs where</td></tr>
|
|
261
|
+
<tr><td><strong>Comprehensive Redaction</strong></td><td>API keys, AWS creds, private keys, tokens, emails, JWT — all <code>[REDACTED]</code></td></tr>
|
|
262
|
+
<tr><td><strong>JWT Auto-Refresh</strong></td><td>Token expiry check with 5-min grace period, auto-refresh</td></tr>
|
|
263
|
+
<tr><td><strong>Rate Limit Backoff</strong></td><td>429 gets exponential backoff (1s, 2s, 4s up to max 5 min)</td></tr>
|
|
264
|
+
<tr><td><strong>Device Registration</strong></td><td>UUID v4 device ID + JWT auth on first login</td></tr>
|
|
265
|
+
<tr><td><strong>SSRF Protection</strong></td><td>Only whitelisted URLs (<code>cell.fivo.live</code>)</td></tr>
|
|
266
|
+
<tr><td><strong>AES-256-GCM</strong></td><td>Encrypted sync, rate-limited, offline-ready</td></tr>
|
|
267
|
+
</table>
|
|
268
|
+
</div>
|
|
269
|
+
|
|
270
|
+
### 👥 Team & Community
|
|
271
|
+
|
|
272
|
+
<div align="center">
|
|
273
|
+
<table>
|
|
274
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
275
|
+
<tr><td><strong>Team Supreme</strong></td><td>Team DNA (shared conventions), Knowledge Map (who knows what), Health Score (bus factor, silo risk)</td></tr>
|
|
276
|
+
<tr><td><strong>Community Supreme</strong></td><td>Marketplace (browse/download patterns), Trends, Playbooks, Reputation (badges)</td></tr>
|
|
277
|
+
<tr><td><strong>Knowledge Graph</strong></td><td>Detects shared patterns across projects</td></tr>
|
|
278
|
+
</table>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
### 🩺 Health & Security
|
|
282
|
+
|
|
283
|
+
<div align="center">
|
|
284
|
+
<table>
|
|
285
|
+
<tr><th>Feature</th><th>Details</th></tr>
|
|
286
|
+
<tr><td><strong>12-Point Doctor</strong></td><td>git, node, DB, daemon, watch, MCP, FTS, scan — all checked</td></tr>
|
|
287
|
+
<tr><td><strong>Localhost-Only</strong></td><td>Daemon binds to <code>127.0.0.1</code> — zero LAN exposure</td></tr>
|
|
288
|
+
<tr><td><strong>Atomic Writes</strong></td><td>temp then rename — files never corrupt</td></tr>
|
|
289
|
+
<tr><td><strong>chmod 0600</strong></td><td>Database is owner-only on Unix</td></tr>
|
|
290
|
+
<tr><td><strong>No eval/spawnSync</strong></td><td>Zero code execution vectors</td></tr>
|
|
291
|
+
<tr><td><strong>Parameterized SQL</strong></td><td>Zero injection risk</td></tr>
|
|
292
|
+
<tr><td><strong>npm audit: 0</strong></td><td>Zero known vulnerabilities</td></tr>
|
|
293
|
+
</table>
|
|
294
|
+
</div>
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## 🆚 FivoCell vs The Alternatives
|
|
299
|
+
|
|
300
|
+
<div align="center">
|
|
301
|
+
<table>
|
|
302
|
+
<tr>
|
|
303
|
+
<th>Capability</th>
|
|
304
|
+
<th><strong>FivoCell</strong></th>
|
|
305
|
+
<th>Pieces for Devs</th>
|
|
306
|
+
<th>Mem0</th>
|
|
307
|
+
<th>Cursor</th>
|
|
308
|
+
<th>.cursorrules</th>
|
|
309
|
+
</tr>
|
|
310
|
+
<tr>
|
|
311
|
+
<td>Works across <strong>multiple AI tools</strong></td>
|
|
312
|
+
<td align="center">✅ 5+ via MCP</td>
|
|
313
|
+
<td align="center">🟡 Partial</td>
|
|
314
|
+
<td align="center">🟡 SDK only</td>
|
|
315
|
+
<td align="center">❌ Cursor only</td>
|
|
316
|
+
<td align="center">❌ Per-tool</td>
|
|
317
|
+
</tr>
|
|
318
|
+
<tr>
|
|
319
|
+
<td><strong>Cross-session</strong> memory</td>
|
|
320
|
+
<td align="center">✅ Bridge + Continuity</td>
|
|
321
|
+
<td align="center">✅</td>
|
|
322
|
+
<td align="center">✅</td>
|
|
323
|
+
<td align="center">🟡 Limited</td>
|
|
324
|
+
<td align="center">❌</td>
|
|
325
|
+
</tr>
|
|
326
|
+
<tr>
|
|
327
|
+
<td><strong>100% local</strong> (works offline)</td>
|
|
328
|
+
<td align="center">✅</td>
|
|
329
|
+
<td align="center">🟡 Cloud-leaning</td>
|
|
330
|
+
<td align="center">❌ Cloud/API</td>
|
|
331
|
+
<td align="center">❌ Cloud</td>
|
|
332
|
+
<td align="center">✅ Static</td>
|
|
333
|
+
</tr>
|
|
334
|
+
<tr>
|
|
335
|
+
<td><strong>Codebase scanning</strong> & blind spots</td>
|
|
336
|
+
<td align="center">✅ Full local scan</td>
|
|
337
|
+
<td align="center">❌</td>
|
|
338
|
+
<td align="center">❌</td>
|
|
339
|
+
<td align="center">🟡 Basic</td>
|
|
340
|
+
<td align="center">❌</td>
|
|
341
|
+
</tr>
|
|
342
|
+
<tr>
|
|
343
|
+
<td>Learns your <strong>personality / vibe</strong></td>
|
|
344
|
+
<td align="center">✅ 100 signals</td>
|
|
345
|
+
<td align="center">❌</td>
|
|
346
|
+
<td align="center">❌</td>
|
|
347
|
+
<td align="center">❌</td>
|
|
348
|
+
<td align="center">❌ Manual</td>
|
|
349
|
+
</tr>
|
|
350
|
+
<tr>
|
|
351
|
+
<td><strong>Auto-detects</strong> code style</td>
|
|
352
|
+
<td align="center">✅ 8 categories with %</td>
|
|
353
|
+
<td align="center">❌</td>
|
|
354
|
+
<td align="center">❌</td>
|
|
355
|
+
<td align="center">🟡</td>
|
|
356
|
+
<td align="center">❌</td>
|
|
357
|
+
</tr>
|
|
358
|
+
<tr>
|
|
359
|
+
<td><strong>Team & community</strong> intelligence</td>
|
|
360
|
+
<td align="center">✅ Team DNA + Market</td>
|
|
361
|
+
<td align="center">🟡</td>
|
|
362
|
+
<td align="center">❌</td>
|
|
363
|
+
<td align="center">❌</td>
|
|
364
|
+
<td align="center">❌</td>
|
|
365
|
+
</tr>
|
|
366
|
+
<tr>
|
|
367
|
+
<td>Privacy: <strong>opt-in</strong> cloud + redaction</td>
|
|
368
|
+
<td align="center">✅ 15 redaction patterns</td>
|
|
369
|
+
<td align="center">🟡</td>
|
|
370
|
+
<td align="center">❌</td>
|
|
371
|
+
<td align="center">❌</td>
|
|
372
|
+
<td align="center">✅</td>
|
|
373
|
+
</tr>
|
|
374
|
+
<tr>
|
|
375
|
+
<td><strong>Open source</strong></td>
|
|
376
|
+
<td align="center">✅ Apache 2.0</td>
|
|
377
|
+
<td align="center">❌</td>
|
|
378
|
+
<td align="center">🟡</td>
|
|
379
|
+
<td align="center">❌</td>
|
|
380
|
+
<td align="center">✅</td>
|
|
381
|
+
</tr>
|
|
382
|
+
<tr>
|
|
383
|
+
<td>Setup effort</td>
|
|
384
|
+
<td align="center">✅ One command</td>
|
|
385
|
+
<td align="center">🟡 App install</td>
|
|
386
|
+
<td align="center">🟡 Code integration</td>
|
|
387
|
+
<td align="center">✅ Built-in</td>
|
|
388
|
+
<td align="center">🟡 Manual</td>
|
|
389
|
+
</tr>
|
|
390
|
+
</table>
|
|
391
|
+
</div>
|
|
392
|
+
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
## 🏗️ Architecture
|
|
396
|
+
|
|
397
|
+
```
|
|
398
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
399
|
+
│ YOUR MACHINE (100% local) │
|
|
400
|
+
│ │
|
|
401
|
+
│ Cursor ──┐ │
|
|
402
|
+
│ Windsurf ┤ MCP Protocol │
|
|
403
|
+
│ Claude ├────────────────────────────────────────────────> │
|
|
404
|
+
│ Codex ┤ ┌───────────────────────────┐ │
|
|
405
|
+
│ Antigrav ┘ │ FIVO CELL DAEMON │ │
|
|
406
|
+
│ │ http://localhost:9876 │ │
|
|
407
|
+
│ ├───────────────────────────┤ │
|
|
408
|
+
│ │ Prompt Builder | MCP Srvr │ │
|
|
409
|
+
│ │ Context Bridge | CLI Rtr │ │
|
|
410
|
+
│ │ Session Tracker| Watcher │ │
|
|
411
|
+
│ └──────────┬────────────────┘ │
|
|
412
|
+
│ │ │
|
|
413
|
+
│ ┌─────────────────┼─────────────────┐ │
|
|
414
|
+
│ ▼ ▼ ▼ │
|
|
415
|
+
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
416
|
+
│ │ SQLite │ │ .cell/ │ │ Vibe │ │
|
|
417
|
+
│ │ 18 MB │ │ 270 KB │ │ Engine │ │
|
|
418
|
+
│ │ 70 tbls │ │ INDEX.md │ │ 100 rules│ │
|
|
419
|
+
│ └──────────┘ └──────────┘ └──────────┘ │
|
|
420
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
### 7 Walls Architecture
|
|
424
|
+
|
|
425
|
+
<div align="center">
|
|
426
|
+
<table>
|
|
427
|
+
<tr><th align="center">Wall</th><th align="center">Name</th><th>Responsibility</th></tr>
|
|
428
|
+
<tr><td align="center">1</td><td align="center"><strong>Context</strong></td><td>Builds the prompt AI sees: bridge, continuity, predictor, sessions</td></tr>
|
|
429
|
+
<tr><td align="center">2</td><td align="center"><strong>Scanner</strong></td><td>Analyzes code: stack, style, blind spots, git intelligence</td></tr>
|
|
430
|
+
<tr><td align="center">3</td><td align="center"><strong>Knowledge</strong></td><td>Decisions, error prediction, project DNA, explainability</td></tr>
|
|
431
|
+
<tr><td align="center">4</td><td align="center"><strong>Collaboration</strong></td><td>Team DNA, knowledge map, health and bus-factor</td></tr>
|
|
432
|
+
<tr><td align="center">5</td><td align="center"><strong>Community</strong></td><td>Community patterns, marketplace, playbooks, cloud connector</td></tr>
|
|
433
|
+
<tr><td align="center">6</td><td align="center"><strong>Memory</strong></td><td>Core engine: SQLite, vibe, ranking, compression, encryption</td></tr>
|
|
434
|
+
<tr><td align="center">7</td><td align="center"><strong>Runtime</strong></td><td>Daemon (Express :9876), MCP server, CLI, watcher, autostart</td></tr>
|
|
435
|
+
</table>
|
|
436
|
+
</div>
|
|
437
|
+
|
|
438
|
+
### Supreme Context Engine Flow
|
|
439
|
+
|
|
440
|
+
```
|
|
441
|
+
Session Start -> [Continuity] loads active thread
|
|
442
|
+
-> [Bridge] loads last session summary
|
|
443
|
+
-> [Predictor] suggests next action
|
|
444
|
+
-> AI gets full context, no manual explaining
|
|
445
|
+
|
|
446
|
+
Session End -> [Bridge] captures summary
|
|
447
|
+
-> [Continuity] updates the thread
|
|
448
|
+
-> [Predictor] updates predictions
|
|
449
|
+
-> Saved to .cell/ -- never lost
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
### Data Flow
|
|
453
|
+
|
|
454
|
+
```
|
|
455
|
+
@cell typed -> MCP request to :9876
|
|
456
|
+
-> Prompt builder reads:
|
|
457
|
+
+-- SQLite (70 tables, 7,421 events)
|
|
458
|
+
+-- .cell/INDEX.md (49 files, 2K tokens)
|
|
459
|
+
+-- .cell/vibe/ (100 signals)
|
|
460
|
+
+-- .cell/bridge/latest.json
|
|
461
|
+
+-- .cell/continuity/
|
|
462
|
+
+-- .cell/predictor.json
|
|
463
|
+
-> Ranks by relevance
|
|
464
|
+
-> Compresses to token budget
|
|
465
|
+
-> Formats per-tool
|
|
466
|
+
-> Returns ~1,289 chars
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
---
|
|
470
|
+
|
|
471
|
+
## 🔌 Supported Tools
|
|
472
|
+
|
|
473
|
+
<div align="center">
|
|
474
|
+
<table>
|
|
475
|
+
<tr><th>Tool</th><th>Connection</th><th>Setup</th></tr>
|
|
476
|
+
<tr><td><strong>Cursor</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
|
|
477
|
+
<tr><td><strong>Codex / GitHub Copilot</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
|
|
478
|
+
<tr><td><strong>Antigravity / Gemini</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
|
|
479
|
+
<tr><td><strong>Windsurf</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
|
|
480
|
+
<tr><td><strong>OpenCode</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
|
|
481
|
+
<tr><td><strong>Claude Code</strong></td><td>MCP (manual)</td><td><code>http://127.0.0.1:9876/mcp</code></td></tr>
|
|
482
|
+
<tr><td><strong>Any MCP Client</strong></td><td>HTTP</td><td><code>http://127.0.0.1:9876/mcp</code></td></tr>
|
|
483
|
+
</table>
|
|
484
|
+
</div>
|
|
485
|
+
|
|
486
|
+
---
|
|
487
|
+
|
|
488
|
+
## 🔒 Security & Data Privacy
|
|
489
|
+
|
|
490
|
+
FivoCell is designed with a **privacy-first, local-by-default architecture** so that your sensitive intellectual property and credentials never leave your control.
|
|
491
|
+
|
|
492
|
+
### What FivoCell Takes (Stored 100% Locally)
|
|
493
|
+
* 💾 **Local SQLite Database**: Stores memory events, CLI history, session summaries, and custom-defined decisions on your local machine (`.cell/` folder).
|
|
494
|
+
* ⚙️ **Developer Vibe Signals**: Learns your local programming conventions and styles to build custom instructions.
|
|
495
|
+
* 🔍 **Code Diagnostics**: Local scanner checks for code vulnerabilities, structural risks, and coding patterns.
|
|
496
|
+
|
|
497
|
+
### What FivoCell NEVER Accesses or Transmits
|
|
498
|
+
* ❌ **Raw Source Code**: FivoCell processes all code diagnostics locally. It never sends your source files, logic, or proprietary code to any external server.
|
|
499
|
+
* ❌ **API Keys & Credentials**: The `PrivacyRedactor` automatically intercepts and redacts API tokens, AWS keys, private credentials, database URLs, and password patterns (15 default filters) before any network call.
|
|
500
|
+
* ❌ **Personal / System Identifiers**: Absolute paths, emails, private IPs, and internal hostnames are fully scrubbed.
|
|
501
|
+
|
|
502
|
+
### Opt-In Cloud Synchronization (Granular Controls)
|
|
503
|
+
Any cloud feature is completely **off by default** and requires explicit opt-in:
|
|
504
|
+
* **Community Patterns**: Anonymized vibe and high-level style patterns can be shared to benchmark against community trends (no raw code, names, or paths).
|
|
505
|
+
* **Team Sync**: Optional end-to-end encrypted sharing of project decisions and session handoffs to keep team members aligned.
|
|
506
|
+
|
|
507
|
+
To verify your security state at any time, run:
|
|
508
|
+
```bash
|
|
509
|
+
cell doctor
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
---
|
|
513
|
+
|
|
514
|
+
## 📚 Documentation
|
|
515
|
+
|
|
516
|
+
<div align="center">
|
|
517
|
+
<table>
|
|
518
|
+
<tr><th>Doc</th><th>Link</th></tr>
|
|
519
|
+
<tr><td>Full A-to-Z Feature Reference</td><td><a href="docs/FIVO-CELL-A-TO-Z-DOC.md">docs/FIVO-CELL-A-TO-Z-DOC.md</a></td></tr>
|
|
520
|
+
<tr><td>Architecture Deep Dive</td><td><a href="docs/LOCAL_BRAIN_ARCHITECTURE.md">docs/LOCAL_BRAIN_ARCHITECTURE.md</a></td></tr>
|
|
521
|
+
<tr><td>Security Policy</td><td><a href="docs/SECURITY.md">docs/SECURITY.md</a></td></tr>
|
|
522
|
+
<tr><td>Privacy</td><td><a href="docs/PRIVACY.md">docs/PRIVACY.md</a></td></tr>
|
|
523
|
+
<tr><td>Telemetry</td><td><a href="docs/TELEMETRY.md">docs/TELEMETRY.md</a></td></tr>
|
|
524
|
+
<tr><td>Trust</td><td><a href="docs/TRUST.md">docs/TRUST.md</a></td></tr>
|
|
525
|
+
<tr><td>Changelog</td><td><a href="docs/CHANGELOG.md">docs/CHANGELOG.md</a></td></tr>
|
|
526
|
+
<tr><td>Contributing</td><td><a href="docs/CONTRIBUTING.md">docs/CONTRIBUTING.md</a></td></tr>
|
|
527
|
+
<tr><td>Deploy Guide</td><td><a href="docs/DEPLOY.md">docs/DEPLOY.md</a></td></tr>
|
|
528
|
+
<tr><td>Phased Roadmap</td><td><a href="docs/PHASED_ROADMAP.md">docs/PHASED_ROADMAP.md</a></td></tr>
|
|
529
|
+
<tr><td>Features Deep Dive</td><td><a href="docs/FEATURES_DEEP_DIVE.md">docs/FEATURES_DEEP_DIVE.md</a></td></tr>
|
|
530
|
+
<tr><td>Command Reference</td><td><a href="docs/COMMANDS.md">docs/COMMANDS.md</a></td></tr>
|
|
531
|
+
</table>
|
|
532
|
+
</div>
|
|
533
|
+
|
|
534
|
+
---
|
|
535
|
+
|
|
536
|
+
## 🤝 Contribute
|
|
537
|
+
|
|
538
|
+
FivoCell is **open source under Apache 2.0**. Contributions, issues, and PRs are all welcome.
|
|
539
|
+
|
|
540
|
+
```bash
|
|
541
|
+
git clone https://github.com/itsvinsoni/cell
|
|
542
|
+
cd cell
|
|
543
|
+
npm install
|
|
544
|
+
npm test # verify all tests pass
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
<div align="center">
|
|
548
|
+
🐛 Found a bug? <a href="https://github.com/itsvinsoni/cell/issues">Open an issue</a>
|
|
549
|
+
·
|
|
550
|
+
💡 Have an idea? <a href="https://github.com/itsvinsoni/cell/discussions">Start a discussion</a>
|
|
551
|
+
·
|
|
552
|
+
🔧 Want to build? Pick a <code>good first issue</code> and send a PR
|
|
553
|
+
</div>
|
|
554
|
+
|
|
555
|
+
---
|
|
556
|
+
|
|
557
|
+
## 📄 License
|
|
558
|
+
|
|
559
|
+
<div align="center">
|
|
560
|
+
<a href="LICENSE">Apache License 2.0</a> — free to use, modify, and distribute.
|
|
561
|
+
</div>
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
<div align="center">
|
|
566
|
+
<strong>AI tools come and go. Your project knowledge stays.</strong><br/>
|
|
567
|
+
<sub>Built with ❤️ by <a href="https://github.com/itsvinsoni">@itsvinsoni</a> · part of the <a href="https://fivo.live">Fivo</a> ecosystem</sub>
|
|
568
|
+
</div>
|