@nxuss/lemma 0.4.5 → 0.4.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 +28 -34
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,51 +1,55 @@
1
- # Lemma v0.4.0
1
+ # Lemma v0.4.5
2
2
  > **The Intelligent AI Gateway — Privacy, Performance, and Precision for the Agentic Era.**
3
3
 
4
- Lemma is a high-performance orchestration layer that sits between your development environment and LLM providers. It transforms the way you build with AI by providing **Shared Semantic Memory**, **Autonomous Cost Optimization**, and **Runtime Context Synchronization**.
4
+ Lemma is a high-performance orchestration layer that sits between your development environment and LLM providers. It transforms the way you build with AI by providing **Shared Semantic Memory**, **Autonomous Cost Optimization**, and **Privacy Guardrails**.
5
5
 
6
6
  ---
7
7
 
8
8
  ## ⚡ Killer Features
9
9
 
10
10
  ### 🛡️ Privacy Firewall (Semantic Scrubber)
11
- **Zero-Trust Prompts.** Stop leaking sensitive data. Lemma automatically detects API keys, PII, and credentials in your prompts, masking them with secure tokens before they reach the cloud. Responses are seamlessly reconstructed locally, ensuring your secrets never leave your machine.
11
+ **Zero-Trust Prompts.** Stop leaking sensitive data. Lemma automatically detects API keys, PII, and credentials in your prompts, masking them with secure tokens before they reach the cloud. Responses are seamlessly reconstructed locally.
12
12
 
13
13
  ### 🚦 Complexity Router (Cost-Optimizer)
14
- **Intelligence Where it Matters.** Lemma analyzes the semantic complexity of every request. It autonomously routes lightweight tasks (like JSON formatting or translations) to hyper-efficient models like `gpt-4o-mini`, reserving premium models for high-reasoning challenges. Save up to 90% on simple tasks without losing quality.
14
+ **Intelligence Where it Matters.** Lemma analyzes the semantic complexity of every request. It autonomously routes lightweight tasks to hyper-efficient models like `gpt-4o-mini`, reserving premium models for high-reasoning challenges. Save up to 90% on simple tasks.
15
15
 
16
16
  ### 🧠 Telepathic Context Injector (Runtime Sync)
17
- **Bridge the Gap Between Code and Execution.** Lemma synchronizes your application's live runtime state, exceptions, and memory mutations directly with your IDE’s consciousness. Your AI assistant gains immediate "situational awareness" of crashes and state changes, allowing for instant, context-aware debugging without manual intervention.
17
+ **Bridge the Gap Between Code and Execution.** Lemma synchronizes your application's live runtime state and exceptions directly with your IDE’s consciousness. Your AI assistant gains immediate "situational awareness" of crashes.
18
18
 
19
19
  ### ⚡ Shared Semantic Cache
20
- **Stop Paying for the Same Thought Twice.** Unlike traditional caches, Lemma understands meaning. It recognizes that *"Fix this CSS bug"* and *"Solve the styling error"* are functionally identical, returning instant (3ms) responses and saving 40-70% on total API expenditure.
20
+ **Stop Paying for the Same Thought Twice.** Lemma understands meaning. It recognizes similar prompts and returns instant (3ms) responses, saving 40-70% on total API expenditure.
21
21
 
22
22
  ---
23
23
 
24
- ## 🚀 Quick Start
24
+ ## 🚀 Smart CLI (Zero-Config)
25
25
 
26
- Launch the Lemma ecosystem in seconds:
26
+ Lemma v0.4.5 introduces the **Smart CLI**, making it easier than ever to get started:
27
27
 
28
28
  ```bash
29
+ # 1. Install
29
30
  npm install -g @nxuss/lemma
30
- lemma start --stack
31
+
32
+ # 2. Initialize (Auto-configures .env and .lemma/)
33
+ lemma init
34
+
35
+ # 3. Start with Intelligence Report
36
+ lemma start
31
37
  ```
32
38
 
