pi-lean-ctx 3.3.5 → 3.4.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/extensions/index.ts +1 -1
- package/extensions/mcp-bridge.ts +1 -0
- package/package.json +1 -1
package/extensions/index.ts
CHANGED
|
@@ -251,7 +251,7 @@ function isMcpAdapterConfigured(): boolean {
|
|
|
251
251
|
|
|
252
252
|
async function execLeanCtx(pi: ExtensionAPI, args: string[]) {
|
|
253
253
|
const bin = resolveBinary();
|
|
254
|
-
const result = await pi.exec(bin, args, { env: { LEAN_CTX_COMPRESS: "1" } });
|
|
254
|
+
const result = await pi.exec(bin, args, { env: { ...process.env, LEAN_CTX_COMPRESS: "1" } });
|
|
255
255
|
if (result.code !== 0) {
|
|
256
256
|
const msg = (result.stderr || result.stdout || `lean-ctx failed: ${args.join(" ")}`).trim();
|
|
257
257
|
throw new Error(msg);
|
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.4.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 46 lean-ctx MCP tools (ctx_session, ctx_knowledge, ctx_semantic_search, ctx_impact, ctx_architecture, ctx_workflow, ctx_gain, etc.) natively in Pi",
|
|
5
5
|
"keywords": ["pi-package", "lean-ctx", "token-optimization", "compression", "mcp"],
|
|
6
6
|
"license": "Apache-2.0",
|