@nxuss/lemma 0.3.1 → 0.3.2

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,4 +1,4 @@
1
- # Lemma v0.3.0
1
+ # Lemma v0.3.2
2
2
  > **The Universal AI Cache Proxy + Agent Orchestration Layer.**
3
3
 
4
4
  Lemma is the open-core gateway for AI development. It sits between your tools (Cursor, VS Code, CLI Agents) and your models (OpenAI, Claude, Gemini, Ollama), providing a **shared semantic memory** that saves you 40-70% in API costs and makes your AI tools instant.
@@ -17,7 +17,7 @@ Install and launch the proxy to start saving on your API bills immediately.
17
17
 
18
18
  ```bash
19
19
  npm install -g @nxuss/lemma
20
- lemma-proxy start
20
+ lemma start
21
21
  ```
22
22
 
23
23
  **Configure your IDE:**
package/lemma-proxy.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
  /**
4
- * Lemma Proxy v0.3.1 — Universal AI Cache CLI
4
+ * Lemma Proxy v0.3.2 — Universal AI Cache CLI
5
5
  * Commands: start, stop, stats, status, activate <key>
6
6
  */
7
7
 
@@ -79,7 +79,7 @@ async function validateKeyRemote(key) {
79
79
  const body = JSON.stringify({ key });
80
80
  const u = new URL(VALIDATE_URL);
81
81
  const req = https.request({ hostname: u.hostname, port: 443, path: u.pathname, method: 'POST',
82
- headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(body), 'User-Agent': 'lemma-proxy/0.3.1' }
82
+ headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(body), 'User-Agent': 'lemma-proxy/0.3.2' }
83
83
  }, res => {
84
84
  let d = '';
85
85
  res.on('data', c => d += c);
@@ -413,14 +413,14 @@ class LemmaServer {
413
413
  server.listen(this.port, () => {
414
414
  fs.writeFileSync(PID_FILE, String(process.pid));
415
415
  fs.writeFileSync(PORT_FILE, String(this.port));
416
- console.log(`\n🚀 Lemma Proxy v0.3.1\n📁 Project : ${this.projectName}\n🔌 Port : ${this.port}\n`);
416
+ console.log(`\n🚀 Lemma Proxy v0.3.2\n📁 Project : ${this.projectName}\n🔌 Port : ${this.port}\n`);
417
417
  });
418
418
  process.on('SIGTERM', () => server.close());
419
419
  }
420
420
  }
421
421
 
422
422
  // ── CLI ────────────────────────────────────────────────────────────────────────
423
- program.name('lemma').description('Lemma Proxy CLI').version('0.3.1');
423
+ program.name('lemma').description('Lemma Proxy CLI').version('0.3.2');
424
424
 
425
425
  program.command('start')
426
426
  .description('Start the proxy server')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxuss/lemma",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Semantic cache for AI apps — stop paying for the same LLM call twice",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -151,7 +151,7 @@
151
151
  "homepage": "https://github.com/Nxusbets/lemma#readme",
152
152
  "dependencies": {
153
153
  "@chroma-core/default-embed": "^1.1.4",
154
- "@nxuss/lemma": "^0.3.1",
154
+ "@nxuss/lemma": "^0.3.2",
155
155
  "@types/cors": "^2.8.19",
156
156
  "axios": "^1.6.0",
157
157
  "commander": "^14.0.3",