pi-lean-ctx 3.0.3 → 3.1.1
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 +4 -11
- package/extensions/mcp-bridge.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# pi-lean-ctx
|
|
2
2
|
|
|
3
|
-
[Pi Coding Agent](https://github.com/badlogic/pi-mono) extension with **first-class MCP support** — routes all tool output through [lean-ctx](https://leanctx.com) for **60–90% token savings** and exposes **
|
|
3
|
+
[Pi Coding Agent](https://github.com/badlogic/pi-mono) extension with **first-class MCP support** — routes all tool output through [lean-ctx](https://leanctx.com) for **60–90% token savings** and exposes **25+ MCP tools** natively in Pi.
|
|
4
4
|
|
|
5
5
|
## What it does
|
|
6
6
|
|
|
@@ -36,7 +36,7 @@ Additionally, pi-lean-ctx spawns lean-ctx as an MCP server and registers all adv
|
|
|
36
36
|
| `ctx_delta` | Changed-lines-only reads |
|
|
37
37
|
| `ctx_edit` | Read-modify-write in one call |
|
|
38
38
|
| `ctx_dedup` | Duplicate context elimination |
|
|
39
|
-
| `ctx_fill` |
|
|
39
|
+
| `ctx_fill` | Template completion |
|
|
40
40
|
| `ctx_intent` | Intent-based task routing |
|
|
41
41
|
| `ctx_response` | Response optimization |
|
|
42
42
|
| `ctx_wrapped` | Wrapped command execution |
|
|
@@ -44,15 +44,8 @@ Additionally, pi-lean-ctx spawns lean-ctx as an MCP server and registers all adv
|
|
|
44
44
|
| `ctx_analyze` | Code analysis |
|
|
45
45
|
| `ctx_cache` | Cache management |
|
|
46
46
|
| `ctx_execute` | Direct command execution |
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
| `ctx_heatmap` | File access heatmap |
|
|
50
|
-
| `ctx_task` | Task management |
|
|
51
|
-
| `ctx_cost` | Cost attribution tracking |
|
|
52
|
-
| `ctx_share` | Cross-agent context sharing |
|
|
53
|
-
| `ctx_smart_read` | Adaptive mode selection |
|
|
54
|
-
|
|
55
|
-
These MCP tools are the same ones available in Cursor, Claude Code, VS Code, and all other supported editors — now first-class in Pi. Tools are auto-discovered via MCP, so new tools added to lean-ctx are automatically available without updating this package.
|
|
47
|
+
|
|
48
|
+
These MCP tools are the same ones available in Cursor, Claude Code, VS Code, and all other supported editors — now first-class in Pi.
|
|
56
49
|
|
|
57
50
|
## Install
|
|
58
51
|
|
package/extensions/mcp-bridge.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-lean-ctx",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Pi Coding Agent extension with first-class MCP support — routes bash, read, grep, find, and ls through lean-ctx CLI, and exposes all 34 lean-ctx MCP tools (ctx_session, ctx_knowledge, ctx_semantic_search, ctx_impact, ctx_architecture, etc.) natively in Pi",
|
|
5
5
|
"keywords": ["pi-package", "lean-ctx", "token-optimization", "compression", "mcp"],
|
|
6
6
|
"license": "MIT",
|