fivocell 1.0.0
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/CHANGELOG.md +32 -0
- package/CONTRIBUTING.md +60 -0
- package/LICENSE +98 -0
- package/README.md +267 -0
- package/bin/cell.js +2 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1131 -0
- package/dist/cli.js.map +1 -0
- package/dist/core/ab-test-framework.d.ts +33 -0
- package/dist/core/ab-test-framework.d.ts.map +1 -0
- package/dist/core/ab-test-framework.js +93 -0
- package/dist/core/ab-test-framework.js.map +1 -0
- package/dist/core/ast-extractor.d.ts +10 -0
- package/dist/core/ast-extractor.d.ts.map +1 -0
- package/dist/core/ast-extractor.js +111 -0
- package/dist/core/ast-extractor.js.map +1 -0
- package/dist/core/build-failure-predictor.d.ts +25 -0
- package/dist/core/build-failure-predictor.d.ts.map +1 -0
- package/dist/core/build-failure-predictor.js +124 -0
- package/dist/core/build-failure-predictor.js.map +1 -0
- package/dist/core/cell-pro.d.ts +28 -0
- package/dist/core/cell-pro.d.ts.map +1 -0
- package/dist/core/cell-pro.js +70 -0
- package/dist/core/cell-pro.js.map +1 -0
- package/dist/core/circular-dependency-detector.d.ts +22 -0
- package/dist/core/circular-dependency-detector.d.ts.map +1 -0
- package/dist/core/circular-dependency-detector.js +95 -0
- package/dist/core/circular-dependency-detector.js.map +1 -0
- package/dist/core/cloud-client.d.ts +40 -0
- package/dist/core/cloud-client.d.ts.map +1 -0
- package/dist/core/cloud-client.js +126 -0
- package/dist/core/cloud-client.js.map +1 -0
- package/dist/core/community-full.d.ts +38 -0
- package/dist/core/community-full.d.ts.map +1 -0
- package/dist/core/community-full.js +125 -0
- package/dist/core/community-full.js.map +1 -0
- package/dist/core/community-live.d.ts +31 -0
- package/dist/core/community-live.d.ts.map +1 -0
- package/dist/core/community-live.js +187 -0
- package/dist/core/community-live.js.map +1 -0
- package/dist/core/community-prior.d.ts +25 -0
- package/dist/core/community-prior.d.ts.map +1 -0
- package/dist/core/community-prior.js +181 -0
- package/dist/core/community-prior.js.map +1 -0
- package/dist/core/complexity-analyzer.d.ts +28 -0
- package/dist/core/complexity-analyzer.d.ts.map +1 -0
- package/dist/core/complexity-analyzer.js +110 -0
- package/dist/core/complexity-analyzer.js.map +1 -0
- package/dist/core/confidence-engine.d.ts +16 -0
- package/dist/core/confidence-engine.d.ts.map +1 -0
- package/dist/core/confidence-engine.js +155 -0
- package/dist/core/confidence-engine.js.map +1 -0
- package/dist/core/config-attribution.d.ts +30 -0
- package/dist/core/config-attribution.d.ts.map +1 -0
- package/dist/core/config-attribution.js +288 -0
- package/dist/core/config-attribution.js.map +1 -0
- package/dist/core/conflict-detector.d.ts +43 -0
- package/dist/core/conflict-detector.d.ts.map +1 -0
- package/dist/core/conflict-detector.js +205 -0
- package/dist/core/conflict-detector.js.map +1 -0
- package/dist/core/context-restore.d.ts +25 -0
- package/dist/core/context-restore.d.ts.map +1 -0
- package/dist/core/context-restore.js +129 -0
- package/dist/core/context-restore.js.map +1 -0
- package/dist/core/cross-domain-projections.d.ts +19 -0
- package/dist/core/cross-domain-projections.d.ts.map +1 -0
- package/dist/core/cross-domain-projections.js +69 -0
- package/dist/core/cross-domain-projections.js.map +1 -0
- package/dist/core/cross-language-mappings.d.ts +15 -0
- package/dist/core/cross-language-mappings.d.ts.map +1 -0
- package/dist/core/cross-language-mappings.js +202 -0
- package/dist/core/cross-language-mappings.js.map +1 -0
- package/dist/core/cross-project-sync.d.ts +24 -0
- package/dist/core/cross-project-sync.d.ts.map +1 -0
- package/dist/core/cross-project-sync.js +132 -0
- package/dist/core/cross-project-sync.js.map +1 -0
- package/dist/core/dead-code-detector.d.ts +20 -0
- package/dist/core/dead-code-detector.d.ts.map +1 -0
- package/dist/core/dead-code-detector.js +106 -0
- package/dist/core/dead-code-detector.js.map +1 -0
- package/dist/core/decay-engine.d.ts +14 -0
- package/dist/core/decay-engine.d.ts.map +1 -0
- package/dist/core/decay-engine.js +41 -0
- package/dist/core/decay-engine.js.map +1 -0
- package/dist/core/dependency-health-checker.d.ts +23 -0
- package/dist/core/dependency-health-checker.d.ts.map +1 -0
- package/dist/core/dependency-health-checker.js +94 -0
- package/dist/core/dependency-health-checker.js.map +1 -0
- package/dist/core/duplication-detector.d.ts +29 -0
- package/dist/core/duplication-detector.d.ts.map +1 -0
- package/dist/core/duplication-detector.js +115 -0
- package/dist/core/duplication-detector.js.map +1 -0
- package/dist/core/enterprise-features.d.ts +32 -0
- package/dist/core/enterprise-features.d.ts.map +1 -0
- package/dist/core/enterprise-features.js +87 -0
- package/dist/core/enterprise-features.js.map +1 -0
- package/dist/core/enterprise.d.ts +27 -0
- package/dist/core/enterprise.d.ts.map +1 -0
- package/dist/core/enterprise.js +41 -0
- package/dist/core/enterprise.js.map +1 -0
- package/dist/core/error-predictor.d.ts +16 -0
- package/dist/core/error-predictor.d.ts.map +1 -0
- package/dist/core/error-predictor.js +123 -0
- package/dist/core/error-predictor.js.map +1 -0
- package/dist/core/extraction-cascade.d.ts +18 -0
- package/dist/core/extraction-cascade.d.ts.map +1 -0
- package/dist/core/extraction-cascade.js +48 -0
- package/dist/core/extraction-cascade.js.map +1 -0
- package/dist/core/git-branch-pregenerator.d.ts +23 -0
- package/dist/core/git-branch-pregenerator.d.ts.map +1 -0
- package/dist/core/git-branch-pregenerator.js +100 -0
- package/dist/core/git-branch-pregenerator.js.map +1 -0
- package/dist/core/handoff-detector.d.ts +24 -0
- package/dist/core/handoff-detector.d.ts.map +1 -0
- package/dist/core/handoff-detector.js +116 -0
- package/dist/core/handoff-detector.js.map +1 -0
- package/dist/core/identity-resolver.d.ts +7 -0
- package/dist/core/identity-resolver.d.ts.map +1 -0
- package/dist/core/identity-resolver.js +82 -0
- package/dist/core/identity-resolver.js.map +1 -0
- package/dist/core/interruption-recovery.d.ts +26 -0
- package/dist/core/interruption-recovery.d.ts.map +1 -0
- package/dist/core/interruption-recovery.js +135 -0
- package/dist/core/interruption-recovery.js.map +1 -0
- package/dist/core/knowledge-silo-detector.d.ts +20 -0
- package/dist/core/knowledge-silo-detector.d.ts.map +1 -0
- package/dist/core/knowledge-silo-detector.js +117 -0
- package/dist/core/knowledge-silo-detector.js.map +1 -0
- package/dist/core/language-switch-assistant.d.ts +18 -0
- package/dist/core/language-switch-assistant.d.ts.map +1 -0
- package/dist/core/language-switch-assistant.js +98 -0
- package/dist/core/language-switch-assistant.js.map +1 -0
- package/dist/core/merge-conflict-predictor.d.ts +18 -0
- package/dist/core/merge-conflict-predictor.d.ts.map +1 -0
- package/dist/core/merge-conflict-predictor.js +98 -0
- package/dist/core/merge-conflict-predictor.js.map +1 -0
- package/dist/core/model-intelligence.d.ts +24 -0
- package/dist/core/model-intelligence.d.ts.map +1 -0
- package/dist/core/model-intelligence.js +73 -0
- package/dist/core/model-intelligence.js.map +1 -0
- package/dist/core/next-action-predictor.d.ts +26 -0
- package/dist/core/next-action-predictor.d.ts.map +1 -0
- package/dist/core/next-action-predictor.js +136 -0
- package/dist/core/next-action-predictor.js.map +1 -0
- package/dist/core/offline-queue.d.ts +40 -0
- package/dist/core/offline-queue.d.ts.map +1 -0
- package/dist/core/offline-queue.js +193 -0
- package/dist/core/offline-queue.js.map +1 -0
- package/dist/core/pattern-store.d.ts +27 -0
- package/dist/core/pattern-store.d.ts.map +1 -0
- package/dist/core/pattern-store.js +233 -0
- package/dist/core/pattern-store.js.map +1 -0
- package/dist/core/performance-predictor.d.ts +16 -0
- package/dist/core/performance-predictor.d.ts.map +1 -0
- package/dist/core/performance-predictor.js +111 -0
- package/dist/core/performance-predictor.js.map +1 -0
- package/dist/core/platt-calibration.d.ts +18 -0
- package/dist/core/platt-calibration.d.ts.map +1 -0
- package/dist/core/platt-calibration.js +89 -0
- package/dist/core/platt-calibration.js.map +1 -0
- package/dist/core/pr-review-assistant.d.ts +17 -0
- package/dist/core/pr-review-assistant.d.ts.map +1 -0
- package/dist/core/pr-review-assistant.js +85 -0
- package/dist/core/pr-review-assistant.js.map +1 -0
- package/dist/core/prompt-conditioner.d.ts +10 -0
- package/dist/core/prompt-conditioner.d.ts.map +1 -0
- package/dist/core/prompt-conditioner.js +54 -0
- package/dist/core/prompt-conditioner.js.map +1 -0
- package/dist/core/realtime-guardian.d.ts +19 -0
- package/dist/core/realtime-guardian.d.ts.map +1 -0
- package/dist/core/realtime-guardian.js +64 -0
- package/dist/core/realtime-guardian.js.map +1 -0
- package/dist/core/regex-extractor.d.ts +10 -0
- package/dist/core/regex-extractor.d.ts.map +1 -0
- package/dist/core/regex-extractor.js +141 -0
- package/dist/core/regex-extractor.js.map +1 -0
- package/dist/core/scale-tester.d.ts +20 -0
- package/dist/core/scale-tester.d.ts.map +1 -0
- package/dist/core/scale-tester.js +79 -0
- package/dist/core/scale-tester.js.map +1 -0
- package/dist/core/security-predictor.d.ts +15 -0
- package/dist/core/security-predictor.d.ts.map +1 -0
- package/dist/core/security-predictor.js +91 -0
- package/dist/core/security-predictor.js.map +1 -0
- package/dist/core/session-recovery.d.ts +19 -0
- package/dist/core/session-recovery.d.ts.map +1 -0
- package/dist/core/session-recovery.js +138 -0
- package/dist/core/session-recovery.js.map +1 -0
- package/dist/core/signal-capture.d.ts +22 -0
- package/dist/core/signal-capture.d.ts.map +1 -0
- package/dist/core/signal-capture.js +76 -0
- package/dist/core/signal-capture.js.map +1 -0
- package/dist/core/solution-index.d.ts +33 -0
- package/dist/core/solution-index.d.ts.map +1 -0
- package/dist/core/solution-index.js +175 -0
- package/dist/core/solution-index.js.map +1 -0
- package/dist/core/standup-generator.d.ts +17 -0
- package/dist/core/standup-generator.d.ts.map +1 -0
- package/dist/core/standup-generator.js +84 -0
- package/dist/core/standup-generator.js.map +1 -0
- package/dist/core/team-composer.d.ts +29 -0
- package/dist/core/team-composer.d.ts.map +1 -0
- package/dist/core/team-composer.js +150 -0
- package/dist/core/team-composer.js.map +1 -0
- package/dist/core/test-anticipator.d.ts +17 -0
- package/dist/core/test-anticipator.d.ts.map +1 -0
- package/dist/core/test-anticipator.js +113 -0
- package/dist/core/test-anticipator.js.map +1 -0
- package/dist/daemon/lifecycle.d.ts +19 -0
- package/dist/daemon/lifecycle.d.ts.map +1 -0
- package/dist/daemon/lifecycle.js +199 -0
- package/dist/daemon/lifecycle.js.map +1 -0
- package/dist/daemon/server.d.ts +81 -0
- package/dist/daemon/server.d.ts.map +1 -0
- package/dist/daemon/server.js +505 -0
- package/dist/daemon/server.js.map +1 -0
- package/dist/daemon/watchdog.d.ts +2 -0
- package/dist/daemon/watchdog.d.ts.map +1 -0
- package/dist/daemon/watchdog.js +93 -0
- package/dist/daemon/watchdog.js.map +1 -0
- package/dist/daemon/websocket.d.ts +5 -0
- package/dist/daemon/websocket.d.ts.map +1 -0
- package/dist/daemon/websocket.js +90 -0
- package/dist/daemon/websocket.js.map +1 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +90 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +88 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +28 -0
- package/dist/types.js.map +1 -0
- package/extensions/jetbrains/plugin.json +9 -0
- package/extensions/shell/copilot-sync.js +59 -0
- package/extensions/shell/install.sh +38 -0
- package/extensions/shell/watcher.js +113 -0
- package/extensions/vscode/.vscodeignore +5 -0
- package/extensions/vscode/dist/daemon-client.js +94 -0
- package/extensions/vscode/dist/diff-tracker.js +94 -0
- package/extensions/vscode/dist/extension.js +100 -0
- package/extensions/vscode/dist/status-bar.js +70 -0
- package/extensions/vscode/package-lock.json +40 -0
- package/extensions/vscode/package.json +27 -0
- package/package.json +53 -0
- package/packages/mcp-server/dist/server.d.ts +2 -0
- package/packages/mcp-server/dist/server.js +213 -0
- package/packages/mcp-server/package-lock.json +970 -0
- package/packages/mcp-server/package.json +19 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.2.0] — 2026-05-26
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Daemon architecture: Express HTTP API on localhost:9876
|
|
7
|
+
- All 40 core modules wired into daemon (38 active)
|
|
8
|
+
- Daemon lifecycle management (start/stop/restart/status)
|
|
9
|
+
- VS Code extension with diff tracking, status bar, commands
|
|
10
|
+
- MCP server with 5 tools + 4 resources for Claude Code/Codex CLI
|
|
11
|
+
- Shell hook with file watcher (bash/zsh/fish)
|
|
12
|
+
- Copilot custom instructions auto-sync
|
|
13
|
+
- Cloud API server with auth, sync, community prior, team features
|
|
14
|
+
- Impact tracking system (patterns auto-applied, weekly cards)
|
|
15
|
+
- Config inference for onboarding (tsconfig, eslint, package.json scan)
|
|
16
|
+
- Local dashboard (dark-themed HTML at localhost:9876/dashboard)
|
|
17
|
+
- Anonymous-first cloud sync (no signup required)
|
|
18
|
+
- Compressed taste format [TASTE: const>let(0.92)]
|
|
19
|
+
- 25 documented consumer benefits
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- Pivoted from CLI-only to daemon + extensions architecture
|
|
23
|
+
- Pattern store now uses ~/.fivo/cell/ (user home) instead of project-local
|
|
24
|
+
- License changed to Apache 2.0
|
|
25
|
+
|
|
26
|
+
## [0.1.0] — 2026-05-20
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- Initial CLI release
|
|
30
|
+
- Taste learning core: signal capture, pattern extraction, confidence engine
|
|
31
|
+
- 5 intelligence engines, 45 capabilities
|
|
32
|
+
- 34 test suites
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Contributing to FIVO Cell
|
|
2
|
+
|
|
3
|
+
Thanks for your interest! Cell is 70% open source (Apache 2.0).
|
|
4
|
+
|
|
5
|
+
## Development Setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
git clone https://github.com/thevinsoni/fivo-cell
|
|
9
|
+
cd fivo-cell
|
|
10
|
+
npm install
|
|
11
|
+
npm run build
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Project Structure
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
src/
|
|
18
|
+
├── daemon/ # Express HTTP API (localhost:9876)
|
|
19
|
+
├── core/ # 40 intelligence modules
|
|
20
|
+
├── cli.ts # CLI entry point
|
|
21
|
+
└── types.ts # TypeScript types
|
|
22
|
+
extensions/
|
|
23
|
+
├── vscode/ # VS Code extension
|
|
24
|
+
└── shell/ # Shell hook + Copilot sync
|
|
25
|
+
packages/
|
|
26
|
+
└── mcp-server/ # MCP server for Claude Code
|
|
27
|
+
cloud/ # Cloud API (separate repo)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Running Tests
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm test
|
|
34
|
+
npm run test:watch
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Building
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm run build # Compile TypeScript
|
|
41
|
+
npm run dev # Watch mode
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Pull Requests
|
|
45
|
+
|
|
46
|
+
1. Fork the repo
|
|
47
|
+
2. Create a feature branch
|
|
48
|
+
3. Add tests for new functionality
|
|
49
|
+
4. Ensure all tests pass (`npm test`)
|
|
50
|
+
5. Submit PR with clear description
|
|
51
|
+
|
|
52
|
+
## Code Style
|
|
53
|
+
|
|
54
|
+
- TypeScript strict mode
|
|
55
|
+
- Prettier formatting (`npm run format`)
|
|
56
|
+
- ESLint (`npm run lint`)
|
|
57
|
+
|
|
58
|
+
## License
|
|
59
|
+
|
|
60
|
+
By contributing, you agree that your contributions will be licensed under Apache 2.0.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
16
|
+
exercising permissions granted by this License.
|
|
17
|
+
|
|
18
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
19
|
+
including but not limited to software source code, documentation
|
|
20
|
+
source, and configuration files.
|
|
21
|
+
|
|
22
|
+
"Object" form shall mean any form resulting from mechanical
|
|
23
|
+
transformation or translation of a Source form.
|
|
24
|
+
|
|
25
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
26
|
+
Object form, made available under the License.
|
|
27
|
+
|
|
28
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
29
|
+
form, that is based on (or derived from) the Work.
|
|
30
|
+
|
|
31
|
+
"Contribution" shall mean any work of authorship submitted to the
|
|
32
|
+
Licensor for inclusion in the Work.
|
|
33
|
+
|
|
34
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
35
|
+
on behalf of whom a Contribution has been received.
|
|
36
|
+
|
|
37
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
38
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
39
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
40
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
41
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
42
|
+
Work and such Derivative Works in Source or Object form.
|
|
43
|
+
|
|
44
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
45
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
46
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
47
|
+
(except as stated in this section) patent license.
|
|
48
|
+
|
|
49
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
50
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
51
|
+
modifications, and in Source or Object form, provided that You
|
|
52
|
+
meet the following conditions:
|
|
53
|
+
|
|
54
|
+
(a) You must give any other recipients of the Work or
|
|
55
|
+
Derivative Works a copy of this License; and
|
|
56
|
+
|
|
57
|
+
(b) You must cause any modified files to carry prominent notices
|
|
58
|
+
stating that You changed the files; and
|
|
59
|
+
|
|
60
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
61
|
+
that You distribute, all copyright, patent, trademark, and
|
|
62
|
+
attribution notices from the Source form of the Work.
|
|
63
|
+
|
|
64
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
65
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
66
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
67
|
+
this License.
|
|
68
|
+
|
|
69
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
70
|
+
names, trademarks, service marks, or product names of the Licensor.
|
|
71
|
+
|
|
72
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
73
|
+
agreed to in writing, Licensor provides the Work on an "AS IS"
|
|
74
|
+
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
|
|
75
|
+
|
|
76
|
+
8. Limitation of Liability. In no event and under no legal theory
|
|
77
|
+
shall any Contributor be liable to You for damages.
|
|
78
|
+
|
|
79
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
80
|
+
the Work or Derivative Works thereof, You may choose to offer
|
|
81
|
+
and charge a fee for acceptance of support, warranty, indemnity,
|
|
82
|
+
or other liability obligations.
|
|
83
|
+
|
|
84
|
+
END OF TERMS AND CONDITIONS
|
|
85
|
+
|
|
86
|
+
Copyright 2026 FIVO Technologies
|
|
87
|
+
|
|
88
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
89
|
+
you may not use this file except in compliance with the License.
|
|
90
|
+
You may obtain a copy of the License at
|
|
91
|
+
|
|
92
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
93
|
+
|
|
94
|
+
Unless required by applicable law or agreed to in writing, software
|
|
95
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
96
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
97
|
+
See the License for the specific language governing permissions and
|
|
98
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
# 🧠 Cell
|
|
2
|
+
|
|
3
|
+
> **Your coding taste. Learned once. Applied everywhere. Forever free.**
|
|
4
|
+
|
|
5
|
+
`Apache 2.0` `Local-First` `Free Forever` `5+ Surfaces` `203 Tests Passing`
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<strong>🌍 The AI world is closing fast. Walled gardens everywhere.</strong><br>
|
|
11
|
+
Let's build something open. Together. Like Linux did.<br>
|
|
12
|
+
<em>I had limited tokens. You have the rest. ❤️</em><br>
|
|
13
|
+
Fork it. Ship it. Own it. This is <strong>ours</strong> — not mine.<br>
|
|
14
|
+
<strong>You show up → we all win. 🫂</strong>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🤔 The Problem Nobody Talks About
|
|
20
|
+
|
|
21
|
+
You use 4 different AI coding tools. Claude Code for architecture. Cursor for quick edits. Windsurf for deep refactors. Copilot for autocomplete.
|
|
22
|
+
|
|
23
|
+
**Every single one of them is a walled garden.**
|
|
24
|
+
|
|
25
|
+
Claude doesn't know what you taught Cursor. Copilot doesn't remember what you fixed in Windsurf. You repeat the same edits. You reject the same patterns. You waste the same 40% of your time context-switching between tools.
|
|
26
|
+
|
|
27
|
+
The AI industry sold you "personalization" — but locked it inside their own tool. Your taste isn't portable. Your preferences aren't yours.
|
|
28
|
+
|
|
29
|
+
**That ends today.**
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## ✨ What Cell Does
|
|
34
|
+
|
|
35
|
+
Cell is a tiny daemon that runs on your machine. It watches how you edit AI-generated code — across **every** tool — and learns your taste. Then it quietly injects that taste back into every AI you use.
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
┌──────────┐
|
|
39
|
+
│ VS Code │──┐
|
|
40
|
+
└──────────┘ │
|
|
41
|
+
┌──────────┐ │ ┌─────────────────┐
|
|
42
|
+
│ Cursor │──┤ │ │
|
|
43
|
+
└──────────┘ │ │ CELL DAEMON │ Your taste,
|
|
44
|
+
┌──────────┐ ├────►│ (localhost) │───► everywhere.
|
|
45
|
+
│ Windsurf │──┤ │ │
|
|
46
|
+
└──────────┘ │ │ 40 modules │
|
|
47
|
+
┌──────────┐ │ │ 203 tests │
|
|
48
|
+
│ Claude │──┤ │ 0 cloud deps │
|
|
49
|
+
└──────────┘ │ └─────────────────┘
|
|
50
|
+
┌──────────┐ │
|
|
51
|
+
│ Codex │──┤
|
|
52
|
+
└──────────┘ │
|
|
53
|
+
┌──────────┐ │
|
|
54
|
+
│ Terminal │──┘
|
|
55
|
+
└──────────┘
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**Learn once. Apply everywhere. Zero config. Zero cost.**
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## ⚡ Quick Install
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npm i -g fivocell
|
|
66
|
+
cell init
|
|
67
|
+
cell daemon start
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Extensions (manual for now — auto-installer coming in v1.1):
|
|
71
|
+
- VS Code / Cursor / Windsurf: Install `.vsix` from [releases](https://github.com/thevinsoni/cell/releases)
|
|
72
|
+
- Claude Code / Codex CLI: Add MCP config to `~/.claude/claude_desktop_config.json` or `~/.codex/mcp.json`
|
|
73
|
+
- Terminal: Source the shell hook from `extensions/shell/install.sh`
|
|
74
|
+
|
|
75
|
+
That's it. Three commands. 30 seconds. 5+ surfaces.
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
✅ Daemon started (localhost:9876)
|
|
79
|
+
✅ VS Code extension linked
|
|
80
|
+
✅ Cursor extension linked
|
|
81
|
+
✅ Windsurf extension linked
|
|
82
|
+
✅ Claude Code MCP configured
|
|
83
|
+
✅ Codex CLI MCP configured
|
|
84
|
+
✅ Shell hook added
|
|
85
|
+
✅ Copilot instructions created
|
|
86
|
+
|
|
87
|
+
Done. Just code. 🧠
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Verify anytime:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
cell status
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
🧠 FIVO Cell Status
|
|
98
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
99
|
+
Daemon: ✅ Running (localhost:9876)
|
|
100
|
+
VS Code: ✅ Installed
|
|
101
|
+
Cursor: ✅ Installed
|
|
102
|
+
Windsurf: ✅ Installed
|
|
103
|
+
Claude Code: ✅ MCP configured (5 tools)
|
|
104
|
+
Codex CLI: ✅ MCP configured
|
|
105
|
+
Shell Hook: ✅ Active
|
|
106
|
+
Copilot Sync: ✅ Active
|
|
107
|
+
Modules: 40 loaded
|
|
108
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 🏆 Cell vs The World
|
|
114
|
+
|
|
115
|
+
Nobody else does what Cell does. Here's the raw truth:
|
|
116
|
+
|
|
117
|
+
| Capability | Cell | Copilot | Cursor | ChatGPT | Continue |
|
|
118
|
+
|---|---|---|---|---|---|
|
|
119
|
+
| **Learns YOUR taste** | ✅ | ❌ | ❌ | ⚠️ | ❌ |
|
|
120
|
+
| **Cross-tool (5+ surfaces)** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
121
|
+
| **Session snapshots** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
122
|
+
| **Community wisdom** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
123
|
+
| **100% Free forever** | ✅ | ⚠️ | ❌ | ⚠️ | ✅ |
|
|
124
|
+
| **Privacy (local-first)** | ✅ | ❌ | ❌ | ❌ | ✅ |
|
|
125
|
+
| **Model intelligence** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
126
|
+
| **Error prediction** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
127
|
+
| **Security guardian** | ✅ | ⚠️ | ❌ | ❌ | ❌ |
|
|
128
|
+
| **Build failure prediction** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
129
|
+
| **Team taste sync (beta)** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
130
|
+
| **Dead code detection** | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
131
|
+
|
|
132
|
+
**Cell is not an AI coding tool.** It's the taste layer that makes every AI coding tool smarter.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## 🎯 Every Feature, Explained
|
|
137
|
+
|
|
138
|
+
### 🧠 Taste Learning (The Core)
|
|
139
|
+
Cell watches 4 types of signals as you work:
|
|
140
|
+
- **Edit Diff** — you changed what the AI wrote
|
|
141
|
+
- **Reject** — you deleted the AI's output entirely
|
|
142
|
+
- **Retry** — you asked the AI to regenerate
|
|
143
|
+
- **Accept** — you kept it as-is
|
|
144
|
+
|
|
145
|
+
Over time, Cell builds a mathematical model of your taste using **Beta distributions** with 95% credible intervals. You can see exactly what it learned — and how confident it is — in `cell.md`.
|
|
146
|
+
|
|
147
|
+
### 🔗 Cross-Tool Continuity
|
|
148
|
+
Your taste follows you. VS Code → Cursor → Windsurf → Claude Code → Codex → Terminal. Same profile. Same patterns. Zero repetition.
|
|
149
|
+
|
|
150
|
+
### 🔮 Predictive Intelligence
|
|
151
|
+
Cell doesn't just learn — it anticipates:
|
|
152
|
+
- **Next-Action Prediction** — knows you'll write tests after routes
|
|
153
|
+
- **Build Failure Prevention** — warns before you commit broken code
|
|
154
|
+
- **Error Detection** — catches null refs, missing awaits, type mismatches
|
|
155
|
+
- **Security Guardian** — blocks SQL injection, hardcoded secrets, XSS in real-time
|
|
156
|
+
- **Performance Analysis** — spots N+1 queries, suggests eager loading
|
|
157
|
+
- **Merge Conflict Resolution** — predicts conflicts before they happen
|
|
158
|
+
- **Test Anticipation** — generates test cases from function signatures
|
|
159
|
+
- **Git Branch Pre-generation** — reads branch name, scaffolds boilerplate
|
|
160
|
+
|
|
161
|
+
### 👥 Team Intelligence
|
|
162
|
+
- **Auto-computed team taste** — no meetings, no style guides, no arguments
|
|
163
|
+
- **Conflict resolution** — data-driven voting, 48-hour window, audit trail
|
|
164
|
+
- **PR Review Assistant** — summarizes changes, flags pattern deviations
|
|
165
|
+
- **Standup Auto-generation** — daily summary: done, in-progress, blocked
|
|
166
|
+
- **Onboarding Accelerator** — new devs inherit team taste, 40-60% faster first PR
|
|
167
|
+
|
|
168
|
+
### 🏥 Code Health
|
|
169
|
+
- **Dead Code Detection** — unused functions, imports, dependencies
|
|
170
|
+
- **Circular Dependency Analysis** — DFS cycle detection with break-point suggestions
|
|
171
|
+
- **Duplication Scanning** — AST-based clone detection, unified helper generation
|
|
172
|
+
- **Complexity Hotspots** — cyclomatic complexity ranking with refactor suggestions
|
|
173
|
+
- **Dependency Health** — version freshness, non-breaking update plans
|
|
174
|
+
|
|
175
|
+
### 🧠 Model Intelligence
|
|
176
|
+
Cell tracks which AI model performs best for which task — from real signals, not marketing claims. "Should I use Claude or GPT for this refactor?" Cell knows.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 🔒 Privacy: What We Store, What We DON'T
|
|
181
|
+
|
|
182
|
+
This is the most important section. Read it.
|
|
183
|
+
|
|
184
|
+
### ❌ What Cell NEVER Stores or Sends
|
|
185
|
+
|
|
186
|
+
| Data | Status | Why |
|
|
187
|
+
|---|---|---|
|
|
188
|
+
| Your source code | **NEVER leaves machine** | Code stays in your editor. Cell only sees diffs. |
|
|
189
|
+
| File paths | **NEVER stored** | Only extension (.ts, .py) is extracted for language context. |
|
|
190
|
+
| Git history | **NEVER accessed** | Cell doesn't touch your git repo. |
|
|
191
|
+
| API keys / secrets | **NEVER captured** | Guardian detects them to warn you, never stores them. |
|
|
192
|
+
| Personal identity | **NEVER required** | No email. No signup. No account. |
|
|
193
|
+
| Project names | **NEVER sent to cloud** | Obfuscated before any opt-in sync. |
|
|
194
|
+
|
|
195
|
+
### ✅ What Cell DOES Store (Locally Only)
|
|
196
|
+
|
|
197
|
+
| Data | Location | Purpose |
|
|
198
|
+
|---|---|---|
|
|
199
|
+
| Pattern stats | `~/.fivo/cell/` (JSON file store) | "You prefer const over let (92% confidence)" |
|
|
200
|
+
| Signal counts | Local DB | How many times you accepted/rejected a pattern |
|
|
201
|
+
| Session snapshots | `~/.fivo/cell/snapshots/` | Crash recovery — last 10 snapshots, 5 min history |
|
|
202
|
+
| Config inferences | Local DB | "This project uses TypeScript strict mode" |
|
|
203
|
+
|
|
204
|
+
### ☁️ What Goes to Cloud (ON by Default — Off Anytime)
|
|
205
|
+
|
|
206
|
+
Cloud sync is **ON by default** to give you better suggestions from day one. One command to turn off:
|
|
207
|
+
|
|
208
|
+
| Data | How It's Protected |
|
|
209
|
+
|---|---|
|
|
210
|
+
| Pattern stats (examples) | `"prefers const over let (92%)"`, `"uses named exports (88%)"`, `"vitest over jest (95%)"` |
|
|
211
|
+
| Your fingerprint | `sha256(machine_id + git_email)` — irreversible hash |
|
|
212
|
+
| Community contribution | Aggregated with 10K+ others. Your patterns become one drop in an ocean. |
|
|
213
|
+
| ❌ What's NOT shared | File paths. Project names. Source code. API keys. Git history. |
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
cell cloud off # Fully offline. Nothing leaves your machine.
|
|
217
|
+
cell cloud on # Re-enable anytime.
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Your code is the product you sell. Cell protects it like it's our own.**
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## 🤝 Why Trust Cell?
|
|
225
|
+
|
|
226
|
+
### 1. Open Source (Apache 2.0)
|
|
227
|
+
Every line of the daemon is public. You can read it. Audit it. Fork it. The code that runs on your machine has zero secrets.
|
|
228
|
+
|
|
229
|
+
### 2. Local-First Architecture
|
|
230
|
+
Cell works 100% offline. Cloud is a bonus, not a requirement. Turn it off with `cell cloud off` — enforced at daemon level. If `cell.fivo.live` disappears tomorrow, your taste still works.
|
|
231
|
+
|
|
232
|
+
### 3. No VC Money. No Data Business Model.
|
|
233
|
+
FIVO (the company behind Cell) makes money from enterprise AI infrastructure — not from selling developer data. Cell is free because it's cross-subsidized by FIVO Enterprise, not because you're the product.
|
|
234
|
+
|
|
235
|
+
### 4. You Can Uninstall in 5 Seconds
|
|
236
|
+
```bash
|
|
237
|
+
npm uninstall -g fivocell
|
|
238
|
+
rm -rf ~/.fivo/cell
|
|
239
|
+
```
|
|
240
|
+
Everything is gone. No lingering processes. No cloud accounts to delete. No "export your data" forms. Just gone.
|
|
241
|
+
|
|
242
|
+
### 5. Built for Developers, by Developers
|
|
243
|
+
We use Cell ourselves. Every day. Across multiple tools. We built it because we needed it. The privacy guarantees aren't marketing — they're what we demanded for our own code.
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Get Started
|
|
248
|
+
|
|
249
|
+
```bash
|
|
250
|
+
npm i -g fivocell
|
|
251
|
+
cell init
|
|
252
|
+
cell daemon start
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Then just code. Cell learns in the background. No tutorials. No config files. No YAML.
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## 🌐 Links
|
|
260
|
+
|
|
261
|
+
- **Website**: [cell.fivo.live](https://cell.fivo.live)
|
|
262
|
+
- **FIVO Enterprise**: [fivo.live](https://fivo.live) — 25x cheaper AI for teams
|
|
263
|
+
- **Discord**: [discord.gg/fivo](https://discord.gg/fivo)
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
**Cell — Your taste. Every tool. Forever free.** 🧠
|
package/bin/cell.js
ADDED
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|