33
- **Point your IDE or SDK to Lemma:**
34
- * **Base URL:** `http://localhost:8085/v1` (OpenAI / Anthropic Compatible)
35
- * **Gemini Base:** `http://localhost:8085/v1beta`
36
- * **Dashboard:** `http://localhost:3000`
39
+ ### 🧠 Intelligence Report
40
+ On startup, Lemma performs a **System Check** to detect dependencies like Ollama and ChromaDB, providing a real-time report of active features and optimizations.
37
41
 
38
42
  ---
39
43
 
40
44
  ## 💎 Tier Comparison
41
45
 
42
- | Feature | 🆓 Free (Open-Core) | 💎 Pro ($12/mo) |
46
+ | Feature | 🆓 Free (Standard) | 💎 Pro ($12/mo) |
43
47
  | :--- | :--- | :--- |
48
+ | **Privacy Firewall** | ✅ Included | ✅ Advanced Masking |
49
+ | **Complexity Router** | ✅ Included | ✅ Custom Routing Policies |
44
50
  | **Caching** | Exact Match | **Semantic Memory (ChromaDB)** |
45
- | **Security** | Basic Logging | **Privacy Firewall (Auto-Masking)** |
46
- | **Optimization** | Manual Routing | **Autonomous Complexity Router** |
47
- | **IDE Sync** | Raw Log Stream | **Telepathic Context Injector** |
48
- | **Continuity** | Local Only | **Cloud Sync (Team Memory)** |
51
+ | **Hive Mind** | Local Only | **Cloud Sync (Team Memory)** |
52
+ | **Telepathy** | Basic Sync | **Advanced State Injection** |
49
53
  | **Limits** | 300 requests/mo | **Unlimited Agentic Power** |
50
54
 
51
55
  ---
@@ -53,26 +57,16 @@ lemma start --stack
53
57
  ## 🛠️ Developer Integration
54
58
 
55
59
  ### Use as an Intelligent Proxy
56
- Simply swap your OpenAI/Anthropic base URL in your favorite tools (Cursor, Copilot, AutoGPT). Lemma handles the caching, scrubbing, and routing transparently.
60
+ Simply swap your OpenAI/Anthropic base URL in your favorite tools (Cursor, Copilot, AutoGPT).
61
+
62
+ * **Base URL:** `http://localhost:8081/v1`
63
+ * **Dashboard:** `http://localhost:8081/dashboard/`
57
64
 
58
65
  ```bash
59
66
  # Point your configuration to:
60
- http://localhost:8085/v1
61
- ```
62
-
63
- ### Use as a Multi-Agent Hub
64
- For complex agent swarms that need a "Hive Mind":
65
- ```typescript
66
- import { SubconsciousHub } from '@nxuss/lemma';
67
- const hub = new SubconsciousHub({ server: { port: 8080 } });
68
- await hub.start();
67
+ http://localhost:8081/v1
69
68
  ```
70
69
 
71
70
  ---
72
71
 
73
- ## 📊 Dashboard
74
- Monitor your savings, visualize agent connections, and inspect your semantic memory through the integrated real-time dashboard.
75
-
76
- ---
77
-
78
- MIT © Nxus Studio | [Get Lemma Pro](https://lemma.nxus.studio/upgrade)
72
+ MIT © Nxus Studio | [Upgrade to Lemma Pro](https://lemma.nxus.studio/upgrade)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxuss/lemma",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Intelligent AI Gateway — Semantic cache, Privacy Firewall, and Autonomous Cost-Optimization for AI Agents.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -161,7 +161,7 @@
161
161
  "homepage": "https://github.com/Nxusbets/lemma#readme",
162
162
  "dependencies": {
163
163
  "@chroma-core/default-embed": "^0.1.9",
164
- "@nxuss/lemma": "^0.4.3",
164
+ "@nxuss/lemma": "^0.4.5",
165
165
  "@types/cors": "^2.8.19",
166
166
  "axios": "^1.6.0",
167
167
  "commander": "^14.0.3",