fleetbo-svro 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +24 -17
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,26 +1,32 @@
1
- - @fleetbo/svro
2
- Le connecteur backend Fleetbo ultra-léger configuré automatiquement depuis votre terminal.
3
1
 
2
+ # fleetbo-svro #
4
3
 
5
- # Expérience Développeur (DX) : De l'installation au code
4
+ # The Client-Side Data OS for Modern Web Apps & AI Vibe-Coding.
6
5
 
7
- 1. Installation en une commande
8
- Lencez simplement l'installation à la racine de votre projet Vite (React, Vue, etc.) :
9
- Bash
10
- npm install @fleetbo/svro
6
+ Fleetbo manages the complete data lifecycle: from AI-assisted schema modeling (Alex AI DBA) to deterministic Edge-enforced execution and natural language intelligence (Alex AI Data Analyst).
11
7
 
12
- 2. Configuration automatique dans le terminal (Postinstall)
13
- Dès l'installation terminée, le script de configuration prend le relais :
14
- Authentification OTP : Le terminal vous demande votre email et un code à 6 chiffres.
15
- Injection des clés : Les identifiants (VITE_FLEETBO_DB_KEY, etc.) sont écrits directement dans votre fichier .env.
8
+ Like an architect drafting blueprints before construction begins, Alex AI models your business domain and spins up an instant, production-ready backend. Fleetbo delivers relational integrity, strict typing, and Edge security to MongoDB Atlas without writing a single line of backend boilerplate.
16
9
 
17
- Configuration IDE & Build :
18
- Création de svro.schema.json et initialisation des types TypeScript.
19
- Patch de tsconfig.json / jsconfig.json pour l'autocomplétion.
20
- Injection du plugin d'auto-import et du middleware de synchronisation dans vite.config.
21
- Ajout de fleetbo sql sync dans le script build du package.json.
10
+ # Why Fleetbo?
22
11
 
23
- 3. Consommation immédiate dans votre code
12
+ 100% Frontend Focus: Zero servers, zero ORMs, and zero SQL migrations. Build full-stack applications purely from the client.
13
+ AI Agent Accelerator: Eliminates hallucinations and cuts token usage by 90% via deterministic contracts (svro.schema.json, svro.workflow.json). Agents (Cursor, Lovable, Windsurf) focus 100% of their reasoning on UX.
14
+ Deterministic Edge Gatekeeper: Sub-millisecond $O(1)$ schema validation at the cloud edge before writes hit MongoDB Atlas.
15
+ Zero-Crash Native Web Components: 7 built-in, framework-agnostic Custom Elements (<fleetbo-*>) preventing white-screen crashes on malformed data.
16
+ Built-in Data Intelligence: Query live database metrics in plain human language without external ETL or BI tools.
17
+
18
+ Quick Start
19
+
20
+ # 1. Initialize project & configure Vite auto-imports
21
+ npx fleetbo-svro init --keyApp=<APP_KEY> --token=<TOKEN>
22
+
23
+ # 2. Sync cloud schema & generate IDE types
24
+ npx fleetbo-svro sync
25
+
26
+ # Update SDK & refresh bindings
27
+ npm i fleetbo-svro@latest && npx fleetbo-svro sync
28
+
29
+ # 3. Consommation immédiate dans votre code
24
30
  Ouvrez vos composants et utilisez directement l'objet Fleetbo. Grâce à la configuration Vite, aucun import n'est requis (l'import reste possible si vous le préférez) :
25
31
  JavaScript
26
32
  // Fonctionne directement dans vos composants React / Vue
@@ -74,3 +80,4 @@ Fleetbo.getDocsU(table) → Récupère les documents de l'utilisateur connecté.
74
80
  Fleetbo.getAuthUser(table) → Récupère les données du profil de l'utilisateur connecté.
75
81
 
76
82
 
83
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-svro",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",