@nekzus/liop 2.4.0-alpha.20 → 2.4.0-alpha.21
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 +32 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,27 +1,40 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://
|
|
4
|
-
<img alt="Logic-Injection-on-Origin Protocol Logo" src="https://
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Nekzus/LIOP/main/docs/logo/dark.svg">
|
|
4
|
+
<img alt="Logic-Injection-on-Origin Protocol Logo" src="https://raw.githubusercontent.com/Nekzus/LIOP/main/docs/logo/light.svg" width="700">
|
|
5
5
|
</picture>
|
|
6
6
|
|
|
7
|
-
<h1>Logic-Injection-on-Origin Protocol (LIOP) — TypeScript SDK</h1>
|
|
8
|
-
<p
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</p>
|
|
18
|
-
|
|
19
|
-
<p><strong>The official TypeScript SDK for the Logic-Injection-on-Origin Protocol.</strong></p>
|
|
20
|
-
<p>Deploy Logic-on-Origin with WebAssembly sandboxing, gRPC-speed execution, and full MCP backward compatibility.</p>
|
|
7
|
+
<h1>Logic-Injection-on-Origin Protocol (LIOP) — TypeScript SDK</h1>
|
|
8
|
+
<p><strong>The official TypeScript SDK and MCP Bridge for the Logic-Injection-on-Origin Protocol.</strong></p>
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<a href="https://github.com/Nekzus/LIOP/actions/workflows/ci.yml"><img src="https://github.com/Nekzus/LIOP/actions/workflows/ci.yml/badge.svg?event=push" alt="Github Workflow"></a>
|
|
12
|
+
<a href="https://www.npmjs.com/package/@nekzus/liop"><img src="https://img.shields.io/npm/v/@nekzus/liop.svg" alt="npm version"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@nekzus/liop"><img src="https://img.shields.io/npm/dm/@nekzus/liop.svg" alt="npm downloads"></a>
|
|
14
|
+
<a href="https://github.com/Nekzus/LIOP/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" alt="License"></a>
|
|
15
|
+
<a href="https://nekzus-32.mintlify.app/typescript-sdk/overview"><img src="https://img.shields.io/badge/docs-mintlify-0D9373?style=flat" alt="Docs"></a>
|
|
16
|
+
<a href="https://deepwiki.com/Nekzus/LIOP"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
|
|
17
|
+
</p>
|
|
21
18
|
</div>
|
|
22
19
|
|
|
23
20
|
---
|
|
24
21
|
|
|
22
|
+
## 📚 Official Documentation
|
|
23
|
+
|
|
24
|
+
Comprehensive interactive guides, architectural deep dives, and API specifications are hosted on our official portal:
|
|
25
|
+
|
|
26
|
+
| Documentation Section | Focus Area | Canonical Guide |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| **Overview & Setup** | Package architecture, core exports, and installation modes | [SDK Overview](https://nekzus-32.mintlify.app/typescript-sdk/overview) |
|
|
29
|
+
| **LiopClient API** | Discovery, intent negotiation, gRPC channels, and error catalog | [LiopClient Reference](https://nekzus-32.mintlify.app/typescript-sdk/client) |
|
|
30
|
+
| **LiopServer API** | Capability hosting, Zod schemas, and V8 sandboxing boundaries | [LiopServer Reference](https://nekzus-32.mintlify.app/typescript-sdk/server) |
|
|
31
|
+
| **LiopMcpBridge** | Zero-trust wrapping of `@modelcontextprotocol/sdk` servers | [Bridge Documentation](https://nekzus-32.mintlify.app/typescript-sdk/bridge) |
|
|
32
|
+
| **Runtime & Discovery** | `TopologyProbe`, `RoutingTable` circuit breaker, and `TokenManager` | [Runtime Architecture](https://nekzus-32.mintlify.app/typescript-sdk/runtime) |
|
|
33
|
+
| **Security Architecture** | 6-Layer defense-in-depth, AST Guardian, and Egress PII Shield | [Security Guide](https://nekzus-32.mintlify.app/typescript-sdk/security) |
|
|
34
|
+
| **Observability & SRE** | Prometheus metrics catalog and 26-panel Grafana master dashboard | [Observability Runbook](https://nekzus-32.mintlify.app/operations/observability-runbook) |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
25
38
|
## Overview
|
|
26
39
|
|
|
27
40
|
`@nekzus/liop` is an SDK that implements the **Logic-Injection-on-Origin (LIO)** paradigm: instead of extracting raw data from a server and sending it to an LLM, the LLM injects a micro-module of logic to be executed *at the data source*, inside a secure sandbox. The result — never the raw data — is returned.
|
|
@@ -119,7 +132,7 @@ To integrate LIOP into Claude Desktop, update your `claude_desktop_config.json`
|
|
|
119
132
|
"command": "npx",
|
|
120
133
|
"args": ["-y", "@nekzus/liop@latest"],
|
|
121
134
|
"env": {
|
|
122
|
-
"LIOP_NEXUS_URL": "http://your-nexus-host:
|
|
135
|
+
"LIOP_NEXUS_URL": "http://your-nexus-host:15000",
|
|
123
136
|
"LIOP_LOG_LEVEL": "info",
|
|
124
137
|
"LIOP_TOKEN_BANK": "your-secure-bank-token",
|
|
125
138
|
"LIOP_TOKEN_VAULT": "your-secure-vault-token",
|
|
@@ -541,10 +554,10 @@ await server.connectToMesh();
|
|
|
541
554
|
The SDK includes a real-time developer interface to test Logic-Injection-on-Origin, trace post-quantum handshakes, evaluate AST fuel consumption, and inspect cryptographic proofs:
|
|
542
555
|
|
|
543
556
|
```bash
|
|
544
|
-
# 1. Launch the full
|
|
557
|
+
# 1. Launch the full 10-node production audit mesh with traffic shaping (http://localhost:16000)
|
|
545
558
|
pnpm run audit:prod:start
|
|
546
559
|
|
|
547
|
-
# Run the
|
|
560
|
+
# Run the 12-suite automated production audit against the mesh (64 tests)
|
|
548
561
|
pnpm run audit:prod:run
|
|
549
562
|
|
|
550
563
|
# Teardown and cleanup production containers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nekzus/liop",
|
|
3
|
-
"version": "2.4.0-alpha.
|
|
3
|
+
"version": "2.4.0-alpha.21",
|
|
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",
|