@nekzus/liop 2.0.0-alpha.6 → 2.0.0-alpha.8
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 +19 -0
- package/package.json +15 -1
package/README.md
CHANGED
|
@@ -54,6 +54,25 @@ npm install @nekzus/liop@latest
|
|
|
54
54
|
|
|
55
55
|
> **Requirements:** Node.js ≥ 20.0. The SDK uses `node:crypto`, `node:vm`, and `piscina` (worker threads) internally.
|
|
56
56
|
|
|
57
|
+
### Zero-Bloat & Micro-Deployments (Opt-Out)
|
|
58
|
+
|
|
59
|
+
By default, the SDK provides out-of-the-box MCP backward compatibility (`LiopMcpBridge`) by declaring `@modelcontextprotocol/sdk` as an optional dependency (which is automatically resolved by standard installations of NPM, PNPM, or Yarn).
|
|
60
|
+
|
|
61
|
+
For constrained production environments (e.g., Docker, AWS Lambda, Edge/IoT) where every megabyte counts, you can perform a **pure, zero-bloat LIOP installation** by opting out of the optional dependencies:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# npm
|
|
65
|
+
npm install @nekzus/liop@latest --no-optional
|
|
66
|
+
|
|
67
|
+
# pnpm
|
|
68
|
+
pnpm add @nekzus/liop@latest --without optional
|
|
69
|
+
|
|
70
|
+
# yarn
|
|
71
|
+
yarn add @nekzus/liop@latest --ignore-optional
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The SDK uses dynamic `import()` statements under the hood to ensure that MCP translator modules are only loaded if they are actually instantiated, guaranteeing a lightweight memory footprint.
|
|
75
|
+
|
|
57
76
|
---
|
|
58
77
|
|
|
59
78
|
## LIOP Agent (CLI)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nekzus/liop",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.8",
|
|
4
4
|
"description": "Official SDK for Logic-Injection-on-Origin Protocol (LIOP). Deploy Logic-on-Origin with WebAssembly at gRPC speed and bidirectional MCP compatibility.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -154,5 +154,19 @@
|
|
|
154
154
|
"@modelcontextprotocol/sdk": {
|
|
155
155
|
"optional": true
|
|
156
156
|
}
|
|
157
|
+
},
|
|
158
|
+
"overrides": {
|
|
159
|
+
"type-is": "2.0.1",
|
|
160
|
+
"content-type": "1.0.5"
|
|
161
|
+
},
|
|
162
|
+
"resolutions": {
|
|
163
|
+
"type-is": "2.0.1",
|
|
164
|
+
"content-type": "1.0.5"
|
|
165
|
+
},
|
|
166
|
+
"pnpm": {
|
|
167
|
+
"overrides": {
|
|
168
|
+
"type-is": "2.0.1",
|
|
169
|
+
"content-type": "1.0.5"
|
|
170
|
+
}
|
|
157
171
|
}
|
|
158
172
|
}
|