@nxuss/lemma 0.7.8 → 0.7.9

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,11 +1,11 @@
1
- # 🧠 Lemma v0.7.3
1
+ # 🧠 Lemma v0.7.8
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@nxuss/lemma.svg?color=orange&style=flat-square)](https://www.npmjs.com/package/@nxuss/lemma)
4
4
  [![License](https://img.shields.io/npm/l/@nxuss/lemma.svg?color=blue&style=flat-square)](https://github.com/Nxusbets/lemma/blob/main/LICENSE)
5
5
  [![Build Status](https://img.shields.io/badge/tests-139%20passed-brightgreen.svg?style=flat-square)](https://github.com/Nxusbets/lemma)
6
6
  [![Security](https://img.shields.io/badge/privacy-firewall%20active-blueviolet?style=flat-square)](https://github.com/Nxusbets/lemma)
7
7
  [![Caching](https://img.shields.io/badge/semantic%20memory-enabled-success?style=flat-square)](https://github.com/Nxusbets/lemma)
8
- [![MCP Tools](https://img.shields.io/badge/MCP%20tools-17-ff69b4?style=flat-square)](https://github.com/Nxusbets/lemma)
8
+ [![MCP Tools](https://img.shields.io/badge/MCP%20tools-21-ff69b4?style=flat-square)](https://github.com/Nxusbets/lemma)
9
9
 
10
10
  ```text
11
11
  __
@@ -109,11 +109,17 @@ lemma start
109
109
 
110
110
  | Command | Action |
111
111
  | :--- | :--- |
112
- | `lemma init` | Bootstraps configuration files and local cache environments. |
113
- | `lemma start` | Launches the server, starts local models, and opens the React telemetry UI. |
114
- | `lemma stop` | Gracefully shuts down the background proxy and databases. |
115
- | `lemma status` | Displays active optimization modules, system health, and open connections. |
116
- | `lemma stats` | Outputs high-density metrics showing your real-time token and financial savings. |
112
+ | `lemma init` | Bootstraps configuration files and auto-discovers project stack. |
113
+ | `lemma start` | Launches the proxy, cache engine, and dashboard. |
114
+ | `lemma stop` | Gracefully shuts down the background proxy. |
115
+ | `lemma status` | Displays health of all optimization modules and active connections. |
116
+ | `lemma stats` | High-density metrics showing real-time token and cost savings. |
117
+ | `lemma mcp` | Starts stdin/stdout MCP server for IDE integration (Cursor, Claude, VS Code, etc.). |
118
+ | `lemma heal` | Auto-diagnose and repair the latest server crash from live context logs. |
119
+ | `lemma upgrade` | See Pro features and get a license key. |
120
+ | `lemma activate <key>` | Activate a Pro license key. |
121
+ | `lemma autopilot` | Toggle autonomous mode for unattended cost optimization. |
122
+ | `lemma clipboard` | Toggle the Clipboard Telepathic Watcher daemon. |
117
123
 
118
124
  ### ⚙️ Customization & System Options
119
125
 
@@ -121,8 +127,9 @@ By default, Lemma works seamlessly with zero configuration. However, if you are
121
127
 
122
128
  #### CLI Command Options
123
129
 
124
- * **`lemma init --no-configure`**: Initialize the project without writing MCP servers to Claude Desktop or overriding shell environment files.
125
- * **`lemma start --no-configure`**: Start the proxy without updating editor/IDE configuration mappings.
130
+ * **`lemma init`**: Initializes project, auto-discovers stack, and prompts before editing IDE configs.
131
+ * **`lemma init --no-configure`**: Initialize without MCP server configuration for any IDE.
132
+ * **`lemma init --yes`**: Skip all prompts and accept defaults (auto-configures all IDEs).
126
133
  * **`lemma start --no-clipboard`**: Start the proxy without spawning the background Clipboard watcher daemon.
127
134
 
128
135
  #### Customizing via `lemma.config.json`
@@ -147,9 +154,9 @@ Create or edit `lemma.config.json` in your project root to disable or fine-tune
147
154
 
148
155
  ---
149
156
 
150
- ## 🛠️ MCP Tools Reference (v0.7.317 Tools)
157
+ ## 🛠️ MCP Tools Reference (v0.7.821 Tools)
151
158
 
152
- When connected via `lemma mcp`, your Chat IDE gains access to **17 native tools** covering workspace navigation, code safety, semantic memory, AI cost optimization, and autonomous project context injection.
159
+ When connected via `lemma mcp`, your Chat IDE gains access to **21 native tools** covering workspace navigation, code safety, semantic memory, AI cost optimization, and autonomous project context injection.
153
160
 
154
161
  ### 🗂️ Workspace Tools
155
162
 
@@ -169,7 +176,7 @@ When connected via `lemma mcp`, your Chat IDE gains access to **17 native tools*
169
176
  | `get_ast_hologram` | **Holographic AST Map.** Scans the workspace and returns a dense JSON index of all exported symbols (classes, functions, interfaces, types, consts) with their file paths and line numbers. Use this **instead of reading individual files** — saves up to 90% tokens when navigating large codebases. |
170
177
  | `validate_patch_sandbox` | **AST Multiverse Auto-Debugger.** Validates a proposed patch in an isolated sandbox (`/tmp`) **before** applying it to the workspace. Runs `tsc --noEmit` and bracket-balance checks. Returns a clear `✅ SAFE TO APPLY` or `❌ DO NOT APPLY` verdict with full diagnostics. |
171
178
 
172
- ### 🧠 Brain & Memory Tools ✨ NEW in v0.7.0
179
+ ### 🧠 Brain & Memory Tools
173
180
 
174
181
  | Tool | Description |
175
182
  | :--- | :--- |
@@ -184,6 +191,10 @@ When connected via `lemma mcp`, your Chat IDE gains access to **17 native tools*
184
191
  | :--- | :--- |
185
192
  | `scrub_privacy` | Mask PII, API keys, and secrets from any text block using the Privacy Firewall. |
186
193
  | `squeeze_prompt` | Compress code blocks and boilerplate in any prompt — up to 80% token reduction. |
194
+ | `summarize_long_text` | Automatically summarize lengthy content to stay within context window limits. |
195
+ | `prune_conversation_history` | Intelligently trim conversation history while preserving critical context. |
196
+ | `diff_only` | Extract only the changed lines between two code blocks — minimal token diff. |
197
+ | `batch_tool_calls` | Execute multiple tool calls in parallel for high-throughput operations. |
187
198
  | `get_routing_advice` | Analyze a prompt and get the optimal model recommendation from the Complexity Router. |
188
199
  | `auto_heal` | Diagnose and auto-heal the latest local server crash from Lemma's live context logs. |
189
200
  | `get_project_onboarding` | Download a one-shot architectural mental model of the current project codebase. |
@@ -241,7 +252,7 @@ For **Lemma Pro** users, expose Lemma's entire intelligence layer — Privacy Fi
241
252
  * **Name**: `Lemma`
242
253
  * **Type**: `command`
243
254
  * **Command**: `lemma mcp`
244
- 4. Click **Save**. A green **"Connected"** dot will appear, confirming that the IDE has loaded all 13 of Lemma's tools.
255
+ 4. Click **Save**. A green **"Connected"** dot will appear, confirming that the IDE has loaded all 21 of Lemma's tools.
245
256
 
246
257
  #### 🟢 Claude Desktop:
247
258
  Add the following to your `claude_desktop_config.json` configuration file: