@nekzus/liop 2.0.0-alpha.23 → 2.0.0-alpha.24
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/dist/bin/agent.js +1 -1
- package/dist/bridge.js +1 -1
- package/dist/{chunk-S74Y5XJK.js → chunk-F7B6B4XS.js} +2 -2
- package/dist/{chunk-S74Y5XJK.js.map → chunk-F7B6B4XS.js.map} +1 -1
- package/dist/chunk-GD6EOKYV.js +54 -0
- package/dist/chunk-GD6EOKYV.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/server.d.ts +6 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-MARROGGT.js +0 -54
- package/dist/chunk-MARROGGT.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export{b as WasiSandbox}from'./chunk-C65RM2A3.js';export{b as LiopClient,a as LiopRpcClient}from'./chunk-ISKM7EAL.js';export{c as PromptSchema,b as ResourceSchema,a as ToolSchema}from'./chunk-TNMS53OP.js';export{b as LiopMcpBridge,a as LiopStreamBridge}from'./chunk-
|
|
1
|
+
export{b as WasiSandbox}from'./chunk-C65RM2A3.js';export{b as LiopClient,a as LiopRpcClient}from'./chunk-ISKM7EAL.js';export{c as PromptSchema,b as ResourceSchema,a as ToolSchema}from'./chunk-TNMS53OP.js';export{b as LiopMcpBridge,a as LiopStreamBridge}from'./chunk-F7B6B4XS.js';export{a as LiopHybridGateway}from'./chunk-SYMZRXI3.js';export{a as LiopRpcServer,g as LiopServer,b as NerScanner,d as PII_PATTERNS,e as PII_PRESETS,f as PiiScanner,c as sanitizeOutput}from'./chunk-GD6EOKYV.js';import'./chunk-2MGFSIXN.js';export{b as HeuristicTokenEstimator,e as LiopOTelBridge,a as RealTokenEstimator,f as TokenTelemetryEngine,d as createSyncTokenEstimator,c as createTokenEstimator}from'./chunk-UK7OBXGZ.js';import'./chunk-UVTEJYHN.js';import'./chunk-ANFXJGMP.js';import'./chunk-DBXGYHKY.js';import'./chunk-V5MKJT6S.js';export{a as MeshNode}from'./chunk-7I6YJS3C.js';import'./chunk-S6RJHZV2.js';import'./chunk-4C666HHU.js';var m=(e=>(e.CapabilityViolation="CapabilityViolation",e.SandboxEscape="SandboxEscape",e.PiiLeak="PiiLeak",e.InvalidIntent="InvalidIntent",e.Throttled="Throttled",e.ZkVerificationFailed="ZkVerificationFailed",e.MeshUnavailable="MeshUnavailable",e.ConnectionFailed="ConnectionFailed",e))(m||{}),n=class extends Error{code;constructor(o,t){super(t),this.name="LiopError",this.code=o;}};var g={claude:{xmlStandard:true,jsonSchemaPreferred:false},openai:{xmlStandard:false,jsonSchemaPreferred:true},gemini:{xmlStandard:false,jsonSchemaPreferred:true}};function _(i){let o=g[i],t=`[LIOP-PROTO-V1: LOGIC-ON-ORIGIN SPECIFICATION]
|
|
2
2
|
You are interacting with a Logic-Injection-on-Origin Protocol (LIOP) Mesh Network.
|
|
3
3
|
Unlike standard MCP where you pull context to evaluate it remotely, in LIOP you WRITE code that executes on the data's origin.
|
|
4
4
|
|
package/dist/server.d.ts
CHANGED
|
@@ -142,6 +142,7 @@ interface LiopServerOptions {
|
|
|
142
142
|
security?: {
|
|
143
143
|
piiPatterns?: PiiRule[];
|
|
144
144
|
forbiddenKeys?: string[];
|
|
145
|
+
sensitiveKeys?: string[];
|
|
145
146
|
/** Enable NLP-based Named Entity Recognition scanning on output values. */
|
|
146
147
|
enableNerScanning?: boolean;
|
|
147
148
|
/** Rate limiting configuration for tool calls (OWASP A01). */
|
|
@@ -201,6 +202,10 @@ interface LogicExecutionPolicy {
|
|
|
201
202
|
* Prevents multi-query differencing attacks.
|
|
202
203
|
*/
|
|
203
204
|
queryBudgetPerField?: number;
|
|
205
|
+
/**
|
|
206
|
+
* Domain-specific sensitive keys that fall under the "sensitive" query budget tier.
|
|
207
|
+
*/
|
|
208
|
+
sensitiveKeys?: string[];
|
|
204
209
|
}
|
|
205
210
|
declare class LiopServer {
|
|
206
211
|
private serverInfo;
|
|
@@ -312,7 +317,7 @@ declare class LiopServer {
|
|
|
312
317
|
/**
|
|
313
318
|
* Emulates calling a tool (used locally or via LIOPMcpBridge)
|
|
314
319
|
*/
|
|
315
|
-
callTool(request: CallToolRequest): Promise<CallToolResult>;
|
|
320
|
+
callTool(request: CallToolRequest, clientId?: string): Promise<CallToolResult>;
|
|
316
321
|
/**
|
|
317
322
|
* Retrieves registered tools
|
|
318
323
|
*/
|
package/dist/server.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{g as LiopServer,b as NerScanner,d as PII_PATTERNS,e as PII_PRESETS,f as PiiScanner,c as sanitizeOutput}from'./chunk-
|
|
1
|
+
export{g as LiopServer,b as NerScanner,d as PII_PATTERNS,e as PII_PRESETS,f as PiiScanner,c as sanitizeOutput}from'./chunk-GD6EOKYV.js';import'./chunk-2MGFSIXN.js';import'./chunk-V5MKJT6S.js';import'./chunk-7I6YJS3C.js';import'./chunk-S6RJHZV2.js';import'./chunk-4C666HHU.js';//# sourceMappingURL=server.js.map
|
|
2
2
|
//# sourceMappingURL=server.js.map
|
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.24",
|
|
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",
|