@nxuss/lemma 0.7.7 → 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 +24 -13
- package/dashboard/dist/assets/{index-DSYfE1bL.js → index-DiidVeI5.js} +65 -65
- package/dashboard/dist/assets/{index-DSYfE1bL.js.map → index-DiidVeI5.js.map} +1 -1
- package/dashboard/dist/index.html +1 -1
- package/dist/cjs/cli/lemma-proxy.d.ts.map +1 -1
- package/dist/cjs/cli/lemma-proxy.js +69 -5
- package/dist/cjs/cli/lemma-proxy.js.map +1 -1
- package/dist/cjs/mcp/index.js +1 -1
- package/dist/esm/cli/lemma-proxy.d.ts.map +1 -1
- package/dist/esm/cli/lemma-proxy.js +69 -5
- package/dist/esm/cli/lemma-proxy.js.map +1 -1
- package/dist/esm/mcp/index.js +1 -1
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# 🧠 Lemma v0.7.
|
|
1
|
+
# 🧠 Lemma v0.7.8
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@nxuss/lemma)
|
|
4
4
|
[](https://github.com/Nxusbets/lemma/blob/main/LICENSE)
|
|
5
5
|
[](https://github.com/Nxusbets/lemma)
|
|
6
6
|
[](https://github.com/Nxusbets/lemma)
|
|
7
7
|
[](https://github.com/Nxusbets/lemma)
|
|
8
|
-
[](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
|
|
113
|
-
| `lemma start` | Launches the
|
|
114
|
-
| `lemma stop` | Gracefully shuts down the background proxy
|
|
115
|
-
| `lemma status` | Displays
|
|
116
|
-
| `lemma stats` |
|
|
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
|
|
125
|
-
* **`lemma
|
|
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.
|
|
157
|
+
## 🛠️ MCP Tools Reference (v0.7.8 — 21 Tools)
|
|
151
158
|
|
|
152
|
-
When connected via `lemma mcp`, your Chat IDE gains access to **
|
|
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
|
|
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
|
|
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:
|